Skip to content

Loads and Equivalents

Injector models for loads (exponential, restorative, constant power, variable frequency drive) and for a Thévenin equivalent of an external system.

The INJEC record these models are entered with, and the rules on model names, are on the Injector Models page.

LOAD (inj_load): Exponential Recovery Load

Section titled “LOAD (inj_load): Exponential Recovery Load”

The exponential recovery load model captures the transient and steady-state voltage and frequency dependency of aggregated loads. Immediately after a voltage disturbance, the load behaves according to a transient voltage exponent; it then recovers exponentially to a steady-state behaviour described by a different exponent. The model supports separate active (PP) and reactive (QQ) power recovery dynamics, each with individual minimum/maximum limiters on the recovery variable.

Exponential recovery load block diagram. The bus voltage and frequency drive a steady-state term (V/V0) raised to alpha-s times one plus DP times the speed deviation. From it is subtracted the recovery state xP scaled by the transient term (V/V0) raised to alpha-t. The difference feeds an integrator of time constant Tr, limited between xPmin and xPmax, whose state xP sets the injected power P0 times xP times (V/V0) squared times one plus DP times the speed deviation. The reactive side has the same structure with exponents beta-s and beta-t. Exponential recovery load block diagram. The bus voltage and frequency drive a steady-state term (V/V0) raised to alpha-s times one plus DP times the speed deviation. From it is subtracted the recovery state xP scaled by the transient term (V/V0) raised to alpha-t. The difference feeds an integrator of time constant Tr, limited between xPmin and xPmax, whose state xP sets the injected power P0 times xP times (V/V0) squared times one plus DP times the speed deviation. The reactive side has the same structure with exponents beta-s and beta-t.

The model is parameterized in terms of initial active and reactive conductance/susceptance, G0=P0/V02G_0 = P_0/V_0^2 and B0=−Q0/V02B_0 = -Q_0/V_0^2. Two recovery state variables xPx_P and xQx_Q evolve according to:

x˙P=1Tr[(VV0)αs(1+DP Δω)−xP(VV0)αt]\dot{x}_P = \frac{1}{T_r}\left[\left(\frac{V}{V_0}\right)^{\alpha_s} \left(1 + D_P\,\Delta\omega\right) - x_P \left(\frac{V}{V_0}\right)^{\alpha_t}\right]

x˙Q=1Tr[(VV0)βs(1+DQ Δω)−xQ(VV0)βt]\dot{x}_Q = \frac{1}{T_r}\left[\left(\frac{V}{V_0}\right)^{\beta_s} \left(1 + D_Q\,\Delta\omega\right) - x_Q \left(\frac{V}{V_0}\right)^{\beta_t}\right]

where Δω=ωCOI−1\Delta\omega = \omega_{\mathrm{COI}} - 1 is the per-unit speed deviation, VV is the bus voltage magnitude, V0V_0 is the initial voltage, αt,βt\alpha_t, \beta_t are transient exponents, αs,βs\alpha_s, \beta_s are steady-state exponents, and TrT_r is the load recovery time constant. The injected currents are then:

ix=G0 xP vx(1+DP Δω)−B0 xQ vy(1+DQ Δω)i_x = G_0\, x_P\, v_x\left(1 + D_P\,\Delta\omega\right) - B_0\, x_Q\, v_y\left(1 + D_Q\,\Delta\omega\right)

iy=G0 xP vy(1+DP Δω)+B0 xQ vx(1+DQ Δω)i_y = G_0\, x_P\, v_y\left(1 + D_P\,\Delta\omega\right) + B_0\, x_Q\, v_x\left(1 + D_Q\,\Delta\omega\right)

When the recovery variable hits its limit (due to e.g. Stalling or complete voltage collapse), the limit is held until the direction of the derivative reverses.

#NameDescriptionUnit
1DPFrequency sensitivity of active powerpu/pu
2A1Proportion of type-1 component in PP
3alpha1Transient voltage exponent for PP (type 1)
4A2Proportion of type-2 component in PP
5alpha2Transient voltage exponent for PP (type 2)
6alpha3Transient voltage exponent for PP (type 3, proportion =1−A1−A2= 1-A_1-A_2)
7DQFrequency sensitivity of reactive powerpu/pu
8B1Proportion of type-1 component in QQ
9beta1Transient voltage exponent for QQ (type 1)
10B2Proportion of type-2 component in QQ
11beta2Transient voltage exponent for QQ (type 2)
12beta3Transient voltage exponent for QQ (type 3)

