Modelica.Clocked.IntegerSignals.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.IntegerSignals.NonPeriodic.IntegerChange IntegerChange Indicate Integer signal changing
Modelica.Clocked.IntegerSignals.NonPeriodic.UnitDelay UnitDelay Delay the clocked input signal for one sample period
Modelica.Clocked.IntegerSignals.NonPeriodic.FractionalDelay FractionalDelay Delay the clocked input signal for a fractional multiple of the sample period

Modelica.Clocked.IntegerSignals.NonPeriodic.IntegerChange Modelica.Clocked.IntegerSignals.NonPeriodic.IntegerChange

Indicate Integer signal changing

Information

This block is a synchronous version of Modelica.Blocks.Math.IntegerChange. It uses previous instead of the implicit pre of change to set the Boolean output y to true when the integer 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.IntegerChange 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 Integer input signal.
yConnector of Boolean output signal.

Modelica.Clocked.IntegerSignals.NonPeriodic.UnitDelay Modelica.Clocked.IntegerSignals.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.IntegerSignals.Interfaces.PartialClockedSISO (Block with clocked single input and clocked single output Integer 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.IntegerSignals.NonPeriodic.FractionalDelay Modelica.Clocked.IntegerSignals.NonPeriodic.FractionalDelay

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

Information

Extends from Clocked.IntegerSignals.Interfaces.PartialClockedSISO (Block with clocked single input and clocked single output Integer 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
Automatically generated Tue Feb 24 16:59:05 2026.