.Modelica_Requirements.Internal.SlidingWindow.init

Information

Initialize a sliding window buffer

Interface

function init
  input Modelica.SIunits.Time T "Length of window";
  input Modelica.SIunits.Time t0 "Initial time instant";
  output Buffer buffer = Buffer(T = T, t0 = t0, t = fill(0, nBuffer), b = fill(false, nBuffer), first = 0, last = 0, nElem = 0) "Initialized buffer";
end init;

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos