functionaccumulatedDuration
Returns the accumulated duration where buffer value is true in the sliding time window
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Buffer | buffer | Memory of sliding window | |
| Modelica.Units.SI.Time | t | Actual time instant | |
| Boolean | b | false | Actual value at t (used if no element is in the buffer) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | duration | Accumulated duration where buffer value is true in window |