> 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-lines-and-cables/pi-section-3-ph-with-fault.md).

# PI Section, 3-ph with Fault

## Description

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

The **PI section** **3-phase with fault** block, located in the **Network Lines and Cables** library, is intended for short transmission lines. It assumes identical shunt capacitances on both sides and coupled RL branches.

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

The model can simulate an internal fault. Note: the number of operations allowed is four per fault element, instead of ten in normal cases.

### Type of fault <a href="#calculation-of-electrical-parameters" id="calculation-of-electrical-parameters"></a>

The fault element uses breakers A, B, C, and Ground. A value of 1 closes the breaker; 0 opens it. Fault types are determined by the combination of these breaker states.

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

<details>

<summary><strong>Types of fault according to the state of breakers</strong></summary>

<table><thead><tr><th>State of Breaker</th><th width="100">A</th><th width="100">B</th><th width="100">C</th><th width="100">Ground</th></tr></thead><tbody><tr><td>No fault</td><td>0</td><td>0</td><td>0</td><td>0|</td></tr><tr><td>Fault between phase C and Ground</td><td>0</td><td>0</td><td>1</td><td>1|</td></tr><tr><td>Fault between phase B and Ground</td><td>0</td><td>1</td><td>0</td><td>1|</td></tr><tr><td>Fault between phases B and C</td><td>0</td><td>1</td><td>1</td><td>0|</td></tr><tr><td>Fault between phases B, C and Ground</td><td>0</td><td>1</td><td>1</td><td>1|</td></tr><tr><td>Fault between phases A and Ground</td><td>1</td><td>0</td><td>0</td><td>1|</td></tr><tr><td>Fault between phases A and C</td><td>1</td><td>0</td><td>1</td><td>0|</td></tr><tr><td>Fault between phases A, C and Ground</td><td>1</td><td>0</td><td>1</td><td>1|</td></tr><tr><td>Fault between phases A and B</td><td>1</td><td>1</td><td>0</td><td>0|</td></tr><tr><td>Fault between phases A, B and Ground</td><td>1</td><td>1</td><td>0</td><td>1|</td></tr><tr><td>Fault between phases A, B and C</td><td>1</td><td>1</td><td>1</td><td>0|</td></tr><tr><td>Fault between phases A, B, C and Ground</td><td>1</td><td>1</td><td>1</td><td>1|</td></tr></tbody></table>

</details>

To simulate faults on a 3‑phase line, either use:

* 1 line section - no fault, or
* 2 line sections - fault on the line.

Specify the fault distance from side “1”. The fault distance must be less than the line length. Set the fault distance to 0 to disable the fault element.

