ChecksInSlidingWindow package

Requirements.Examples.Elementary.ChecksInSlidingWindow  ยท source

Icon of ChecksInSlidingWindow

Library of examples using ChecksInSlidingWindow blocks

Extends Modelica.Icons.ExamplesPackage

Examples of the blocks of package ChecksInSlidingWindow. In contrast to the fixed windows of ChecksInFixedWindow, these blocks evaluate a property in a time window of length window that slides along with time: at every time instant, the last window seconds are inspected. The examples check the longest and the accumulated duration in which a Boolean signal is true (Min, Max and Band variants), the number and the mean frequency of its rising edges, and the increase of a Real signal in absolute and percentage terms. Each example plots the input and the property output.

Contents

NameKindDescription
MinDurationmodelExample for MinDuration (in every sliding time window, the longest time duration where check was permanently true must be above a lower limit)
MinAccumulatedDurationmodelExample for MinAccumulatedDuration (in every sliding time window, the accumulated time duration where check was true must be above a lower limit)
MinAccumulatedDuration2modelExample for MinAccumulatedDuration2 (in every sliding time window, the accumulated time duration where check was true must be above a lower limit)
MaxDurationmodelExample for MaxDuration (in every sliding time window, the longest time duration where check was permanently true must be below an upper limit)
MaxAccumulatedDurationmodelExample for MaxAccumulatedDuration (in every sliding time window, the accumulated time duration where check was true must be below an upper limit)
BandDurationmodelExample for BandDuration (in every sliding time window, the longest time duration where check was permanently true must be within a given band)
BandAccumulatedDurationmodelExample for BandAccumulatedDuration (in every sliding time window, the accumulated time duration where check was true must be within a given band)
MinRisingmodelExample for MinRising (in every sliding time window, a minimum number of check rising edges must occur)
MaxRisingmodelExample for MaxRising (in every sliding time window, the number of check rising edges is bounded)
BandRisingmodelExample for BandRising (in every sliding time window, a minimum number of check rising edges must occur and the number of check rising edges is bounded)
MaxFrequencymodelExample for MaxFrequency (in every sliding time window, the mean frequency of check is limited)
MaxRisingFrequencymodelExample for MaxRisingFrequency (in every sliding time window, the frequency of the check rising edges is limited)
MaxIncreasemodelExample for MaxIncrease (in every sliding time window, the increase of the input is limited)
MaxPercentageIncreasemodelExample for MaxPercentageIncrease (in every sliding time window, the increase of the input is limited)