Internal computed parameters include the steady-state exponents for each component (derived from the transient exponents), initial conductance G0G_0, susceptance B0B_0, and initial voltage V0V_0.

VariableDescription
iyyy-component of injected current (pu on system base)
ixxx-component of injected current (pu on system base)
xpActive power recovery variable (dimensionless)
xqReactive power recovery variable (dimensionless)

Observables: P, Q, xp, xq

Show the data record
INJEC LOAD LOAD1 BUS1
# FP FQ P Q: share of the power-flow injection (FP, FQ) or initial power (P in MW, Q in Mvar)
1. 1. 0. 0.
# DP: Frequency sensitivity of active power (pu/pu)
1.5
# A1: Proportion of type-1 component in P
0.3
# alpha1: Voltage exponent of the A1 term of P
1.0
# A2: Proportion of type-2 component in P
0.2
# alpha2: Voltage exponent of the A2 term of P
2.0
# alpha3: Voltage exponent of the remaining (1-A1-A2) term of P
0.5
# DQ: Frequency sensitivity of reactive power (pu/pu)
1.8
# B1: Proportion of type-1 component in Q
0.4
# beta1: Voltage exponent of the B1 term of Q
2.5
# B2: Proportion of type-2 component in Q
0.1
# beta2: Voltage exponent of the B2 term of Q
3.0
# beta3: Voltage exponent of the remaining (1-B1-B2) term of Q
2.0
;
*Parameters: `DP A1 alpha1 A2 alpha2 alpha3 DQ B1 beta1 B2 beta2 beta3`*

vfd_load (inj_vfd_load): Variable Frequency Drive Load

Section titled “vfd_load (inj_vfd_load): Variable Frequency Drive Load”

The VFD load model represents aggregate industrial loads driven by variable-frequency drives, where the power consumption exhibits a composite voltage-dependent characteristic with multiple exponential components and frequency sensitivity. It also includes low-voltage protection: below a configurable threshold Vmin⁡V_{\min}, the load switches to a constant-admittance representation, preventing numerical difficulties during deep voltage sags.

Variable frequency drive load block diagram. The bus voltage passes a 3 ms filter and is multiplied by the frequency factor, then by a three-component exponential blend with fractions a1 and a2 and exponents alpha1, alpha2 and alpha3, normalised at the initial voltage. Below the threshold Vlow the model switches to an equivalent constant admittance Geq and Beq, whose values are set at initialisation so the two regimes meet at Vlow. The frequency deviation comes either from the local bus, measured with time constant Tmes, or from the centre-of-inertia speed. Variable frequency drive load block diagram. The bus voltage passes a 3 ms filter and is multiplied by the frequency factor, then by a three-component exponential blend with fractions a1 and a2 and exponents alpha1, alpha2 and alpha3, normalised at the initial voltage. Below the threshold Vlow the model switches to an equivalent constant admittance Geq and Beq, whose values are set at initialisation so the two regimes meet at Vlow. The frequency deviation comes either from the local bus, measured with time constant Tmes, or from the centre-of-inertia speed.

The active and reactive powers depend on bus voltage VV and frequency deviation Δf=f/f0−1\Delta f = f/f_0 - 1:

P=(1+DP Δf)P0⋅a1Vα1+a2Vα2+(1−a1−a2) Vα3a1V0α1+a2V0α2+(1−a1−a2) V0α3P = \left(1 + D_P\,\Delta f\right) P_0 \cdot \frac{a_1 V^{\alpha_1} + a_2 V^{\alpha_2} + (1-a_1-a_2)\, V^{\alpha_3}}{a_1 V_0^{\alpha_1} + a_2 V_0^{\alpha_2} + (1-a_1-a_2)\, V_0^{\alpha_3}}

Q=(1+DQ Δf)Q0⋅b1Vβ1+b2Vβ2+(1−b1−b2) Vβ3b1V0β1+b2V0β2+(1−b1−b2) V0β3Q = \left(1 + D_Q\,\Delta f\right) Q_0 \cdot \frac{b_1 V^{\beta_1} + b_2 V^{\beta_2} + (1-b_1-b_2)\, V^{\beta_3}}{b_1 V_0^{\beta_1} + b_2 V_0^{\beta_2} + (1-b_1-b_2)\, V_0^{\beta_3}}

