.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-04-17T18:16:15Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos