Vertical and radial clearances#

Built, in active development (not approved yet). The Vertical and Radial clearances windows of OHL-Design and ohl zones (crates/ohl-clearance: zone, zone_arc, zone_run, checks). How to use them: Vertical clearances and Radial clearances (each window step by step, every setting and rule field), OHL-Design › Vertical and radial clearances and ohl zones. Every clearance is to the conductor's surface (Clearance).

The two measures#

  • Vertical: a target (a LiDAR point, the ground) within the zone's half width \( w \) of the wire in plan is compared with the wire's lowest point over the slice of depth \( d \) along the line around it (its highest for a target above): the height difference. A wire piece rising by \( m \) per metre is taken \( m,d/2 \) lower over the slice (exact for the straight piece).
  • Radial: the shortest 3D distance from the wire (each subconductor of a bundle).

Across the line: a target within the zone's half width w measured straight up to the wire, one farther out left out of the vertical; along the line: the wire taken m d/2 lower over the slice

The two measures: the vertical within the zone's width, measured straight up; the radial, the shortest distance (schematic).

The vertical: straight below, drawn vertical#

The decision of 2026-10-22: a vertical rule checks only the targets straight under (over) the wire, within the zone's width, and measures and draws only vertically. As built (checked against the code, checks::PointCheck, checks::ground_check, zone_arc::ArcPointCheck; test the_vertical_checks_only_the_band_and_is_drawn_vertical):

  • Which targets. A LiDAR point counts when its plan position lies within \( w \) of the wire's polyline in plan (the nearest point of a piece in plan, geometry::over_in_plan); the ground: the highest ground within \( w \) across each piece (its crossings under the piece and under its two edges, and the TIN's vertices between). A target farther than \( w \) in plan is left out entirely: no sloped or 3D distance is taken for it. Rule 10 m, \( w = 1 \) m: a point 0.9 m beside the wire is checked, one 1.1 m beside it is not, however near it is in 3D.
  • The distance. The wire's height over the target at the target's plan position (the wire interpolated along the piece at the point nearest in plan): \( z_{\text{wire}} - z_{\text{target}} \) for a target below (to the lowest subconductor of a bundle, less the conductor's radius), above: the reverse. On a piece sloping at \( \beta \) both are measured vertically: a vertical meets the round surface \( r/\cos\beta \) from the axis, and a subconductor \( d \) below the axis (square to it) lies \( d/\cos\beta \) below it at the same plan position — at most the offset plus the piece's own rise (a vertical through a steep piece leaves it through its end; checks::vertical_of). Before, \( r \) and \( d \) were taken off as on a level wire, \( r(1/\cos\beta - 1) \) too little: 4.6 mm for an iced radius of 30 mm on 30°, 39 mm for a bundle's 0.25 m. The ground, the points and the crossings of two wires all measure so; a level piece is unchanged, bit for bit. Test: the_vertical_takes_the_radius_off_along_the_vertical. With a depth \( d \) the wire is taken \( m,d/2 \) lower (the wire's lowest point over the slice, above); a depth of 0 gives exactly the height over the point.
  • With the swing arc the width is taken across the swung wire's plan position: the band's points within \( w \) across the line of the target (and within \( d/2 \) along it) count, each position of the band where it is in plan, not the still-air wire's; the distance is vertical as well — the height of the band's lowest such point over the target (The vertical distance to the arc).
  • The drawing. Every vertical violation, and the lowest reported, is drawn as a vertical segment from the target straight up (down) to the wire's height at that plan position — the same \( x, y \) at both ends, also for a target at the band's edge (checks::Hit::drawn, zone::ZoneFinding::drawn): in the 3D view, the cross-section panel, the plan (the mark at the target's plan position) and the profile. The value listed is the vertical distance. Radial rules keep their radial segment, from the wire point found to the target.

What differed before: the measure was already vertical and the band already in plan (the numbers do not change); only the drawing ran from the target to the wire point found — beside the target by up to \( w \) — so a point at the band's edge was drawn slanting (1 m sideways on a default zone), and the profile drew no clearance marks. The reports' CSV keep the wire point found (its coordinates, the swing arc's angle).

Down to the ground: a wire beside a tall object#

The vertical measure looks above and below each point within the band in plan. A LiDAR point on the top of a building or a mast says nothing of the wall below it, and a point cloud seen from above rarely holds the wall. So a wire passing beside a tall object, lower than its top, is measured upwards from the wire to the top — the distance of the two heights — although the object itself stands at the wire's height, within the band, at a distance in plan the vertical measure never takes.

NOT ON THE SAFE SIDE for such objects, unless the same classes are also checked radially or with a screen. Every result of a vertical point rule without one of the three says so, once per rule, naming the classes left open (rules::beside_notes).

The option down to the ground of a vertical rule (to_ground = true, Rule::to_ground; decided 2026-11-11; its default below) closes it: each point of the rule's classes stands for the whole height from the ground up to it. The zone to keep free is then the band in plan, from the ground up to the point's height plus the vertical distance \( c \):

\[ g = \max\left(0,; z_{\text{wire}} - z_{\text{point}}\right), \qquad g < c \ \text{is a finding} \]

with \( z_{\text{wire}} \) the lowest subconductor's surface over the point (the slice's lowest, and on a swing arc the band's lowest, as without the option). A wire at or below the point's height is inside the object: 0. Above the point nothing changes. The ground's own height is not needed — a wire is above the ground — so the option asks for no terrain and costs no time.

A worked case (test down_to_the_ground_finds_a_wire_beside_a_tall_object): a level wire at 20 m, a mast top 2 m beside it in plan at 26 m, the band 3 m, 5 m to keep. Without the option: 26 − 20 = 6 m ≥ 5 m, no finding. With it: the wire is 6 m below the top, inside the column: 0 m, a finding. A point at 17 m gives 3 m either way.

Conservative assumptions of the option: the object is taken as wide as the band at every height (a point at the band's edge counts in full), and as standing from the ground to the point without a gap — a point on a crossing wire, a tree top overhanging a low wire or a bridge's deck makes everything below it a finding. It is meant for the classes of buildings and masts, not for vegetation.

The default: by the terrain's classes#

A rule may say to_ground = true or false; an explicit value always wins. A rule that says nothing takes it by default "the same as for the TIN" (decided 2026-11-11): on when every class of the rule is a class the terrain surface is built from — the classes with the ground role in the class scheme in use (the set the program builds the LiDAR ground and the surfaces made from point clouds from; --ground-role for ohl line). The program holds no list of its own.

  • All its classes are terrain classes: on, and the results say so once per rule ("down to the ground taken by default: its classes are those the terrain surface is built from"). For these points nothing stands between them and the ground, so a wire at or below one of them is at or under the ground: clearance 0. Over points below the wire the result is the same as without it (test down_to_the_ground_changes_nothing_over_ground_points).
  • Only some are: the rule is not split silently; it stays off and the results name the classes on either side, so that the user can split it. The "NOT ON THE SAFE SIDE" note above stays for it.
  • No terrain class is known in the run (the class scheme has no class with the ground role): no rule takes it, the results say exactly that, and the "NOT ON THE SAFE SIDE" note stays.

Conservative direction: against the results before 2026-11-11 a rule on the terrain's classes can only gain findings (a wire lower than a ground point within its band), never lose one; the note "NOT ON THE SAFE SIDE" no longer appears for the rules that take it. The classes of buildings and masts are not terrain classes: for them the option is still the user's to set, and the note says so.

Each rule gives the wires' voltage, its weather cases, the distance to keep (one, by voltage, or base + per kV) and its targets; each span's lowest clearance over every wind position of the rule's cases is reported, with the position.

Which ground (since 2026-10-23). A ground rule checks the surface of the checks (one for every user of the project), or the terrain surface (TIN layer) of the project it names (surface = "name" in the rule file, Rule::surface); the checks get the named surfaces by name (ZoneTargets::surfaces, CaseTargets::surfaces) and measure to each exactly as to the surface of the checks. A name the project does not hold is noted and its rule is not checked: never passed silently. The thermal limit refuses to run instead (Thermal rating).

Distances growing with the altitude#

Built, in active development (not approved yet; decided 2026-11-09). A rule may say that its distances grow with the height above sea level, altitude = { from = "1000 m", per_1000_m = 0.14 }:

\[ d(h) = d \cdot \Big(1 + p \, \frac{\max(h - h_0,\, 0)}{1000\ \text{m}}\Big) \]

with \( d \) the rule's distance (fixed or by voltage), \( h_0 \) from and \( p \) per_1000_m — e.g. the Swiss LeV, Annex 6, Table 2.4.1: +14 % per 1000 m above 1000 m.

  • Which height — conservative: a code gives the increase for the place of the air gap; the check takes the highest point of the wire being checked (a bundle's upper subconductor), for a pair of wires the higher of the two. Every point measured on the wire is at or below it, so the distance required is never less than at that point. The exact treatment would take the height of each measured pair of points; the difference is at most \( p \) times the span's rise in thousands of metres (about 4 % for a span rising 300 m, at 14 %/1000 m).
  • How far is searched — the reach of each rule is taken at the highest wire point of the weather case, so no target is left out of the search.
  • Heights are the project's, in its vertical datum (LN02, LHN95…): a project in local heights must not use the term (the program does not check the datum).
  • The internal clearances take it at the structure's highest point (its members and grounded shapes) or the part's, whichever is higher (Internal clearances).

Wind positions#

A weather case with wind is solved from each side chosen (left, right or both, looking ahead along the line) at its full pressure. A case that gives its own wind direction takes, with both sides, the direction and its mirror about the line (at an angle θ: θ and 360° − θ; along the line, 0° or 180°, once: its mirror is itself), with one side the direction alone (Wind on the line › Clearances and the views). Two options, alone or together:

  • Wind steps: still air and every pressure \( p_k = k,\Delta p \) up to the case's (at most 200 steps a side, the step made larger beyond), each solved by the line's solver: the wires' own positions, strings and clamps where they really swing, the sag of each pressure. Exact at the pressures solved, blind between two of them.

  • Swing arc (the danger-tree check's arc, LiDAR analyses › Wire positions checked, the same code positions::SwingArc): each span swung as one about its attachment axis (the line through the string tops, at a dead end the clamps) between still air and the full blowouts of the sides chosen — a band: every radius from the smallest to the largest of its solved positions at each place along the span, from the smallest to the largest of their angles. Since 2026-11-16 the solved positions are still air, the full blowouts and the band's levels: the wire solved at intermediate pressures from each side at most \( s \) apart (Decision (2026-11-16): "go with spacing"; until then a count \( n \) a side with at least one every 200 Pa): \( n = \lceil P / s \rceil - 1 \) levels at \( k,P/(n + 1) \) for \( k = 1 \ldots n \), each rounded to a whole 10 Pa (positions::BandLevels::at; band level every … Pa, [wind] band_spacing, --band-spacing; \( s = 200 \) Pa by default, BAND_SPACING), held by the band but not checked as positions themselves; with the wind steps on, every step is a level too (no more solves). A rule file, option or saved run of 2026-11-16 with a count (band_levels = n) is read as it asked: \( \max(n, \lceil P/200 \rceil - 1) \) levels, the same as then (never fewer). From 1000 Pa up the default spacing gives the levels the count's default of 2026-11-16 gave (4 a side, at least one every 200 Pa), bit for bit; below 1000 Pa fewer (a 500 Pa case: 2 a side instead of 4, 170 and 330 Pa; 300 Pa: 1, 650 Pa: 3) — still at most 200 Pa apart, the spacing measured within the margin (below). Before 2026-11-16 three positions only: \( r = \min(R_L, R_0, R_R) \), \( R = \max(R_L, R_0, R_R) \). Solves per windy case: 3 + 2n (one side, or a wind along the line: 2 + n). For a wind at an angle the two blowouts are the direction and its mirror; along the line the band runs from still air to its one blowout. The arc's own labels hold here too:

    NOT ON THE SAFE SIDE without the levels (until 2026-11-16): the band of three positions does not hold the wire between them in general. Measured on a real line of 930 spans and 526 jumpers with 10 Pa steps from both sides: the steps' centre lines lay outside that band by up to 0.23 m at 500 Pa across the line, 0.49 m at 1000 Pa and 0.69 m at 1300 Pa (about 0.05 m per 100 Pa; the default margin of 0.15 m held only up to about 390 Pa), up to 0.82 m with the wind turned to 30° and 0.70 m at 60° (1450 Pa); 718 of the 930 spans lay more than 0.15 m outside somewhere. Where: long, deep-sag spans (679 m, 172 m down, 35 m sag: the curve between the blowouts bulges out) and spans from a dead end to an angle string (the string at the far end swings back through the vertical while the span's own sag plane follows the wind, and the radius dips below all three positions around 0.45 of the full pressure); steep spans at an angle. On the example lines only 0.091 m, which the margin held — the label "Conservative" given here until 2026-11-16 was measured on them alone. A result computed without levels (spacing 0), or with levels more than 200 Pa apart, says so (positions::band_levels_note: the largest step between the solved pressures of any case banded).

    Conservative (measured): with the default levels the band holds every 10 Pa step within its margin. Measured 2026-11-16 (the steps solved apart, the band of a run without steps; centre lines to the band without its margin): on the example lines 0.009 m across, 0.0045 m at 30°, 60° and along the line (0.091 m and 0.082 m without levels; tests/arc_band.rs); on the real line (10 Pa steps from both sides, one side along the line: across the line as given at 300, 500, 650, 1000 and 1300 Pa, turned to 30° and 60° at 1000 Pa, along the line at 1000 and 1450 Pa, ice and wind at 700 Pa; measured 2026-11-16) at most 0.063 m with the default levels (across at 1000 Pa; at 1300 Pa 0.059 m with the six levels the 200 Pa spacing gives; 0.043 m at 30°, 0.051 m at 60°, along the line 0.023 m at 1000 Pa and 0.033 m at 1450 Pa besides the spans the wind pulls to their chord — 4 and 18, taken at their steps (below) —, ice and wind 0.027 m at 700 Pa), against 0.69 m without. The excess grows with the spacing of the solved pressures — about 0.3 mm per pascal, whatever the case's pressure (0.063 m at 200 Pa apart, 0.091 m at 260, 0.167 m at 433) — hence the setting is that spacing, 200 Pa by default (BAND_SPACING; a coarser one is said NOT ON THE SAFE SIDE in the results: beyond what was measured within the margin). The margin of 0.15 m is that worst excess plus an allowance for other lines. Exact: a solve at every pressure (the steps), and between two levels the band is a linear envelope of the levels at the stations of the three positions' points — the measured excess includes that.

    Conservative: every radius between the smallest and the largest of the solved positions along the whole arc, for targets on every side — below and beside the wire as well as between the axis and the arc (above the swinging wire). Until 2026-10-21 the largest radius only: a target between the axis and the arc could be nearer a wire at an intermediate pressure, which sags less, than to the arc — by 0.47 m on the example line (below).

    Conservative: the band widened by its margin \( m \) on every side, 0.15 m by default. Since 2026-10-21 the margin is a parameter ([wind] band_margin, the windows' band margin, ohl zones --band-margin): a smaller value is less safe and on the user's responsibility.

    Where the band does not apply (2026-11-16): a wind with a component along an inclined span lifts the wire towards, and at high pressure through, the line between its clamps (a steep span with the wind along the line: on the real line at 1450 Pa from ahead the wire passed within 0.2–0.5 m of its chord and its full blowout ended above it — the band, a swing about the axis, then missed the steps by up to 8.7 m, and by 16 m at 2400 Pa; at 1000 Pa from ahead a steep span's wire pulled towards its chord lay 0.30 m outside its band whatever the number of levels: near the axis its angle turns fast with the pressure). A span whose solved positions or levels lie more than 0.1 m above their own chord (positions::LIFT_TOLERANCE) or are pulled towards it to less than half of still air's sag (STRAIGHT_RATIO; a wind across the line sags a wire more, never less; SwingArc::above_axis), and a span without a band, is said in the results; the danger trees, safety volumes and ohl analysis then also check it at its wind steps of 10 Pa from both sides (solved for that case when the steps are off). The vertical and radial clearance windows and ohl zones say NOT ON THE SAFE SIDE for such spans unless the wind steps are ticked.

    Jumpers: the jumpers a rule checks (wires jumpers or both) have a band of their own, about the line through their two end clamps (blown to the left, the first solve), from the smallest to the largest radius of their three positions (positions::jumper_band), widened by a margin of their own \( m_j \) (the decision of 2026-10-21: [wind] jumper_band_margin, the windows' jumper band margin, ohl zones --jumper-band-margin), 0 m by default. Before, they were checked at their solved positions only.

    NOT ON THE SAFE SIDE (the jumpers' margin of 0; said in the results; on the user's responsibility; exact: the wind steps): with \( m_j = 0 \) the jumper's band is not conservative between its solved positions — on the example line its 10 Pa steps lie up to 0.307 m outside the band of three positions and 0.18 m outside the band with the default levels; on a real line up to 2.1 m without levels, and with the default levels up to 0.13 m since 2026-11-17 (0.62 m on 2026-11-16, solving the jumpers as the wind rises; 1.9 m before: two jumpers solved in other shapes between 140 and 170 Pa, Jumpers) (the swing arc). The value that holds a jumper is the user's to enter for their jumpers (the wind steps show it). Since 2026-11-16 a stiff jumper is solved as the wind rises from still air, never at an unstable equilibrium (Jumpers); since 2026-11-17 it is also solved as the wind falls from the case's pressure back to each pressure solved and to still air, and the band holds both shapes; a jumper that snaps over to another stable shape on the way is said per case — checked in both shapes where the falling wind holds it, else NOT ON THE SAFE SIDE —, one with a second stable shape in still air is said (NOT ON THE SAFE SIDE unless a falling wind reaches it), and one whose shape jumps between the band's pressures is solved every 10 Pa there (Jumpers). A point of a solved position on the band's axis (nearer than 1 µm, positions::ON_AXIS: a jumper's end at the axis's own end clamp) gives the band no angle there — its direction was the solver's rounding and could turn a jumper's band through the top (found 2026-11-16 on the tutorial line).

    Conservative: the arc runs from the smallest to the largest angle of its solved positions (\( \varphi_L, \varphi_0, \varphi_R \) and the levels').

    Simplification: a rigid swing about the axis through the attachments. Suspension strings swing with the wind and their clamps move along and across the line; the sag in the plane of the load changes with the pressure. The true positions lie near the arc, not on it. Exact: a solve at each pressure (the steps, at the pressures they solve).

The radial distance to the arc#

As for the danger trees: the point \( q \) projected on the axis at \( s_q \), at radius \( \rho_q \) and angle \( \varphi_q \) in the plane square to the axis there: within the band's angles the radial gap — 0 for \( r \le \rho_q \le R \), \( r - \rho_q \) inside it, \( \rho_q - R \) outside it — (with the distance along the axis beyond the span's ends), else the distance to the nearer end edge (the radial segment from \( r \) to \( R \) at \( \varphi_L \) or \( \varphi_R \)). The clearance takes off the bundle radius, the largest allowance of the three wires (Conservative: the bundle's outer envelope) and the band's margin.

The vertical distance to the arc#

Definition: the vertical clearance of \( q \) to the band is the smallest vertical clearance of \( q \) to any wire in it — the height of the band's lowest point over \( q \)'s plan position, among the band's points within the zone's half width \( w \) across the line (and, with a depth, within \( d/2 \) along it); for a point above the band, its height above the band's highest such point; 0 where \( q \) lies between the two (a wire passes through it at some angle and radius).

At a place \( s \) along the axis (unit vector \( \mathbf u \), its horizontal part \( u_h = |\mathbf u_{xy}| \), its rise \( u_z \)), the arc's point at angle \( \varphi \) is \( C(s) + R(s)(\cos\varphi,\mathbf d + \sin\varphi,\mathbf r) \), with \( \mathbf d \) the downward vertical made square to the axis (\( u_z,\hat{\mathbf h} - u_h,\hat{\mathbf z} \)) and \( \mathbf r \) horizontal, to the right. So it lies \( R\cos\varphi,u_z \) further along the line in plan than the centre, \( R\sin\varphi \) to the right, and \( R\cos\varphi,u_h \) below the centre. Over the plan position \( (h, y) \) of \( q \) (along the line from \( A_1 \), to the right of the axis):

  1. the band's points within the zone's width: the point at radius \( \rho \) and angle \( \varphi \) is \( \rho\sin\varphi \) to the right and \( x = \rho\cos\varphi \) "down" (in the plane square to the axis), so the admissible set is the annular sector \( r \le \rho \le R \), \( \varphi_L \le \varphi \le \varphi_R \) cut to the strip \( |\rho\sin\varphi - y| \le w \);
  2. its lowest point is where \( x \) is largest (the highest: where it is smallest). \( x \) is linear in that plane, so its extremes lie on the set's boundary: on the circles of radius \( R \) and \( r \) (the ends of their admissible angles, \( \sin\varphi \in [(y-w)/\rho,\ (y+w)/\rho] \) within \( [\varphi_L, \varphi_R] \), and \( \varphi = 0 \)) or on the two end edges where the strip cuts them (\( \rho = (y \pm w)/\sin\varphi_{L,R} \) within \( [r, R] \)) — a handful of candidates, the extreme taken;
  3. the place over \( h \): \( s = (h - x(s),u_z)/u_h \), solved by fixed-point steps from \( s = h/u_h \) (each a contraction by about \( |dR/ds|,u_z/u_h \), far below 1 on a span), to \( 10^{-6} \) m. A point beyond the span's ends, or with no angle within the band, is not in the zone.

With a depth, the heights \( f_-, f_0, f_+ \) of the lowest point at \( h - d/2, h, h + d/2 \) give the bound \( f_0 - \max(|f_0 - f_-|, |f_+ - f_0|) \) (and the ends themselves) for the lowest point over the slice. Simplification: this bound is exact where the lowest point's height is convex along the line, as a hanging wire's (and for a straight piece); a wire kinked by a point load between two places 0.1 m apart could dip below it by millimetres.

In the swing band the bundle radius and the allowance are taken off vertically, \( r/\cos\beta \) with \( \beta \) the slope of the span's axis, as the still-air vertical does (above; 2026-11-08 — before radially, \( r(1/\cos\beta - 1) \) too large on a sloping span, not on the safe side: 4.6 mm for 30 mm on 30°, more for a bundle). The band's pruning takes the same larger radius, so nothing within reach is passed over; a level span is unchanged. Test: the_swing_arc_by_hand.

Check by hand (benchmarks/clearance/danger-trees.toml, arcclear-001…006): a level 100 m span 20 m up, sag 4 m in still air and 5 m blown ±40°; at mid-span the band runs from \( r = 4 \) to \( R = 5 \) m. A point 4 m to the right at \( z = 10 \) m, \( w = 1 \) m: \( \sin\varphi \in [0.6, 1] \), so \( \varphi \in [36.87°, 40°] \); the lowest point at 36.87° (\( \cos = 0.8 \)) is at \( 20 - 4 = 16 \) m: vertical 6 m (radially \( \sqrt{4^2 + 10^2} - 5 = 5.770 \) m). The span inclined by 30 m: at mid-axis the arc's lowest point is \( 5 \times 0.2873 = 1.437 \) m further along in plan than the centre and \( 5 \times 0.9578 = 4.789 \) m below it, at \( z = 30.211 \) m over \( x = 51.437 \) m: a point there at 25 m is 5.211 m below — not the 4.794 m the point's own place along the axis would give. A point 2 m below the axis at mid-span (\( z = 18 \) m) lies above the band: its highest point within 1 m across is on the inner circle at \( \sin\varphi = 1/4 \) (the 40° end edges cross the strip only at \( \rho = 1/\sin 40° = 1.556 \) m, inside \( r \)), at \( 20 - 4\cos 14.48° = 16.127 \) m: vertically 1.873 m, radially \( r - 2 = 2.0 \) m (the arc alone at \( R \): 2.899 m and 3.0 m). A point inside the band (\( z = 15.5 \) m): 0 both ways.

The check by hand at mid-span: the band from 4 m to 5 m, a point 4 m right at 10 m with the band's lowest point in its strip 6 m above it, and a point 2 m below the axis 1.873 m above the band

The vertical distance to the band in the check by hand, to scale.

The ground under the arc#

The ground is a TIN: the vertical and radial clearances of the band to it are those of the lines over its boundary — the wire swung to angles every \( \Delta\varphi = 2e/R_{\max} \) (\( e = \) 2 cm, zone::ARC_TOLERANCE) at the band's outer radius and again at its inner radius, and the two end edges at fractions of the thickness every \( \Delta\rho \le 2e \) — each a polyline through the band's points at every station, checked as a solved wire (exact for its polyline). Every point of the band's boundary lies within \( e \) of one of them at its station, and a ground that reaches into the band crosses its boundary, so the boundary's clearances are the band's.

Conservative: each such wire is taken \( e \) thicker (its clearances 2 cm smaller), the zone \( e \) wider on each side (and \( 2e \) deeper), and vertically each piece \( e,s \) lower (\( s \) the steeper of its rise per plan length and its neighbours': a point of the arc \( e \) away from the wire's point lies over ground the piece passes over up to \( e,s \) higher or lower), so that no point of the band between two of them can be nearer the ground than reported. Exact: the distance between the swept surface and the TIN (no closed form).

The outer surface's angles nearest the hanging position are checked first, then the inner surface and the edges; a piece of the next angles that cannot come below the lowest clearance found so far, nor below the required clearance, is passed over (its bound from the highest ground near it, as below): the counts and the lowest clearance are those of every angle checked in full.

Wire to wire on the swing arc#

The Clearances window (wire clearances) checks the line's own wires against each other on the swing arc too (decided 2026-10-28; ohl_clearance::wire_arc). Two wires do not swing independently: one wind blows on both. So the spans are swung together: for a windy case of pressure \( P \) and a side, the pressure \( p = f P \), \( 0 \le f \le 1 \), and at every station of a span, about its attachment axis,

\[ \tan\varphi(f) = \tan\varphi_0 + f,(\tan\varphi_1 - \tan\varphi_0), \qquad r(f) = r_0 + f,(r_1 - r_0), \]

from the still-air \( (\varphi_0, r_0) \) and the full blowout's \( (\varphi_1, r_1) \) (both solved). The tangent of a rigid swing is the wind load over the weight per metre, and the wind load grows with the pressure: a heavy span swings less than a light one at the same pressure, as it does.

Sampling. \( d\varphi/df = \Delta / (1 + \tan^2\varphi) \le \Delta \) (\( \Delta = \tan\varphi_1 - \tan\varphi_0 \)), so no point moves more than \( r_{\max} \Delta + |r_1 - r_0| \) per unit of \( f \). The swing is sampled in \( n \) steps of \( f \) such that this over \( n \) is at most 0.1 m (at most 2000 steps: a longer swing coarser), and at each sample every rule between the line's wires is checked as in any case. To keep a long line fast, the whole line is first swung in steps of 1 m, each wire taken 0.5 m thicker: a pair meeting every rule there meets it everywhere on the swing (the bound below); only the pairs that may not, and per rule those within a coarse step of its lowest, are then swung alone in the 0.1 m steps. The result is the fine pass's.

Conservative. Between two samples a point is never farther than half a step from one of them: each wire is taken that much thicker. The rigid swing is not the wire's solved position at the pressures between; each wire is also taken thicker by its band margin, as for the ground (spans: the measured worst excess of the intermediate pressures plus an allowance; jumpers: the user's, 0 by default — a Simplification on the user's responsibility). Both are taken off every clearance.

Not covered. A rule's case pairs are not swung (each case at its full wind). Wires of other lines are not on this arc.

Arc or steps: speed and quality#

Measured on the example line (zone_arc test) and on an invented line of 600 spans (180 sections, 1 million invented points; zone_speed, release build, 10 cores), one windy case of 650 Pa (600 Pa on the example):

The example line (9 spans, the synthetic survey, 4000 invented points within 14 m of the wires; rules of 7 m to the ground and to the points; the solves of this small line take a millisecond each):

(no heading) wind steps, 50 Pa swing arc (band) swing arc (before)
solves 25 3 3
vertical: solved, checked 17 ms, 13 ms 5 ms, 159 ms 5 ms, 103 ms
radial: solved, checked 17 ms, 24 ms 5 ms, 270 ms 5 ms, 193 ms

The invented long line (600 spans of 350 m, three phases, 180 sections, 10⁶ points; rules of 7 m to the ground and 5 m to the points; a shared computer, ± 20 %):

(no heading) steps, 10 Pa steps, 50 Pa swing arc (band) swing arc (before)
solves 131: 56 s 27: 12 s 3: 1.5 s 3: 1.3 s
vertical, ground 7.1 s 2.1 s 9.4 s 5.9 s
vertical, points 10.0 s (10 µs a point) 2.1 s 1.3 s (1.3 µs) 0.9 s (0.9 µs)
radial, ground 38 s 4.4 s 38 s 27 s
radial, points 18 s 2.0 s 0.6 s 0.9 s
lowest vertical clearance to the ground 13.953 m 13.960 m 13.085 m 13.235 m

The band's ground check is the slower (about 1.4 to 1.6 times the arc's before, measured 2026-10-21 on the same shared computer, ± 20 %): it checks the band's inner surface and its end edges besides the outer surface. Its lowest clearance to the ground is the arc's less the band's margin (0.150 m): the ground lies outside, where the outer surface was already the nearest.

The arc's solves and its point checks are a few per cent of the steps'; its ground check is not: the wire swung every 2 cm of the arc is many wires (hundreds per span), each checked against the TIN — on the small example line the steps are the faster, on a long line with fine steps the arc (vertically 8 s against 73 s at 10 Pa and 16 s at 50 Pa; radially, with the ground, 29 s against 113 s and 19 s).

  • Why the arc is faster. Three solves per windy case (still air, left, right) and, since 2026-11-16, its levels (2n: 8 by default; the tables above were measured with three) instead of one per pressure and side — \( 1 + 2,P/\Delta p \): 25 at 50 Pa, 131 at 10 Pa for 650 Pa — and one closed-form distance per point and span instead of one per position. The solves and the per-position search both grow with the number of positions; the arc keeps the positions checked at one band per span, whatever its levels.
  • What the arc gains. It covers every angle between the blowouts continuously; the steps see the wire only at the pressures they solve and are blind between two of them. it takes every radius between the smallest and the largest of the three positions, widened by its margin (Conservative for targets on every side, see above).
  • What it simplifies. The rigid swing about the attachment axis (Simplification, above): suspension clamps move along the line and the sag changes with the pressure, so the true positions are near the arc, not on it. The steps are exact at the pressures they solve: where a point lies close to the wire at an intermediate pressure, the steps give its distance to the solved wire, the arc its distance to the rigid swing. Measured on the example line (zone_arc, every span's lowest clearance to the ground and to 4000 invented points): with the band (2026-10-21) the arc is never above the steps (50 Pa), vertically nor radially (radially at least 0.189 m below them at every span; with the default margin), and below them by up to 1.22 m elsewhere. Before, at the largest radius only, it was radially above them by up to 2.1 cm (S2's first span, a point 2.2 cm from the solved wire at some pressure, 4.2 cm from the arc), and a point placed on the wire solved at 300 Pa (S1's first span, mid-span) was 0.47 m from the arc: at 300 Pa the wire sags less than at the full pressure, so it passes 0.47 m nearer the axis than the arc. That point now lies inside the band (clearance 0 less the conductor and the margin). With steps of 10 Pa from both sides on the example lines no stepped position lies outside the band widened by its margin (at most 0.091 m outside the band of three positions, 0.009 m with the default levels; the arc alone missed them by up to 1.53 m: tests/arc_band.rs); on a real line of 930 spans the band of three positions missed them by up to 0.69 m (not on the safe side), the band with the default levels by 0.063 m (Wind positions). Never read "no loss" into the arc: it is a conservative envelope with a simplification, not the steps' exact positions.
  • Both together (the steps and the arc) check the steps' positions and the arc: the smaller of the two at every span.

Shared solves#

Each run solves each distinct case once (2026-11-16, positions::solve_key, zone::solve_states): the weather case as the solve reads it — every field but its name, description and tags, and across the line not its direction (the solve reads the side there). Cases that differ by their wind pressure alone (a family, positions::family_key: the same temperature, ice, side and direction, air density) share their solves at the same pressures: stepped by 10 Pa, the 800 Pa case's steps are the 500 and 600 Pa cases' steps and full blowouts, so a family costs the solves of its largest member; the band's levels (whole 10 Pa) are steps too. Each case's positions are bit for bit those of solving it alone (positions test cases_of_one_family_share_their_solves, zone test band_levels_and_shared_solves_of_the_states). A wind from another direction (along the line, at an angle) is a family of its own: the wires sway differently, nothing is derived from another direction. On a real line's 76 windy cases stepped by 10 Pa from both sides with the band: 11,266 solves asked, 3,541 made (−69 %); the project's 150 windy cases (each wind twice, from 90° and from 270°): 22,340 asked, 3,557 made (−84 %). The band alone (4 levels): 888 asked, 621 made. Measured on one family (10 °C, 200 to 650 Pa, steps and band): 131 solves in 118 s together against 413 solves in 200 s one case at a time (a computer shared with other work), the positions bit for bit the same. A case's band is made about each span's axis as the run's first solve gives it (at a dead end the clamp moves with the wind), as before 2026-11-16: run with other cases, a band can differ from that case's band alone by that clamp's movement (its wire positions do not).

How it is made fast#

How the computation is made fast, with its measured times: Performance.

View this page's source on GitHub