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

# 2 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-033155089ebb43cc0b3aa9eaa78594c4a6187964%2Fimage%20(1169).png?alt=media" alt="" width="194"><figcaption></figcaption></figure>

The **2‑Winding 3-phase Saturable Transformer with Tap Changer** block, located in the **Network Transformers** library, is used to regulate voltage, which is often required with electronic power converters. It extends the linear transformer by modeling saturation and hysteresis, with a corresponding increase in computation time.

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

The main hysteresis cycle is characterized by four parameters and is measured in DC to exclude Foucault losses, which are modeled by the parallel resistance (Rm). The initial trajectory is characterized by the initial flux only. Two special parameters limit the generation of internal nested loops and their trajectories (very small loops are ignored and modeled by a straight segment). The number of saved loops must be limited (100 is sufficient in most simulated cases). Above the main cycle (±Is), the model enters the saturation zone. Saturation is defined either by a series of points on the curve or by an inductance that the curve approaches asymptotically. In the latter case, the model automatically generates segments (in positive and negative saturation) of equal length (Is).

The tap changer 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-e1c16a42f142e5ec66665ca2acf40c746429147e%2FSST23_tap.jpg?alt=media" alt=""><figcaption></figcaption></figure>

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

<table><thead><tr><th width="240">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Description</strong></td><td>Use this field to add any information about the component.</td></tr><tr><td><strong>Flux-current model</strong></td><td>Select between saturation only or saturation with hysteresis.</td></tr><tr><td><strong>Iteration in saturation model</strong></td><td>Enable iteration to improve accuracy when the saturation segment changes, at the expense of computation time.</td></tr><tr><td><strong>Base primary/secondary winding voltage (rmsLL)</strong></td><td>Base value for PU conversion (kV). 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</strong></td><td>Equivalent resistance of iron losses of the magnetic circuit (Ω).</td></tr><tr><td><strong>Primary/secondary connection</strong></td><td><p>Winding type:</p><p><strong>Y ground</strong>: Grounded Y connection (can use the internal neutral impedance specified in the other tab).</p><p><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.</p><p><strong>Delta lead</strong>: Delta connection with lead of 30°.</p><p><strong>Delta ground</strong>: Grounded delta connection (Phase C is grounded).</p><p><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><p>Y connections: Voltage expressed in kV rms LL.</p><p>Delta connections: Voltage expressed in kV rms LL.</p></td></tr><tr><td><strong>R1, R2</strong></td><td>Leakage resistance of the winding (Ω).</td></tr><tr><td><strong>L1, L2</strong></td><td>Leakage inductance of the winding (H).</td></tr></tbody></table>
{% endtab %}

{% tab title="Neutral Impedance" %}

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

{% tab title="Saturation" %}

<table><thead><tr><th width="202">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 must be specified, the negative part is 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" %}

<table><thead><tr><th width="209">Paramter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Saturation data type</strong></td><td>Determines if the saturation curve is calculated by the model or defined by a series of segments (Equation, Curve).</td></tr><tr><td><strong>Air core inductance</strong></td><td>Value of the saturation inductance that the curve approaches asymptotically (H).</td></tr><tr><td><strong>Slope at Ic</strong></td><td>Flux slope at coercive current (H).</td></tr><tr><td><strong>Coercitive current - Ic</strong></td><td>Positive coercive current at null flux (A).</td></tr><tr><td><strong>Saturation current - Is</strong></td><td>Current value of the first point in the saturation zone (A).</td></tr><tr><td><strong>Current tolerance</strong></td><td>Limits generation of minor nested loops. When the magnetizing current values at the last and preceding inversion points are closer than the specified tolerance (in % of Ic), the trajectory is represented by a straight line segment.</td></tr><tr><td><strong>Remanent flux - Φr</strong></td><td>Positive remanent flux at null current (V.s).</td></tr><tr><td><strong>Saturation flux - Φs</strong></td><td>Flux value of the first point in the saturation zone (V.s).</td></tr><tr><td><strong>Flux tolerance</strong></td><td>Limits generation of minor nested loops. When the flux values at the last and preceding inversion points are closer than the specified tolerance (in % of Φs), the trajectory follows the current loop.</td></tr><tr><td><strong>Initial flux (peak)</strong></td><td>Initial flux determining the initial trajectory, calculated by assuming an inversion point on the main cycle (V.s).</td></tr><tr><td><strong>Number of points</strong></td><td>Number of segments of the current‑flux saturation curve; only the positive part must be specified, the negative part is completed by symmetry.</td></tr><tr><td><strong>Saturation current</strong></td><td>Current for each segment of the saturation curve; the first value must be equal to Is (A).</td></tr><tr><td><strong>Saturation flux</strong></td><td>Flux for each segment of the saturation curve; the first value must be equal to Φs (V.s).</td></tr></tbody></table>
{% endtab %}

{% tab title="Control" %}

<table><thead><tr><th width="211">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Control type</strong></td><td>Source of the command: Internal (control model): The parameter “Manual tap position” defines the setpoint for the tap. It is reached after the temporization and operation times. 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.</td></tr><tr><td><strong>Manual position</strong></td><td>Manual position required; either a setpoint or the 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 referenced 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_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

<table><thead><tr><th width="201">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

<table><thead><tr><th width="202">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>Tap</strong></td><td>Tap position.</td></tr></tbody></table>

## 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>Segment number of the saturation curve. In the saturation model: numbering is positive, starting at 1 for the last segment in the negative saturation zone. In the hysteresis model: numbering is positive/negative starting at 1/‑1 in the positive/negative saturation zone; it is zero in the hysteresis zone.</td></tr></tbody></table>

## References <a href="#id-2-winding3-phasesaturabletransformerwithtapchanger-references" id="id-2-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/2-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.
