blockTriggeredMax
Output the maximum, absolute value of a continuous signal at trigger instants
Information
Block that outputs the input signal whenever the trigger input
signal is rising (i.e., trigger changes to
true). The maximum, absolute value of the input signal
at the sampling point is provided as the 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 | Maximum of input signal over all trigger instants |
Revisions
-
March 30, 2022, by Michael Wetter:
Removed graphic from diagram view. -
March 2, 2020, by Michael Wetter:
Changed icon to display dynamically the output value. -
September 14, 2017, by Michael Wetter:
Removed parameterstartTimeandsampleTimeas these are not needed for this block, and introduced parametery_start=0.
This is for Buildings, issue 938. -
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica Standard Library.