modelPQsource

Power source, 3-phase dq0

Extends from Partials.PowerBase (Power source base, 3-phase dq0).

Information

Ideal source with constant (active, reactive) power when 'pq' unconnected,
with variable (active, reactive) power when 'pq' connected to a signal-input.

Optional input:

  pq               {p_active, p_reactive}
   pq[1], pq[2]     in SI or pu, depending on choice of 'units'

Frequency: the source has always system-frequency.

Use only if prescibed values for pq are compatible with the properties of the connected system.

Parameters

TypeNameDefaultDescription
Booleanuse_pq_infalse= true to use input signal pq_in, otherwise use pq0
SIpu.ApparentPower[2]pq0{1, 0}fixed {active, reactive} power
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)
Initialization
PS.VoltageV_startV_nomstart value terminal voltage

Connectors

TypeNameDefaultDescription
Ports.ACdq0_nterm (from Port_n)negative terminal
Interfaces.Electric_pneutral (from SourceBase)(use for grounding)
Modelica.Blocks.Interfaces.RealInputpq_in{active, reactive} power