> 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-6-ph-with-fault.md).

# PI Section, 6-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-3746106778ae2b38c36753646612ac35e3e58beb%2Fimage%20(1132).png?alt=media" alt="" width="341"><figcaption></figcaption></figure>

The **PI section 6-phase with fault** block, located in the **Network Lines and Cables** library, is mainly used for short transmission lines.

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

It assumes identical capacitances on both sides and coupled RL branches.

For 6-phase PI lines, the parameters are the same as for 3-phase PI lines, except that the R, L, and C matrices have dimensions 6x6 (instead of 3x3) to represent six conductors. A 6-phase PI model can represent a double-circuit transmission line. The neutral coupling between both circuits (mutual impedance) is represented only in zero sequences.

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 6‑phase line, either use:

* 1 line section - no fault
* 2 line sections - fault on line 1
* 2 line sections - fault on line 2
* 2 line sections - faults on lines 1 and 2
* 3 line sections - fault on line 1 closer than fault on line 2
* 3 line sections - fault on line 2 closer than fault on line 1

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.

For example, to simulate a fault on line 1 of a double-circuit line at a distance of 125 km and a fault on line 2 at 75 km, the user must select the last configuration (**“3 line sections – fault on line 2 closer than fault on line 1”**) and enter the corresponding values in the fault distance fields.

If a fault element is not required, the fault distance for that element must be set to **0**. Note that any specified fault distance must be less than the total line length.

{% 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-185bc8c01e78db2078a5426b25fb383fa71e628b%2FPI6_fault.jpg?alt=media" alt=""><figcaption></figcaption></figure>

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

| Parameter                                            | Description                                                                                                                                                                                                                                                  |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **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**                                             | <p>The line data can be taken using Matrix or Sequence parameters.<br><strong>Matrix (0)</strong>: Untransposed line. The data is filled in the matrices tab.<br><strong>Sequence (1)</strong>: Transposed line. The data is filled in the sequences tab</p> |
| **Fault distance from (+) side**                     | Fault distance from (+) side for each Line (km) fault\_loc1, fault\_loc2 \[0, 1e64].                                                                                                                                                                         |
| **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]                                                                                                                                                                                                          |
| {% endtab %}                                         |                                                                                                                                                                                                                                                              |

{% tab title="Matrix" %}

| Parameter           | Description                                |
| ------------------- | ------------------------------------------ |
| **Resistance - R**  | Resistance matrix (Ω/km) R \[-1e64, 1e64]  |
| **Inductance - L**  | Inductance matrix (H/km), L \[-1e64, 1e64] |
| **Capacitance - C** | Capacitance matrix (F/km, C \[-1e64, 1e64] |
| {% endtab %}        |                                            |

{% tab title="Sequence" %}
**Self impedance - Line 1**

| Parameter | Description                                                                     |
| --------- | ------------------------------------------------------------------------------- |
| **R**     | Resistance value for Zero and Positive sequences ( Ω/km), Rself1 \[-1e64, 1e64] |
| **L**     | Inductance value for Zero and Positive sequences (H/km), Lself1 \[-1e64, 1e64]  |
| **C**     | Capacitance value for Zero and Positive sequences (F/km), Cself1 \[-1e64, 1e64] |

**Self impedance - Line 2**

| Parameter | Description                                                                     |
| --------- | ------------------------------------------------------------------------------- |
| **R**     | Resistance value for Zero and Positive sequences ( Ω/km), Rself2 \[-1e64, 1e64] |
| **L**     | Inductance value for Zero and Positive sequences (H/km), Lself2 \[-1e64, 1e64]  |
| **C**     | Capacitance value for Zero and Positive sequences (F/km), Cself2 \[-1e64, 1e64] |

**Self impedance - Line 3**

| Parameter    | Description                                                                     |
| ------------ | ------------------------------------------------------------------------------- |
| **R**        | Resistance value for Zero and Positive sequences ( Ω/km), Rself3 \[-1e64, 1e64] |
| **L**        | Inductance value for Zero and Positive sequences (H/km), Lself3 \[-1e64, 1e64]  |
| **C**        | Capacitance value for Zero and Positive sequences (F/km), Cself3 \[-1e64, 1e64] |
| {% 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>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Steady-state condition**               | <p>State of phase breakers in steady-state for line 1 iniStateA, iniStateB, iniStateC, iniStateG and for line 2 iniStateA2, iniStateB2, iniStateC2, iniStateG2<br>“colored” = open,<br>“grey” = closed.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Time programming**                     | <p>Master switch for programmed operations EnaGen<br>- Disable (0): operations are disabled.<br>- Enable (1): operations are enabled.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Frequency**                            | Set using “Base frequency” (Hz), Freq \[45, 70].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Switching times (Line1)**              | <p>Enable/disable the state transition on a line for line1 EnaT1, EnaT2,.. and for line 2 EnaT1\_2, EnaT2\_2,..<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 for line 1 Eref1, Eref2, ... and for line 2 Eref1\_2, Eref2\_2, ...<br><strong>Ref time:</strong> Referenced breaker’s time step ID for line 1 Tref1,Tref2, .. and for line 2 Tref1\_2,Tref2\_2, ..<br><strong>Phase/Command</strong>: Activate dependency for line 1 T1RPh, T2RPh ,... and for line 2 T1\_2RPh, T2\_2RPh ,...</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 for line 1 T1Pa, T1Pb, T1Pc; T2Pa, T2Pb, T2Pc .. and for line 2 T1\_2Pa, T1\_2Pb, T1\_2Pc; T2\_2Pa, ....<br>ON (1): “colored” (state transition occurs).<br>OFF (0): “grayed out” (no transition).</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| {% endtab %}                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |

{% tab title="Fault" %}
**Line 1**

| Parameter            | Description                                                      |
| -------------------- | ---------------------------------------------------------------- |
| **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] |

**Line 2**

| Parameter            | Description                                                       |
| -------------------- | ----------------------------------------------------------------- |
| **Fault resistance** | Fault resistance per phase (Ω.), RDef2 \[0, 1e64].                |
| **Ropen**            | Open resistance per phase (Ω), ROpen2 \[0, 1e64].                 |
| **Rclose**           | Closed resistance per phase (Ω), RClose2 \[0, 1e64].              |
| **Chopping current** | Current threshold for opening permission (A), Imargin2 \[0, 1e64] |
| {% 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://github.com/Opal-RT-Technologies/product-docs-hypersim/tree/release-2026.4/model-and-simulation/use-parameter-generators/line-parameters/README.md)
{% endtab %}
{% endtabs %}

## Conserving ports

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

## 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)\_FLT1**     | Voltage (V) on fault bus of line 1 phases (a,b,c)         |
| **V(a,b,c)\_FLT2**     | Voltage (V) on fault bus of line 2 phases (a,b,c)         |
| **I(a,b,c)\_FLT1**     | Fault current (A) of line 1 (a,b,c,n)                     |
| **I(a,b,c)\_FLT2**     | Fault current (A) of line 2 (a,b,c,n)                     |
| **CMD(a,b,c,n)\_FLT1** | Command for states of phase and ground breakers of line 1 |
| **CMD(a,b,c,n)\_FLT2** | Command for states of phase and ground breakers of line 2 |


---

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