> 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-measurements/pt.md).

# PT

## Description

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

The **Voltage Transformer with Magnetic coupling** block, located in the **Network Measurements library**, models a voltage transformer with magnetic coupling, including saturation and optional hysteresis effects.

### Hysteresis paramters

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

## Mask parameters

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

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

<table><thead><tr><th width="240.22216796875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Flux-current characteristic model</strong></td><td>Model saturation only or saturation with hysteresis</td></tr><tr><td><strong>Base primary voltage (rmsLL)</strong></td><td>Base value for PU conversion (kV)</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>Restriction resistance - Rtr</strong></td><td>Restriction resistance (ohm or pu) sometimes used in the tertiary winding (see Configuration tab)</td></tr><tr><td><strong>C1p</strong></td><td>Stray capacitance on the primary side before the leakage impedance (farad or pu)</td></tr><tr><td><strong>C2p</strong></td><td>Stray capacitance on the primary side after the leakage impedance (farad or pu)</td></tr><tr><td><strong>Np</strong></td><td>Number of turns (default: np = 6000)</td></tr><tr><td><strong>Rp, Lp</strong></td><td>Primary leakage resistance (ohm or pu) and inductance (henry or pu)</td></tr><tr><td><strong>Rm</strong></td><td>Resistance (ohm) representing magnetization losses</td></tr><tr><td><strong>Rss</strong></td><td>Source resistance (ohm or pu)</td></tr><tr><td><strong>Ns</strong></td><td>Number of turns (default: ns = 1)</td></tr><tr><td><strong>Rs, Ls</strong></td><td>Secondary leakage resistance (ohm or pu) and inductance (henry or pu)</td></tr><tr><td><strong>Cs</strong></td><td>Secondary stray capacitance (farad or pu)</td></tr><tr><td><strong>Rsc</strong></td><td>Resistance in parallel with Cs (ohm or pu)</td></tr><tr><td><strong>Rsa, Lsa</strong></td><td>Secondary load resistance (ohm) and load inductance (henry or pu)</td></tr><tr><td><strong>Nt</strong></td><td>Number of turns (default: ns = 1)</td></tr><tr><td><strong>Rt, Lt</strong></td><td>Tertiary leakage resistance (ohm or pu) and inductance (henry or pu)</td></tr><tr><td><strong>Ct</strong></td><td>Tertiary stray capacitance (farad or pu)</td></tr><tr><td><strong>Rtc</strong></td><td>Resistance in parallel with Ct (ohm or pu)</td></tr><tr><td><strong>Rta, Lta</strong></td><td>Tertiary load resistance (ohm) and load inductance (henry or pu)</td></tr></tbody></table>
{% endtab %}

{% tab title="Saturation" %}

<table><thead><tr><th width="183.5556640625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Number of 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>The peak value of the current (in ampere or pu) for each segment of the saturation curve. The origin (0.0, 0.0) is implied. The number of segments must equal “Number of points”.</td></tr><tr><td><strong>Saturation flux</strong></td><td>The peak value of the flux (in volt-second or pu) for each segment of the saturation curve. The origin (0.0, 0.0) is implied. The number of segments must equal “Number of points”.</td></tr></tbody></table>
{% endtab %}

{% tab title="Configuration" %}

<table><thead><tr><th width="234.666748046875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Model type</strong></td><td>Select either “Transducer” or “Network elements” model type</td></tr><tr><td><strong>Transformer windings connection</strong></td><td>Select the type of windings connection: “Yg+Yg+Yg”, “Yg+Yg+Dg” or “Yg+Yg+Yg+Dg + Restriction”</td></tr><tr><td><strong>Polarity criterion</strong></td><td>When “Transformer windings connection” is “Yg+Yg+Yg+Dg”, select either “Current” or “Voltage” as the polarity criterion</td></tr></tbody></table>
{% endtab %}

{% tab title="Hysteresis" %}

<table><thead><tr><th width="214.6666259765625">Parameter</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 (henry or pu)</td></tr><tr><td><strong>Slope at Ic</strong></td><td>Flux slope at coercive current (henry or pu)</td></tr><tr><td><strong>Coercitive current - Ic</strong></td><td>Positive coercive current at null flux (A or pu)</td></tr><tr><td><strong>Saturation current - Is</strong></td><td>Current value of the first point in the saturation zone (A or pu)</td></tr><tr><td><strong>Current tolerance</strong></td><td>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.</td></tr><tr><td><strong>Remnant flux - Φr</strong></td><td>Positive remnant flux at null current (V.s or pu)</td></tr><tr><td><strong>Saturation flux - Φs</strong></td><td>Flux value of the first point in the saturation zone (V.s or pu)</td></tr><tr><td><strong>Flux tolerance</strong></td><td>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.</td></tr><tr><td><strong>Initial flux (peak)</strong></td><td>Initial flux determining the initial trajectory, calculated by supposing it has an inversion point on the main cycle (V.s or pu)</td></tr><tr><td><strong>Number of 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 first value must be equal to Is (A or pu)</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 or pu)</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Conserving ports

| Port       | Description                                                    |
| ---------- | -------------------------------------------------------------- |
| **Net\_1** | Primary winding connection (supports only 3-phase connections) |

## Inputs

This block has no inputs.

## Outputs

This block has no outputs.

### Signals available for monitoring and external I/O connections (via sensors form) <a href="#signals-available-for-monitoring-and-external-i-o-connections-via-sensors-form" id="signals-available-for-monitoring-and-external-i-o-connections-via-sensors-form"></a>

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.

| Signal                | Description                          |
| --------------------- | ------------------------------------ |
| **VMAG(a,b,c)**       | Voltage in magnetization branch (V)  |
| **IMAG(a,b,c)**       | Magnetization current (A)            |
| **FLUX(a,b,c)**       | Mutual flux in the transformer (V.s) |
| **VLOADSEC(a,b,c,n)** | Load voltage on the secondary        |
| **VLOADTER(a,b,c)**   | Load voltage on the tertiary         |
| **VLOADTER0**         | Ground voltage on the tertiary       |


---

# 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-measurements/pt.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.
