Cosine with variable frequency and amplitude
Generate a cosine signal with variable frequency and amplitude
Description
Equations
Connections
Parameters
Modelica Standard Library
The Cosine Variable Frequency and Amplitude (or Variable Cosine Source) component has a real output y that is a cosinusoidal signal whose frequency and amplitude may be varied by real inputs:
y=offset+amplitudeinternal⁢cos⁡φ
der⁡φ=2⁢π⁢finternal
amplitudeinternal={constantAmplitudeuseConstantAmplitudeamplitudeotherwise
finternal={constantFrequencyuseConstantFrequencyfotherwise
Name
Modelica ID
y
Real output signal
amplitude
Amplitude of cosine wave
f
frequency of cosine wave
Default
Units
Use constant amplitude
false
useConstantAmplitude
Constant amplitude
1
constantAmplitude
Use constant frequency
useConstantFrequency
Constant frequency
Hz
constantFrequency
offset
0
Offset of output signal
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.
See Also
Real Sources
Signal Blocks
Signal Sources
Download Help Document