Cosine

Generate a cosine signal

 Description The Cosine component has a real output $y$ that is a cosinusoidal signal:
 Equations $y=\mathrm{offset}+\left\{\begin{array}{cc}0& t\le {T}_{0}\\ \mathrm{amplitude}\mathrm{cos}\left(2\mathrm{\pi }f\left(t-{T}_{0}\right)+\mathrm{\phi }\right)& \mathrm{otherwise}\end{array}$

Connections

 Name Description Modelica ID $y$ Real output signal y

Parameters

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

 Modelica Standard Library The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.