Modelica.Clocked.BooleanSignals.NonPeriodic

Library of blocks that operate on periodically and non-periodically clocked signals

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Modelica.Clocked.BooleanSignals.NonPeriodic.BooleanChange BooleanChange Indicate Boolean signal changing
Modelica.Clocked.BooleanSignals.NonPeriodic.UnitDelay UnitDelay Delay the clocked input signal for one sample period
Modelica.Clocked.BooleanSignals.NonPeriodic.FractionalDelay FractionalDelay Delay the clocked input signal for a fractional multiple of the sample period
Modelica.Clocked.BooleanSignals.NonPeriodic.ClockToBoolean ClockToBoolean Block to translate clock signals to continuous Boolean events (each time the input clock ticks a rising Boolean output edge is produced).

Modelica.Clocked.BooleanSignals.NonPeriodic.BooleanChange Modelica.Clocked.BooleanSignals.NonPeriodic.BooleanChange

Indicate Boolean signal changing

Information

This block is a synchronous version of Modelica.Blocks.Math.BooleanChange. It uses previous instead of the implicit pre of change to set the Boolean output y to true when the boolean input u changed. Thus, it's logic is:

if firstTick() then
  y = false;
else
  y = not (u == previous(u));
end if;

This block might be superfluous and replaced by Modelica.Blocks.Math.BooleanChange when the semantics of change are relaxed and well-defined for clocked discrete-time partitions.

Extends from Clocked.ClockSignals.Interfaces.ClockedBlockIcon (Basic graphical layout of block where at least one input or output is a clocked variable).

Connectors

NameDescription
uConnector of Boolean input signal.
yConnector of Boolean output signal.

Modelica.Clocked.BooleanSignals.NonPeriodic.UnitDelay Modelica.Clocked.BooleanSignals.NonPeriodic.UnitDelay

Delay the clocked input signal for one sample period

Information

This block describes a unit delay:

// Time domain description
   y(ti) = previous(u(ti))

// Discrete transfer function
           1
   y(z) = --- * u(z)
           z

that is, the output signal y is the input signal u at the previous clock tick. At the first clock tick, the output y is set to parameter y_start.

Extends from Clocked.BooleanSignals.Interfaces.PartialClockedSISO (Block with clocked single input and clocked single output Boolean signals).

Parameters

NameDescription
y_startValue of output signal at first clock tick
Initialization
uConnector of clocked, Real input signal

Connectors

NameDescription
yConnector of clocked, Real output signal
Initialization
uConnector of clocked, Real input signal

Modelica.Clocked.BooleanSignals.NonPeriodic.FractionalDelay Modelica.Clocked.BooleanSignals.NonPeriodic.FractionalDelay

Delay the clocked input signal for a fractional multiple of the sample period

Information

Extends from Clocked.BooleanSignals.Interfaces.PartialClockedSISO (Block with clocked single input and clocked single output Boolean signals).

Parameters

NameDescription
shiftDelay = interval() * shift/resolution
resolutionTime quantization resolution of sample interval

Connectors

NameDescription
uConnector of clocked, Real input signal
yConnector of clocked, Real output signal

Modelica.Clocked.BooleanSignals.NonPeriodic.ClockToBoolean Modelica.Clocked.BooleanSignals.NonPeriodic.ClockToBoolean

Block to translate clock signals to continuous Boolean events (each time the input clock ticks a rising Boolean output edge is produced).

Information

Extends from ClockSignals.Interfaces.ClockedBlockIcon (Basic graphical layout of block where at least one input or output is a clocked variable), Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).

Connectors

NameDescription
uConnector of clock input signal.
yConnector of continuous Boolean output signal.
Automatically generated Tue Feb 24 16:59:05 2026.