During model
Requirements.Examples.Elementary.ChecksInFixedWindow.During
ยท source
Example for During (in every true condition phase, check must be true)
Extends Modelica.Icons.Example
Using check block During as
results in
![]() | |
| simulation result |
The condition phases of the Boolean table condition are [1, 3), [5, 7), [9, 9.5) and [11, 13) s. The
signal check is true on [0.5, 2.5), [5.5, 8), [9.1, 10.5) and [11.5, 12) s. Within a condition phase,
the property output during.y is Satisfied while check is true and Violated while it is false; every phase
contains an interval in which check is false (from 2.5 s, before 5.5 s, before 9.1 s and before 11.5 s). Outside the
condition phases the property is Undefined (not applicable).
Components and variables
| Name | Type | Description |
|---|---|---|
condition | Modelica.Blocks.Sources.BooleanTable | Condition phases [1,3), [5,7), [9,9.5) and [11,13) s |
check | Modelica.Blocks.Sources.BooleanTable | Signal that must be true during every condition phase |
during | Requirements.ChecksInFixedWindow.During | Check that check is true throughout every condition phase |

