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
#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
#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 2024-12-28T19:26:00Z
by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos