ChecksInSlidingWindow package

Requirements.ChecksInSlidingWindow  ยท source

Icon of ChecksInSlidingWindow

Library of check blocks that inspect a property in a sliding time window

Extends Modelica.Icons.Package

This library provides blocks that check properties in a sliding time window. Blocks performing checks in fixed windows defined by a Boolean condition variable are provided in sublibrary ChecksInFixedWindow.

All blocks of this library have the following interface:

  • Boolean input check is a Boolean expression that must be true according to the property check of the particular block.
  • Real input window is the length of the sliding time window in seconds. A check is performed conceptually in every interval [time-window, time].
  • Property output y is of enumeration type Property. If the check is successful, y = Property.Satisfied. If the check fails, y = Property.Violated. If neither of the two properties hold (the first sliding window is not yet complete), y = Property.Undecided. The sliding-window blocks have no condition input, so they never emit Property.Undefined (not applicable); combine them with during3 to restrict them to a condition.
    If Property.Undecided cannot occur, output y is a Boolean instead of a Property.

Contents

NameKindDescription
MinDurationblockIn every sliding time window, the longest time duration where check was permanently true must be above a lower limit
MinAccumulatedDurationblockIn every sliding time window, the accumulated time duration where check was true must be above a lower limit
MinAccumulatedDuration2blockIn every sliding time window, the accumulated time duration where check was true must be above a lower limit (same as MinAccumulationDuration but with Boolean instead of Property output)
MaxDurationblockIn every sliding time window, the longest time duration where check was permanently true must be below an upper limit
MaxAccumulatedDurationblockIn every sliding time window, the accumulated time duration where check was true must be below an upper limit
BandDurationblockIn every sliding time window, the longest time duration where check was permanently true must be within a given band
BandAccumulatedDurationblockIn every sliding time window, the accumulated time duration where check was true must be within a given band
MinRisingblockIn every sliding time window, a minimum number of check rising edges must occur
MaxRisingblockIn every sliding time window, the number of check rising edges is bounded
BandRisingblockIn every sliding time window, a minimum number of check rising edges must occur and the number of check rising edges is bounded
MaxFrequencyblockIn every sliding time window, the mean frequency of check is limited
MaxRisingFrequencyblockIn every sliding time window, the mean frequency of the check rising edges is limited
MaxIncreaseblockIn every sliding time window, the increase of the input is limited
MaxPercentageIncreaseblockIn every sliding time window, the percentage increase of the input is limited