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

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