.BondLib.Sources.pulseSe

Information

The pulse effort source is an active OnePort element. It inherits the effort and flow variables from the active OnePort. The pulse effort to be generated is modeled as a set of five 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 pulse to be generated (default value = 1)

 width:      Percentage of period in on state (default value = 50)

 period:     Length of period of pulse to be generated (default value = 1)

 offset:     Offset of pulse to be generated (default value = 0)

 startTime:  Start time of pulse to be generated (default value = 0)


Equations:

when sample(startTime, period) then
T0 = time
end when
e = offset + (if time < startTime or time >= T0 + T_width then 0 else e0)


Generated at 2024-04-19T18:16:02Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos