modelVspectrum
Ideal voltage spectrum, 3-phase dq0
Extends from Partials.VoltageBase (Voltage base, 3-phase dq0).
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_in[2] (common phase) for signal input, else 0
Optional input:
omega_in angular frequency (if fType == "Signal")
vPhasor_in {modulation(v), common phase(v)}
vPhasor_in[1] = 1 delivers the values for constant amplitudes v0
vPhasor_in[1] in SI or pu, depending on choice of 'units'
vPhasor_in[2] in rad
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_vPhasor_in (from VoltageBase) | false | = true to use input signal vPhasor_in, otherwise use fixed values |
| 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 |
| Parameter Scaling | |||
| Boolean | puUnits (from Nominal) | true | = true, if scaled with nom. values (pu), else scaled with 1 (SI) |
| Nominal | |||
| SI.Voltage | V_nom (from Nominal) | 1 | nominal Voltage (= base for pu) |
| SI.ApparentPower | S_nom (from Nominal) | 1 | nominal Power (= base for pu) |
| Frequency | |||
| Types.SourceFrequency | fType (from VoltageBase) | PowerSystems.Types.SourceFrequency.System | frequency type |
| SI.Frequency | f (from VoltageBase) | system.f | frequency if type is parameter |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Ports.ACdq0_n | term (from Port_n) | negative terminal | |
| Interfaces.Electric_p | neutral (from SourceBase) | (use for grounding) | |
| Modelica.Blocks.Interfaces.RealInput | omega_in (from VoltageBase) | angular frequency | |
| Modelica.Blocks.Interfaces.RealInput | vPhasor_in (from VoltageBase) | {abs(voltage), phase} |