modelVspectrum
Ideal voltage spectrum, 1-phase
Extends from Partials.ACvoltageBase (AC voltage base).
Information
AC voltage spectrum with constant amplitude and phase when 'vType' is 'parameter',
with variable amplitude and phase when 'vType' is 'signal'.
The voltage-spectrum is given by the expression
v_spec = sqrt(2)*veff*sum_n(cos(h[n]*(theta + alpha_tot[n]))) with alpha_tot[n] = 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 ACvoltageBase) | Base.Types.sys | f: system, parameter, signal |
| SI.Frequency | f (from ACvoltageBase) | system.f | frequency |
| Integer | pol (from VoltageBase) | -1 | grounding scheme |
| Base.Types.SourceType | scType (from VoltageBase) | Base.Types.par | v: parameter or signal |
| Integer | h | {1, 3, 5} | [1,.. ], which harmonics? |
| SIpu.Voltage | veff | {1, 0.3, 0.1} | eff 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.ElectricV_n | term (from Port_n) | negative terminal | |
| Base.Interfaces.Electric_p | neutral (from VoltageBase) | (use for grounding) | |
| Modelica.Blocks.Interfaces.RealInput | vPhasor (from ACvoltageBase) | {abs(voltage), phase(voltage)} | |
| Modelica.Blocks.Interfaces.RealInput | omega (from ACvoltageBase) | ang frequency |