modelMaxDuration

Example for MaxDuration (in every sliding time window, the longest time duration where check was permanently true must be below an upper limit)

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Using sliding time window check block MaxDuration as

results in

simulation result

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.BooleanTablecheck
Modelica_Requirements.ChecksInSlidingWindow.MaxDurationmaxDuration1