blockComputationalDelay

Delay a clocked signal for at most one period, in order to model a computational delay

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

Information

This block delays a clocked Real input signal by the fraction shiftCounter/resolution of the last interval. There is the restriction that shiftCounter/resolution ≤ 1.

Parameters

TypeNameDefaultDescription
Computational delay in seconds = interval() * shiftCounter/resolution
IntegershiftCounter0(min=0, max=resolution), computational delay = interval()*shiftCounter/resolution
Integerresolution1Time quantization resolution of sample interval

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu (from PartialClockedSISO)Connector of clocked, Real input signal
Modelica.Blocks.Interfaces.RealOutputy (from PartialClockedSISO)Connector of clocked, Real output signal