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
| Type | Name | Default | Description |
|---|---|---|---|
| Base.Types.FreqType | fType (from VoltageBase) | Base.Types.sys | f: system, parameter, signal |
| SI.Frequency | f (from VoltageBase) | system.f | frequency |
| Base.Types.SourceType | scType (from VoltageBase) | Base.Types.par | v: parameter or signal |
| Real | s2 | sqrt(2) | |
| Integer | h | {1, 3, 5} | {1, ...}, which harmonics? |
| SIpu.Voltage | v0 | {1, 0.3, 0.1} | voltages |
| SI.Angle | alpha0 | zeros(N) | phase angles |
| Nominal | |||
| Base.Types.Units | units (from Nominal) | Types.pu | SI | pu |
| SI.Voltage | V_nom (from Nominal) | 1 | nom Voltage (= base if pu) |
| SI.ApparentPower | S_nom (from Nominal) | 1 | nom Power (= base if pu) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Base.Interfaces.ACdqo_n | term (from Port_n) | negative terminal | |
| Base.Interfaces.Electric_p | neutral (from SourceBase) | (use for grounding) | |
| Modelica.Blocks.Interfaces.RealInput | omega (from VoltageBase) | ang frequency | |
| Modelica.Blocks.Interfaces.RealInput | vPhasor (from VoltageBase) | ({abs(voltage), phase}) |