> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/hypersim/library-blocks-reference/network-loads/dynamic-load.md).

# Dynamic Load

## Description

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-b3652a0f7d72aba39ba0c824965a8dee1d6f35cf%2Fimage%20(1140).png?alt=media" alt="" width="136"><figcaption></figcaption></figure>

The **Dynamic Load** block, located in the **Network Loads library**, models a portion of a power system (motor loads, constant-impedance RLC loads, distribution lines, transformers, and generators) as an equivalent that reproduces the subnetwork’s dynamic behavior.

Since HYPERSIM is used to model both low-frequency electromechanical oscillations (typically 0.01 Hz to 2 Hz) driven by power system dynamics and high-frequency electromagnetic transients resulting from faults and switching events (typically up to a few kHz), the load model must satisfy the **following requirements**:

• The load must represent variations in active power P and reactive power Q as functions of the positive-sequence voltage VVV and the fundamental frequency.

• The load impedance must accurately represent the subnetwork impedance as a function of frequency over an acceptable range. This impedance determines the frequency content of transient voltages and currents, particularly for switching operations and faults occurring near the dynamic load. Critical parameters include the impedance at the fundamental frequency, the locations of impedance poles (parallel resonances) and zeros (series resonances), and the damping associated with these poles.

### Load model

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-75326a5b68cba98a5283be09f0a0479e088a4c3c%2Fimage%20(391).png?alt=media" alt="" width="563"><figcaption><p>Single-lien diagram of the dynamic load model</p></figcaption></figure>

In the network, the dynamic load represents a load that absorbs active power PPP and reactive power QQQ as functions of the voltage and frequency levels.

The series impedance, composed of Rs​ and Ls​, together with the internal voltage source EEE, models the motor component of the load as well as the system series impedance associated with transmission lines and transformer leakage reactances. The shunt elements Rp​ and Cp​ represent the resistive portion of the load, in addition to line capacitances and capacitor banks.

The dynamic load topology shown above enables modeling of the first pole of the positive-sequence impedance as a function of frequency. The HYPERSIM dynamic load model also includes an optional parallel shunt inductance Lp​, which may be used instead of Cp​. The Rp//Lp shunt configuration is rarely employed, as it is intended for fitting combinations of circuits that do not exhibit shunt resonance (such as pure R–L loads and motor loads). In this document, only the Rp​–Cp​ configuration is considered.

The positive-sequence voltage V is measured at the load terminals. The magnitude and phase angle δ\deltaδ of the internal voltage E, relative to V, are automatically adjusted by the load model such that the net active and reactive powers P and Q entering the load terminals follow the variation laws defined below. The voltage dependency of the load characteristics is conventionally represented using an exponential model.

If the voltage at the load terminals U>Vmin⁡:

<p align="center"><span class="math">P = P_0 \left( \frac{U}{U_0} \right)^{np} \left[ \frac{1 + T_{p1}s}{1 + T_{p2}s} + kp \frac{f - f_0}{f_0} \right]</span></p>

$$
Q = Q\_0 \left( \frac{U}{U\_0} \right)^{nq} \left\[ \frac{1 + T\_{q1}s}{1 + T\_{q2}s} + kq \frac{f - f\_0}{f\_0} \right]
$$

If the voltage at the load terminals U\<Vmin⁡

$$
P = P\_0 (V\_{\min})^{np - 2} \left( \frac{U^2}{U\_0^{np}} \right) \left\[ \frac{1 + T\_{p1}s}{1 + T\_{p2}s} + kp \frac{f - f\_0}{f\_0} \right]
$$

$$
Q = Q\_0 (V\_{\min})^{nq - 2} \left( \frac{U^2}{U\_0^{nq}} \right) \left\[ \frac{1 + T\_{q1}s}{1 + T\_{q2}s} + kq \frac{f - f\_0}{f\_0} \right]
$$

*Where :*