{% hint style="info" %}
For a phase‑to‑ground fault, it is strongly recommended to use the ground in steady state instead of programming an operation time in transient state.
{% 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-79dbcde65df313f043a5983172a346c7dc8e8107%2FPI3_fault.jpg?alt=media" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="General" %}
|\*\*Description\*\*|Use this field to add information about the component.| |\*\*EMTP (.pun) file for line parameters calculation\*\*|Path to the EMTP file (pun file) containing the line parameters. the EMTP “.pun” format is **not allowed with this model**.| |\*\*Type\*\*|The line data can be taken using Matrix or Sequence parameters.\
**Matrix (0)**: Untransposed line. The data is filled in the matrices tab.\
**Sequence (1)**: Transposed line. The data is filled in the sequences tab| |\*\*Line Length\*\*|The length of the line (km), length \[0, 1e64]| |\*\*Base power (perPhase)\*\*|Base value for PU conversion (MVA) per phase, pBase \[1, 1e64]| |\*\*Base voltage (rmsLN)\*\*|Base value for PU conversion (kV) rms LN, vBase \[1, 1e64]| |\*\*Base frequency\*\*|Base value for PU conversion (Hz), fBase \[1, 1e64]| |\*\*Fault resistance\*\*|Fault resistance per phase (Ω.), RDef \[0, 1e64].| |\*\*Ropen\*\*|Open resistance per phase (Ω), ROpen \[0, 1e64].| |\*\*Rclose\*\*|Closed resistance per phase (Ω), RClose \[0, 1e64].| |\*\*Chopping current\*\*|Current threshold for opening permission (A), Imargin \[0, 1e64]|

| Parameter    | Description |
| ------------ | ----------- |
| {% endtab %} |             |

{% tab title="Matrix" %}

{% endtab %}

{% tab title="Sequence" %}

{% endtab %}

{% tab title="Timing" %}

| Parameter                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Time units**                           | <p>Units applied to programmed state transition operations, Ut<br>- Second (s): all T<sub>n</sub> in seconds.<br>- Millisecond (ms): all T<sub>n</sub> in milliseconds.<br>- Cycle (c): all T<sub>n</sub> in electrical cycles (set the frequency).</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Time programming**                     | <p>Master switch for programmed operations EnaGen<br>- Disable (0): operations are disabled.<br>- Enable (1): operations are enabled.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Steady-state condition**               | <p>State of phase breakers in steady-state iniStateA, iniStateB, iniStateC, iniStateG<br>“colored” = open,<br>“grey” = closed.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Frequency**                            | Set using “Base frequency” (Hz), Freq \[45, 70].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Switching times (Line1)**              | <p>Enable/disable the state transition on a line, EnaT1, EnaT2,..<br>If enabled with no time specified, the operation is ignored.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Switching times — Type (f, i, u, ug)** | <p>Relative time (with respect to <a href="https://www.opal-rt.com/docs/hypersim/library-blocks-reference/network-tools/point-on-wave-synchronization.md">POW synchronization</a>) T1, T2 , ... when the breaker command is issued. Enter as a single string.<br><strong>- Fixed</strong> f (fixed time). At each acquisition, T<sub>n</sub> is the same for all selected phases.<br><strong>- Incremental</strong> i (initial time/final time/time increment). Advances by increment each acquisition; loops back after final time.<br><strong>- Uniform</strong> u (minimal time/maximal time). Random time with uniform probability; phases do not switch simultaneously.<br><strong>- Uniform gaussian</strong> ug (minimal time/maximal time/dispersion). Random time with gaussian probability; phases do not switch simultaneously.<br><strong>Important notes</strong>:<br>- Respect T<sub>n</sub> > T<sub>n-1</sub>.<br>- If a field is blank or “-”, no switching occurs for that line.<br>- No alias exists for timing types in the API; type and values are entered as one string.<br>- With referenced operations, the computed time applies after the referenced command is received. See <a href="https://www.opal-rt.com/docs/hypersim/library-blocks-reference/network-switches-and-breakers/circuit-breaker-3-phase.md">Referenced Operations</a>.</p> |
| **Referenced operations**                | <p>Trigger T<sub>n</sub> from another breaker’s programmed state transition. All columns must be filled. See <a href="https://www.opal-rt.com/docs/hypersim/library-blocks-reference/network-switches-and-breakers/circuit-breaker-3-phase.md">Referenced Operations</a>.<br><strong>Ref operation:</strong> Name (or path) of the breaker to reference Eref1, Eref2, ...<br><strong>Ref time:</strong> Referenced breaker’s time step ID Tref1,Tref2<br><strong>Phase/Command</strong>: Activate dependency T1RPh, T2RPh ,...</p><p>Activate Phase (1) or deactivate Command (0).</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Phase operated**                       | <p>Phases that change state when timing is reached. After each T<sub>n</sub>, phases listed toggle state accordingly T1Pa, T1Pb, T1Pc; T2Pa, T2Pb, T2Pc<br>ON (1): “colored” (state transition occurs).<br>OFF (0): “grayed out” (no transition).</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| {% endtab %}                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |

{% tab title="Line generator" %}
The EMTP “.pun” format is not allowed with this model. However, the electrical parameters of PI lines can be calculated using the Line Generator.\
For more information see [Line Parameter Generator](https://www.opal-rt.com/docs/hypersim/model-and-simulation/optimize-the-model/use-parameter-generators/line-parameters.md)
{% endtab %}
{% endtabs %}

## Conserving ports

| Port              | Description                                                   |
| ----------------- | ------------------------------------------------------------- |
| **net\_1(a,b,c)** | Network connection of phases (a,b,c) of the **left (+)** side |
| **net\_2(a,b,c)** | Network connection of phases (a,b,c) of the **right** side    |

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

| Signal                          | Description                                     |
| ------------------------------- | ----------------------------------------------- |
| **V(a*****,b,c*****)\_FLT**     | Voltage (V) on fault bus phases (a,b,c)         |
| **I(a*****,b,c,n*****)\_FLT**   | Fault current (A) (a,b,c,n)                     |
| **CMD(a*****,b,c,n*****)\_FLT** | Command for states of phase and ground breakers |


---

# 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-lines-and-cables/pi-section-3-ph-with-fault.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.
