> 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/3-winding-3-phase-saturable-transformer-with-tap-changer.md).

# 3 Winding 3 Phase Saturable Transformer with Tap Changer

## Description

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

The **3-Winding 3-phase Saturable Transformer with Tap Changer** block, located in the **Network Transformers** library, models a three-winding transformer with an on-load tap changer for voltage adjustment. It extends the linear transformer with saturation and optional hysteresis effects, which improve realism at the cost of additional computation time.

The saturation is characteristic of the core, thus of the winding and not the type of 3-phase connection (Y, Delta or Zigzag). It is represented only for the magnetization branch (schematically using line segments).

The main hysteresis cycle is characterized by four parameters. It is measured in DC so as not to include the Foucault losses, which are considered by the parallel resistance (Rm). The initial trajectory is characterized by only one parameter, the initial flux. Two other special parameters serve to minimize the generation of internal nested loops, and their corresponding trajectories, saved in memory (e.g. the loops that are too small will be ignored and their trajectories modelized by a straight line segment).

This is useful since their number must be limited (100 which suffices in most simulated cases). Above this cycle (limited to ±Is), the saturation zone is entered. The saturation is then characterized either by a series of points on the curve or by an inductance that the curve approaches asymptotically. In this last case, the model generates automatically segments (in the positive and negative saturation zone) of equal length (Is).

The tap changer effect is simulated by changing the transformer ratio.

## Mask parameters

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

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

<table><thead><tr><th width="231">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Description</strong></td><td>Use this field to add all kinds of information about the component</td></tr><tr><td><strong>Flux-Current model</strong></td><td>Model saturation only or saturation with hysteresis</td></tr><tr><td><strong>Iteration in saturation model</strong></td><td>Enable or disable iteration to achieve more accurate results at the expense of computation time when the saturation segment changes</td></tr><tr><td><strong>Base primary/secondary/tertiary winding voltage (rmsLL)</strong></td><td>Base value for PU conversion (kV). Voltage expressed in kV rms LL. This base voltage and nominal voltage will 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</strong></td><td>Equivalent resistance of iron losses of the magnetic circuit (Ω)</td></tr><tr><td><strong>Primary/secondary/tertiary connection</strong></td><td><p>Winding type:<br><strong>Y ground</strong>: Grounded Y connection (can use the internal neutral impedance specified in the other tab)<br><strong>Y floating</strong>: Floating Y connection</p><p><strong>Y neutral</strong>: Y connection with impedance connected at the input pin N1 or N2<br><strong>Delta lead</strong>: Delta connection with lead of 30°<br><strong>Delta ground</strong>: Grounded delta connection (Phase C is grounded)<br><strong>Delta lag</strong>: Delta connection with lag of 30°</p></td></tr><tr><td><strong>Voltage (rmsLL)</strong></td><td><p>Rated voltage of the winding (kV)</p><ul><li>Y connections: Voltage expressed in kV rms LL</li><li>Delta connections: Voltage expressed in kV rms LL</li></ul></td></tr><tr><td><strong>R1, R2, R3</strong></td><td>Leakage resistance of the winding (Ω)</td></tr><tr><td><strong>L1, L2, L3</strong></td><td>Leakage inductance of the winding (H)</td></tr></tbody></table>
{% endtab %}

{% tab title="Neutral Impedance" %}

| Parameter      | Description                                                      |
| -------------- | ---------------------------------------------------------------- |
| **R1, R2, R3** | Neutral resistance of the winding; only applies to Y ground (Ω)  |
| **L1, L2, L3** | Neutral inductance of the winding; only applies to Y ground (H)  |
| **C1, C2, C3** | Neutral capacitance of the winding; only applies to Y ground (F) |
| {% endtab %}   |                                                                  |

{% tab title="Saturation" %}

<table><thead><tr><th width="220">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Number of data points</strong></td><td>Number of segments of the current-flux saturation curve; only the positive part of the curve must be specified, the negative part being completed by symmetry</td></tr><tr><td><strong>Saturation current</strong></td><td>Current for each segment of the saturation curve; the origin (0,0) is implied (A)</td></tr><tr><td><strong>Saturation flux</strong></td><td>Flux for each segment of the saturation curve; the origin (0.0,0.0) is implied (V.s)</td></tr></tbody></table>
{% endtab %}

{% tab title="Hysteresis" %}

