Frequency Sweep Voltage Source
Voltage source with integrated frequency sweep
Description
Equations
Variables
Connections
Parameters
Modelica Standard Library
The Frequency Sweep Voltage Source component provides a polyphase constant RMS phase voltage V and phase angle φ, whereas the frequency sweeps from fstart to fstop with duration.
The frequency sweeps such way that on a logarithmic frequency scale, the frequency curve appears linear.
i=plug_p.pin.i
ω=Diff⁡plug_p.reference.gamma,t
v=plug_p.pin.v−plug_n.pin.v
Name
Value
Units
Modelica ID
v
Complex voltage
absv
[1]
V
Magnitude of complex voltage
abs_v
argv
[2]
rad
Argument of complex voltage
arg_v
i
Complex current
absi
[3]
A
Magnitude of complex current
abs_i
argi
[4]
Argument of complex current
arg_i
P
{Modelica.ComplexMath.real(v[k] Modelica.ComplexMath.conj(i[k])) for k in 1:m}
W
Active power
Ptotal
sum⁡P
Total active power
P_total
Q
{Modelica.ComplexMath.imag(v[k] Modelica.ComplexMath.conj(i[k])) for k in 1:m}
var
Reactive power
Qtotal
sum⁡Q
Total reactive power
Q_total
S
{Modelica.ComplexMath.'abs'(v[k] Modelica.ComplexMath.conj(i[k])) for k in 1:m}
V⁢A
Magnitude of complex apparent power
Stotal
[5]
Magnitude of total complex apparent power
S_total
pf
{cos(Modelica.ComplexMath.arg(Complex(P[k], Q[k]))) for k in 1:m}
Power factor
ω
rads
Angular velocity of reference frame
omega
plugToPinsp
plugToPins_p
plugToPinsn
plugToPins_n
γ
plugp⋅reference⋅γ
gamma
f
voltageSource⋅f
Hz
Actual frequency
voltageSource
logFrequencySweep
const
[1] Modelica⋅ComplexMath⋅′abs′v
[2] Modelica⋅ComplexMath⋅arg⁡v
[3] Modelica⋅ComplexMath⋅′abs′i
[4] Modelica⋅ComplexMath⋅arg⁡i
[5] Ptotal2+Qtotal2
plugp
Positive quasi-static polyphase plug
plug_p
plugn
Negative quasi-static polyphase plug
plug_n
Default
m
3
Number of phases
fstart
Start sweep frequency
fStart
f`stop`
Stop sweep frequency
fStop
T0
0
s
Start time of frequency sweep
startTime
duration
Duration of frequency sweep
Vrms
RMS voltage of the source
φ
Phase shift of the source
phi
[1] −Modelica⋅Electrical⋅MultiPhase⋅Functions⋅symmetricOrientation⁡m
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
Electrical Library
Quasistatic Overview
Quasistatic Polyphase Sources Overview
Download Help Document