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 = PRefConstQRef = 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));
PRef and QRef.
By default alpha = beta = 0 so there is no voltage dependence.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.Voltage | UNom (from OnePortAC) | Nominal/rated line-to-line voltage | |
| Types.ApparentPower | SNom (from OnePortAC) | Nominal/rated apparent power | |
| Boolean | portVariablesPhases (from OnePortAC) | false | Compute voltage and current phases for monitoring purposes only |
| Boolean | portVariablesPu (from OnePortAC) | true | Add per-unit variables to model |
| Boolean | generatorConvention (from OnePortAC) | false | Add currents with generator convention (i > 0 when exiting the device) to model |
| LocalInitializationOption | localInit (from OnePortAC) | LocalInitializationOption.none | Initialize the component locally in steady state from port start values |
| Types.PerUnit | alpha | 0 | Exponential of voltage ratio for actual P calculation |
| Types.PerUnit | beta | 0 | Exponential of voltage ratio for actual Q calculation |
| Types.ActivePower | PRefConst | 0 | Constant active power entering the load at reference voltage |
| Types.ReactivePower | QRefConst | 0 | Constant reactive power entering the load at reference voltage |
| Types.Voltage | URef | UNom | Reference value of phase-to-phase voltage |
| Initialization | |||
| Types.Voltage | UStart (from OnePortAC) | UNom | Start value of phase-to-phase voltage phasor, absolute value |
| Types.Angle | UPhaseStart (from OnePortAC) | 0 | Start value of phase-to-phase voltage phasor, phase angle |
| Types.ActivePower | PStart (from OnePortAC) | SNom | Start value of active power flowing into the port |
| Types.ReactivePower | QStart (from OnePortAC) | 0 | Start value of reactive power flowing into the port |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PowerGrids.Interfaces.TerminalAC | terminal (from OnePortAC) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PortAC | port (from OnePortAC) | AC port of node | |
| Electrical.System | systemPowerGrids (from OnePortAC) | Reference to system object | |
| Types.ActivePower | PRef | PRefConst | Active power at reference voltage, the default binding can be changed when instantiating |
| Types.ActivePower | QRef | QRefConst | Reactive power at reference voltage, the default binding can be changed when instantiating |
| Types.PerUnit | U_URef | Ratio between voltage and reference voltage |