modelLoadPQVoltageDependence

Load model with voltage dependent P and Q

Extends from PowerGrids.Electrical.BaseClasses.OnePortAC (Base class for AC components with one port), Icons.Load.

Information

Model of a PQ load with voltage dependence.

port.P = PRef*(port.U/URef)^alpha;
port.Q = QRef*(port.U/URef)^beta.

By default

PRef = PRefConst
QRef = QRefConst,

so by just setting the PRefConst and QRefConst parameters one can obtain a PQ source with fixed reference P and Q values.

It is possible to change the binding of PRef and QRef when instantiating the model, to obtain time-varying PQ loads without the need of signal generator blocks, e.g.

LoadPQVoltageDependence myLoad(PRef = 1e8 + (if time < 10 then 0 else 1e7));

in which case, the constant reference value PRefConst is ignored. Alternatively, one can use the LoadPQVoltageDependenceInputs model that has input connectors for PRef and QRef.

By default alpha = beta = 0 so there is no voltage dependence.

Parameters

TypeNameDefaultDescription
Types.VoltageUNom (from OnePortAC)Nominal/rated line-to-line voltage
Types.ApparentPowerSNom (from OnePortAC)Nominal/rated apparent power
BooleanportVariablesPhases (from OnePortAC)falseCompute voltage and current phases for monitoring purposes only
BooleanportVariablesPu (from OnePortAC)trueAdd per-unit variables to model
BooleangeneratorConvention (from OnePortAC)falseAdd currents with generator convention (i > 0 when exiting the device) to model
LocalInitializationOptionlocalInit (from OnePortAC)LocalInitializationOption.noneInitialize the component locally in steady state from port start values
Types.PerUnitalpha0Exponential of voltage ratio for actual P calculation
Types.PerUnitbeta0Exponential of voltage ratio for actual Q calculation
Types.ActivePowerPRefConst0Constant active power entering the load at reference voltage
Types.ReactivePowerQRefConst0Constant reactive power entering the load at reference voltage
Types.VoltageURefUNomReference value of phase-to-phase voltage
Initialization
Types.VoltageUStart (from OnePortAC)UNomStart value of phase-to-phase voltage phasor, absolute value
Types.AngleUPhaseStart (from OnePortAC)0Start value of phase-to-phase voltage phasor, phase angle
Types.ActivePowerPStart (from OnePortAC)SNomStart value of active power flowing into the port
Types.ReactivePowerQStart (from OnePortAC)0Start value of reactive power flowing into the port

Connectors

TypeNameDefaultDescription
PowerGrids.Interfaces.TerminalACterminal (from OnePortAC)

Components

TypeNameDefaultDescription
PortACport (from OnePortAC)AC port of node
Electrical.SystemsystemPowerGrids (from OnePortAC)Reference to system object
Types.ActivePowerPRefPRefConstActive power at reference voltage, the default binding can be changed when instantiating
Types.ActivePowerQRefQRefConstReactive power at reference voltage, the default binding can be changed when instantiating
Types.PerUnitU_URefRatio between voltage and reference voltage