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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.BooleanTable | check1 | ||
| Modelica.Blocks.Sources.BooleanTable | condition1 | ||
| Modelica_Requirements.ChecksInFixedWindow.WhenChanging | whenChanging1 | ||
| Modelica_Requirements.ChecksInFixedWindow.WhenChanging | whenChanging2 | ||
| Modelica.Blocks.MathBoolean.Not | condition2 | ||
| Modelica_Requirements.ChecksInFixedWindow.WhenChanging | whenChanging3 | ||
| Modelica.Blocks.MathBoolean.Not | check2 |
