ChecksInFixedWindow package

Requirements.Examples.Elementary.ChecksInFixedWindow  ยท source

Icon of ChecksInFixedWindow

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

NameKindDescription
DuringmodelExample for During (in every true condition phase, check must be true)
MinDurationmodelExample for MinDuration (in every true condition phase, check must be true for at least the defined duration)
MaxDurationmodelExample for MaxDuration (in every true condition phase, check must be true for at most the defined duration)
BandDurationmodelExample for BandDuration (in every true condition phase, check must be true for at least a minimum duration and at most a maximum duration)
NoRisingmodelExample for NoRising (in every true condition phase, no rising edge of check is allowed)
FixedRisingmodelExample for FixedRising (in every true condition phase, a defined number of check rising edges must occur)
MinRisingmodelExample for MinRising (in every true condition phase, a minimum number of check rising edges must occur)
MaxRisingmodelExample for MaxRising (in every true condition phase, the number of check rising edges is bounded)
BandRisingmodelExample 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)
MaxRisingFrequencymodelExample for MaxRisingFrequency (in every true condition phase, the frequency of the check rising edges is limited)
WhenRisingmodelExample for WhenRising (return Satisfied when check is true and condition has a rising edge)
WhenFallingmodelExample for WhenFalling (return Satisfied when check is true and condition has a falling edge)
WhenChangingmodelExample for WhenChanging (return Satisfied when check is true and condition has a changing edge)
WithinDomainmodelExample for WithinDomain (in every true condition phase, point input must be within domain defined by polygon)
WithinBandmodelExample for WithinBand (a sine and three constants against a band, always, never and sometimes active)
GreaterEqualmodelExample for GreaterEqual (a sine and a constant compared, always, never and sometimes active)
StableSignalmodelExample for StableSignal (a slow and a fast sine, always and sometimes active)
RegionFractionmodelExample for RegionFraction (a temperature wave along a rod of 10 cells, held over at most 30 % of the rod)