BondLib.Sources.sinSf

# .BondLib.Sources.sinSf

Sinusoidal flow source of the Modelica bond graph library

## Information

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

The flow source has its causality stroke at the source.

    Potential variables:

     e:          Bondgraphic effort variable

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

    Parameters:

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

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

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

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

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

Equations:

f = offset + f0*sin(2*pi*freqHz*(time - startTime))

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos