modelWhenRising

Example for WhenRising (return Satisfied when check is true and condition has a rising edge)

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

Information

Using check block WhenRising as

results in

simulation result

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.BooleanTablecheck1
Modelica.Blocks.Sources.BooleanTablecondition1
Modelica_Requirements.ChecksInFixedWindow.WhenRisingwhenRising1
Modelica_Requirements.ChecksInFixedWindow.WhenRisingwhenRising2
Modelica.Blocks.MathBoolean.Notcondition2
Modelica_Requirements.ChecksInFixedWindow.WhenRisingwhenRising3
Modelica.Blocks.MathBoolean.Notcheck2