modelMaxAccumulatedDuration

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

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

Information

Using sliding time window check block AccumulatedMaxDuration as

results in

simulation result

Components

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