> 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/protection/transformer-differential-protection.md).

# Transformer Differential Protection

##

## Description

The **Transformer Differential 87T** example, located in **File > Open an Example File > Protection**, demonstrates transformer differential protection behavior for a 315 kV / 120 kV YD11 transformer supplying a 300 MW, 50 MVAR constant impedance load.

The objective is to validate relay operation during transformer energization, an internal fault, and an external fault, including the effect of 2nd-harmonic blocking. Current transformers CT1 (1200/5) and CT2 (3000/5) measure primary and secondary currents and feed the differential relay.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-32652fa4d6519594c23cbac3252501b742504c9b%2Ftransformer-diff-protect.png?alt=media" alt=""><figcaption></figcaption></figure>

## Requirements

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

## Detailed explanation

### System overview

* Transformer: 315 kV / 120 kV, YD11 connection.
* Load: 300 MW, 50 MVAR, constant impedance on the secondary side.
* Current measurement: CT1 (1200/5) on the primary and CT2 (3000/5) on the secondary; both feed the differential protection relay (87T). The relay provides an 87R trip signal.

Transformer energization produces magnetizing inrush current on the energized winding, which does not transfer to an unloaded winding, creating differential current. The inrush typically contains 2nd, 4th, and 5th harmonics. The relay’s 2nd-harmonic blocking function can identify this signature and prevent false tripping.

## Simulation and results

### Case 1: Transformer energization

**Open the control panel of Brk1**, in the ‘*Timing*’ tab, enable ‘*General operation*’ and configure the ‘*Steady-state condition*’ to be open for all three phases. Enable T1, T2 and T3 and configure as follows:

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-cf2a5e3204d963b282011667813c95fde00b7cdd%2Ftransformer-diff-protect-1.png?alt=media" alt=""><figcaption></figcaption></figure>

This allows Brk1 to close and to energize the transformer (phase A at 0.12925 s, phase B closes at 0.10335 s and phase C at 0.11975 s).

**Start the simulation and launch ScopeView**, open the template: ‘Transformer\_Differential\_87T.xml’.

Check both ‘Sync’ and ‘Trig’ and start the data acquisition. The figure below shows the transformer primary and secondary winding currents as well as the flux.

The CT measurements which are sent to the differential relay as well as the 87R trip signal from the relay are shown below.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-fddaa06d35441e82f362b7c688f897c38dfd08fa%2Ftransformer-diff-protect-3.png?alt=media" alt=""><figcaption></figcaption></figure>

It can be seen in the figure below that during energization, the differential currents are higher than 0.2 pu. However, the 2<sup>nd</sup> harmonic component in differential currents is higher than 20 % of the fundamental component and thus blocks the relay from tripping on energization.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-5a694d5eaabcaeb1a2a80bf1c074481724c22d2a%2Ftransformer-diff-protect-4.png?alt=media" alt=""><figcaption></figcaption></figure>

If harmonic blocking is **disabled**, the trip signal is asserted at t = 0.17463 s as shown in the figure below, which is 45.3 ms after the last phase is closed. This corresponds to the 40 ms time delay settings in the relay.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-7469d7e60331c6744f6499d0ae915faf4d6fe5e6%2Ftransformer-diff-protect-5.png?alt=media" alt=""><figcaption></figcaption></figure>

### Case 2: Fault at the primary winding (internal fault)

**Open the control panel of Brk1**, in ‘*General*’ tab, change the ‘*Control type*’ from ‘*Internal*’ to ‘*External (input pins)*’. In ‘*Timing*’ tab, disable ‘*General operation*’ and configure the ‘*Steady-state condition*’ as closed for all three phases. Apply the same configuration to Brk2. In this way, the trip signal from the differential relay controls the switching operation of Brk1 and Brk2.

**Open the control panel of Flt2**, which is connected at the primary winding of the transformer. Enable ‘*General operation*’ in the ‘*Timing*’ tab. A single-line-to-ground fault (A-G) will be applied to the primary winding at t = 0.1 s.

**Disable the Harmonic blocking function** in the 87T model.

**Make a data acquisition in ScopeView** with ‘Sync’ and ‘Trig’ checked. The primary winding currents, the secondary winding currents and the flux are shown in the figure below.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-380b6b876b9184f2ae59925b93b909784132541b%2Ftransformer-diff-protect-6.png?alt=media" alt=""><figcaption></figcaption></figure>

The two CT measurements and the relay trip signal are shown below. The relay sends the trip signal at t = 0.1509 s to open the breaker, which is 50.9 ms after the fault occurs which is in accordance with the set Trip delay of 40 ms.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-dd804130c5b62b16919c1f8378671c770a9dad6e%2Ftransformer-diff-protect-7.png?alt=media" alt=""><figcaption></figcaption></figure>

The figure below shows the calculated differential currents.

### Case 3: Fault outside the differential protection zone (external fault)

**Open the control panel of Flt2**, disable ‘*General operation*’ in the ‘*Timing*’ tab.

**Open the control panel of Flt1** which is next to the load. Enable ‘*General operation*’ in the ‘*Timing*’ tab. In this case, a single line-to-ground fault (B-G) is applied near the load at t = 0.1 s.

The primary winding currents, the secondary winding currents and the flux are shown in the figure below.

As shown below, the differential relay does not trip as the fault is outside the differential protection zone.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-363b5b2b4cbfbf4c8b7d4b061ffdebfe78c8d1e3%2Ftransformer-diff-protect-10.png?alt=media" alt=""><figcaption></figcaption></figure>

It can be seen in the figure below that there is no differential current between the primary and the secondary side of the transformer.

## References

\[1] EMTP-RV example model: Protection – Differential – Transformer\_Energization


---

# 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/protection/transformer-differential-protection.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.