| Parameter                    | Description                                                                                                                                                                                                                                                                                                                 |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Saturation data type**     | Determines if the saturation curve is calculated by the model or defined by a series of segments (Equation, Curve)                                                                                                                                                                                                          |
| **Air core inductance**      | Value of the saturation inductance that the curve approaches asymptotically (H)                                                                                                                                                                                                                                             |
| **Slope at Ic**              | Flux slope at coercive current (H)                                                                                                                                                                                                                                                                                          |
| **Coercitive current - Ic:** | Positive coercive current at null flux (A)                                                                                                                                                                                                                                                                                  |
| **Saturation current - Is**  | Current value of the first point in the saturation zone (A)                                                                                                                                                                                                                                                                 |
| **Current tolerance**        | Special parameter limiting the generation of minor nested loops. When the magnetizing current values at the last inversion point and the preceding inversion point are closer than the specified tolerance (in % of Ic), it is assumed that there is a displacement on a trajectory represented by a straight line segment. |
| **Remnant flux - Φr**        | Positive remnant flux at null current (V.s)                                                                                                                                                                                                                                                                                 |
| **Saturation flux - Φs**     | Flux value of the first point in the saturation zone (V.s)                                                                                                                                                                                                                                                                  |
| **Flux tolerance**           | Special parameter limiting the generation of minor nested loops. When the flux values at the last inversion point and the preceding inversion point are closer than the specified tolerance (in % of Φs), it is assumed that there is a displacement on the current loop.                                                   |
| **Initial flux (peak)**      | Initial flux determining initial trajectory which is calculated by supposing that it has an inversion point on the main cycle (V.s)                                                                                                                                                                                         |
| **Number of points**         | Number of segments of the current-flux saturation curve; only the positive part of the curve must be specified, the negative part being completed by symmetry                                                                                                                                                               |
| **Saturation current**       | Current for each segment of the saturation curve; the first value must be equal to Is (A)                                                                                                                                                                                                                                   |
| **Saturation flux**          | Flux for each segment of the saturation curve; the first value must be equal to Φs (V.s)                                                                                                                                                                                                                                    |
| {% endtab %}                 |                                                                                                                                                                                                                                                                                                                             |

{% tab title="Control" %}

<table><thead><tr><th width="240">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Control type</strong></td><td><p>Source of the command</p><ul><li>Internal (control model): The parameter "Manual tap position" defines the set point for the tap. It is reached after the temporization and operation times.</li><li>External (input pins): The parameter "Manual tap position" defines the initial value of the tap and is not used thereafter. The temporization and operation times apply to the external control.</li></ul></td></tr><tr><td><strong>Manual position</strong></td><td>Manual position required; either a set point or initial value depending on the control type</td></tr><tr><td><strong>Number of taps</strong></td><td>Number of tap(s); maximum 50</td></tr><tr><td><strong>Nominal tap</strong></td><td>Tap position at which nominal values are set</td></tr><tr><td><strong>Tap size (% of base voltage)</strong></td><td>Tap voltage increment value in reference to the primary base voltage (%)</td></tr><tr><td><strong>Temporization time</strong></td><td>Minimum duration required for a signal order to start changing tap (s)</td></tr><tr><td><strong>Operation time</strong></td><td>Time between tap changes (s)</td></tr></tbody></table>
{% 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_3</strong></td><td>Tertiary 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><tr><td><strong>Net_N3</strong></td><td>Neutral connection for tertiary winding (supports only 1-phase connections)</td></tr></tbody></table>

## Inputs

<table><thead><tr><th width="211">Input</th><th>Description</th></tr></thead><tbody><tr><td><strong>U</strong></td><td>Up control input; changes one position</td></tr><tr><td><strong>D</strong></td><td>Down control input; changes one position</td></tr></tbody></table>

## Outputs

| Output  | Description  |
| ------- | ------------ |
| **Tap** | Tap position |

## 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="220">Signal</th><th>Description</th></tr></thead><tbody><tr><td><strong>ILMAG(a,b,c)</strong></td><td>Magnetization current for each phase (A)</td></tr><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><tr><td><strong>ISEC3(a,b,c)</strong></td><td>Tertiary current for each phase (A)</td></tr><tr><td><strong>SEG(a,b,c)</strong></td><td><p>Segment number of the saturation curve</p><p>In the <strong>saturation</strong> model, the numbering is always positive starting at 1 for the last segment in the negative saturation zone.</p><p>In the <strong>hysteresis</strong> model, the numbering is positive/negative starting at 1/-1 in the positive/negative saturation zone. In the hysteresis zone, it takes a null value.</p></td></tr></tbody></table>

## References <a href="#id-3-winding3-phasesaturabletransformerwithtapchanger-references" id="id-3-winding3-phasesaturabletransformerwithtapchanger-references"></a>

«Hysteresis Modeling in the Matlab/Power System Blockset», Silvano Casoria, Patrice Brunelle, Gilbert Sybille, Mathematics and Computers in Simulation, Volume 63, Issues 3-5, Pages 237-248


---

# 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/3-winding-3-phase-saturable-transformer-with-tap-changer.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.
