.ModelicaDEVS.Examples.Electrical.AdditionalBlocks.SamplerTimeNumerical

Information

The SamplerTimeNumerical Block

Parameters:
period length of the sampling intervals
start start time of the sampling period
d delay value for the numerical differentiation.


Description:

This block is derived from the conventional SamplerTime block, only that instead of using the der() operator to compute the derivatives (or more precisely the coefficients of the Taylor series up to second order) for the second and third output value, it uses the concept of difference equations:

dx/dt=(x(t)-x(t-h))/h

where h is represented by the value of d, and the value x(t-h) is obtained by using the Modelica delay() function:

delay(x,d)


For details on the generated output events, see the original SamplerTime block.
Generated at 2025-01-31T19:25:52Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos