# Three-Phase R-L-C (`rlc3`)

> The same resistor, inductor and capacitor in series in each of three phases.

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

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

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

## When to use it

Use it for grid impedance, line reactors, filters and balanced loads. Leave c unset for a series R-L.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `a1` | electrical | Phase a, first side |
| `b1` | electrical | Phase b, first side |
| `c1` | electrical | Phase c, first side |
| `a2` | electrical | Phase a, second side |
| `b2` | electrical | Phase b, second side |
| `c2` | electrical | Phase c, second side |

## Common parameters

- `r`: Resistance of each phase (Default: 1)
- `l`: Inductance of each phase (Default: 1m)
- `c`: Capacitance of each phase (Default: optional (off))

## Parameters

| Key | Unit | Default | Typical range | Description |
|---|---|---|---|---|
| `r` | Ω | 1 |  | Resistance of each phase |
| `l` | H | 1m |  | Inductance of each phase |
| `c` | F | optional (off) |  | Capacitance of each phase |

_Parameter descriptions are in English in both languages._

**Use for:** Grid impedance · Line reactors · Balanced filters and loads

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

## Formulas

| Formula | Equation | Source |
|---|---|---|
| Impedance of one phase | abs(Z) = √(R² + (XL − XC)²) | Hayt, Kemmerly & Durbin, Engineering Circuit Analysis, 8th ed. (2012), ch. 10 (impedance) |
| Series resonance | f0 = 1/(2π·√(L·C)) | Hayt, Kemmerly & Durbin, Engineering Circuit Analysis, 8th ed. (2012), ch. 16 (series resonance) |
| Copper loss of the three phases | P = 3·I²·R | Hayt, Kemmerly & Durbin, Engineering Circuit Analysis, 8th ed. (2012), ch. 2 (power) |

## Quick check

Inputs:

- `r`: Resistance per phase = 1 Ω, `r`
- `l`: Inductance per phase = 1m H, `l`
- `c`: Capacitance per phase = 100u F, `c`
- `f`: Frequency = 60 Hz
- `i`: Phase current, rms = 10 A

Outputs:

- `xl`: Inductive reactance = `2*pi*f*l` Ω
- `xc`: Capacitive reactance = `1/(2*pi*f*c)` Ω
- `z`: Impedance of one phase = `sqrt(r^2 + (xl - xc)^2)` Ω
- `f0`: Series resonance = `1/(2*pi*sqrt(l*c))` Hz
- `ploss`: Copper loss of the three phases = `3*i^2*r` W

## Model logic

- Each phase runs from its first pin through r, l and c to its second pin, and the phases are not coupled.
- A value of zero, or c unset, leaves that part out; with r, l and c all left out the run is refused.
- The parts are named name.ra, name.la and name.ca for phase a, and the same with b and c.

## Model

Each phase runs from its first pin through r, l and c to its second pin. A value of zero (or c unset) leaves that part out. The phases are not coupled to each other. The parts are named name.ra, name.la and name.ca for phase a, and the same with b and c.

## Common mistakes

- With r and l both zero and c unset, each phase would be a short circuit, so the run refuses it.
- An inductor in series with a current source or an open switch has nowhere to send its current. Give it a path.

## Datasheet and sources

r and l are per phase. For a line reactor, take l from the rated inductance and r from the copper loss: r = loss / (3 * current squared).

## Example

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

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