modelVspectrum

Ideal voltage spectrum, 3-phase dqo

Extends from Partials.VoltageBase (Voltage base, 3-phase dqo).

Information

Voltage spectrum with constant amplitude and phase when 'vType' is 'parameter',
with variable amplitude and phase when 'vType' is 'signal'.

In inertial abc-system the voltage-spectrum is given by the expression

  v_spec_ABC = sqrt(2/3)*sum_n(v0[n]*cos(h[n]*(theta + alpha_tot - k*2*pi/3)))
with
  k=0,1,2 for phase a,b,c
and
  alpha_tot = alpha + system.alpha0 + alpha0[n]
where
  alpha = vPhasor[2] (common phase) for signal input, else 0

Optional input:

  omega            angular frequency (if fType == "sig")
  vPhasor          {modulation(v), common phase(v)}
   vPhasor[1] = 1  delivers the values for constant amplitudes v0
   vPhasor[1]      in SI or pu, depending on choice of 'units'
   vPhasor[2]      in rad

Parameters

TypeNameDefaultDescription
Base.Types.FreqTypefType (from VoltageBase)Base.Types.sysf: system, parameter, signal
SI.Frequencyf (from VoltageBase)system.ffrequency
Base.Types.SourceTypescType (from VoltageBase)Base.Types.parv: parameter or signal
Reals2sqrt(2)
Integerh{1, 3, 5}{1, ...}, which harmonics?
SIpu.Voltagev0{1, 0.3, 0.1}voltages
SI.Anglealpha0zeros(N)phase angles
Nominal
Base.Types.Unitsunits (from Nominal)Types.puSI | pu
SI.VoltageV_nom (from Nominal)1nom Voltage (= base if pu)
SI.ApparentPowerS_nom (from Nominal)1nom Power (= base if pu)

Connectors

TypeNameDefaultDescription
Base.Interfaces.ACdqo_nterm (from Port_n)negative terminal
Base.Interfaces.Electric_pneutral (from SourceBase)(use for grounding)
Modelica.Blocks.Interfaces.RealInputomega (from VoltageBase)ang frequency
Modelica.Blocks.Interfaces.RealInputvPhasor (from VoltageBase)({abs(voltage), phase})