blockUnitDelay
Output the input signal with a unit delay
Information
Block that outputs the input signal with a unit delay:
1
y = --- * u
z
that is, the output signal y is the
input signal u of the
previous sample instant. Before the second sample instant,
the output y is identical to parameter y_start.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | samplePeriod | Sample period of component | |
| Real | y_start | 0 | Initial value of output signal |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u | Input signal to be sampled | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Input signal at the previous sample instant |
Revisions
-
August 8, 2024, by Jianjun Hu:
Delayed the input.
This is for Buildings, issue 3953. -
November 12, 2020, by Michael Wetter:
Reformulated to remove dependency toModelica.Units.SI.
This is for Buildings, issue 2243. -
October 19, 2020, by Michael Wetter:
Refactored implementation.
This is for Buildings, issue 2170. -
March 2, 2020, by Michael Wetter:
Changed icon to display dynamically the output value. -
September 14, 2017, by Michael Wetter:
Removed parameterstartTimeto allow model to work also for negative start time without having to change the value of this parameters.
This is for Buildings, issue 938. -
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica Standard Library.