Skip to content

Sine Wave

Pure sinusoidal source: out = A * sin(2π f t + φ) + offset. Use for AC references and small-signal stimulus.

Category: Sources

Keywords: sin, sinusoid, sinusoidal, AC, harmonic, wave, oscillator

Ports

NameDirectionValue typeNotes
outoutputdouble

Parameters

NameLabelTypeDefaultUnitsDescription
amplitudeAdouble1
frequencyfdouble1
phaseφdouble0

Implemented in C++ class SimCompCtlSineWave (components/control/CSim_comp_ctl_sine_wave/sim_comp_ctl_sine_wave.h).

Released under the MIT License.