modelVoltage

Ideal voltage, 3-phase dq0

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

Information

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

Optional input:

  omega_in           angular frequency (choose fType == "Signal")
  vPhasor_in         {norm(v), phase(v)}, amplitude(v_abc)=sqrt(2/3)*vPhasor_in[1]
   vPhasor_in[1]     in SI or pu, depending on choice of 'units'
   vPhasor_in[2]     in rad

Parameters

TypeNameDefaultDescription
Booleanuse_vPhasor_in (from VoltageBase)false= true to use input signal vPhasor_in, otherwise use fixed values
SIpu.Voltagev01fixed voltage
SI.Anglealpha00fixed phase angle
Parameter Scaling
BooleanpuUnits (from Nominal)true= true, if scaled with nom. values (pu), else scaled with 1 (SI)
Nominal
SI.VoltageV_nom (from Nominal)1nominal Voltage (= base for pu)
SI.ApparentPowerS_nom (from Nominal)1nominal Power (= base for pu)
Frequency
Types.SourceFrequencyfType (from VoltageBase)PowerSystems.Types.SourceFrequency.Systemfrequency type
SI.Frequencyf (from VoltageBase)system.ffrequency if type is parameter

Connectors

TypeNameDefaultDescription
Ports.ACdq0_nterm (from Port_n)negative terminal
Interfaces.Electric_pneutral (from SourceBase)(use for grounding)
Modelica.Blocks.Interfaces.RealInputomega_in (from VoltageBase)angular frequency
Modelica.Blocks.Interfaces.RealInputvPhasor_in (from VoltageBase){abs(voltage), phase}