> 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-transformers/2-winding-impedance-matrix-based-transformer.md).

# 2 Winding Impedance Matrix Based Transformer

## Description

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

The **2-Winding Impedance-Matrix-Based Transformer** block, located in the **Network Transformers** library, is based on **Inductance Matrix Transformer (IMT)** and reproduces the behavior of a three-phase linear transformer at power frequency.

Based on excitation and short-circuit tests in positive and zero sequences, the tool computes two matrices \[R] and \[L] modeling the transformer. R<sub>i</sub> and L<sub>i</sub> are the resistance and self-inductance of each coil, and M<sub>ij</sub> are the mutual inductances between coils. HYPERSIM simulates the transformer as mutually coupled R–L branches.

**Supports:**

* A three-limb core representation
* A five-limb core representation
* Internal faults simulation (see [2-Winding Impedance-Matrix-Based Transformer with Internal Fault](https://opal-rt.atlassian.net/wiki/spaces/PDOCHS/pages/150244687/2-Winding+Impedance-Matrix-Based+Transformer+with+Internal+Fault))

**Does not support:**

* A three single-phase core representation
* Saturation

{% hint style="info" %}
This model works with the Transformer Data tab.
{% endhint %}

## Mask parameters

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-f12247676c35d56e20e5c8c70b018a137c473776%2F3PIT.jpg?alt=media" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="General" %}

<table><thead><tr><th width="220">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Description</strong></td><td>Use this field to add information and pertinent details about the component.</td></tr><tr><td><strong>Primary/secondary connection</strong></td><td><p>Winding type:</p><ul><li>Y <strong>ground</strong>: Grounded Y connection (can use the internal neutral impedance specified in the other tab)</li><li>Y <strong>floating</strong>: Floating Y connection</li><li>Y <strong>neutral</strong>: Y connection with impedance connected at the input pin N1 or N2</li><li>Delta <strong>lead</strong>: Delta connection with lead of 30°</li><li>Delta <strong>ground</strong>: Grounded delta connection (Phase C is grounded)</li><li>Delta <strong>lag</strong>: Delta connection with lag of 30°</li></ul></td></tr><tr><td><strong>Base primary/secondary winding voltage (rmsLL)</strong></td><td>Base value for PU conversion (kV) defined in the Transformer Data tab. Voltage expressed in kV rms LL. This base voltage and nominal voltage change if the corresponding winding connection switches between delta and Y.</td></tr><tr><td><strong>Base power (total)</strong></td><td>Base value for PU conversion (MVA).</td></tr><tr><td><strong>Base frequency</strong></td><td>Base value for PU conversion (Hz).</td></tr><tr><td><strong>Rm - positive sequence</strong></td><td>Defined in Transformer Data tab (Ω).</td></tr><tr><td><strong>Rm - zero sequence</strong></td><td>Defined in Transformer Data tab (Ω).</td></tr><tr><td><strong>[R]</strong></td><td>Leakage resistance matrix (Ω).</td></tr><tr><td><strong>[L]</strong></td><td>Leakage inductance matrix (H).</td></tr></tbody></table>
{% endtab %}

{% tab title="Neutral impedance" %}

<table><thead><tr><th width="200">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>R1, R2</strong></td><td>Neutral resistance of the winding; only applies to Y ground (Ω).</td></tr><tr><td><strong>L1, L2</strong></td><td>Neutral inductance of the winding; only applies to Y ground (H).</td></tr><tr><td><strong>C1, C2</strong></td><td>Neutral capacitance of the winding; only applies to Y ground (F).</td></tr></tbody></table>

{% hint style="info" %}
The neutral impedance parameters are computed in the Transformer Data Tab.
{% endhint %}
{% endtab %}

{% tab title="Transformer data" %}
To Learn How to Generate Transformer parameters see [\[Z\]-Based Transformer Parameters](https://github.com/Opal-RT-Technologies/product-docs-hypersim/tree/release-2026.4/model-and-simulation/use-parameter-generators/z-based-transformer-parameters.md).
{% endtab %}
{% endtabs %}

## Conserving ports

<table><thead><tr><th width="200">Port</th><th>Description</th></tr></thead><tbody><tr><td><strong>Net_1</strong></td><td>Primary winding connection (supports only 3-phase connections).</td></tr><tr><td><strong>Net_2</strong></td><td>Secondary winding connection (supports only 3-phase connections).</td></tr><tr><td><strong>Net_N1</strong></td><td>Neutral connection for the primary winding (supports only 1-phase connections).</td></tr><tr><td><strong>Net_N2</strong></td><td>Neutral connection for the secondary winding (supports only 1-phase connections).</td></tr></tbody></table>

## Inputs

This block has no inputs.

## 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.

<table><thead><tr><th width="201">Signal</th><th>Description</th></tr></thead><tbody><tr><td><strong>IPRIM(a,b,c)</strong></td><td>Primary current for each phase (A)</td></tr><tr><td><strong>ISEC2(a,b,c</strong></td><td>Secondary current for each phase (A)</td></tr></tbody></table>

## References

\[1] Dommel, H., et al., Electromagnetic Transients Program Reference Manual (EMTP Theory Book), 1986\
\[2] A transformer model for winding fault studies, Partrick Bastard, Pierre Bertrand, Michel Meunier, IEEE, Vol 9, No 2, April 1994


---

# 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-transformers/2-winding-impedance-matrix-based-transformer.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.
