blockTriggeredSampler
Triggered sampling of continuous signals
Information
Samples the continuous input signal whenever the trigger input
signal is rising (i.e., trigger changes from false to
true) and provides the sampled input signal as output.
Before the first sampling, the output signal is equal to
the initial value defined via parameter y_start.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| 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.BooleanInput | trigger | Input for trigger that causes u to be sampled | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Input signal at the last trigger instant |
Revisions
-
March 2, 2020, by Michael Wetter:
Changed icon to display dynamically the output value. -
May 18, 2017, by Michael Wetter:
Corrected documentation. -
May 17, 2017, by Milica Grahovac:
First revision, based on the implementation of the Modelica Standard Library. -
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica Standard Library.