# Three-Phase Pi-Section Line (`piLine3`)

> Three pi-section lines, one per phase, with the positive-sequence values per metre and a length.

![piLine3](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/img/piLine3.svg)

[Component reference](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/) · [繁體中文](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/passive/piLine3/)

**Group:** Passive · **Kind:** `{"kind":"piLine3"}`

## When to use it

Use it for a three-phase overhead line or cable in a balanced system: the line between a grid and a converter, a STATCOM or an HVDC station, or the Ferranti rise of a long unloaded line.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `a1` | electrical | Sending end, phase a |
| `b1` | electrical | Sending end, phase b |
| `c1` | electrical | Sending end, phase c |
| `a2` | electrical | Receiving end, phase a |
| `b2` | electrical | Receiving end, phase b |
| `c2` | electrical | Receiving end, phase c |
| `g` | electrical | Return of the shunt capacitance of all three phases: ground |

## Common parameters

- `r`: Series resistance per metre of line (per phase for the three-phase line) (Default: required)
- `l`: Series inductance per metre of line (per phase, positive sequence) (Default: required)
- `c`: Shunt capacitance per metre of line (per phase, positive sequence) (Default: required)
- `length`: Length of the line (Default: required)
- `sections`: Pi sections in cascade, 1 to 1000; more follow the distributed line to higher frequencies (Default: 1)

## Parameters

| Key | Unit | Default | Typical range | Description |
|---|---|---|---|---|
| `r` | Ω/m | required |  | Series resistance per metre of line (per phase for the three-phase line) |
| `l` | H/m | required |  | Series inductance per metre of line (per phase, positive sequence) |
| `c` | F/m | required |  | Shunt capacitance per metre of line (per phase, positive sequence) |
| `g` | S/m | 0 |  | Shunt conductance per metre of line; 0 for none |
| `length` | m | required |  | Length of the line |
| `sections` | — | 1 |  | Pi sections in cascade, 1 to 1000; more follow the distributed line to higher frequencies |
| `v0` | V | 0 |  | Voltage of the line against `g` at the start, on every shunt capacitance: a line that starts charged |

_Parameter descriptions are in English in both languages._

**Use for:** Balanced transmission and distribution lines · Three-phase cables · Line and filter resonance studies

**Not for:** A single-phase line or a DC cable → [`piLine`](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/passive/piLine/)

## Formulas

| Formula | Equation | Source |
|---|---|---|
| Characteristic impedance | Z0 = √(L/C) | Grainger & Stevenson, Power System Analysis (1994), ch. 5 (surge impedance) |
| Surge impedance loading | SIL = Vll²/Z0 | Grainger & Stevenson, Power System Analysis (1994), ch. 5 (surge impedance loading) |
| Charging power of the line | Qc = 2π·f·C·length·Vll² | Grainger & Stevenson, Power System Analysis (1994), ch. 5 (nominal π circuit) |

## Quick check

Inputs:

- `l`: Inductance per metre = 1.2u H/m, `l`
- `c`: Capacitance per metre = 10p F/m, `c`
- `length`: Length = 100k m, `length`
- `vll`: Line voltage, rms = 132k V
- `f`: Frequency = 50 Hz

Outputs:

- `z0`: Characteristic impedance = `sqrt(l/c)` Ω
- `sil`: Surge impedance loading = `vll^2/z0` W
- `qc`: Charging power = `2*pi*f*c*length*vll^2` var

## Model logic

- Before the run each phase becomes the single-phase pi-section line: series r and l per section, half of the shunt c from each end to g.
- The phases are not coupled, which is the per-phase model of a transposed line in balanced operation.
- The zero-sequence impedance is not modelled, so a ground fault or an unbalanced load sees the positive-sequence values.
- The parts are named ar1, al1, ac0 and so on for phase a, and likewise for b and c.

## Model

Before the run each phase becomes the single-phase pi-section line: the series r and l of each section, with half of its shunt c (and g) from each end to g. The phases are not coupled, which is the per-phase model of a transposed line in balanced operation. The zero-sequence impedance is not modelled, so a ground fault or an unbalanced load sees the positive-sequence values. The parts are named ar1, al1, ac0 and so on for phase a, and likewise for b and c.

## Common mistakes

- The values are per metre and per phase. Convert a data sheet's Ω/km, and its reactance and susceptance at 50 or 60 Hz, to H/m and F/m first.
- Do not use it for a single-line-to-ground fault study: without the zero-sequence values the fault current is wrong.

Problems rules: `pin.unconnected`

## Datasheet and sources

r, l and c are the positive-sequence values per length from the line's data sheet or a line-constants calculation (the AC resistance at the operating temperature); length is the route length.

## Example

Open the example with the command `file.openExample` and the name `demo:piLine3`.

---
Generated by `cargo xtask reference` from the usage texts and parameter specs. Do not edit by hand.
