HysteresisTransform Real to Boolean signal with Hysteresis |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This block transforms a Real input signal u into a Boolean output signal y:
The start value of the output is defined via parameter pre_y_start (= value of pre(y) at initial time). The default value of this parameter is false.
uLow |
Value: Type: Real Description: If y=true and u |
---|---|
uHigh |
Value: Type: Real Description: If y=false and u>uHigh, switch to y=true |
pre_y_start |
Value: false Type: Boolean Description: Value of pre(y) at initial time |
u |
Type: RealInput |
|
---|---|---|
y |
Type: BooleanOutput |
Modelica.Fluid.Examples.Tanks Two tanks connected with pipes at different heights |