functionaccumulatedDuration

Returns the accumulated duration where buffer value is true in the sliding time window

Inputs

TypeNameDefaultDescription
BufferbufferMemory of sliding window
Modelica.Units.SI.TimetActual time instant
BooleanbfalseActual value at t (used if no element is in the buffer)

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.TimedurationAccumulated duration where buffer value is true in window