Output whether the Integer input changes values, increases or decreases
Block that evaluates the integer input u to check if its value
changes.
-
When the input
u changes, the output y will be
true, otherwise it will be false.
-
When the input
u increases, the output up will be
true, otherwise it will be false.
-
When the input
u decreases, the output down will be
true, otherwise it will be false.
-
May 3, 2022, by Michael Wetter:
Renamed parameter y_start to pre_u_start.
This is for
Buildings, issue 2990.
-
January 26, 2021, by Michael Wetter:
Changed initialization of pre(u) to use the initial value of the input rather than 0.
This is for
Buildings, issue 2294.
-
July 18, 2018, by Michael Wetter:
Revised model and icon.
-
July 13, 2018, by Jianjun Hu:
First implementation, based on the implementation of the
Modelica Standard Library.
Generated at 2025-11-02T19:21:14Z
by OpenModelicaOpenModelica 1.25.5 using GenerateDoc.mos