# Leakage Path (`leakagePath`)

> A linear flux path that returns flux outside the core, so windings link less than all of it.

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

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

**Group:** Magnetics · **Kind:** `{"element":"leakagePath","kind":"magnetic"}`

## When to use it

Use it beside a winding, or between the legs of a core, to give the coupling less than one that measured leakage inductance shows.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `a` | magnetic | One end of the path |
| `b` | magnetic | The other end |

## Common parameters

- `r`: Reluctance of the flux path; when set, the geometry is not used (Default: optional (off))
- `p`: Permeance of the leakage path (1/r); set this or r (Default: optional (off))

## Parameters

| Key | Unit | Default | Typical range | Description |
|---|---|---|---|---|
| `r` | A/Wb | optional (off) |  | Reluctance of the flux path; when set, the geometry is not used |
| `p` | H | optional (off) |  | Permeance of the leakage path (1/r); set this or r |

_Parameter descriptions are in English in both languages._

**Use for:** Measured leakage inductance · Flux between core legs · Leakage in integrated magnetics

**Not for:** Core legs and air gaps → [`reluctance`](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/magnetics/reluctance/)

## Formulas

| Formula | Equation | Source |
|---|---|---|
| Leakage permeance | P = Lleak / N² | Erickson & Maksimović, Fundamentals of Power Electronics, 3rd ed. (2020), ch. 10 (L = N²·P) |
| Leakage reluctance | R = N² / Lleak | Erickson & Maksimović, Fundamentals of Power Electronics, 3rd ed. (2020), ch. 10 (magnetic circuits) |
| Share of the winding's flux that leaks | Lleak / (Lm + Lleak) | Erickson & Maksimović, Fundamentals of Power Electronics, 3rd ed. (2020), ch. 10 (parallel flux paths) |

## Quick check

Inputs:

- `llk`: Measured leakage inductance = 4.5u H
- `n`: Turns of the winding = 30 -
- `lm`: Magnetizing inductance = 450u H

Outputs:

- `perm`: Leakage permeance = `llk/n^2` H
- `rel`: Leakage reluctance = `1/perm` A/Wb
- `share`: Share of the winding's flux that leaks = `llk/(lm + llk)` -

## Model logic

- It is a capacitor of value p, or 1/r, between magnetic nodes, the same element as Reluctance.
- Exactly one of r and p must be set; both, neither or a non-positive r stops the build.
- The path is linear and never saturates, which suits flux that runs through air.

## Model

The path is a permeance p, or 1 / r, between its ends, as a Reluctance is. Set exactly one of r and p.

## Common mistakes

- A leakage path across a winding by itself takes flux that links only that winding: its leakage inductance is n^2 * p.
- p is a permeance in henry per turn squared, so a leakage of a few microhenry on 30 turns is only a few nanohenry of p.

## Datasheet and sources

Work p out from a measured leakage inductance: p = Lleak / n^2, with Lleak measured on that winding with the others shorted.

## Example

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

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