.Modelica_Requirements.Internal.SlidingWindow

Contents

NameDescription
BufferMemory of sliding window
initInitialize a sliding window buffer
pushStore an element on the sliding window buffer and remove elements that are older as the window length
removeOldestRemove all elements from the buffer that are about to leave the sliding time window
nextLeavingReturn time instant when the oldest element is leaving the buffer
firstValueReturns the newest value
lastValueReturns the oldest value
indexValueReturns the value at buffer index
indexTimeReturns the time value at buffer index
numberOfValuesReturns the number of values in the buffer
maxDurationReturns the maximum duration where buffer value is true in the sliding time window
accumulatedDurationReturns the accumulated duration where buffer value is true in the sliding time window

Generated at 2025-12-07T19:14:00Z by OpenModelicaOpenModelica 1.25.7 using GenerateDoc.mos