Line files (.ohl.json)#

A line file describes a line in 3D: structures with the strings hanging on them and their wire points, and the wire sections strung through them. It is JSON (the open exchange format of ADR-0004). Example: examples/synthetic-line/synthetic-line.ohl.json.

cargo run -p ohl-cli -- line examples/synthetic-line/synthetic-line.ohl.json \
    --temperature 15 --wind-pressure 600 --ice-thickness 0 \
    --html line.html --spans-csv spans.csv --csv wires.csv

--html writes a standalone 3D viewer (rotate, pan, zoom, vertical exaggeration); --spans-csv one row per span (tensions, sag, mid-point, low point); --csv every wire point. --loads-per stretched|unstretched (2026-10-21) overrides the file's solver.loads_per (below), --blocks sheaves|equal_h (2026-10-25) its solver.blocks; the output's first lines say which were used (calculation: ice and wind per stretched metre (exact); in the blocks over frictionless sheaves (equal tension along the wire)). --calculation-level 3 (2026-11-15, in active development, for testing) solves the weather cases again with each structure that has a model (or a pole with an elasticity) as a linear stiffness at its attachment points, after the rigid results: the structures taken rigid and why, per case the passes and times, each structure's largest move and load change, each section's largest tension and sag change, or the case failed with why; every other output, every check and every file written stay rigid (Structure flexibility in the line solve). More formats (KML/KMZ, CSV of every weather case, plugin formats) with --export: see Import and export.

Conventions#

  • Numbers are SI (metres, newtons, °C for temperatures).
  • Coordinates are in the line's coordinate reference system (crs, e.g. "EPSG:2056"): x east, y north, z up (elevation).
  • Wire properties come from the wire libraries (cable = a wire type id).

Top level#

Field Required Meaning
format no ("ohl-line") File identifier.
version no (1) Format version; newer versions are rejected.
name yes Line name.
crs no Coordinate system, e.g. "EPSG:2056" (see coordinate systems); used by ohl crs line and exports.
height_datum no Version 7: the vertical datum of the heights, { "name": "LN02", "epsg": 5728 } — its name, the EPSG code of its vertical system, either or both (informative, nothing converted); the sheets' {height_datum} takes it before the coordinate system's vertical part (coordinate systems). Left out when not given.
routes no Routes, the paths of the line: { "id", "name", "description" }. A route is made of the alignments on it.
alignments no Alignments, in their order along their routes: { "id", "name", "description", "route": "route id", "points": ["P1", "P2", …] } — exactly one route (required, existing); its points by id, in order (none while it is being laid out; a profile needs two). Structures are on the route of the alignments they stand on (tied to one of its points; within 5 m of one of its points no structure is tied to; or within 5 m of it with a span of the line running along it to them from a structure on it); a structure on none gives its routes itself (see Structures).
alignment_points no Alignment points (PIs): { "id", "position": [x, y, z], "structure": "T12", "description" }. A point is on any number of alignments, with its own place in each (where alignments meet they share the point: a junction, on all their routes); on none, it waits to be used. structure: tied under that structure — it follows it, and must lie under it in plan within 1 mm.
structures yes List of structures.
sections yes List of wire sections.
jumpers no Jumpers between wire points (below).
spacers no Interphase spacers between span points of two sections of one span: { "id", "description", "a", "b", "insulator", "length", "weight", "wind_area", "stiffness", "compression" } — a, b: { "section", "point" } (a span point holding a clamp); length empty: the still-air distance at stringing; both sections solved by finite elements. Made in the app with the Add string tool (Editing).
systems no Electrical systems: phases or poles with their voltage (below).
circuits no Version 7: the circuits, { "id", "name", "system", "description" } (below). Files without them: one circuit per name on the sections.
circuit_starts no The ends of conductor paths that are starts: [{ "structure", "set" }, …] (below). A conductor path none of whose ends is listed runs along the line.
display no Display settings: { "phase_colors": { "L1": "#8b4513", … }, "ahead_deg": 270 } — wire colours (#rrggbb) by section phase_label; ahead_deg, the angle that means ahead along the line for angles in plan around a structure, which turn clockwise seen from above (default 0: right 90°; 270: right 0°, ahead 270°).
creep_stretch no The weather cases for the permanent stretch due to creep and due to load (below).
bimetallic no The line's bimetallic conductor model (below).
solver no How the whole line is calculated (Line › Criteria › Calculation options): { "jumper_loads": "estimate" | "pull", "taps": "loop" | "once", "loads_per": "stretched" | "unstretched", "blocks": "sheaves" | "equal_h", "local_spans": "worst" | "mean" } — what of the jumpers the sections carry at their clamps (default estimate), how a jumper on a tap is solved (default loop), and per what metre of the wire the finite elements carry the ice and wind (2026-10-21): stretched, the real wire (default, exact), or unstretched, as other programs appear to do it (about 0.1 % less ice and wind: slightly less sag and swing, a simplification on the unsafe side; see Finite-element wire systems); and how a section in the blocks shares its wire between its spans (2026-10-25, line file version 10 when written): sheaves, over frictionless sheaves, the wire's tension equal on both sides of each (default; not written), or equal_h, simplified, one horizontal tension in every span (the model before; see Sag-tension › In the blocks). A file without it is calculated over sheaves. local_spans (2026-11-03): how a span takes its two structures' local factors — worst, the larger (default; not written), or mean.
defaults no The project's default values (Line › Criteria › Default values): spacer_compression, jumper_exit_angle_deg, jumper_stiffness_factor, jumper_clamp_length, insulator_stiffness, air_density_factor, thermal_emissivity, thermal_absorptivity, thermal_roughness, thermal_albedo, thermal_time_step, clearance_wind_step, clearance_vertical_band, clearance_search_margin, clearance_zone_width, clearance_zone_depth; those left out take the program's values. Exported and imported as a .ohldef file (format = "ohl-defaults").
structure_loads no The settings of the old Loads for structures, kept as read and no longer used since 2026-11-15 (below).
structure_groups no The structure groups (version 18, 2026-11-15; built, in active development, not approved yet): which load cases of the library each structure takes — [{ "name", "description", "structures": [ids picked], "rules": { "types", "angle_from_deg", "angle_to_deg", "alignment", "station_from", "station_to", "dead_end", "elevation_from", "elevation_to" }, "load_cases": [names] }] (the ground elevation rule, 2026-11-15, the same version: the structure's position height). A structure takes the union of its groups' cases; in no group, every case; in groups ticking none, none (Load cases per group). A line with one is written as version 18.
electrical no The line's electrical settings for the line parameters (2026-10-27, line file version 11 when written; Checks › Electrical › Line parameters): { "soil_resistivity_ohm_m": 100, "earthing_resistance_ohm": 10, "earth_return": "carson_series" | "complex_depth" | "carson_first_terms", "mean_height": "solved" | "two_thirds_sag" } (earthing_resistance_ohm 2026-10-29: the structures' earthing where they give none; absent: 10 Ω assumed, said). Without a soil resistivity 100 Ω·m is assumed (the IEEE distribution test feeders' value) and every result says so. See Line parameters.
reference no The reference state of the structures (version 22, 2026-11-16; built, in active development; its fingerprint holds the structures' foot movements too, feet, since version 23): { "case": "<weather case>", "state": { "case", "level", "fingerprint", "points": [{ "structure", "label", "displacement", "force", "strung" }], "rigid", "notes", "passes", "seconds" } } — the weather case the structures were solved in at calculation level 3 and each flexible structure's attachment points' displacements (m) and forces (N), written by the program that solved it (Line › Criteria › Calculation options, or ohl line --solve-reference CASE --save-reference FILE); not to be written by hand: its fingerprint must match the line, the wires, the structures and the case, else it is out of date and not used. See Calculation level › The reference state of the structures.

Files of version 2 and before may also have the line's own alignment (read as the route and alignment main, see below). Structures, sections, jumpers, spacers, systems, routes and alignments may carry fields: the values of table columns added by plugins.

Structures#

Field Required Meaning
id yes Unique id, referenced by sections.
position yes Structure origin [x, y, z] (centre at ground).
orientation_deg no Direction of the local x axis (right of the line), degrees CCW from east; used to place a structure type.
type no Structure type id from the structure library; its points, strings and wire points are then generated.
extension no Extension of the type.
description no What it is, in words (free text).
routes no The routes it is on, given: needed when it stands on no alignment (a crossing line); empty: those of the alignments it stands on.
height_adjust no With a type: height of the type's feet above the ground at position (foundations), metres; default 0.
weather_groups no Its weather case groups ([[group]] names of the weather case file; 2026-10-25): read and kept, no longer used since 2026-11-03 — give its local conditions instead (a check run says so). Until then a check with the structure override ticked took at this structure only its cases in these groups.
earthing_resistance_ohm no The resistance of its earthing (footing) to remote earth, Ω (2026-10-29, line file version 11 when written; the Structures table's earthing Ω column): the current it leads from the earth wires into the ground in the magnetic field's earth wire network. None: the line's electrical value, else 10 Ω assumed.
soil_resistivity_ohm_m no The soil resistivity measured at it, Ω·m (2026-10-27, line file version 11 when written; the Structures table's soil ρ Ω·m column). The line parameters take on each span the geometric mean of its two structures' values (one measured: that one; none: the line's electrical value).
local no Its local conditions (2026-11-03; built, in active development, not approved yet): { "wind_static", "wind_clearance", "wire_ice", "structure_ice", "snow_ground", "snow_altitude", "wind_study" }, each optional — factors on the weather case's wind for strength (wires and structure: tensions, string resistance, structure loads) and for clearances (the swing of the strings and jumpers), on the ice on its spans' wires; the ice on its members (m; taken by the load cases that take the local conditions in a weather case with ice, 2026-11-04); the snow on the ground s_k (Pa), or the reference altitude h₀ (m) from which SIA 261 (10) gives it ([1 + (h₀/350)²] · 0.4 kN/m², at least 0.9 kN/m²); a wind study's pressure for the conductors' distances to it (Pa, above 0; 2026-11-04: taken by the internal clearances in place of the case's wind, Weather cases: a wind study per structure). Taken by the checks with Use local conditions ticked; a span takes the worst (or the mean, solver.local_spans) of its two structures' factors unless it gives its own (wind_factors, ice_factors).
load_cases no Older files (2026-11-03 to 2026-11-15): its own load cases, names of cases of the load case library. Read into a structure group picking it, named after it (how), and no longer written.
no_load_cases no Older files (version 14, 2026-11-10 to 2026-11-15): true, it took no load case. Read into the group no load case, which ticks none, and no longer written. Not together with load_cases (refused: a list and none contradict).
foot_movements no Its measured foot movements (2026-11-16, line file version 23 when written; built, in active development): { "source": "…", "date": "2026-05-12", "feet": [{ "joint": "L0B", "translation": [0.0, 0.0, -0.012], "tilt_deg": [0.0, 0.0] }] } — per foot its movement from the design: joint a support joint of its type's model (its id), "base" for a pole, or "all" (every foot alike: the structure moved as one body); translation in the structure's axes (to the right of the line, ahead, up), m; tilt_deg the axis leaning to the right and ahead, degrees. The structure is modelled from its plans and moved by them. See Calculation level › Foot movements. Not in OHL XML.
points no Attachment points, where strings hang: { "label", "position": [x, y, z] }, on a typed structure also "joint", "offset", "unlinked" (below).
wires no Wire points: { "label", "position": [x, y, z], "set": n } (below).
strings no Strings between them (below).
omit no With a type: labels of the type's points, strings or wire points left out.
omit_sets no With a type: the type's wire points with these sets left out, with what moves with them.
members no Stick drawing: polylines of [x, y, z] points, for views and drawings only; from the structure type when it is placed.

With a type, the structure's own points, strings and wire points replace the type's with the same label, and a wire point with a set replaces the type's wire point with that set and what moves with it.

Points, strings and wire points#

What hangs on a structure is given explicitly (each point, wire point and string may also have a description, free text):

  • Attachment points (points): labelled points on the structure where strings hang. On a structure with a type each is linked to a joint of the type (version 7, 2026-10-21): the type's points as the type links them; a point of the structure's own may give "joint" (the joint's id) and "offset" ([x, y, z], m, in the structure's axes: x to the right of the line, y ahead, z up — from the joint to the point, a rigid link whose moment the structure analysis applies). Its position is then the joint's as placed plus the offset (turned with the structure); the position written is kept while it agrees to 1 µm. A point written before (no joint) takes the type's point of its label (its offset the difference: it stays where it was), or a joint at its position. A point whose joint the type no longer has, or one written "unlinked": true, is unlinked: it stays at its position, and the structure's loads are refused until it is linked again (ohl structures link, or the session command link_point). ohl structures points lists the links. On a structure without a type each point is its own joint.

    # in examples/synthetic-line (the example line with structure types):
    ohl structures points synthetic-line-typed.ohl.json --structure T2               # its points, joints, offsets, unlinked ones
    ohl structures points synthetic-line-typed.ohl.json --structure T2 --to type-03  # how they match another type's joints
    ohl structures link synthetic-line-typed.ohl.json --structure T2 --point A1 --nearest --out linked.ohl.json
    ohl structures link synthetic-line-typed.ohl.json --structure T2 --point A1 --joint A1 --offset 0,0,-0.5 --out linked.ohl.json
    ohl structures link synthetic-line-typed.ohl.json --structure T2 --point A1 --unlink --out linked.ohl.json
    
  • Wire points (wires): where strings meet and where wires are clamped. A wire point with a set number is where a section or jumper ends (sections and jumpers name it by structure and set, unique on the structure). A wire point no string reaches is fixed to the structure (a wire clamped directly). Its position is where it is in still air: the strings' lengths are the distances from their tops to it. A weight (N) hangs at it: a counterweight under the clamp (a string's own weight is spread along the string, half to each end).

  • Strings (strings): straight members from a top — a point, or another string's wire point — to a wire point. Strings combine, so any assembly is built from single strings (drawing):

    • one string from a point to a wire point with a set;
    • two strings to one wire point, from two points;
    • a string below two strings: two strings to a wire point without a set, and a string from it down to the clamp (the two swing along the line about their tops, the string below swings across);
    • two tension strings from a string's wire point: a string from a point down to a wire point without a set, and two tension strings from it to two wire points with sets, where one section ends and the next begins. Sections sharing an assembly are solved together (theory).

    Combinations other programs name separately (I-, V-, V + I strings, TAKs) need no type of their own here: they are strings combined as shown.

String field Required Meaning
label yes Unique among the structure's strings.
description no What it is, in words (free text).
top yes A point's or a wire point's label.
wire yes A wire point's label.
length yes (files written before: no) From its top to its wire point, m. Without it (files written before), the distance to its wire point as given — taken when read, so nothing moves.
angle_deg no (0) Its angle from straight down, degrees: 0 hanging, 90 level, 180 up.
direction_deg no (0) Its direction in plan, in the structure's axes, degrees: 0 ahead along the line, 90 to the right, 180 back, 270 to the left.
insulator no Insulator assembly id from the insulator library (its weight, stiffness and wind area when resolved, where the string gives none).
weight no (0) Weight, N, half at each end.
wind_area no (0) Area the wind blows on, m², half at each end (0: its assembly's, if it has one). Every string takes it: suspension, strain and a jumper's helping strings.
stiffness no Axial stiffness EA, N (default 5·10⁷ N).
compression no Compression it may take, N: it then acts both ways (a post, one of two strings to a wire point designed to push), and the solve flags it beyond that. Without it: tension only, slack when pushed.
strain no (false) A strain (dead-end) string, else a suspension string: a set on its wire point is a strain point (the conductor ends there). Solved, it lines up with its conductor by equilibrium.
max_load no Version 6: the tension it is rated for, N. Not checked by OpenOHL (kept for a plugin or a report); absent: not given — its assembly's, if the library entry gives one.
max_swing_deg no Version 6: the swing from straight down it may take, any direction, degrees (0–180). Not checked; absent: not given (its assembly's).
max_swing_across_deg no Version 6: the swing across the line it may take, either side, degrees. Not checked; absent: not given (its assembly's).
max_swing_along_deg no Version 6: the swing along the line it may take, either way, degrees. Not checked; absent: not given (its assembly's).
post no (false) Version 17 (2026-11-14, built, in active development — not approved yet): a post insulator — it stands on its top (a structure point: its base, the earthed end) and holds its wire point rigidly at its other end (angle_deg 180: straight up; 90: level, a horizontal line post). The wire point is fixed where the post puts it; the wire's load goes to the base point with the moment of the post's length, and the post's own weight and wind at its middle (Post insulators). A fixed post holds its wire point alone and is not a strain string. Set by itself when the string names a library post (kind = "post").
hinged no (false) Version 17, a post's: on a hinged base (a braced line post) — it turns about its base and takes its load along it only, pushing or pulling, so another string at its wire point (its brace) must hold it. Its wire point then moves with its strings like any assembly's. Absent: a fixed (cantilever) post.
cantilever_load no Version 17, a fixed post's: the load across it at its top it is rated for, N (its assembly's when absent). Checks › String checks… compares it with the post's load (with its compression and max_load along it, each where given; Post insulators).
hinge_friction_nm no Version 19 (decided 2026-11-15), a hinged post's: the moment its hinge holds before the post turns, N·m (≥ 0). Absent: frictionless (the default). The post stays where it is given while the moment needed to hold it is at most this (stick), else turns until the moment is this (slip); the moment goes into the structure at the post's base (Post insulators). A file is written at 19 only when a string gives one.
exit_angle_deg, exit_direction_deg no Version 17, a post's: where its clamp holds a jumper ending at its wire point — the angle from the horizontal (−90 to 90°, negative down; absent: level) and the direction in plan in the structure's axes (0 ahead, 90 right; absent: towards the jumper's other end). Fixed to the structure: it does not turn with the wind, as a section's end clamp's does.
shapes no Version 8 (2026-10-25): its own volumes, each replacing its assembly's shape of the same name or added — the keys of an insulator assembly's [[shape]] (Volumes on the strings) in SI numbers, e.g. { "name": "clamp", "kind": "box", "state": "electrified", "at_fraction": 1.0, "width": 0.15, "depth": 0.3, "length": 0.1 }; one overridden as "insulated" is not checked at this string. A line without any is written as version 7; with a torus among them ("kind": "torus", "tube", 2026-10-31) as version 12.

The four max_* values are a string's limits (String limits): OpenOHL shows and edits them (Strings table, the string window), Checks › String checks… compares them with each string's solved force and swing (since 2026-10-24), and a plugin may read them too (the export model, Plugins). In the app, a limit its assembly gives is shown dimmed in the Strings table and stays the assembly's unless typed over.

A wire point's position follows from its strings: its top, plus its length in its direction. Where two strings end at one wire point, it is where their lengths meet — of the circle both reach, the point nearest where the first string's own direction points (two hanging strings: the lowest) — and their directions follow. A wire point no string reaches is fixed to the structure, where it is given. So an attachment point moved (in structure editing) takes its strings' wire points along, and a string made longer moves its wire point down; the position written for a wire point on strings is the result, not an input. There is no "ahead" or "back" for a string: its angles alone give where it points.

How the wire is held at each point of a section follows from these. The usual cases keep the behaviour they have always had:

  • in the middle of a section, one string hanging below its top (swung less than 45°) is a suspension string that swings freely when solved;
  • one string at a section's end (or not hanging) is a strain assembly: a free member lined up with its conductor by equilibrium, so it moves with every weather case and its pull is in the calculation. One given only as geometry, without a weight or insulator and not marked strain (imported lines), gets the weight that holds it where its wire point puts it in the section's stringing state (still air at the stringing temperature): the moment of the wire's pull at the clamp balances that of the weight at the member's middle; its unstressed length is shortened by its stretch under that pull. A string whose data droops less than the wire pulls it down cannot be held there by any weight: its weight is 0 and it lines up with the wire. On a 930-span real line, mid-spans match the source's reported points as with clamps held at their data positions (median 1.5 cm, p90 3.3 cm);
  • two strings to one wire point hold its clamp across the line while both are in tension; when the wind load leans further from vertical than the windward string, the leeward one goes slack and the clamp swings about the windward one's top (ohl line lists slack strings);
  • anything else — strings hanging from strings — is solved as given: every wire point a free node, every string a bar.
{ "id": "T2", "position": [310.0, 0.0, 505.0],
  "points": [ { "label": "VL", "position": [310.0, -9.0, 535.0] },
              { "label": "VR", "position": [310.0, -3.0, 535.0] } ],
  "wires": [ { "label": "V1", "position": [310.0, -6.0, 532.0] },
             { "label": "W1", "position": [310.0, -6.0, 531.5], "set": 1 } ],
  "strings": [ { "label": "L", "top": "VL", "wire": "V1", "weight": 400 },
               { "label": "R", "top": "VR", "wire": "V1", "weight": 400, "compression": 2000 },
               { "label": "S", "top": "V1", "wire": "W1", "weight": 50 } ] }

Files written before (line file version 1) gave each string as an attachment (set, phase, insulator_point, wire_point, optional legs, …) and section points with a phase. They are read as points, strings and wire points: an attachment's point labelled by its top_label, else A<set>-<phase>; its wire point by its bottom_label, else its label, else W<set>-<phase>; an attachment with two legs as two strings; a wire point within 1 cm of its insulator point fixed. A (set, phase) becomes the set itself for phase 1 — the usual case, one wire per set — and set + 1000 · (phase + 1) for other phases, everywhere (structures, sections, jumpers, project history). They are written as the current version.

Files of version 2 had routes that were their own alignment (alignment points, structures listed) or followed their structures, and the line's own alignment without routes. They are read as routes and alignments of the same ids: a route that followed its structures gets points tied under them; the line's own alignment becomes the route and alignment main; a structure the alignments would not put on its routes gives them itself.

Files of version 3 had alignments holding their points ([x, y, z] or { "position", "structure", "routes" }) on one or more routes. Their points become alignment points of their own (P1, P2…); points of different alignments at the same place (within 1 mm, tied to the same structure or one of them free) become one shared point; an alignment on several routes becomes one alignment per route through the same points (a, a (route)…); a point's own routes go to the structure tied to it (a free point's are dropped). Projects are converted the same way when they open.

Files of version 4 gave a jumper's tap as from_tap / to_tap beside a placeholder from / to, its supports as support (a string from a point) and supports (clamps on a structure's strings, at a fraction), a section's circuit name as circuit, and a place could carry a fraction beside a distance or a station (the station, else the distance, was used). They are read as a tap end, support points (S1; C1, C2… — labels its points do not use) and a place of one kind. Files are written as the current version (6).

cargo run -p ohl-cli -- line FILE --stations prints the stationing, offsets and line angles along every alignment (with its route), and for each structure the other routes it is also on.

Sections#

Field Required Meaning
id yes Unique id.
description no What it is, in words (free text).
cable yes Wire type id from the wire libraries.
circuit_name, phase_label no The name of the circuit its conductor path is in (the same on all its sections; empty: none; files before version 5: circuit) and its phase label.
system no Electrical system (id in systems) whose phase phase_label the section carries. Give it once per conductor path: sections joined by jumpers (or sharing a wire point) follow. None on the whole path: earthed (earth wire, OPGW). Independent of the wire type.
bundle no (1) Subconductors per phase. Tension, sag and loads are per subconductor; the solve follows the bundle's centre line with each subconductor's share of the string weights (string forces are reported for the whole bundle).
bundle_spacing no Distance between neighbouring subconductors, m (e.g. 0.4 for 400 mm). They sit evenly on a circle around the centre line, across the wire — radius s / (2·sin(π/n)) — so clearances are measured to the nearest subconductor. Without it a bundle is checked as one wire.
bundle_rotation_deg no (0) Turns the arrangement (counter-clockwise looking ahead). 0: the two highest subconductors level — two side by side, three with two side by side above one, four in a square.
points yes { "structure": id, "set": n } (a wire point) in line order; spans are between consecutive points.
stringing yes See below.
span_points no Labelled points on spans: { "label": "P1", "span": index, "at": place, "object": … }; a place is { "fraction": 0–1 } (horizontal, from the back point), { "distance": m } or { "station": m } (the line's station, along the alignment the span's structures stand on). One object per point: `{ "kind": "body"
spreads no Objects spread between two points of one span: { "label": "…", "from": point label, "to": point label, "load": N/m (downward, whole bundle), "per_subconductor": true } — per_subconductor (optional, default false): the load is on each subconductor of a bundle (the bundle carries the load × bundle), else once on the whole bundle, shared by its subconductors. Solved by finite elements on the wire they cover (the ruling span leaves loads out). Older files' loads and spread_loads are read into points and spreads.
color no Display colour #rrggbb, overriding the phase colour.
weather_groups no Its weather case groups ([[group]] names of the weather case file; 2026-10-25): read and kept, no longer used since 2026-11-03 — give its local winds and local ice, or its structures' local conditions (a check run says so).
wind_factors no Version 9: its local winds, [{ "span": 1, "factor": 1.2 }, …] — span 0 = the first, as span_points count them; factor 0 to 10.
ice_factors no Its local ice (2026-11-03): [{ "span": 0, "factor": 1.5 }], as wind_factors — the ice (and wet snow) of every weather case with ice times the factor on that span (0 to 10); the ruling span takes the largest. Also what the structures' local conditions give a span when a check uses them.
calculation no ("initial-fe") How the section is solved: a wire condition and a method — initial-rs, creep-rs, load-rs, max-sag-rs, initial-fe, creep-fe, load-fe, max-sag-fe. See below.

Calculations: condition and method#

Condition The wire
Initial as strung
Creep after its permanent stretch due to creep (years at the creep weather case)
Load after its permanent stretch due to the heaviest of the load weather cases (the one stretching it most)
Max Sag after creep or after load, whichever sags more in the weather case solved

The weather cases come from the line's creep_stretch (Line › Criteria › Creep-Stretch): { "creep_case": "everyday", "load_cases": ["glaze ice", "rime ice + wind"] } (by name, from the weather case file used); how a wire stretches, from its model (wire library). A section after creep or load without its weather case fails, saying so. Time at high temperature (line file version 15; built, in active development — not approved yet, the mechanism only): "hot": [{ "temperature": 100, "hours": 500 }, { "temperature": 150, "hours": 100 }] in creep_stretch — hours the wires spend at a conductor temperature (°C). The wire types that give a law of creep at elevated temperature (wire library) are then longer after creep: larger sags after creep in every weather case; one solve of the section per row, once (about a millisecond each). The rows are counted by rising temperature, whatever their order. A wire type without a law: its hot creep is not counted and each such section says "NOT ON THE SAFE SIDE" after creep (its sag after creep can be larger; give the law). Each result names the law's source: the coefficients are the user's — OpenOHL has none.

The line's bimetallic conductor model (bimetallic, optional): what the outer strands of its bimetallic wire types do above the transition temperature, for the wire types whose wire library entry does not say — { "behavior": "bird_cage" } or { "behavior": "compression", "max_virtual_compression": 68947400000.0 } (Pa; default compression with 68 947.4 MPa). Set in the app with Line › Criteria › Bimetallic conductor model; see Wire library. The default gives the largest hot sags (safe for clearances); a bird cage or a limit is said on the line's results as not on the safe side — their hot sag is smaller than the default's, so a clearance can be smaller than shown (theory).

The line's old loads for structures (structure_loads, optional) — { "weather_cases": ["glaze ice"], "condition": "creep", "broken_cases": ["S3 span 2 broken"] }: the weather cases once sent unfactored, the wires' condition in them, version 9 the broken-wire cases sent — are kept as read and no longer used since 2026-11-15 (a placed structure gets the library cases of its groups only; one note says so); load_cases is read and no longer used since 2026-10-25; type_load_cases (2026-11-03 to 2026-11-15: per structure type id its default load cases) is read into a structure group type X of rule type X and no longer written. See Load cases of the structures.

Local winds per span#

Some spans see another wind than the weather case gives (an exposed ridge, a sheltered valley, a wind study for a stretch). A section's wind_factors give such spans a factor on the case's wind: in every weather case with wind, the wind pressure there is the case's times the factor (roadmap O15, decided 2026-10-25: "a factor, for every wind case").

"wind_factors": [{ "span": 1, "factor": 1.2 }, { "span": 2, "factor": 1.2 }, { "span": 5, "factor": 0.7 }]

A span not listed takes the case's wind (factor 1). Everywhere the case's wind acts on the wires the factor follows: the wire's blowout and tensions, the strings (the larger factor of their two spans), the jumpers (the largest at their structures), the structure loads, the clearances' blowout and swing arc, the distance under unequal wind (each span steps up to its own wind), the wind span of the allowable-spans check. The ruling-span method (one tension for all spans) takes the section's largest factor on every span. What is simplified — the same factor on every case with wind (ice with wind too), the structures' own wind not scaled — is in the theory.

A span keeps its factor when structures are put in or taken out of the section elsewhere; a span split or joined takes the case's wind again. Written only when given: a line with local winds is written as version 9, without as before.

In the application: the Sections table's local winds column (2–4: 1.2; 6: 0.7: spans counted from 1, a run a–b, a factor each; empty: none), and a span's Properties (Local wind × factor, on spans a to b, Set). Each change is one undo step. From the command line: ohl project apply FILE.ohl --user NAME '{"op": "set_wind_factor", "section": "S1", "spans": [1, 3], "factor": 1.2}' (spans 0 = first, as the file counts them; factor 1 takes them back to the case's wind); ohl line prints the local winds of each section in a case with wind.

Method (no heading)
FE the section's finite-element model: suspension strings swing, each span its own tension; after creep or load the unstressed lengths are longer by the permanent stretch
RS ruling span: one horizontal tension for the whole section (the sag-tension section with the non-linear wire model and the permanent set), every span a catenary between its clamps held where they hang in still air at stringing, in the plane of its load (blown out by the wind); point loads are left out

RS and FE agree to about 1 % (the FE strings swing to even out the spans' tensions: on the synthetic example 1.2 % of sag at 60 °C).

Colours#

Wires are drawn in the section's color, else the line's display.phase_colors entry for the section's phase_label, else a default by the place of its phase_label among its system's phases (or the number its phase label ends with, L2): first red #e4572e, second yellow #f2c14e, third blue #4c9be8 (then repeating); without either (e.g. earth wires) grey #b0b8c0. Utilities' conventions differ, so set them per project:

"display": { "phase_colors": { "L1": "#8b4513", "L2": "#202020", "L3": "#808080" } }

Stringing and status#

A section is in the blocks (unclipped, the default for new sections) or clipped in. The kind says which.

In the blocks, the wire rolls over the suspension clamps (running blocks): in every weather case its unstressed length is shared out over frictionless sheaves — the wire's tension along it the same on both sides of each sheave, each span its own horizontal tension, the strings swinging along the line to balance (the default since 2026-10-25) — or, with the line's calculation option solver.blocks = "equal_h" (simplified), so that all its spans carry the same horizontal tension, ruling-span behaviour; either way computed exactly in 3D (point loads are left out of the sharing). The section's length is the same in both: every span sagged to the condition with the strings plumb. Moving or changing a structure sags the section again to its condition. Two conditions:

{ "kind": "tension", "horizontal_tension": 25000.0, "temperature": 15.0 }

Sagged to this horizontal tension (per subconductor) at this temperature, still air.

{ "kind": "sag", "sag": 7.5, "temperature": 15.0 }
{ "kind": "sag", "sag": 9.2, "temperature": 15.0, "span": 2 }

Sagged to a sag (largest vertical distance below the chord, m) at a temperature, still air: in the ruling span \( \sqrt{\sum S^3 / \sum S} \) (level) without span, or in span span (0 = first). The tension giving that sag is used in every span.

{ "kind": "catenary_constant", "constant": 1500.0, "temperature": 15.0 }

Sagged to a catenary constant \( C = H / w \) in metres (line file version 15, built, in active development — not approved yet): the horizontal tension is the constant times the bare weight per metre of the wire as strung (at the stringing temperature, still air), the same in every span.

The condition of the value (version 15). The three kinds above take an optional "condition": "initial" (as strung; the default, not written), "creep" or "load" — the value then holds after creep or after load (the weather cases of Criteria › Creep-Stretch), in still air at the temperature given:

{ "kind": "tension", "horizontal_tension": 22000.0, "temperature": 15.0, "condition": "creep" }
{ "kind": "sag", "sag": 9.2, "temperature": 15.0, "condition": "load" }
{ "kind": "catenary_constant", "constant": 1500.0, "temperature": 15.0, "condition": "creep" }

The initial stringing is worked back from it (theory): about ten solves of the section, once (0.1–1 s for ten spans), kept until the section, its wire or the creep-stretch cases change. After creep or after load the initial tension is higher than the value given; the loads on the structures follow from the initial one, so ohl line prints both ("stringing: section S1: sagged to 22.00 kN after creep at 15 °C: 23.31 kN initial"). The value holds in the section's own method (FE or RS), for the wire alone as at stringing (no jumpers, nothing hanging in the spans). A value the wire cannot reach below its rated tensile strength, or a condition without its weather case, is an error naming the section. Max Sag is not a stringing condition (it is a choice per weather case). A linear wire has no stretch after load: "load" is then the same as initial, and said. A line that uses neither is written as before (version 14 or older).

In all of them, suspension clamps sit at their equilibrium position: swung across the line at line angles, plumb along it.

Clipped in, each span keeps its own unstressed length (per subconductor) at a temperature — the state after clipping in, or lengths from a previous design or another program:

{ "kind": "unstressed_lengths", "lengths": [306.07, 330.73], "temperature": 15.0,
  "sagged": { "kind": "sag", "sag": 7.5, "temperature": 15.0 } }

In each weather case the suspension strings swing along the line to balance the spans, so tensions differ a little between spans. A structure moved changes the spans next to it; the strings beyond take up part of it, less and less along the section. sagged (optional) keeps the condition it was sagged to, to go back to the blocks. In the app, a section's window switches between in the blocks and clipped in (clipping in computes the lengths of its condition on the current geometry).

Jumpers#

A jumper is a slack wire joining two wire points: the ends of two sections at a dead-end structure, or a tap from a branch to a through wire (the example joins the branch's first point at the Y structure T3 to the main L1 wire).

"jumpers": [
  { "id": "J-T3-branch", "cable": "acsr-drake-26-7",
    "from": { "structure": "T3", "set": 2 },
    "to":   { "structure": "T3", "set": 1 },
    "sag": 1.5, "temperature": 15.0 }
]
Field Required Meaning
id yes Unique id.
description no What it is, in words (free text).
cable yes Wire type id from the wire libraries.
from, to yes The ends: wire points { "structure", "set" }, or a tap — a clamp on a span point, { "tap": { "span": { "section", "point" } } }, or on another jumper's point, { "tap": { "jumper": { "jumper", "point" } } }; the point holds a clamp object. A jumper on a tap is given by its length (or rigid); its section is solved by finite elements.
length one of Unstressed (cut) length, m, at temperature.
rigid one of true: a rigid jumper (a tube or bar), the straight member between its solved clamps; it takes no length or sag, does not change with the temperature, and is never taut.
sag one of Or the largest vertical distance below the end-to-end chord, m, in still air at temperature; the cut length is found from it (jumpers without support).
tension one of Or (2026-10-25, line file version 10) the pull it is tensioned to, N per subconductor, at its higher end (its from end when both are level), in still air at temperature: a riser, dead-ended between two wire points (not a tap, no helping strings) and solved as a taut wire in any direction, vertical included; its cut length is found from it and kept, its tension then follows the weather, and it is refused in a weather case where it would go slack. The jumpers at its top and bottom tap onto its points (placed by length or fraction on a vertical riser). See Jumpers › A riser.
temperature no (15) Temperature of length / sag / tension, °C. Left out of a file it reads as 15 °C, as files always did; OpenOHL writes it, and jumpers made in the app or the Jumpers table start at 20 °C (the stringing default since 2026-10-21).
supports no Points of points holding a clamp object with a hold, placed by a fraction of its length from from: "hold": { "strings": { "structure": id, "wire": label } } — the clamp hangs on the suspension strings of a structure to wire point wire, which has no set (a wire point with a set is a wire's end; structure default: the one at from) (below) — or "hold": { "string": { "point": [x,y,z], "length": m, "weight": N } }, a tension-only string from point. Needs length; strings from a fixed point and clamps on a structure's strings not both. Files of version 4 gave them as support and supports of their own.
bending_stiffness no Bending stiffness EI of the wire, N·m²: where an end is a section's end clamp, the jumper leaves it in a set direction and bends away from it (below). Default: estimated from the wire type, stiffness_factor × its stiffness as a solid bar \( E\,\pi d^4/64 \) (composite modulus E, diameter d), not below its strands slipping (when the wire library gives the strand counts); Drake 26/7: ~455 N·m². 0: hinged ends.
stiffness_factor no (0.2) The estimated EI as a share of the solid bar's, above 0 and at most 1: the jumper's uniform effective stiffness (0.2–0.35 is the usual range; the lower, the further it swings). Unused when bending_stiffness is given.
angle_from_deg, angle_to_deg no (30) Angle at which the jumper leaves the clamp at from / to, degrees, from its tension string's line (from the clamp towards the string's top; two strings: the middle of their tops; none: the conductor's axis at the clamp), turned within the conductor's plane towards the weather case's load on it (straight down in still air, tilted with the wind as the conductor swings) (0: along the string; negative: the other way). Only where that end is a section's end clamp.
color no Display colour; default: the colour of the section through from.

Clamped ends. Where an end is the first or last point of a section, the clamp holds the jumper: it leaves at angle_from_deg / angle_to_deg from its tension string's line (from the clamp towards the string's top; two strings: the middle of their tops; none: the conductor's axis at the clamp), turned within the conductor's plane towards the weather case's load on it (straight down in still air, tilted with the wind as the conductor swings) — in each weather case, as the string and the conductor move — and the wire's bending stiffness carries that direction into the jumper. The jumper then does not swing in the wind as if hinged at its ends, and follows its clamps as they move with the sections. It is solved as an inextensible elastic rod in pieces of ~0.12 m (16 to 40; its stretch, ~10⁻⁶ at a jumper's tension, is left out); a support string is then rigid, and a string whose top is out of reach of the point it holds is an error. A sag is the clamped jumper's sag in still air. A jumper shorter than the distance its clamps swing apart to (free strain strings in the wind, the cold) is taut: it is solved as a stretched elastic wire (its bending left out), and its pull holds the clamps back — the sections at its ends are solved again with it, in passes, until it settles, whatever the jumper option of Calculation options. Its tension is compared with its wire type's rated tensile strength (the jumper's properties: of RTS, red above 100 %). A taut jumper with helping strings or points along it is not solved (said so). An end that is not a section's end (a tap on a through wire) stays hinged; with both ends hinged, or bending_stiffness 0, the jumper is the catenary described next.

How much the clamps hold a jumper back depends on their angles: a clamp along the chord between the ends (a straight dead-end with terminals straight on) does not resist a swing about that chord at all, and a jumper leaving its clamps upwards (terminals straight on along spans rising to the structure) swings further than a hinged one, since the bend at the clamps eases as it swings out. Terminals angled down (the default 30°) hold it back.

Each end is the solved clamp of the section through that wire point (so the jumper follows strain assemblies and swung suspension clamps), or the wire point's position if no section uses it. The jumper is one exact catenary element (two with a support string) carrying the weather case's weight, ice and wind (horizontal, perpendicular to the jumper's chord); its length scales with \( e^{\alpha \Delta t} \) from temperature. Sections are solved first: a jumper's tension (a few hundred N) does not change them. A jumper given by its sag is cut once and keeps that length until it, the sections at its ends or their structures change; the computation, its costs and the expected ranges are in the theory manual (Jumpers). ohl line prints each jumper's length, sag and tension, includes jumpers in the ground clearance check (as jumper:<id>) and draws them in the viewer. Clearance from jumpers to the structure body comes with structure outlines.

Helping strings. A jumper between two dead-end clamps can be held by helping strings between them — strings of the structure, as suspension strings hold the conductor on the line — each holding it in a clamp. A clamp's wire is a wire point of structure (default: the structure at from) without a set, held by one string or two strings, each from an attachment point or from another string's wire point (a string below a string): hanging from the wire point where a section is clamped (below a conductor's suspension string), its top is where that clamp is solved in each weather case and the section carries the string — its weight and its share of the jumper (half the stretches either side of the clamp; with the jumper's own pull, the string's solved force) —; from a wire point no section is clamped at, its top is where that point is in still air. Its point's fraction is where the clamp's middle is, as a share of the jumper's length from from, between 0 and 1; the clamps are taken in order along the jumper, with room for their lengths. clamp_length is the clamp's length, m (default 0.1, above 0 and at most 1 m). The clamp swings and turns freely; the jumper runs straight through it (the direction it leaves in is the one it enters in), also with bending_stiffness 0 or hinged ends. Each string is rigid and tension-only — one of two goes slack when the wind swings the clamp towards it — unless it has a compression: then it acts both ways and may push (a V reaching sideways to the jumper); its force is then negative. Half of each string's weight and the wire point's weight hang on the clamp, and half of the wind on each string (its wind_area) pushes it; the clamp itself takes no wind. The jumper is solved as the rod above (Jumpers); ohl line prints each string's force; the structure loads include the strings' pull at their tops.

"points": [
  { "label": "C1", "at": { "fraction": 0.5 }, "object": { "kind": "clamp", "clamp_length": 0.1, "hold": { "strings": { "wire": "JW" } } } },
  { "label": "C2", "at": { "fraction": 0.8 }, "object": { "kind": "clamp", "clamp_length": 0.08, "hold": { "strings": { "structure": "T3", "wire": "JV" } } } }
]

A jumper is drawn and checked as a bundle like its section: bundle, bundle_spacing and bundle_rotation_deg default to those of the section at from (the first section through that point) and can be set on the jumper, each on its own (e.g. only a different spacing). A support string's weight is shared by the subconductors.

Electrical systems#

The electrical model is kept apart from the physical wires: a system is a group of phases (AC) or poles (DC) with its voltage, and sections point to it.

"systems": [
  { "id": "380-1", "name": "380 kV Alpha–Beta 1", "kind": "ac",
    "voltage_kv": 380, "frequency_hz": 50,
    "phases": [{ "label": "L1", "angle_deg": 0 }, { "label": "L2", "angle_deg": -120 },
               { "label": "L3", "angle_deg": 120 }] },
  { "id": "sbb", "name": "132 kV railway", "voltage_kv": 132, "frequency_hz": 16.7,
    "phases": [{ "label": "UU", "angle_deg": 0 }, { "label": "VV", "angle_deg": 180 }] },
  { "id": "hvdc", "kind": "dc", "voltage_kv": 500,
    "phases": [{ "label": "+", "polarity": 1 }, { "label": "-", "polarity": -1 },
               { "label": "MR", "polarity": 0 }] }
]
Field Required Meaning
id, name id Sections refer to the id.
kind no (ac) ac or dc.
voltage_kv yes AC: nominal voltage between phases (rms). DC: pole voltage to earth.
highest_voltage_kv no Version 15 (2026-11-11; built, in active development, not approved yet): the highest operating voltage, kV, as voltage_kv (AC between phases, rms; DC pole to earth); at least the nominal. Your value: the program never fills it in. Used by the Electric field and the Conductor surface gradient (windows, ohl electrical electric, fields, surface-gradient): with it they are computed at this voltage; without it at the nominal — a lower field, said in their results as NOT ON THE SAFE SIDE — unless a voltage is given for the run. Nothing else reads it. Edited in Line › Electrical systems, column max kV. A line without one is written at its older version.
insulation_level no Version 15 (2026-11-11; built, in active development, not approved yet): "low" or "high"; not given: high. The line's own value. Read by the internal clearances (2026-11-11): an [[internal_rule]] with insulation = "low" / "high" applies only to the conductors of the systems of that level (Internal clearance rules), so that a table with a low and a high row per voltage can be given as two rules. No other check reads it, and no standard's values are attached to it. Edited in Line › Electrical systems, column insulation (the default shown grey). Not to be confused with a plugin's own column of the same name, which is kept among the system's fields as "<plugin>.insulation_level": another key, another value.
frequency_hz no AC frequency (50, 60, 16.7…). Systems of different frequencies are not synchronous.
current_a no Version 13 (2026-11-04): the operating current, A rms in each phase (DC: each pole), shared by a bundle's subconductors; ≥ 0. The default current of its circuits in Checks › Thermal rating (Temperature at a current, Step change, Clearance at the current; ohl thermal clearance-check) and in the Magnetic field (window and ohl electrical magnetic), where a current given there overrides it. Without it nothing changes. Edited in Line › Electrical systems, column A. A line without one is written at its older version.
color no Display colour #rrggbb when wires are coloured by system (default: by the system's place in the line).
phases yes label (matched with the sections' phase_label); AC angle_deg (default evenly spread: 0°, −120°, +120°; two phases 0°, 180°); DC polarity +1, −1 or 0 (default in that order); code, the phase's line code when wires are drawn by system (- solid, else its dots and dashes repeated, e.g. .-; default -, .-, .-- by place).

Conductor paths. Sections joined by jumpers, or sharing a wire point, form one conductor path. Setting system on one section of the path assigns the whole path to that system's phase phase_label; two sections of a path naming different phases is an error that names them. A path without a system is earthed.

Directions of the conductor paths. The line has as many conductor paths as its connections make. Each end of a conductor path is a start (power flows in) or an end (power flows out), with at least one of each; a conductor path with taps, or fed from several sides, can have several of either. The starts are those listed in circuit_starts. A conductor path none of whose ends is listed runs along the line: its end that comes first along the line (its routes) is its start, the others are its ends. Reversing a conductor path swaps every role. A system's conductor paths should run the same way — from the same start structures, to the same end structures (a branch adding an end is the same way); the desktop app warns when they do not, after a change in the tables, without refusing it. The roles order its sections and jumpers from its starts outwards, and the desktop app turns its jumpers to point along it (from nearer a start). Nothing physical depends on them: the wind's side is the line's (see Conventions).

Circuits#

A circuit groups the conductor paths that form one circuit — e.g. the three phases of North — for what is done per circuit: safety volumes per circuit, circuit-to-circuit clearance rules, the phase distance check's circuits, --circuits / --circuit. Version 7 lists them:

"circuits": [
  { "id": "C1", "name": "North", "system": "sys-220", "description": "left side" },
  { "id": "C2", "name": "Spare" }
]
Field Required Meaning
id yes Unique; --circuits takes it or the name.
name yes Unique, without spaces around it; what its sections give as circuit_name.
system no The electrical system its conductor paths are of (not said: they may be of several, or earthed).
description no Free text.

Its members are the conductor paths whose sections give its name: they follow when a section is split, joined or renamed. A circuit with none is allowed (noted). Circuits follow the physical connections (decided 2026-10-21):

  • a conductor path is in one circuit (its sections are connected: one conductor);
  • a circuit holds one conductor path per phase of a system: two paths of one phase that are not connected are two conductors, so two circuits;
  • circuits are never merged: two become one only when they are connected (a jumper, a wire strung through), which makes their paths one; the desktop app's jumper window then asks which circuit's name stays (the other keeps its paths that are not connected, or is left with none).

A change contradicting this is refused (a path in two circuits, two paths of one phase not connected, a path of another system than the circuit's, a repeated name). A file written with such a contradiction is read as it is, and it is noted in the Circuits table. Files without circuits (before version 7) are read into one circuit per distinct name on their sections, its id the name, no system: everything grouped by circuit gives the same results; the file written again lists them.

Voltages. With n phases evenly spread, a phase is at U / (2·sin(π/n)) to earth (U/√3 for three phases, U/2 for two). Between two conductors: the phasor difference for AC of the same frequency (U between two phases of a system, 0 between the same phase of two parallel systems), the difference of pole voltages for DC, and the sum of the voltages to earth otherwise (different frequencies, AC with DC). Clearance rules can use the nominal voltage or this voltage between conductors (clearances by voltage).

Electrical properties of the wire types (resistance, ampacity data) belong to the wire library, linked through each section's cable.

How a section is solved#

Every span is one exact elastic catenary element (split at point loads), strings are tension-only truss elements, wind acts horizontally and perpendicular to each span, and the free clamps and load points are found by Newton–Raphson in 3D (see finite-element wire systems). Each span's unstressed length scales with \( e^{\alpha \Delta t} \) from the stringing temperature.

Compared with another program#

One comparison, not a validation: on an existing 78-structure, 930-span line exported from another line design program (private data, compared locally and not part of the repository), OpenOHL reproduced that program's mid-span heights to a median of 1.1 cm (90 % within 3.4 cm) for unloaded spans and 1.7 cm (90 % within 3.9 cm) for spans with marker balls, and mid-span positions to 1 mm, solving all 554 sections in under 20 ms. The largest differences (up to 21 cm) are nearly vertical, nearly taut down-leads, where the export's 1 cm rounding of unstressed lengths moves the sag by that much.

View this page's source on GitHub