Distance between conductors: the core's part#
A design code may require a distance between two conductors of a span
that depends on where along the span one looks — on the local sag, the
suspension strings, the angle of the line between the conductors.
OpenOHL measures (the conductors, their pairs, stations along them: the
geometry); a check plugin holds the code's values and its rules and
says what is required at each station, through the check interface
(Writing plugins). A plugin for the Swiss
LeV runs such a check; it is kept apart from the public code. The
measuring is ohl_clearance::phase_distance, the host's side
ohl_io::checks, the window crates/ohl-app/src/phase_distance.rs.
For the user, both windows (in the span and under unequal wind) are
explained on their own page,
Distance between conductors.
What is measured#
For each pair of conductors in each weather case chosen (each case checked on its own, both conductors always from the same case):
- Stations along the first conductor, every Δs of its length (default 0.1 m since 2026-11-04, 1 m before), its ends included.
- At each station P, the closest point Q on the second conductor (3D). The measurement is made in the vertical plane through P and Q (not square to the span: with large line angles a square section would compare points far apart along the other conductor).
- Distance d = |PQ| between the conductors' axes, as the codes define the phase distance (LeV: between axes, decided 2026-10-19), less both polylines' error bounds (a few millimetres); P and Q are on the axes. The other clearances are measured to the surfaces (Clearance).
- Local sag of each conductor at its point: the vertical distance from its chord (the straight line between its clamps) down to the conductor — 0 at the clamps.
- l_k of each conductor at its point: the length of the suspension string, linear along its span between its two ends. At an end: a suspension string alone, its length; two strings to one wire point, a tension string or a wire clamped straight to the structure, 0; a string below two, that string's length; two tension strings from a string's wire point, that string's length. At a section's end always 0 (2026-11-12): a dead end is held by tension strings even when an import marked none as such.
- β: the angle of PQ from the vertical.
- With phase spacers joining the two conductors in the span, each one's largest sag between its spacer clamps (each spacer taken as an attachment point: the sag of each stretch on either side of it below that stretch's chord, the biggest counting); the local sag stays the one between the span's clamps.
The stations are taken on each conductor of the pair in turn, so a short and a long conductor are both covered. For a bundle, each subconductor's stations are measured to the nearest subconductor of the other conductor.
How exact the measuring is (labels as in the theory manual):
- Conservative: d is between the conductors' axes less both polylines' bounds (a few millimetres), so never above the true distance between the catenaries' axes. A code that defines the required distance between the surfaces would need the two radii added to its required distance by its plugin.
- Simplification: stations every Δs: the closest approach between two stations is not measured, but the second conductor's closest point is searched continuously at each station, so the error is that of the first conductor's spacing (small for Δs = 1 m, unsafe). Exact: the minimum of d along the first conductor.
The plugin receives, per pair, what its rules need besides the stations
(conductor-pair): whether both are in one electrical system, whether
they hang between the same two structures, each one's nominal voltage
(none: an earth wire), the plugin columns of their sections, the mean
conductor height of the span, the diameters and masses, the sags between
spacers; and per station the six numbers d, β, each local sag, each l_k.
It returns per station the required distance first, then its own values
(kept with the worst station), and the rule applied.
Which pairs#
- Conductors (sections' spans; bundles: the nearest subconductors) hanging between the same two structures.
- Only the circuits ticked; a pair is checked when both its conductors' circuits are.
- Nearby pairs (a tick box): pairs of conductors not between the same two structures (another line's spans, the next span's) whose boxes come within a maximum distance (default 20 m), measured only where closer than that.
- Not paired: jumpers, two earth wires, two conductors of the same circuit and phase (one potential), two sharing a clamp.
Report#
Per pair: the worst station (its two points, d, the required distance, the margin, the measured values and the plugin's own, the case) and the length of conductor below the required distance (on the conductor where it is longest, each stretch counted once). Shown in the check's window, worst first, exported as CSV; a worst station at a clamp is marked as such. Clicking a result draws the line between its two points in the 3D view, labelled with d and the required distance. Runs are kept in the library of performed checks (Analyses).
The values#
The plugin ships its values file (TOML, its own extension) and shows it
as tables (value-tables), locked in the window; a project admin may
edit a cell (edit-value, checked by the plugin), kept as the
project's copy and used by every run on the project and kept in each
report.
Speed#
On an existing line (930 conductors, 5593 pairs between the same structures; about 10 500 with nearby pairs within 20 m): about 0.8 s on all cores, the closest point searched in boxes of 8 pieces, nearest first; the plugin's evaluation costs about as much as the same computation built into OpenOHL, plus about 0.3 s to load the plugin once.
Under unequal wind#
A code may also require a fixed distance between two conductors while
the wind blows them unequally (e.g. the Swiss LeV, Annex 6, 2.2, as
ESTI's directive 240 explains it: one conductor at a wind pressure p,
the other at 100 … 60 % of p, p from none to the full wind, since the
closest approach may come at less). The check unequal-wind
(ohl_clearance::unequal_wind, the host's side
ohl_io::checks::unequal_wind, the same window as above):
- The weather case chosen gives the wind (its pressure) and keeps its
temperature and ice. The line is solved at every step (the
user's, default 50 Pa) from none up to the case's pressure (always
included), and at the share (default 60 %) of each step; still
air once, every other level with the wind from each side
(
ohl_clearance::unequal_wind::solve_levels, the levels solved side by side on the cores). - The pairs as above (in still air; nearby pairs where their boxes, over all levels, come within the distance).
- For each pair, every combination: one conductor at a level p, the other at a level from the share of p up to p, both ways, on the same side (still air with either). Their closest approach between the axes (bundles by their subconductors), exact: the shortest distance between the two polylines, segment against segment — not at stations (decided 2026-10-24). Fast: the levels are solved once for every wire; per pair the combinations are taken nearest first by the wires' boxes, and those (and the pieces of a wire) whose boxes are farther than the closest found are not measured.
- The plugin is asked once per pair with one station (d, β, no sag, no string: zeros) and returns the distance required (and its own numbers).
How exact it is:
- Conservative: d between the axes less both polylines' bounds, as above.
- Simplification: the wind is taken at the levels only (the step is the user's); the levels include the share of each step, so the largest difference in wind (where the closest approach usually is) is always measured.
- Exact: the closest approach between the two polylines at the levels measured (segment against segment).
Per pair the report gives the closest approach: its two points, d, the
required distance (the LeV plugin: C₃ within a system and towards earth
wires, C₄ between systems), the margin, the wind on each conductor and
the side, and the two wires as measured (the subconductors the points
are on, each at its wind: drawn when the result is clicked);
saved like the distance in the span (check id unequal-wind, with the
step and the share in the parameters).
Speed, on the existing line above (930 conductors, 5593 pairs), a case
of 2400 Pa in steps of 50 Pa (175 levels): the levels solved in about
100 s, the pairs measured exactly in about 47 s, on all cores (the
combinations taken nearest first by the wires' boxes; each first on the
axes thinned to every 8th point — no closer than their distance less the
thinning's error and the bundles' radii, a bound that is never above the
true distance — and measured in full only when that bound may beat the
closest found; 2026-10-24: 273 s exact without it, 128 s at stations
before). The combinations
grow with the square of the levels: a case of 650 Pa in steps of 50 Pa
(27 levels) takes some 15 s to solve and a few seconds to measure;
unequal_wind_benchmark (crates/ohl-app/src/bench.rs) times a
project of your own.