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

# CT

## Description

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

The **Current Transformer** block, located in the **Network Measurements library**, models a current transformer with saturation and optional hysteresis.

The main hysteresis cycle is characterized by four parameters. It is measured in DC to exclude Foucault losses, which are represented by the parallel resistance (Rm). The initial trajectory is characterized by the initial flux. Two special parameters limit the generation of minor nested loops whose trajectories are saved in memory (loops that are too small are ignored and represented by a straight line segment). Above this cycle (limited to ±Is), the saturation zone is entered and is characterized either by a series of points or by an inductance that the curve approaches asymptotically. In the latter case, the model automatically generates segments (in the positive and negative saturation zones) 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-ce71c9fa0cb1d2cd9682d2f7574a2f76c2e5748e%2FCT.jpg?alt=media" alt=""><figcaption></figcaption></figure>

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

<table><thead><tr><th width="240.2254638671875">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>Iteration Enable</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 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>Rsn</strong></td><td>Secondary side leakage resistance (ohm or pu)</td></tr><tr><td><strong>Lsn</strong></td><td>Secondary side leakage inductance (henry or pu)</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 = 1)</td></tr><tr><td><strong>Rp, Lp</strong></td><td>Leakage resistance (ohm or pu) and inductance (henry or pu)</td></tr><tr><td><strong>Rm</strong></td><td>Resistance representing magnetization losses (ohm)</td></tr><tr><td><strong>Ns</strong></td><td>Number of turns (default: ns = 5000)</td></tr><tr><td><strong>Rs, Lis</strong></td><td>Leakage resistance (ohm or pu) and inductance (henry or pu)</td></tr><tr><td><strong>Cs</strong></td><td>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>Load resistance (ohm) and load inductance (henry or pu)</td></tr><tr><td><strong>Nt</strong></td><td>Number of turns (default: ns = 8660)</td></tr><tr><td><strong>Rt, Lt</strong></td><td>Leakage resistance (ohm or pu) and inductance (henry or pu)</td></tr><tr><td><strong>Ct</strong></td><td>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>Load resistance (ohm) and load inductance (henry or pu)</td></tr></tbody></table>
{% endtab %}

{% tab title="Saturation" %}

<table><thead><tr><th width="240.22540283203125">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 be equal to “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 be equal to “number of points”</td></tr></tbody></table>

{% hint style="info" %}
In this model, the **saturation branch** is on the primary side of the transformer. Therefore, the saturation current and flux parameters must be referred to the primary side.
{% endhint %}
{% endtab %}

{% tab title="Configuration" %}

<table><thead><tr><th width="239.7318115234375">Parameter</th><th></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 as shown in the figure: “Secondary Yg”, “Secondary Delta lag”, “Secondary Delta lead”, “Secondary Yg+Res. Ld” or “SecondaryY+Tert. Dg”</td></tr><tr><td><strong>Polarity criterion</strong></td><td>When the Transformer windings connection is “SecondaryY+Tert. Dg”, select either “Current” or “Voltage” as the polarity criterion</td></tr></tbody></table>
{% endtab %}

{% tab title="Hysteresis" %}

<table><thead><tr><th width="240.71905517578125">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), the displacement is 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 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 assuming 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

<table><thead><tr><th width="220.39996337890625">Port</th><th>Description</th></tr></thead><tbody><tr><td>N<strong>et_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></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="220.39996337890625">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>VMAG(a,b,c)</strong></td><td>Voltage in magnetization branch (V)</td></tr><tr><td><strong>IMAG(a,b,c)</strong></td><td>Magnetization current (A)</td></tr><tr><td><strong>FLUX(a,b,c)</strong></td><td>Mutual flux in the transformer (V.s)</td></tr><tr><td><strong>VLOADSEC(a,b,c,n)</strong></td><td>Load voltage on the secondary</td></tr><tr><td><strong>ILOADSEC(a,b,c,n)</strong></td><td>Load current on the secondary</td></tr><tr><td><strong>ILOAD TERT(0)</strong></td><td>Ground current on the tertiary</td></tr></tbody></table>

{% hint style="info" %}
In the **current implementation**, the polarity (sign) of the current measured by sensor IPRIM is reversed with respect to an external sensor measuring the current going into the primary windings.
{% endhint %}


---

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