ChecksInFixedWindow package
Requirements.Examples.Elementary.ChecksInFixedWindow
ยท source
Library of examples using ChecksInFixedWindow blocks
Extends Modelica.Icons.ExamplesPackage
Examples of the blocks of package ChecksInFixedWindow. These blocks check a
property in every time window in which the Boolean input condition is true: whether check is
true during the window (During), for how long (MinDuration, MaxDuration, BandDuration), how often it rises
(NoRising, FixedRising, MinRising, MaxRising, BandRising, MaxRisingFrequency), whether it holds at the edges of the
condition (WhenRising, WhenFalling, WhenChanging), or whether a Real signal or point stays within limits
(WithinBand, GreaterEqual, StableSignal, WithinDomain).
Most examples use Boolean tables as inputs, so that the verdicts can be followed in the plots of the documentation;
WithinBand, GreaterEqual and StableSignal also report the verdicts with
Verify.Requirement blocks.
Contents
| Name | Kind | Description | |
|---|---|---|---|
| During | model | Example for During (in every true condition phase, check must be true) | |
| MinDuration | model | Example for MinDuration (in every true condition phase, check must be true for at least the defined duration) | |
| MaxDuration | model | Example for MaxDuration (in every true condition phase, check must be true for at most the defined duration) | |
| BandDuration | model | Example for BandDuration (in every true condition phase, check must be true for at least a minimum duration and at most a maximum duration) | |
| NoRising | model | Example for NoRising (in every true condition phase, no rising edge of check is allowed) | |
| FixedRising | model | Example for FixedRising (in every true condition phase, a defined number of check rising edges must occur) | |
| MinRising | model | Example for MinRising (in every true condition phase, a minimum number of check rising edges must occur) | |
| MaxRising | model | Example for MaxRising (in every true condition phase, the number of check rising edges is bounded) | |
| BandRising | model | Example for BandRising (in every true condition phase, a minimum number of check rising edges must occur and the number of check rising edges is bounded) | |
| MaxRisingFrequency | model | Example for MaxRisingFrequency (in every true condition phase, the frequency of the check rising edges is limited) | |
| WhenRising | model | Example for WhenRising (return Satisfied when check is true and condition has a rising edge) | |
| WhenFalling | model | Example for WhenFalling (return Satisfied when check is true and condition has a falling edge) | |
| WhenChanging | model | Example for WhenChanging (return Satisfied when check is true and condition has a changing edge) | |
| WithinDomain | model | Example for WithinDomain (in every true condition phase, point input must be within domain defined by polygon) | |
| WithinBand | model | Example for WithinBand (a sine and three constants against a band, always, never and sometimes active) | |
| GreaterEqual | model | Example for GreaterEqual (a sine and a constant compared, always, never and sometimes active) | |
| StableSignal | model | Example for StableSignal (a slow and a fast sine, always and sometimes active) | |
| RegionFraction | model | Example for RegionFraction (a temperature wave along a rod of 10 cells, held over at most 30 % of the rod) |