CosineVoltageVariableFrequencyAndAmplitudeCosine voltage source with variable frequency and amplitude |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This voltage source provides a cosine voltage with variable frequency f
and variable amplitude V
,
i.e. the phase angle of the sine wave is integrated from 2*π*f.
Note that the initial value of the phase angle phi
defines the initial phase shift,
and that the parameter startTime
is omitted since the voltage can be kept equal to offset with setting the input V
to zero.
useConstantAmplitude |
Value: false Type: Boolean Description: Enable constant amplitude |
---|---|
constantAmplitude |
Value: 1 Type: Voltage (V) Description: Constant amplitude |
useConstantFrequency |
Value: false Type: Boolean Description: Enable constant frequency |
constantFrequency |
Value: 1 Type: Frequency (Hz) Description: Constant frequency |
offset |
Value: 0 Type: Voltage (V) Description: Offset of the sine wave |
p |
Type: PositivePin Description: Positive electrical pin |
|
---|---|---|
n |
Type: NegativePin Description: Negative electrical pin |
|
V |
Type: RealInput Description: Amplitude |
|
f |
Type: RealInput Description: Frequency |
Modelica.Electrical.Analog.Examples Series resonance circuit |