> 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/examples/distribution-and-industrial-power-systems/emergency-diesel-generator-asynchronous-motor-and-25-synchronism-check.md).

# Emergency Diesel Generator, Asynchronous Motor and 25 Synchronism Check

## Description

The **Diesel Generator with 25SYNC** example, located in **File > Open an Example File > Distribution and Industrial Power Systems**, models a medium-voltage network with an emergency diesel generator.

The objective is to demonstrate synchronism-check (25) relay operation for reclosing a main circuit breaker after a grid-side fault, along with generator control responses during islanding and resynchronization.

The system includes a 25 kV grid feeding a 5 MW load at the terminals, plus a 1 MW resistive load and a 2250 HP asynchronous motor connected via a 6 MVA, 25/2.4 kV transformer. A 3.125 MVA diesel generator (DG), modeled as a synchronous machine with DEGOV1 governor and AC1A exciter, connects to the transformer secondary. A three-phase main circuit breaker at the transformer primary isolates the network during a grid-side three-phase-to-ground fault. A 25 synchronism-check relay supervises reclosing based on voltage magnitude, frequency, and phase-angle differences across the breaker.

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

## Requirements

This example model does not require any additional hardware or licenses.

## Detailed explanation

For a steady-state start, initialize the synchronous machine and asynchronous motor using load flow.

Run the simulation as follows:

{% stepper %}
{% step %}
Open **Network > Load Flow** and set the frequency to **60 Hz**. Do not execute the load flow in this window.

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

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

{% step %}
Open **Simulation Settings**, enable “Perform load flow and set initial conditions at simulation start,” and set the time step to 50 us. Select your simulator and start the simulation.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-5e9229716ed0145d38c0627a65a94f2a4dd2a2fd%2Fimage%20(1440).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

During operation, the grid normally supplies all loads while the DG supplies zero power. If a grid-side three-phase-to-ground fault occurs, the main circuit breaker (CB) opens to island the transformer secondary. The DG ramps up to supply the local loads. After the fault clears and when the synchronism conditions are met, the 25 synchronism-check relay issues the close command to re-energize the primary side through the CB.

## Simulation and results

Initially, the grid supplies all loads and the DG output is zero. A grid-side fault opens the main CB, islanding the secondary; the DG ramps to support the resistive and motor loads.

After the fault clears, the 25 synchronism-check relay permits CB reclosing when the differences across the breaker are within thresholds of 10% (voltage magnitude), 0.4 Hz (frequency), and 5 deg (phase angle).

Following reclose, DG power is ramped down briefly to a minimum and then switched off, consistent with typical industrial/commercial operation.

The following sequence reproduces the scenario. Load “Diesel\_Generator\_with\_25SYNC.svt” in ScopeView and start data acquisition with Sync and Trigger enabled:

* Perform the load flow and set initial values before starting the simulation.
* t = 0.8 s: LLL-G fault occurs.
* t = 1.0 s: Circuit Breaker (CB) 1 opens. Grid-side frequency increases to 60.2 Hz.
* t = 1.2 s: Fault clears.
* t = 4.0 s: 25 synchronism-check relay becomes operational.
* t = 6.0 s: Grid-side frequency returns to 60 Hz.
* t = 6.58 s: 25 synchronism-check relay issues the close command to CB1.
* t = 9.0 s: DG power is reduced to 10%.
* t = 11.0 s: 100 kW load at Bus 3 is switched on.
* t = 14.0 s: 100 kW load at Bus 3 is switched off.
* t = 15.0 s: DG power is reduced to 0.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-657bdeb71e48568b66f477713156d4be70fca375%2Fimage%20(1441).png?alt=media" alt=""><figcaption><p>Synchronous machine control response</p></figcaption></figure>

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

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-237add3a3cb8ddfc2841747021eef733b3ce90bf%2Fimage%20(1445).png?alt=media" alt=""><figcaption><p>Zoom in voltages</p></figcaption></figure>

The 25Sync relay issues a close command when the dV, df and dPhi are within the specified threshold. Accordingly, it can be seen though the grid is back at 6s, the breaker close command is issued at 6.58s when the parameters are within the threshold of 10%, 0.4Hz and 5 deg respectively.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-6bcd43b78f2bc60fe6c4051e0d9c6a39d461a005%2Fimage%20(1446).png?alt=media" alt=""><figcaption><p>Performance of 25- Synchronism-Check relay</p></figcaption></figure>

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-544980c6be6f313694204f52db3291a33623acfc%2Fimage%20(1447).png?alt=media" alt=""><figcaption><p>25kV grid side circuit breaker status</p></figcaption></figure>

Note on circuit breaker status: 1 = Close, 0 = Open.

## Reference <a href="#examples-or-emergencydiesel-generator-asynchronousmotorand25synchronism-check-reference" id="examples-or-emergencydiesel-generator-asynchronousmotorand25synchronism-check-reference"></a>

1. Emergency Diesel-Generator and Asynchronous Motor - [Smart Power Simulation](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/machines/emergency-diesel-generator-and-asynchronous-motor.md)


---

# 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/examples/distribution-and-industrial-power-systems/emergency-diesel-generator-asynchronous-motor-and-25-synchronism-check.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.
