modelWhenFalling

Example for WhenFalling (return Satisfied when check is true and condition has a falling edge)

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Using check block WhenFalling as

results in

simulation result

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.BooleanTablecheck1
Modelica.Blocks.Sources.BooleanTablecondition1
Modelica_Requirements.ChecksInFixedWindow.WhenFallingwhenFalling1
Modelica_Requirements.ChecksInFixedWindow.WhenFallingwhenFalling2
Modelica.Blocks.MathBoolean.Notcondition2
Modelica_Requirements.ChecksInFixedWindow.WhenFallingwhenFalling3
Modelica.Blocks.MathBoolean.Notcheck2