Sine

Generates a real sine signal

Description

The Sine component generates a sine wave signal at the output, $y$. Its equation is

 $y=\left\{\begin{array}{cc}\mathrm{amplitude}\cdot \mathrm{sin}\left(2\cdot \mathrm{π}\cdot f\cdot t+\mathrm{ϕ}\right)+\mathrm{offset}& t\ge {T}_{0}\\ \mathrm{offset}& t<{T}_{0}\end{array}\right\$

Connections

 Name Description $y$ Real output signal connection

Parameters

 Symbol Default Units Description Modelica ID $\mathrm{amplitude}$ $1$ - Amplitude of the sine wave amplitude $f$ $1$ $\mathrm{Hz}$ Frequency of the sine wave freqHz $\phi$ $0$ $\mathrm{rad}$ Phase of the sine wave phase $\mathrm{offset}$ $0$ - Offset of the output signal offset ${T}_{0}$ $0$ $s$ Time offset startTime