modelWhenChanging

Example for WhenChanging (return Satisfied when check is true and condition has a changing edge)

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

Information

Using check block WhenChanging as

results in

simulation result

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.BooleanTablecheck1
Modelica.Blocks.Sources.BooleanTablecondition1
Modelica_Requirements.ChecksInFixedWindow.WhenChangingwhenChanging1
Modelica_Requirements.ChecksInFixedWindow.WhenChangingwhenChanging2
Modelica.Blocks.MathBoolean.Notcondition2
Modelica_Requirements.ChecksInFixedWindow.WhenChangingwhenChanging3
Modelica.Blocks.MathBoolean.Notcheck2