* f<sub>0</sub> the nominal frequency (50 Hz or 60 Hz) and f the frequency of the fundamental component (near 50 Hz or 60 Hz)
* U<sub>0</sub> the reference positive-sequence voltage at nominal frequency, U the positive-sequence voltage at the fundamental frequency f, V<sub>min</sub> the minimum voltage for which np and nq exponents are used
* P<sub>0</sub>, Q<sub>0</sub> the active and reactive powers at reference voltage U<sub>0</sub> and frequency f<sub>0</sub>, P, Q the active and reactive powers at voltage V and frequency f
* np, nq exponents defining the variation law of P and Q as a function of the voltage

  depend on the nature of the loads which are lumped in the dynamic load

  can represent respectively a constant power, constant current, or constant impedance load with the value 0, 1, or 2
* kp, kq coefficients defining the variations of P and Q as a function of the fundamental frequency.

**Note**: The P, Q variations follow the above equations as long as voltage is above a minimum value Vmin. When voltage falls below Vmin, the load varies as a constant impedance (np=2 and nq=2). The variation laws then respect the following parabolic law:

$$
P = P\_0 \cdot \frac{U\_{\min}^{np - 2}}{U\_0^{np}} \cdot U^2 \cdot \left( 1 + k\_p \cdot \frac{f - f\_0}{f\_0} \right) \quad \text{si } U < V\_{\min}
$$

$$
Q = Q\_0 \cdot \frac{U\_{\min}^{nq - 2}}{U\_0^{nq}} \cdot U^2 \cdot \left( 1 + k\_q \cdot \frac{f - f\_0}{f\_0} \right) \quad \text{si } U < V\_{\min}
$$

Exponents np and nq depend on the nature of loads which are lumped in the dynamic load. In particular, np and nq= 0, 1, 2 represent respectively constant power, constant current and constant impedance loads. According to reference \[1] np usually ranges between 0.5 and 1.8, whereas nq is typically between 1.5 and 6.

<details>

<summary>Typical load characteristics of different load classes in North America</summary>

Reference \[2] also gives examples for residential and commercial loads.

<table><thead><tr><th width="196">Load Class</th><th width="100">Power Factor</th><th width="100">np</th><th width="100">nq</th><th width="100">kp</th><th>kq</th></tr></thead><tbody><tr><td>Residential - Summer|0.9|1.2|2.9|0.8|-2.2|</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Residential - Winter|0.99|1.5|3.2|1|-1.5|</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Commercial - Summer|0.85|0.99|3.5|1.2|-1.6|</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Commercial - Winter|0.9|1.3|3.1|1.5|-1.1|</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Industrial|0.85|0.18|6|2.6|1.6|</td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>

{% hint style="info" %}
In the absence of information on the load composition, the most commonly accepted load model is to represent active power as constant current (np=1) and reactive power as constant impedance (nq=2).
{% endhint %}

</details>

Example : Frequency is kept constant at nominal frequency with P<sub>0</sub> = 50 MW, Q<sub>0</sub> = 25 Mvar, V<sub>0</sub> = 0.96 pu, V<sub>min</sub> = 0.7 pu

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-ef0f02ddd422cd26b6bd509c0da53f23c0536b32%2Fimage%20(390).png?alt=media" alt="" width="543"><figcaption><p>Example : variations of active power and reactive power as a function of positive-sequence<br>voltage for a dynamic load with the following parameters</p></figcaption></figure>

### Determination of load parameters

In order to determine the four parameters Rs, Ls, Rp and Cp, the load impedance Z(f) as a function of the frequency must be known. It is quite rare that utilities have field measurements available, the only practical method is therefore to perform a detailed simulation of the system to be reduced, including resistive loads, motor loads, lines, transformers, etc. This can be a complex task requiring extensive modeling of the distribution network and some parts of the high voltage network to be reduced. The load global value is usually known from a load flow program but the detailed nature of the load is not necessarily known. Some approximations can then be used.

Below is an example where we assume a 25 kV distribution network connected to a 161 kV transmission network.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-8c0f493ea9358552e1da884373162306350761ad%2Fdynamic-load-block-ex-load-parameters.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

From the load flow calculations output, the active and reactive powers Pi and Qi flowing into each individual feeder or group of feeders (25 kV) is known. The load is assumed to have a resistive part R which contributes to damping the transients, and a motor part which practically does not contribute to damping. This motor load is modeled as a voltage source E<sub>m</sub> behind a series impedance R<sub>m</sub> and L<sub>m</sub>. If capacitor banks are used for power factor correction at low voltage level (600 V and below) they should be lumped on the distribution level (25 kV). The sharing factor k<sub>m</sub> between the resistive load and motor load varies widely according to the country, the season and the nature of the load (residential, commercial...). For example, for the HYPERSIM model of the Hydro-Quebec system, the following typical load sharing has been used for determining dynamic load models:

* Winter: 70% resistive; 30% motor (km=0.3)
* Summer: 50% resistive; 50% motor (km=0.5)

The series impedance R<sub>m</sub> and L<sub>m</sub> represent the motor impedance (leakage reactance of induction motors, or subtransient reactance of synchronous motors and generators) in series with distribution transformers. A reasonable approximation of motor and associated transformer impedance could be L<sub>m</sub> \~ 0.25 pu based on the motor load power (k<sub>m</sub>\*Pi) and R<sub>m</sub>=X<sub>m</sub>/8 (0.03 pu).

Once the complete system including all individual loads has been modeled, its impedance is measured by performing a frequency scan for the desired frequency range (typically 0 to 2 kHz).

## Example

The load flow program gives the following values V = 25 kV, P = 80 MW and Q = 15 Mvar

The net active and reactive powers to be programmed in the HYPERSIM load are therefore +80 MW and +15 Mvar.

* The 80 MW active power is the total power absorbed by a mix of motor and resistive loads as well as line and transformer losses.
* The 15 Mvar reactive power is the net reactive power consumed by the subnetwork (let’s say +25 Mvar absorbed by motors and series inductances - 10 Mvar generated by power factor correction capacitor banks).

The positive-sequence magnitude and phase of Z(f) are as shown on the following figure.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-1118799f55ef6fba252fd7c8ac4e961fc5759cc3%2Fdynamic-load-block-ex-load-curves.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

This impedance curve corresponds to a sharing of 40 MW resistive loads and 40 MW motor loads. The magnitude curve shows a resonance at 240 Hz. This parallel resonance is mainly due to the interaction of the distributed 10 Mvar capacitor banks used for power factor correction as well as motor and transformer inductances. From 0 Hz to 240 Hz, the system is inductive. At resonance, the impedance is resistive (15.2 Ω). The R value corresponds approximately to the resistive load (P = 25e3^2/15.2 = 41.1 MW). Above 240 Hz, the system is capacitive.

The four parameters of the dynamic load R<sub>s</sub>, L<sub>s</sub>, R<sub>p</sub> and C<sub>p</sub> can be determined from the following four parameters selected on the impedance curve:

* The resistance and reactance at fundamental frequency f<sub>0</sub> (R<sub>0</sub>= 1.47 Ω; X<sub>0</sub> = 3.64 Ω)
* The resonance frequency (f<sub>max</sub>= 240 Hz).
* The impedance magnitude at resonance frequency (Z<sub>max</sub> = 15.2 Ω).

Solving this problem is not trivial. The easiest way to get the exact solution is to use an iterative solution. However, the iteration process can usually be simplified by using the five equations given below. Because the impedance magnitude Z<sub>max</sub> at resonance is practically equal to the resistance R<sub>p</sub>, the computation of X<sub>s</sub> and X<sub>p</sub> is first performed by neglecting the resistance R<sub>s</sub>. Under these conditions, one can show that the inductive reactance X<sub>s</sub> of the series branch and the capacitive reactance X<sub>p</sub> of the shunt branch are given by:

**Series branch** **Ls:**

<p align="center"><span class="math">X_s = X_0 \cdot \frac{1}{1 - \left( \frac{f_0}{f_{\text{max}}} \right)^2}</span></p>

**Shunt** **branch** **(Rp/Cp):**

$$
R\_{p1}=Z\_{max} \space \space \space \space X\_p = X\_s \cdot \left( \frac{f\_{\text{max}}}{f\_0} \right)^2
$$

Thus in this example, with f0= 60 Hz, fmax=240 Hz, R0= 1.47 Ω, X0= 3.64 Ω and Zmax= 15.2 Ω

One can obtain the values X<sub>s</sub> = 3.88 Ω, R<sub>p1</sub> = 15.2 Ω and X<sub>p</sub> = 62.1 Ω

Once X<sub>s</sub> and X<sub>p</sub> are known, the resistance R<sub>s</sub> is computed as follows:

$$
R\_s + jX\_s = \frac{1}{\dfrac{1}{R\_0 + jX\_0} - \dfrac{1}{Rp1} - \dfrac{j}{X\_p}}
$$

Thus R<sub>s</sub> = 0.459 Ω and X<sub>s</sub> = 3.88 Ω

Note that the new X<sub>s</sub> value remained the same as the one computed by the equation a little further above, indicating that the computation process has converged.

Finally, the initial value of R<sub>p</sub> (R<sub>p1</sub>) must be corrected to take into account the resistive losses introduced by R<sub>s</sub> at resonance:

<p align="center"><span class="math">R_p = \frac{1}{\dfrac{1}{Rp1} - \dfrac{R_s}{X_s^2} \cdot \left( \dfrac{f_0}{f_{\text{max}}} \right)^2}</span></p>

From this equation R<sub>p</sub> = 15.6 Ω

If we summarize, the four parameters computed with the above equations are:

* Series branch: R<sub>s</sub> = 0.459 Ω and X<sub>s</sub> = 3.90 Ω (L<sub>s</sub> = 0.0103 H)
* Shunt branch: R<sub>p</sub> = 15.6 Ω and X<sub>p</sub> = 62.1 Ω (C<sub>p</sub> = 42.7 μF)

Those values are very close to the exact values found from an iterative solution:

* Series branch: R<sub>s</sub> = 0.488 Ω and X<sub>s</sub> = 3.90 Ω (L<sub>s</sub> = 0.0103 H)
* Shunt branch: R<sub>p</sub> = 15.6 Ω and X<sub>p</sub> = 62.5 Ω (C<sub>p</sub> = 42.4 μF)

## Mask parameters

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-41976c99e4ccfad648007d406ac1f81c53044194%2Fimage%20(1141).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

| Parameter                   | Description                                                                                                                                                                                                                                                                                                                         |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Description**             | Use this field to add information about the component.                                                                                                                                                                                                                                                                              |
| **Dynamic load status**     | If Enable, the load is ON; if Disable, the load is OFF.                                                                                                                                                                                                                                                                             |
| **Measuring filter status** | If Enable, the measuring filter is ON; if Disable, it is OFF. The measuring filter is a second‑order Butterworth filter applied to the Vd and Vq components extracted from the positive-sequence voltage input.                                                                                                                     |
| **External control**        | <p>Select the mode :</p><ul><li>Internal: Use the internal algorithm.</li><li>External P and Q: Inputs P\_i and Q\_i are used to control P and Q in the load equations.</li><li>External P<sub>0</sub> and Q<sub>0:</sub> Inputs P\_i and Q\_i are used to control P<sub>0</sub> and Q<sub>0</sub> in the load equations.</li></ul> |
| **Base power (total)**      | Base value for per-unit conversion (MVA).                                                                                                                                                                                                                                                                                           |
| **Base voltage (rmsLL)**    | Base value for per-unit conversion (kV).                                                                                                                                                                                                                                                                                            |
| **Base frequency**          | Base value for per-unit conversion (Hz).                                                                                                                                                                                                                                                                                            |
| **V**<sub>**min**</sub>     | Voltage threshold below which the load behaves as a constant impedance (pu).                                                                                                                                                                                                                                                        |
| **U**<sub>**0**</sub>       | Nominal voltage relative to the base voltage (pu).                                                                                                                                                                                                                                                                                  |
| **P**<sub>**0**</sub>       | Nominal active power at U<sub>0</sub> (MW).                                                                                                                                                                                                                                                                                         |
| **Q**<sub>**0**</sub>       | Nominal reactive power at U<sub>0</sub> (Mvar).                                                                                                                                                                                                                                                                                     |
| **R**<sub>**s**</sub>       | Series resistance (ohm).                                                                                                                                                                                                                                                                                                            |
| **L**<sub>**s**</sub>       | Series inductance (H).                                                                                                                                                                                                                                                                                                              |
| **R**<sub>**p**</sub>       | Shunt resistance (ohm).                                                                                                                                                                                                                                                                                                             |
| **L**<sub>**p**</sub>       | Shunt inductance (H).                                                                                                                                                                                                                                                                                                               |
| **C**<sub>**p**</sub>       | Shunt capacitance (F).                                                                                                                                                                                                                                                                                                              |
| **n**<sub>**p**</sub>       | Active power variation coefficient as a function of voltage.                                                                                                                                                                                                                                                                        |
| **n**<sub>**q**</sub>       | Reactive power variation coefficient as a function of voltage.                                                                                                                                                                                                                                                                      |
| **k**<sub>**p**</sub>       | Active power variation coefficient as a function of frequency.                                                                                                                                                                                                                                                                      |
| **T**<sub>**p1**</sub>      | Time constant used to calculate the active power of the load.                                                                                                                                                                                                                                                                       |
| **T**<sub>**p2**</sub>      | Time constant used to calculate the active power of the load.                                                                                                                                                                                                                                                                       |
| **T**<sub>**q1**</sub>      | Time constant used to calculate the reactive power of the load.                                                                                                                                                                                                                                                                     |
| **T**<sub>**q2**</sub>      | Time constant used to calculate the reactive power of the load.                                                                                                                                                                                                                                                                     |

{% hint style="info" %}
When **load composition is unknown**, a commonly used approximation is n<sub>p</sub>=1 (active power behaves as constant current) and n<sub>q</sub>=2 (reactive power behaves as constant impedance).
{% endhint %}

## Inputs

| Input    | Description                                                   |
| -------- | ------------------------------------------------------------- |
| **P\_i** | Controls P or P<sub>0</sub> when external control is enabled. |
| **Q\_i** | Controls Q or Q<sub>0</sub> when external control is enabled. |

## Outputs

This block has no outputs.

## Signals available for monitoring and external I/O connections (via sensors form)

All block inputs and outputs are available as signals for monitoring and for external I/O connections.

Additional signals are also available and are listed below with their descriptions.

| Signal            | Description                                                        |
| ----------------- | ------------------------------------------------------------------ |
| **E(a,b,c)**      | Output voltage of the dynamic load (V).                            |
| **Ed**            | Direct (D) axis output voltage (pu).                               |
| **Eq**            | Quadrature (Q) axis output voltage (pu).                           |
| **Freq**          | Network frequency (Hz).                                            |
| **IPROBE(a,b,c)** |                                                                    |
| **I(a,b,c)**      | Dynamic load current (A).                                          |
| **P**             | Total active power of the load (pu).                               |
| **Pcomp**         | Compensating active power from the internal voltage source (pu).   |
| **Period**        | Inverse of the frequency (s).                                      |
| **Q**             | Total reactive power of the load (pu).                             |
| **Qcomp**         | Compensating reactive power from the internal voltage source (pu). |
| **Qdisplay**      |                                                                    |
| **VPROBE(a,b,c)** |                                                                    |
| **Vd**            | Direct (D) axis voltage (pu).                                      |
| **Vq**            | Quadrature (Q) axis voltage (pu).                                  |
| **Vrms**          | Average value of the positive-sequence voltage (pu).               |

## References

\[1] Power System Stability and Control; by P. Kundur, Mc Graw Hill book, 1993\
\[2] Load Representation For Dynamic Performance Analysis; by IEEE task force on Load Representation for Dynamic Performance, IEEE paper 1992 WM 126-3 PWRS


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/hypersim/library-blocks-reference/network-loads/dynamic-load.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