Below Vmin⁡V_{\min}, an equivalent constant admittance is used:

Plow=Geq V2,Qlow=−Beq V2P_{\mathrm{low}} = G_{\mathrm{eq}}\, V^2, \qquad Q_{\mathrm{low}} = -B_{\mathrm{eq}}\, V^2

where GeqG_{\mathrm{eq}} and BeqB_{\mathrm{eq}} are computed at initialization to ensure continuity at V=Vmin⁡V = V_{\min}. The switch between the two regimes is governed by a piecewise-linear function of VV:

u={0V<Vmin⁡1V≥Vmin⁡u = \begin{cases} 0 & V < V_{\min} \\ 1 & V \geq V_{\min} \end{cases}

A small voltage filter (time constant 0.003 s) smooths the transition. The frequency deviation can optionally be computed from the local bus frequency (measured via an f_inj block with time constant TmesT_{\mathrm{mes}}) or from the system centre-of-inertia speed.

The initial voltage V0V_0 can differ from the transmission bus voltage if a distribution transformer ratio is implied (set Vinit≠0V_{\mathrm{init}} \ne 0 to specify the distribution-side voltage; otherwise the transmission voltage is used directly).

#NameDescriptionUnit
1DpFrequency sensitivity of active powerpu/pu
2a1Fraction of type-1 component in PP
3alpha1Voltage exponent of type-1 PP component
4a2Fraction of type-2 component in PP
5alpha2Voltage exponent of type-2 PP component
6alpha3Voltage exponent of type-3 PP component (fraction =1−a1−a2= 1-a_1-a_2)
7DqFrequency sensitivity of reactive powerpu/pu
8b1Fraction of type-1 component in QQ
9beta1Voltage exponent of type-1 QQ component
10b2Fraction of type-2 component in QQ
11beta2Voltage exponent of type-2 QQ component
12beta3Voltage exponent of type-3 QQ component
13VinitInitial distribution-bus voltage (0 = use transmission voltage)pu
14VlowVoltage threshold for constant-admittance regime (recommended 0.5–0.7)pu
15foption1 = use local bus frequency; 0 = use COI speedflag
16TmesFrequency measurement time constants
VariableDescription
VrealVoltage at equivalent distribution bus
VFiltered distribution-bus voltage (3 ms filter)
PActive power consumed
QReactive power consumed
fbusLocal bus frequency (used if foption=1)
dfFrequency deviation Δf\Delta f
uRegime switch (1 = above Vmin⁡V_{\min}, 0 = constant admittance)

Observables: P, Q, df, u

Show the data record
INJEC vfd_load VFD1 BUS_IND
# FP FQ P Q: share of the power-flow injection (FP, FQ) or initial power (P in MW, Q in Mvar)
1. 1. 0. 0.
# Dp: Frequency sensitivity of active power (pu/pu)
1.5
# a1: Fraction of type-1 component in P
0.7
# alpha1: Voltage exponent of type-1 P component
2.0
# a2: Fraction of type-2 component in P
0.2
# alpha2: Voltage exponent of type-2 P component
1.0
# alpha3: Voltage exponent of type-3 P component
0.5
# Dq: Frequency sensitivity of reactive power (pu/pu)
1.2
# b1: Fraction of type-1 component in Q
0.5
# beta1: Voltage exponent of type-1 Q component
2.5
# b2: Fraction of type-2 component in Q
0.1
# beta2: Voltage exponent of type-2 Q component
1.5
# beta3: Voltage exponent of type-3 Q component
0.8
# Vinit: Initial distribution-bus voltage (0 = use transmission voltage) (pu)
0.0
# Vlow: Voltage threshold for constant-admittance regime (recommended 0.5–0.7) (pu)
0.6
# foption: 1 = use local bus frequency; 0 = use COI speed (flag)
0
# Tmes: Frequency measurement time constant (s)
0.1
;

The restorative load model represents loads that self-restore toward a nominal characteristic after a voltage disturbance. The load’s active and reactive powers are governed by two internal recovery variables that evolve dynamically, allowing the simulation to capture the slow restoration of thermostatically controlled loads (heating, cooling) and similar self-restoring demand.

Restorative load block diagram. The steady-state term, the voltage raised to alpha-s times one plus DP times the speed deviation, has the recovery state multiplied by the transient term subtracted from it. The difference drives an integrator of time constant Tr limited between xPmin and xPmax, whose state scales the injected currents through the initial conductance and susceptance. The reactive side has the same structure with exponents beta-s and beta-t. Restorative load block diagram. The steady-state term, the voltage raised to alpha-s times one plus DP times the speed deviation, has the recovery state multiplied by the transient term subtracted from it. The difference drives an integrator of time constant Tr limited between xPmin and xPmax, whose state scales the injected currents through the initial conductance and susceptance. The reactive side has the same structure with exponents beta-s and beta-t.

The recovery variable xPx_P for active power satisfies:

x˙P=1Tr[Vαs(1+DP Δω)−xP Vαt]\dot{x}_P = \frac{1}{T_r}\left[V^{\alpha_s}\left(1 + D_P\,\Delta\omega\right) - x_P\, V^{\alpha_t}\right]

with analogous equation for xQx_Q. Here αs\alpha_s and αt\alpha_t are the steady-state and transient voltage exponents respectively. Limiters [xP,min⁡, xP,max⁡][x_{P,\min},\, x_{P,\max}] are applied. The injected currents are expressed as:

iy=−B0(1+DQ Δω)xQ vx+G0(1+DP Δω)xP vyi_y = -B_0\left(1 + D_Q\,\Delta\omega\right) x_Q\, v_x + G_0\left(1 + D_P\,\Delta\omega\right) x_P\, v_y

ix=−B0(1+DQ Δω)xQ vy+G0(1+DP Δω)xP vxi_x = \phantom{-}B_0\left(1 + D_Q\,\Delta\omega\right) x_Q\, v_y + G_0\left(1 + D_P\,\Delta\omega\right) x_P\, v_x

where the ratio V/V0V/V_0 governs the voltage dependence through vrat.

#NameDescriptionUnit
1DPFrequency sensitivity of active powerpu/pu
2alphatTransient active power voltage exponent
3alphasSteady-state active power voltage exponent
4xP_minMinimum limit for xPx_P
5xP_maxMaximum limit for xPx_P
6DQFrequency sensitivity of reactive powerpu/pu
7betatTransient reactive power voltage exponent
8betasSteady-state reactive power voltage exponent
9xQ_minMinimum limit for xQx_Q
10xQ_maxMaximum limit for xQx_Q
11TrLoad recovery time constants
VariableDescription
iyyy-component of injected current
ixxx-component of injected current
xpActive power recovery variable
xqReactive power recovery variable

Observables: P, Q, xp, xq

Show the data record
INJEC RESTLD RESTLD1 BUS2
# FP FQ P Q: share of the power-flow injection (FP, FQ) or initial power (P in MW, Q in Mvar)
1. 1. 0. 0.
# DP: Frequency sensitivity of active power (pu/pu)
1.5
# alphat: Active power exponent multiplying xP in the recovery equation
2.0
# alphas: Active power steady-state exponent in the recovery equation
0.0
# xP_min: Lower limit of active power recovery state xP
0.0
# xP_max: Upper limit of active power recovery state xP
2.0
# DQ: Frequency sensitivity of reactive power (pu/pu)
1.2
# betat: Reactive power exponent multiplying xQ in the recovery equation
2.0
# betas: Reactive power steady-state exponent in the recovery equation
0.0
# xQ_min: Lower limit of reactive power recovery state xQ
0.0
# xQ_max: Upper limit of reactive power recovery state xQ
2.0
# Tr: Load recovery time constant (s)
60.0
;

The simplest injector model: maintains constant active and reactive power consumption regardless of bus voltage or frequency. The power is fixed at its initial operating-point value. A small first-order filter (time constant Tout) drives the injected currents smoothly to their target values, preventing algebraic loops.

Constant PQ load block diagram. The two current references are formed from the initial powers and the measured voltage components divided by the voltage squared, and each passes a first-order filter of time constant Tout to give the injected current. The initial powers are fixed, so the power drawn does not follow the voltage. Constant PQ load block diagram. The two current references are formed from the initial powers and the measured voltage components divided by the voltage squared, and each passes a first-order filter of time constant Tout to give the injected current. The initial powers are fixed, so the power drawn does not follow the voltage.

The current references are set to deliver the initial powers P0P_0 and Q0Q_0 at the measured voltage VV:

Ix,set=P0vx+Q0vyV2,Iy,set=P0vy−Q0vxV2I_{x,\mathrm{set}} = \frac{P_0 v_x + Q_0 v_y}{V^2}, \qquad I_{y,\mathrm{set}} = \frac{P_0 v_y - Q_0 v_x}{V^2}

These references pass through a first-order filter with time constant ToutT_{\mathrm{out}} to produce the actual injected currents:

Tout i˙x+ix=Ix,set,Tout i˙y+iy=Iy,setT_{\mathrm{out}}\,\dot{i}_x + i_x = I_{x,\mathrm{set}}, \qquad T_{\mathrm{out}}\,\dot{i}_y + i_y = I_{y,\mathrm{set}}

#NameDescriptionUnit
1ToutOutput filter time constant (recommended: 0.01 s)s

Initial conditions P0P_0, Q0Q_0, V0V_0 are computed automatically at initialization.

VariableDescription
ixInjected xx-current
iyInjected yy-current
IxsetCurrent reference xx
IysetCurrent reference yy
PObserved active power
QObserved reactive power
VBus voltage magnitude

Observables: P, Q

Show the data record
INJEC inj_PQ LOAD_PQ BUS3
# FP FQ P Q: share of the power-flow injection (FP, FQ) or initial power (P in MW, Q in Mvar)
1. 1. 0. 0.
# Tout: Output filter time constant (recommended: 0.01 s) (s)
0.01
;

Models an external network or generator cluster as a Thévenin equivalent: an ideal voltage source Eˉth\bar{E}_{\mathrm{th}} behind a pure reactance XthX_{\mathrm{th}}. The model computes the internal voltage magnitude and phase angle at initialization from the initial bus conditions and holds them constant during the simulation. It is useful for representing neighbouring system equivalents or simplified machine representations.

Thevenin equivalent block diagram. The internal voltage magnitude and phase angle are fixed at initialisation, and the injected currents follow directly from them, the terminal voltage and the Thevenin reactance. The model has no state. Thevenin equivalent block diagram. The internal voltage magnitude and phase angle are fixed at initialisation, and the injected currents follow directly from them, the terminal voltage and the Thevenin reactance. The model has no state.

The Thévenin reactance is obtained from the specified short-circuit power SscS_{\mathrm{sc}} (MVA):

Xth=SbaseSscX_{\mathrm{th}} = \frac{S_{\mathrm{base}}}{S_{\mathrm{sc}}}

The internal voltage phasor is computed at t=0t=0:

Eth,x=vx−Xth iy,Eth,y=vy+Xth ixE_{\mathrm{th},x} = v_x - X_{\mathrm{th}}\, i_y, \qquad E_{\mathrm{th},y} = v_y + X_{\mathrm{th}}\, i_x

Eth=Eth,x2+Eth,y2,ϕ=arctan⁡ ⁣(Eth,yEth,x)E_{\mathrm{th}} = \sqrt{E_{\mathrm{th},x}^2 + E_{\mathrm{th},y}^2}, \qquad \phi = \arctan\!\left(\frac{E_{\mathrm{th},y}}{E_{\mathrm{th},x}}\right)

During simulation the injected currents satisfy:

iy=−Ethcos⁡ϕ−vxXth,ix=Ethsin⁡ϕ−vyXthi_y = -\frac{E_{\mathrm{th}}\cos\phi - v_x}{X_{\mathrm{th}}}, \qquad i_x = \frac{E_{\mathrm{th}}\sin\phi - v_y}{X_{\mathrm{th}}}

#NameDescriptionUnit
1XTHShort-circuit power of the equivalent (converted to XthX_{\mathrm{th}} at initialization)MVA

Internal parameters ETH (Thévenin voltage magnitude, pu) and phase (internal angle, rad) are computed automatically.

VariableDescription
iyInjected yy-current
ixInjected xx-current

Observables: P, Q (in MW and Mvar at system base)

Show the data record
INJEC THEVEQ EQUIV1 SLACK_BUS
# FP FQ P Q: share of the power-flow injection (FP, FQ) or initial power (P in MW, Q in Mvar)
1. 1. 0. 0.
# XTH: Short-circuit power of the equivalent (MVA)
2000.0
;