.BondLib.Sources.expsinSe

Information

The damped sinusoidal effort source is an active OnePort element. It inherits the effort and flow variables from the active OnePort. The damped sinusoidal effort to be generated is modeled as a set of six parameters.

The effort source has its causality stroke away from the source.


Potential variables:

 e:          Bondgraphic effort variable

 f:          Bondgraphic flow variable, normalized positive for flows out of the model


Parameters:

 e0:         Amplitude of damped sine wave to be generated (default value = 1)

 phase:      Phase of damped sine wave to be generated (default value = 0)

 freqHz:     Frequency of damped sine wave to be generated (default value = 2)

 damping:    Damping coefficient of damped sine wave to be generated (default value = 1)

 offset:     Offset of damped sine wave to be generated (default value = 0)

 startTime:  Start time of damped sine wave to be generated (default value = 0)


Equations:

e = offset + (if time < startTime then 0 else e0*exp(-(time - startTime)*damping)*sin(2*pi*freqHz*(time - startTime) + phase))


Generated at 2024-11-24T19:25:44Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos