blockShiftSample

Shift the clocked Integer input signal by a fraction of the last interval and provide it as clocked output signal

Information

This block for Integer signals works similarly as the corresponding block for Real signals (see RealSignals.Sampler.ShiftSample).

Analog to the corresponding Real signal block example there exists an elementary example for this Integer block.

Parameters

TypeNameDefaultDescription
Shift first clock activation for 'shiftCounter/resolution*interval(u)' seconds
IntegershiftCounter0Numerator of shifting formula
Integerresolution1Denominator of shifting formula

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.IntegerInputuConnector of clocked, Integer input signal
Modelica.Blocks.Interfaces.IntegerOutputyConnector of clocked, Integer output signal