Returns the time value at buffer index
function indexTime input Buffer buffer "Memory of sliding window"; input Integer index(min = 1) "Index of time value (index >= 1; index=1: first)"; output Modelica.SIunits.Time t "Time value at index of buffer"; end indexTime;