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
| Type | Name | Default | Description |
|---|---|---|---|
| Computational delay in seconds = interval() * shiftCounter/resolution | |||
| Integer | shiftCounter | 0 | (min=0, max=resolution), computational delay = interval()*shiftCounter/resolution |
| Integer | resolution | 1 | Time quantization resolution of sample interval |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u (from PartialClockedSISO) | Connector of clocked, Real input signal | |
| Modelica.Blocks.Interfaces.RealOutput | y (from PartialClockedSISO) | Connector of clocked, Real output signal |