.ModelicaDEVS.Examples.Electrical.AdditionalBlocks.CapacitorDEVSNumerical

Information

The CapacitorDEVSNumerical Block

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


Description:

The CapacitorDEVSNumerical block is an almost exact copy of the CapacitorDEVS block, only that the normal SamplerTime is replaced by a SamplerTimeNumerical block. The SamplerTimeNumerical block avoids the problem caused by the der() (see description of the CapacitorDEVS block) operator by means of the delay() function that is used to differentiate numerically (concept of difference equations) instead of analytically. This means that instead of the first and second derivatives of the input signal, the SamplerTimeNumerical returns a numerical approximation.
Generated at 2025-01-31T19:25:52Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos