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

results in
|
 |
|
simulation result |
Generated at 2026-04-14T18:18:34Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos