Structure and insulator libraries (.ohls, .ohli)#
Structure types and insulator assemblies are stored one per file, so each can be reused, shared and versioned individually. In the desktop app the structure types are the Structure library (Structures menu): every structure the model uses, each imported or exported as a file:
*.ohls— structure types (theohl-structureformat): a project keeps its structures in aStructuresfolder next to its line or project file (used automatically byohl line); shared types can live inlibraries/structures/,libraries/insulators/*.ohli— insulator assemblies (theohl-insulatorformat), for detailed strings; simple structures define their strings in the structure file itself (below). OpenOHL ships three examples with typical values (220 kV: a suspension string, a tension string and two suspension strings to one clamp, idsexample-220-…) to start from — check them against your assemblies' data sheets. Structure types belong to a project (itsStructuresfolder); none are shipped.
Both are TOML with units on every quantity ("12.5 m", "1.4 kN"), like wire libraries. Unknown fields are errors.
Structure types (.ohls)#
Local axes: origin at the centre of the structure, x to the right of the line looking ahead, y ahead along the line, z up. z = 0 is the ground, unless the type gives the level of its feet: a structure drawn from a reference level under its lowest crossarm says foot = "-32 m", and is placed with its feet on the ground (raised by the structure's height_adjust for foundations, see Using types in a line).
format = "ohl-structure" # optional header
version = 2
id = "DL380-tangent" # letters, digits, - _ .
name = "380 kV double circuit, tangent"
kind = "lattice" # lattice | pole | portal | other
source = "Drawing 12-345 rev B"
[[point]] # where strings hang, local axes
label = "A1"
point = ["-12.5 m", "0 m", "45 m"]
[[wire]] # where the wire is clamped: set 1
label = "W1"
set = 1
[[string]] # one string from A1 to W1
label = "S1"
top = "A1"
wire = "W1"
insulator = "I-380-double" # from the insulator library (or length, weight)
[[point]] # a strain set on a dead-end type
label = "A2"
point = ["-12.5 m", "1.2 m", "38 m"]
[[wire]]
label = "W2"
set = 2
[[string]]
label = "S2"
top = "A2"
wire = "W2"
insulator = "S-380-double"
angle = "90 deg" # from straight down: 0 hanging, 90 level
direction = "0 deg" # in plan: 0 ahead (+y), 90 right, 180 back
[[extension]] # one type, several heights
name = "+3"
dz = "3 m"
[[body]] # optional outline for drawings / 3D
points = [["-4 m", "-4 m", "0 m"], ["0 m", "0 m", "52 m"], ["4 m", "4 m", "0 m"]]
| Field | Required | Meaning |
|---|---|---|
id, name, kind |
yes | Identity and family. |
description |
no | What it is, in words (free text; shown in the structure picker). |
point |
no | Points where strings hang (each, like wire points and strings, may have a description, free text, carried into the line): label and point (local), or node (at a joint) — then it moves with its joint. A point cannot be put on a member: insert a joint on it (OHL-Structure) and put the point there. Files written before that give member and at (along a member, 0–1 from its first joint) are read with a joint inserted there, the member split (below). Labels are unique among points and wire points. |
wire |
no | Wire points: label, optional set (a wire is clamped here; unique), optional point (local; default: placed from its strings, below), optional weight (a counterweight hanging at it). |
string |
no | Strings: label, top (a point or a wire point), wire (a wire point), an insulator from the library or a length (and weight), optional wind_area (default: its assembly's, else none), optional compression (what it may take; none: tension only), strain (a strain string, else suspension), angle (from straight down, default 0: hanging) and direction (in plan, default 0: ahead); version 4: optional limits max_load, max_swing, max_swing_across, max_swing_along (default: its assembly's; checked by String checks, String limits); version 13: a post insulator — post = true, optional hinged = true (a braced post), cantilever_load (its rating across it at its top), exit_angle and exit_direction (its clamp's fixed direction for a jumper) — Post insulators on a type. Files written before gave a strain string a side (ahead/back): read as level, direction 0° or 180°. |
attachment |
no | Files of version 1: attachment points (set, phase, point, insulator or string, side), read as before (below). |
extension |
no | Named extensions: dz lengthens the body below z = 0, so everything above the feet rises by it. Version 3: an extension may carry its own joints, members and leg extensions (Extensions). |
foot |
no | Level of the feet in local z (default 0: z = 0 is the ground). |
body |
no | Stick drawing: polylines (local axes). Without it, a shaft from the centre point to height (or the highest point) and a crossarm from the shaft to every point. |
height |
no | Shaft top (local z) for the generated stick drawing. |
capacity |
no | What the type can carry, for the structure checks (below). |
source |
no | Where the data comes from (free text). |
wind |
no | Wind on the structure, in height bands (below). |
load_case |
no | The structure's own load cases (below). |
template |
no | The structure template it was built from, its role and values (Structure templates). |
node, member |
no | The structure's joints and members (levels 2 and 3, below); a member may have a group, and both a made_by (the generator that wrote it); a member may name a bolt_grade (version 21, below); a joint may carry a reviewer's reviewed tick (version 29, 2026-11-26: the stamp of its layout when ticked in OHL-Structure's Review the joints left; read as reviewed only while the joint's layout gives that stamp; nothing is checked for it). |
generator, symmetry |
no | Version 3: the body generators with their inputs, and the mirror symmetry kept while editing (Body generators). |
section, material, analysis, load |
no | A full design's cross-sections, materials, analysis options (version 14: tension_compression; version 16: the optional checks redundant_force, climbing_load) and own loads — see Structure analysis. |
default_bolt_minimums |
no | Version 18 (2026-11-18): the default minimum bolt distances in bolt diameters — end, edge (1.5 when not given) and spacing (3) — that OHL-Structure's bolt tools, the plate outlines and the joint layout keep where no design code gives minimums (the simple check, a plugin without them). A default minimum, assumed, not a code's; never in place of a code's own. OHL-Structure: Design › Analysis, default bolt minimums [d]. |
bolt_grade |
no | Version 21 (decided 2026-11-19): the bolt grades the members' bolts take — [[bolt_grade]] with grade ("8.8", unique), ultimate (f_ub), yield? (f_yb, no higher), source? (where the values come from) and set_by? ("command" when OHL-Structure's Design › Bolt grade… wrote it) — named by a member's bolt_grade = "8.8" (a name the file does not give is refused). The member's bolts — its ends', its design data's and a gusset plate's own bolts onto it — take its ultimate strength and name over their library's or design data's; a capacity given for another grade is dropped (the grade's worked out by the code, said). Written only when a member has one. |
model |
no | A separate structure model (.ohlfe, path relative to this file) for the finite-element check, instead of the members here. |
pole |
no | The pole: pole = "id" (a .ohlp file in the same folder, by its id or its file name) or, version 3, a [pole] table in the file with its outline and design (Poles) — checked by the pole check, see Structure analysis. |
Points, strings and wire points#
A string hangs from its top — a point of the structure, or another string's wire point — to a wire point, so any assembly is built from single strings (line file, drawing): two strings to one wire point; a third from that wire point down to a wire point with a set; a string down to a wire point and two tension strings from it to two sets.
A wire point is placed from its strings (their tops placed first): at its one string's length (a library assembly: its length) in the string's direction (angle, direction); with two or more strings from other tops, where the first two's lengths meet: of the circle both reach, the point nearest where the first string's direction points (hanging: the lowest). A wire point no string reaches is clamped where its point says. A string's weight, stiffness and wind area are its own, else its assembly's (the weight and wind area of an assembly of two strings shared by them).
Post insulators on a type#
Version 13, 2026-11-15. A string of a type can be a post insulator,
with the same meaning as a line's string made with the
Add post insulator tool
(theory): it stands on its top — a
point of the structure, its base — and holds its wire point at its other
end. Every structure of the type then has that post, and its loads,
checks and the moment sent to OHL-Structure are those of a post made by
hand.
[[string]] # an upright station post on A1
label = "P1"
top = "A1"
wire = "W1"
length = "1.5 m"
angle = "180 deg" # 180 upright, 90 level, between: upswept
weight = "450 N"
post = true
cantilever_load = "8 kN" # its rating across it at its top (optional)
exit_angle = "-15 deg" # its clamp holds a jumper 15° down (optional)
exit_direction = "90 deg" # …to the right (optional; in plan, type axes)
[[string]] # a braced line post on A2: hinged…
label = "P2"
top = "A2"
wire = "W2"
length = "2 m"
angle = "90 deg"
direction = "90 deg"
post = true
hinged = true
compression = "20 kN" # its compression rating (optional)
[[string]] # …and its brace, to the same wire point
label = "B2"
top = "A3"
wire = "W2"
length = "2.83 m"
| Field | Meaning |
|---|---|
post |
A post insulator: rigid, a cantilever — its wire point is fixed where it puts it, its load goes to its base with the moment of its length. A string naming a library post (kind = "post") is one whatever this says. |
hinged |
A post on a hinged base (a braced line post): it turns about its base and only pushes or pulls; another string to its wire point (its brace) must hold it. No moment goes to the structure. |
cantilever_load |
Its rating across it at its top (a force; default: its library post's; none: not checked). |
exit_angle |
The angle from the horizontal at which its clamp holds a jumper ending at its wire point, −90° to 90° (negative: down; none: level), fixed to the structure. |
exit_direction |
The same clamp's direction in plan, in the type's axes (0 ahead, 90 right; none: towards the jumper's other end). |
hinge_friction_nm |
Version 15, a hinged post's: the moment its hinge holds before the post turns, N·m (a plain number; none: frictionless — below). |
A post's compression rating is its compression, as for a string. The
type is refused, as a line's strings are, when a post is a strain string,
stands on a wire point, is fixed and shares its wire point with another
string (a braced post is a hinged one), or is hinged without a brace; and
when hinged, cantilever_load or an exit angle is given on a string
that is not a post. A file is written at version 13 only when a string
uses one of these fields (OHL-Structure raises it when it writes one); a
program older than version 13 refuses such a file instead of dropping the
post. angle defaults to 0 (hanging) for a post as for any string: give
angle = "180 deg" for an upright post.
A hinged post with one brace pivots (decided 2026-11-15). The post and its brace are pinned at both ends, so with a single brace (or braces whose bases line up with the post's, e.g. straight above it) the pair turns freely about the line through their bases — for a braced line post, the vertical through its base: its top can swing along the line. What holds it there is what is attached to its top:
- the conductor: the post swings along the line until the spans' pulls on its top balance, as a suspension string swings (the solve finds the swing; the spans' tension difference is relieved by it). Every load case says hinged post … pivots … NOT ON THE SAFE SIDE for … longitudinal load: the hinge is taken frictionless, while one that sticks would pass part of the spans' difference into the structure;
- a jumper only: the post is solved together with its jumper — the jumper's end moves with the post's top, the post turns until the jumper's pull balances it, and the jumper's shape, the post's and the brace's forces all come from that one equilibrium (a rigid jumper — a tube — would hold the post as a brace: not solved, said);
- nothing: it is free — its loads are not computed and every case says so (hinged post … nothing holds it (free to pivot)).
Two braces off that line — one ahead and one back — lock every direction: the post is then held by its braces, whatever is attached. The post's force reaches the structure at its hinge and each brace's at its base, plain forces, no moment (theory).
A hinge friction (hinge_friction_nm, a moment in N·m as a plain
number; structure file version 15, written only when a string gives it; decided 2026-11-15): the hinge is frictionless unless you give one. With
one, the hinge holds the post where it is given while the moment needed to
hold it is at most that value (stick), else the post turns until the moment
is that value (slip); the moment goes into the structure at the post's
base, and the load cases say the longitudinal load includes the hinge's
friction up to that value. A hinged post's only (refused elsewhere, and
below 0).
[[string]]
label = "P2"
top = "B"
wire = "W2"
length = "2 m"
angle = "90 deg"
direction = "90 deg"
post = true
hinged = true
hinge_friction_nm = 250.0
Version 1 files gave each string as an [[attachment]] with a set and phase; they are read as before: an attachment's point is labelled by its string's top label, else A<set>-<phase>, and its set is the set itself for phase 1, else set + 1000 · (phase + 1) (line file).
Detail levels#
A structure file describes its structure at one of four levels. The level is worked out from what the file holds (a detail = … in older files is read and ignored) and shown in the structure's properties; it rises as the structure is filled in:
| Level | What the file holds | Used for |
|---|---|---|
| 1 — stick figure | Only the points, strings and wire points: a shaft from the centre to the top and crossarms to the points are drawn — or [[body]] polylines that all lie in one plane (a face of the structure). |
Placing the wires, drawings, the 3D view. |
| 2 — sticks of the structure | Joints ([[node]]) and members ([[member]]) without cross-sections, or [[body]] polylines that make a 3D object (their points, all together, not in one plane — more than 1 mm off it). |
Drawings and the 3D view with the structure's members; distances to the structure (planned). |
| 3 — full design | Every member with a section (from [[section]] and [[material]]), and at least one supported joint (a joint with a support; a joint held only by a spring does not count, so a structure standing only on springs stays at level 2) — or a separate model = "….ohlfe". An extension with a body: its members with cross-sections and a supported joint too. |
Structure analysis (finite elements) and fabrication. |
| 4 — full design with joint details | A level 3 lattice tower whose every checked member end has its joint detail: a [[connection]] for that end, or the end running on through the joint as one part (a continuous leg), and no bolt left provisional by the joint layout (2026-11-18; said where the level is shown). A pole and a structure with a separate model stay at level 3. |
As level 3; and the calculation may take the joint details (joint_details = true, OHL-Structure: Results › Joint details in the calculation). Without that option the members are checked in the simple form. |
A pole has the first three levels (Poles): without an outline it adds nothing (level 1); its outline — diameters at two heights at least — makes level 2; with what the pole check needs (material, strength, its wall thickness, solid, or a cross-section) level 3. A pole named by a .ohlp file is level 3. The structure's level is the higher of its members' and its pole's.
[[node]] # a joint, local axes
id = "B1"
point = ["-2.5 m", "-2.5 m", "-30 m"]
support = "pinned" # level 3: where the pylon is held
[[node]]
id = "T1"
point = ["-6 m", "0 m", "0 m"]
[[member]]
id = "arm1"
nodes = ["B1", "T1"]
section = "L90x9" # level 3; without it: a stick
[[point]]
label = "A1"
node = "T1" # at a joint
# offset = ["0 m", "0.4 m", "0 m"] # version 6: from the joint, a rigid link
Attachment points and joints (2026-10-21). Every point is linked to a joint: its node; a point given by its own point is linked to a joint at that position, else it is its own joint (a stick figure's). Several points may share a joint. An offset (version 6, with node) puts the point away from its joint: the analysis moves the point's load to the joint with the moment of the offset where a frame member meets it (only trusses: left out, said so) — theory. A point cannot be put on a member (a bar): it needs a joint. Points along a member in files written before (member, at) are read as a joint of kind attach inserted on the member at that fraction (its id the point's label; points at one place share it; at 0 or 1: the end's joint), the member split there into two continuous pieces — the same fields on both sides (a rigid connection, not a hinge), the first keeping the member's id, the second <id>-2, each with the whole member's buckling length as lk — and the point on the joint; OHL-Structure writes the file so when it is next saved (version 6). For a frame member the results are those of before (the analysis split the member there already); a joint on a truss member has no stiffness across the two bars, so a point there loaded across them is refused with the fix (make the members frames, or add a member to the joint) where its load used to be shared to the member's ends. A joint's kind (version 6) is attach (strings hang here) or support (where the structure stands on its foundation); without one it is worked out: a joint carrying points is an attach joint, a supported one a support joint. A point on a support joint is refused. On a structure with members, a point on no joint of the members keeps it from a full design (its load would reach nothing).
The joints and members take the same fields as in a structure model; a point on a joint carries its loads in the finite-element check (several points on one joint add up). A member's kind is truss (default), frame, cable or — version 5 — tension: a truss in tension only, carrying compression up to its own buckling load and bowed beyond it — or, version 14, none at all when [analysis] tension_compression = "none" (slack as soon as shortened; OHL-Structure's tension-only: no compression writes it and raises the file to 14) — (a tower program's "T-only" bracing; Tension-only members). The structure application raises the file to version 5 when a member is made tension; an older program then says the file is newer instead of failing on the kind. Version 6 also adds two member keys: bending = true on a tension member (it also bends, as a frame, while it is in the analysis: a tower program's tension-only beam; Tension-only members) and check = false (a member that is only part of the model — a tower program's fictitious member — solved but not checked).
Member design data (version 8, 2026-10-27; .ohlfe version 4). What a member-capacity method needs beyond the cross-section and the forces, per member in a [member.design] table — all optional; where one is missing the method assumes the least favourable case and says so per member (theory; ASCE 10-97: its page). The data are neutral: no design code's numbers; a method maps them to its rules.
[[member]]
id = "D1"
nodes = ["A", "B"]
section = "L60x6"
[member.design]
class = "bracing" # leg | bracing | redundant | crossing
crossing = "D2" # its crossing partner (another member's id), for class crossing
length_ratios = [1.0, 1.0, 0.5] # buckling length / member length about the section's
# y, z and minor principal axes (default: worked out
# from what braces the member, below)
end_eccentricity = "both_ends" # ends connected eccentrically (an angle bolted by one leg):
# none | one_end | both_ends
end_restraint = "none" # ends partly restrained against rotation (two or more bolts
# into a stiffer member): none | one_end | both_ends
width_thickness = 10.2 # flat width / thickness of the legs (default: from the profile)
thickness = "6 mm" # of the connected legs (built-ups and `general` profiles)
plies = 1 # profiles side by side (2: two angles back to back)
connected_leg = "long" # the leg the end bolts hold: both | long | short | none
bolts = { diameter = "16 mm", hole = "17.5 mm", count = 2, shear_planes = 1,
shear_capacity = "60 kN", ultimate = "800 MPa", holes = 1, grade = "8.8" }
# per end: count (0: the holes only, no bolt check);
# grade: optional, SIA 263's shear factor by it;
# per bolt and shear plane: shear_capacity;
# holes: holes in one cross-section (net section)
edge_distance = "25 mm"
end_distance = "27 mm"
spacing = "50 mm"
A file with design data is version 8 (an older program says it is newer); the structure application keeps them as written, and its member properties show them (one line; editing them there: not yet — edit the file, or import them).
Buckling lengths from what braces a member (2026-11-19; built, in active development, not approved yet). A member that gives none of lk, a k other than 1 or length_ratios has its buckling lengths worked out from what braces it by its design code (ASCE 10-97 and SIA 263): along the members continuing it in line through its joints, from joint to joint where another member — or a support — holds it in the direction of each axis's buckling; a crossing partner holds it where it crosses. A joint held across one axis only (a redundant member on one face of a leg) holds that axis only; under ASCE 10-97 a crossing holds a diagonal out of its plane only while the other diagonal pulls at least 20 % of its compression. The member's result says from the bracing with the axis, the length and between which joints (KL/r 85 (v over 1.20 m, N3–N5, from the bracing)), its notes all three lengths; where the bracing gives the member its own length between its joints about every axis, its result reads as before and its notes say the lengths were worked out; a member giving its own lengths keeps them (given). The ends of the line of members, at joints other members frame into, are held as before; a stretch to a free end (nothing frames into it) is a cantilever (twice its length), said; a member nothing holds at all is said not on the safe side (it is taken at twice its length, but it may buckle over more; give lk or length_ratios). Give length_ratios where you know better (a code's more exact verification): they win. How each code decides: ASCE 10-97, SIA 263.
Connections and plates (version 9, 2026-11-02; built, in active development, not approved yet; Joint details of towers, stage 1). Where a member's end says more than its design data — the two ends differ, or the end bolts onto a plate — a [[connection]] gives that end, and a [[plate]] a gusset plate at a joint. All optional; what a connection does not give comes from the member's [member.design] (the same at both ends). OHL-Structure shows each value as given, the member's, worked out, assumed or not given (Joint details). The ASCE 10-97 check reads them since 2026-11-02 (each end's eccentricity, restraint, bolts and net section; theory); a file without connections computes as before.
[[connection]]
member = "D12" # the member …
joint = "N7" # … at its end at this joint
kind = "bolted" # bolted (default) | welded | pinned | fixed | continuous
onto = "L3" # a member meeting at the joint, a plate's or a splice's id
leg = "long" # the angle's leg bolted: both | long | short | none
bolts = { count = 2, diameter = "16 mm", hole = "17.5 mm", grade = "8.8",
shear_planes = 1, threads_in_shear = false }
# or a bolt of a bolt library (its diameter, hole and grade; what is typed
# here overrides it): bolts = { count = 2, bolt = "M16-8.8" }
gauge_lines = 1 # 1 to 3 (bolt rows along the leg; wide legs)
gauges = ["30 mm"] # from the heel along the leg bolted, one per line
pitch = "50 mm" # between bolts along a line
end_distance = "30 mm" # from the member's end to the first bolt
edge_distance = "25 mm"
# rolled_edge = false # the leg's toe flame-cut or sheared (none: an angle's own leg rolled, a plate sheared)
# bolt_points = [["30 mm", "30 mm"], ["80 mm", "30 mm"]] # instead of the
# layout: along the member from the joint, across the leg from the heel
# With leg = "both" (bolts on both sides of the corner, 2026-11-05) the
# layout goes on both legs, the bolts shared (the leg lying on what it
# bolts onto takes the odd one), each leg's gauges from its own heel;
# bolt_points are then the bolts of the leg on what it bolts onto, and
# other_leg_points = [["30 mm", "25 mm"]] # those of the other leg
# other_onto = "G2" # with leg = "both" (2026-11-08): the plate the
# # other leg bolts onto when not onto's — two
# # plates at 90°, apart or welded together
# eccentric = true # given instead of worked out (one leg bolted)
# restrained = false # given instead of worked out (two bolts or more
# # onto a member stiff enough; never a plate alone)
# eccentricity = "20 mm" # given instead of worked out (gauge and section)
# cut = "40 mm" # where the steel stops from the work point (none:
# # worked out so it fits); the axis still runs to it
# shift = "15 mm" # the end moved sideways to fit (+ towards what it
# # bolts onto): its force passes beside the work
# # point, an eccentricity the analysis takes
# face = "outside" # where it sits on what it bolts onto (2026-11-05):
# # outside (default) | inside (the inside face of
# # its leg) | nested (an angle heel into heel
# # inside the other: a lap joint, one shear plane)
[[connection]] # one part through the joint (2026-11-05)
member = "L1"
joint = "N7"
kind = "continuous" # runs on into onto: no bolts
onto = "L2"
[[splice]] # covers bolting members together (2026-11-05)
id = "S1" # unique among splices, plates and members
joint = "N7"
members = ["L2", "L3"] # each bolts onto it: its connection's onto = "S1"
[[splice.cover]] # one per face of a leg
face = "outer" # outer | inner
leg = "long" # long | short (an angle's); none: a flat part
thickness = "8 mm"
# material = "S355"; outline = [...] # as a plate's
[[splice.cover]]
face = "inner"
leg = "long"
thickness = "8 mm"
[[plate]]
id = "G1" # unique among the plates, not a member's id
joint = "N7"
thickness = "10 mm"
material = "S355" # optional
# outline = [["0 m", "1 m", "10 m"], …] # local axes; none: drawn around
# # the bolts of the connections onto it,
# # each kept the design code's end and
# # edge distances from its edge
[[plate]] # a joint may have several plates
id = "G2"
joint = "N7"
thickness = "10 mm"
welded_to = ["G1"] # welded to these plates of the same joint
# # (2026-11-04): one welded plate
[[plate.weld]] # a weld with its data (2026-11-04): welds G2
to = "G1" # to G1 as welded_to does
size = "6 mm" # the fillet's throat a (SIA 263 6.3.2.6)
length = "220 mm" # none: the seam's length (one side)
kind = "fillet" # fillet (default) or full_penetration
sides = 2 # fillets (2026-11-25, version 28): 1 one side,
# # 2 both sides; none: not known
Lap joints, splices and continuous members (2026-11-05, still version 9; built, in active development, not approved yet; proposal). face says where a member end sits on the member it bolts onto: on the outside face of its leg (the default, as before), on the inside face, or nested — an angle heel into heel inside the other. A [[splice]] holds the covers of a joint bolting members together: per leg an outer and/or an inner cover. The bolts pass through the member's leg and the covers on it, one shear plane per cover — two covers, two planes — worked out and used by the bolt shear check over the member's design data (a shear_planes given on the bolts still wins; the difference is said). A cover given twice on the same face of a leg, a thickness of 0, or an id a plate or member has is refused; a splice whose joint or members are gone, or a connection onto a splice that does not join it, is said. kind = "continuous" makes a member run on through the joint into onto as one part (no bolts); given on either end it holds for both, unless the other end says otherwise. It holds only when the two are in line within 1° and have the same section, roll and reference; otherwise it is said and the end computes as a splice, as before. Deleting a joint deletes its splices; deleting a member takes it out of the splices and makes a member continuous with it bolted again.
A welded plate (2026-11-04, still version 9) is several plates welded together so that every member bolting onto the joint reaches one of them. welded_to names the plates of the same joint a plate is welded to; it is read both ways (given on either plate) and through others (G3 welded to G2, G2 to G1: one welded plate of three). A plate welded to itself is refused; one welded to a plate not at its joint is said, not used. Files of 2026-11-03 gave a plate kind = "welded" (then: welded onto the joint's leg): still read, the joint's plates of that kind taken as one welded plate (one alone: a plain plate), said; OHL-Structure writes them as welded_to (the kind dropped) at the next welding change, and no longer writes kind.
A weld's size and length (2026-11-04, still version 9): a [[plate.weld]] under a plate welds it to the plate to (as welded_to does) with the weld's size — the fillet's throat a, as SIA 263 6.3.2.6 defines it (the height of the triangle inscribed in the weld's section) —, its length (the whole length welded, both sides together when welded on both; none: the seam's length where the two plates meet, worked out from their outlines, one side) and its kind (fillet, the default, or full_penetration). A weld is given on one of its two plates (on both: refused), once (twice: refused); a size or length of 0 is refused. A pair welded by welded_to alone has no size: the weld is not checked (said). OHL-Structure checks the plates and welds per case with the analysis (theory).
A weld's sides (2026-11-25, structure file version 28; built, in active development): sides = 1 is one fillet on one side of the plate, sides = 2 a fillet on each side (a length given is then both together, each fillet half of it; none, each fillet the seam's length). Without sides (every file of before) the weld is checked as the worse of one fillet and two — never weaker than before. Any other number is refused. One fillet bent about its seam (its root opened) is checked by its throat bent across and said to be avoided (SIA 263 6.3.6.5); two take that moment as a couple across the plate (theory). A file with sides is written at version 28 (an older OpenOHL refuses it).
A member's roll (2026-11-04): roll = "90 deg" on a [[member]] turns its cross-section about its axis — with an orientation, after it (a correction; before 2026-11-04 the two together were refused) — and so its local axes for the analysis (its bending axes, the member wind, the exports). OHL-Structure writes it from its Roll control (degrees, within ±180°; removed at 0).
A member end is given once; the gauges are one per gauge line; a hole is no smaller than its bolt; sizes are not below 0. A connection whose member or joint is gone (deleted, or not rebuilt by a generator) is kept and said, not used; deleting a member or joint in OHL-Structure removes its connections and the plates there, and a connection onto them loses its onto. A file with connections or plates is version 9 (an older program says it is newer).
Bolt libraries (.ohlb, format ohl-bolts, 2026-11-02; built, in
active development, not approved yet). The bolts the connections name,
kept like the cross-sections: Bolts/ beside the structure files,
imported and exported in OHL-Structure (File › Import and Export). None of a
standard's values is built in; libraries/bolts/example-bolts.ohlb
holds invented ones. (The bolt grade command offers SIA 263:2013 Table 2's
strength classes, written into the structure file when set:
Bolt grade.) A project keeps its bolt libraries (library kind
bolts): copied in from Bolts/ in its structure folder when it opens,
written to Bolts/ beside the working copies of the structure types
(where OHL-Structure and the line's structure checks read them),
exported with the structure types (structures/Bolts/), and brought in
by a project plugin's import as any other library.
format = "ohl-bolts"
version = 1
[[bolt]]
id = "M16-8.8" # unique; a connection names it
name = "M16 grade 8.8" # optional
diameter = "16 mm"
hole = "17.5 mm" # optional
grade = "8.8" # optional
ultimate = "800 MPa" # optional: tensile strength
yield = "640 MPa" # optional
shear_capacity = "60 kN" # optional: per shear plane, threads in it
shear_capacity_shank = "75 kN" # optional: threads out of the plane
tension_capacity = "90 kN" # optional: its ultimate tensile load, F_u × A_s
head_across_flats = "24 mm" # optional: the drawings
head_height = "10 mm" # optional
nut_height = "13 mm" # optional
grip = "20 mm" # optional: what it clamps, as sold
mass_kg = 0.12 # optional: with its nut and washer
description = "" # optional
tension_capacity is the bolt's ultimate tensile load: its ultimate
tensile strength × its stress area, F_u × A_s (decided 2026-11-19) — not a
design value: ASCE 10-97 4.3.3 takes 0.6 of it, SIA 263 (77) 0.9 of it
over γ_M2.
Refused: an id empty or given twice, a diameter not above 0, a hole smaller than the bolt, a size or mass not above 0, an unknown field. A bolt two libraries give: the first kept, said. A connection naming a bolt no library has: said (the Libraries panel and the joint's notes), its bolts unknown unless a diameter is typed. The checks do not read the libraries yet (stage 4).
Kind. kind (lattice, pole, portal, other) says what the structure is; OHL-Structure changes it with Geometry › Structure kind. A lattice tower or a portal has joint details; a pole has the Pole panels. Changing it deletes nothing.
Checks that depend on the structure's shape — distances from the wires to the structure body, structure analysis, string swing to the structure — behave differently at each level; each such check says in its documentation what it does for levels 1, 2 and 3. The structure's level is shown in its properties.
Body generators, groups and symmetry#
Version 3 of the format (versions 1 and 2 are read as before; an older OpenOHL refuses a version 3 file as "newer") keeps what the structure application needs to build the body again:
version = 3
[[generator]] # legs and panels: the body as a frustum
id = "body"
kind = "panels"
feet = "6 m" # width at the feet; or ["8 m", "6 m"]: across (x), along (y)
waist = "2 m" # width at the top of the last panel
# bottom = "0 m" # level of the feet (default: the file's foot)
panel = [
{ top = "8 m", bracing = "x", horizontal = true },
{ top = "15 m", bracing = "k" }, # horizontal: true by default
# options, each written only when on:
# { top = "20 m", bracing = "x", width = "3 m", redundants = "one", plan = "x" },
]
# plan_auto = "diamond" # plan bracing where the slope changes and at the crossarms' levels
[[generator]] # crossarms from the body face to points
id = "arm1"
kind = "crossarm"
points = ["A1", "A11"]
shape = "triangular" # or "rectangular"
# one_arm = true # the points on one side sharing their roots make one arm
[[generator]] # a peak on the top of the body
id = "peak"
kind = "peak"
points = ["E1"] # earth-wire points; none: one tip at the centre…
# height = "4 m" # …this high above the top
[[generator]] # a face of a panels body to the opposite face
id = "front"
kind = "copy_face"
body = "body"
face = "y-" # x+, x-, y+ or y-
[[symmetry]]
mirror = "xy" # "x": about x = 0 (left ↔ right), "y": about y = 0 (ahead ↔ back), "xy": both
# groups = ["body-leg"] # only the members of these groups and their joints (default: all)
[[member]]
id = "body-M1"
nodes = ["body-L0-1", "body-L1-1"]
group = "body-leg" # sections and results per group
made_by = "body" # written by generator body: a rebuild replaces it
- What a generator writes are ordinary
[[node]]and[[member]]entries with itsmade_by; the file never needs the generator to be read. Ids follow from the inputs: jointsbody-L<level>-<corner>(corners 1 to 4 counter-clockwise from +x +y, level 0 the feet),body-L<level>-F<face>in the middle of a horizontal edge (faces 1 to 4: x+, y+, x−, y−),body-P<panel>-<corner>in the middle of a leg; membersbody-M<n>; groupsbody-leg,body-bracing-<panel>,body-horizontal-<level>; a crossarm's tiparm1-A1(the point is put on it), groupsarm1-bottom,arm1-top,arm1-bracing; a peak's tippeak-tip(at a point:peak-E1), grouppeak-peak; a copied face's joints and membersfront-<the original's id>, in the original's group. - Bracing per panel:
single(one diagonal, bottom left to top right of each face),x(both, crossing without a joint),k(from the bottom corners to the middle of the top edge, which then has its horizontal),diamond(between the middles of the four edges, legs and both horizontals split there),warren(one diagonal, alternating from panel to panel).horizontalputs horizontals at the panel's top. - Crossarms start on the body face on the point's side (its outermost joints at a level): the lower root at the highest level at or below the point, the upper root at the next level up (a point at the top of the body: the top and the level below). Triangular: four chords to one tip at the point. Rectangular: a bottom tip at the point, a top tip above it, a vertical and two diagonals (a point at the top of the body: the point is the top tip, the bottom tip one level down). A peak rises from the body's top level, not from the arms' tips.
- Options (all off by default; a generator without them builds exactly what it built before, and writes none of them). They are version 6 of the format: the structure application raises the file to 6 when it writes a generator using one (and only then; a file without a
versionstays without), so an older OpenOHL says the file is newer instead of failing on an unknown field. Versions 1 to 5 are read as before:widthon a panel (not the last: its top is the waist): the body's width at the panel's top, a length or [across, along]; between the widths given (the feet, the panels', the waist) the faces are straight, so the slope can change at a panel's top (legs, then a straight or less battered body).redundantson a panel,"one"or"two": secondary members in its four faces, in groupbody-redundant-<panel>, so they get their own cross-section and results. They cut the main diagonals into shorter lengths; every joint they add lies on a member (cut there) and is braced to joints held already, so each face stays triangulated (no mechanism in its plane). The legs are cut at their middle (body-P<panel>-<corner>). Per bracing, one level: single and Warren — the diagonal's middle on a member between the legs' middles, and a secondary diagonal in each quadrilateral either side (from each end of the diagonal to the middle of the other leg); X — a joint at the crossing, braced to both legs' middles; K — each diagonal's middle, braced to its leg's middle and to the top corner on its side; diamond — each side's middle, braced to the corner it faces. Two levels add the halves' middles, braced to the same leg middle or corner. Jointsbody-R<panel>-F<face>-C,-C1…,-D1…; membersbody-R<panel>-<n>; a member cut keeps its id with-1,-2… (body-M5-1,body-M5-2), so the other members keep theirs.planon a panel,"x"or"diamond": plan bracing at the panel's top, in groupbody-plan-<level>, membersbody-H<level>-<n>. X: both diagonals of the plan, corner to corner (crossing without a joint). Diamond: between the middles of the four horizontals (jointsbody-L<level>-F<face>, the horizontals cut there) and a cross from them to a joint at the centre (body-L<level>-C; without it the diamond turns in plan, its corners sliding along the horizontals). A level without horizontals gets them too (body-H<level>-E<face>).plan_autoon the generator: that plan bracing at the levels where the slope changes (a panel'swidthoff the line of its neighbours) and at the two levels each crossarm generator of the file starts from (its points' lower and upper roots on this body). A panel's ownplangoes first. The crossarms are read from the file when the body is built: after adding a crossarm, build the body again (Rebuild all).one_armon a crossarm: the points on one side whose arms start from the same root joints (one side, one level) make one arm. The outermost point is the tip, as a single arm has it; at each other point the arm has a cross-section: joints where its chords pass (arm1-A2-bottom-1,-2,arm1-A2-top-1,-2), the point braced to the four, a member up each side and one across the other chord. Between cross-sections: the chords, a diagonal in each side face (from the lower chord outwards to the upper one) and two members from the cross-section inside to the next point. Points are put on their joints. With one point per side it is the same arm as without the option; two points as far out on one arm are refused.
- Pieces keep what was set: when a rebuild cuts a member it made into pieces (
body-M5→body-M5-1,body-M5-2, a redundant turned on), the pieces take what was set on it (cross-section, kind, group…); turned off again, the whole member takes the first piece's. - Rebuild replaces only what the generator made: a joint or member it makes again (same id) keeps what was set on it (cross-section, kind, group, support…); one it no longer makes goes, unless a member made by hand, another generator's member or a point uses it — then it stays, as made by hand, and is reported. Hand-made joints and members are never touched.
- Groups: there is no table of groups; a group is the members naming it. A cross-section set for a group is written on each of its members, so the finite-element model and the level read the members only (the FE model leaves
groupandmade_byout). - Symmetry: joints are matched by position (within 1 mm); see the Body panels.
The joint layout's record#
Lay out joints (OHL-Structure, 2026-11-18; built, in active development) writes its values into the ordinary fields — a [[connection]]'s cut, shift, onto, bolts, gauge_lines, a [[plate]], a member's roll — and lists what it set in one more [[generator]], so that a run again (or a later edit near the joint) may replace its own values and keeps the ones given by hand:
[[generator]]
id = "joint-layout"
kind = "joint_layout"
gap = "10 mm" # the settings of the last run
pull_back = "300 mm"
shift_limit = "30 mm"
plates = "bolted" # or "welded"
bolt = "M16-example" # the bolt picked (or bolt_diameter alone)
bolt_diameter = "16 mm"
presets = [["bracing", "2 x M16"]] # a connection preset per member class
joints = ["N2"] # laid out
ends = [["D1", "N2", "cut", "gauge", "onto", "bolts", "gauge_lines"]] # automatic fields
rolled = [["D1", "0 deg"]] # turned flat; the roll it had before
made = [["G1", "N2", "thickness", "outline"], # plates made; their automatic fields
["G2", "N2", "outline", "own_plane", "thickness", "weld"],
["S1", "N5", "cover 9 mm", "splice"]] # a splice made (its covers' thickness)
provisional = [["D1", "N2"]] # bolts not chosen yet
hand = [["N7", "R3 and D5 within 4°: no room on one plate …"]]
oriented = [["L1", "", "chord"], ["P3", "90 deg", "plan"]] # turned by Orient angles; the roll before
gaugeis a mark, not a field: the end is drawn with its gauge line through the work point (its normal framing eccentricity, gauge to centroid, for the drawings and the clash check only; the analysis keeps the member's axis through the work point).own_plane(2026-11-19) marks a plate made in its member's own plane, welded to a flat plate (its[[plate.weld]]withsizeandlength, theweldfield automatic): the joint details draw its member lying on it (moved along the flat plate's normal) and the clash check tests it against the leg.splicewithcover <thickness>marks a[[splice]]the layout made (two angles of other sections in line, covers outer and inner on each leg bolted): a run again makes it again, unless its covers were changed by hand — then it is kept, the user's.- A value the user changes after the run becomes theirs: it leaves the list and is kept from then on.
oriented(2026-11-18): the members Orient angles turned — a leg or chord (chord: heel out, its flanges in the tower's faces), a plan or hip member (plan: one leg flat, the other down) or a member of a steep face (face: one leg in the face, the other out of the tower) — with the roll each had before. A run of Orient angles again replaces them — except aplanorfacemember's roll Lay out joints chose for both its ends (listed inrolled), which Orient angles keeps (2026-11-19, J3: the two agree); Lay out joints keeps achord's roll (the tower's shape) and may turn aplanorfacemember's where that helps.rolled: Lay out joints turns a member only where at least one of its joints is laid out with the turn (one roll for the whole member: its ends' turns within 2° of each other, an equal-leg angle's leg bolted changing between its ends where that serves both; J3, 2026-11-19); its roll goes back to the one listed when none of its joints is laid out with it any more.- Apply this joint's detail to similar joints (2026-11-19, J4) copies a joint's record marks with its values: an automatic field stays automatic at the joints it is copied to (their
ends,madeplates,provisionalbolts), the joint laid out or left for a hand detail (hand, with its words said with that joint's members) as the source. - A file without this table reads exactly as before. The core reads only
provisional(2026-11-18, third round): while it lists a bolt the structure is level 3, not 4 — in OHL-Structure, OHL-Design (the structure picker and the structure's properties say why) and on the command line (ohl structures fesays the joint details are not taken and why); the rest of the record is OHL-Structure's.
Poles#
A pole structure names its pole — pole = "steel-pole-30m" (the .ohlp file with that id next to the structure; or pole = "steel-pole-30m.ohlp", by file name), level 3 — or, version 3, describes it in the structure file:
version = 3
[pole]
shape = "polygon" # or "round" (default)
sides = 12 # a polygon's number of sides (3 or more)
embedment = "3 m" # depth in the ground (optional): length = height + this
# Level 3: the fields of a .ohlp file, same names and meaning
material = "steel" # wood | steel | concrete | other
wall = "8 mm" # or "solid", or section = "P-12x500" (below); none: not given
elasticity = "210 GPa" # P-Delta
density = "7850 kg/m3" # the pole's weight
drag = 0.8 # shape factor on the wind (default 1)
# fibre_stress = "55 MPa" # wood: the moment capacity from the taper
# moment_capacity = "900 kN m" # at the ground line
[[pole.outline]] # level 2: the outside lines, from the feet up
z = "0 m" # local z of the structure (the feet: the ground line)
diameter = "700 mm" # or circumference; a polygon: across flats
[[pole.outline]]
z = "27 m"
diameter = "300 mm"
[[pole.capacity]] # or: the moment capacity by height above the ground line
height = "0 m"
moment = "900 kN m"
- Outline: heights rise from row to row (by more than 1 mm); a row gives its
diameteror itscircumference(a polygon's perimeter: across flats = perimeter / (n · tan(π/n))). Between the heights the diameter is linear; below the lowest and above the top it is held. The pole's height above ground is the top's z less the feet's. - Level 3 needs the
material, a strength (fibre_stress,moment_capacityor[[pole.capacity]]) and its wall: its wall thickness,wall = "solid"(a solid pole, no hollow), or asection, whatever the material.walltakes a length or the word"solid"; any other word is refused, namingwall. A pole named by a.ohlpfile counts as level 3 as given; brought into the structure file, its missing wall is listed (a.ohlpwithout a wall brings none: you decide between a thickness, solid and a cross-section). section: a hollow cross-section of the project's cross-section library (Cross-section library) —polygonal_hollowwith the pole's sides, orcircular_hollowfor a round pole. Its walltis the pole's wall (unlesswallis given: a thickness, or solid), and its material's elasticity and density are taken when not given here. The cross-section's own diameter is not used: the outline gives the diameters.- A polygon's cross-section at each height: a regular polygon of the outline's width across flats, hollow by the wall; its second moment is the same about every axis through the centre (A·(12 r² + a²)/48 for inradius r and side a, as the cross-section library computes it), its elastic modulus taken at a corner (the smaller).
The structure application edits the pole (Body › Pole, Design › Pole design) and brings a named .ohlp into the file in one step: its diameters at the ground line and the top become a two-height outline from the feet, its other fields are copied, and the pole check gives the same numbers.
Extensions and leg extensions#
At levels 1 and 2 an extension is a name and a dz. At level 3 (version 3) it may carry its own piece — the joints and members between the ground and the feet — and leg extensions, one leg longer than the others (decision 20: one file describes a family; each placed structure stands on the extension chosen at its place):
[[extension]]
name = "+3"
dz = "3 m"
[[extension.node]] # the piece: z from the feet less dz to the feet
id = "X3-J1"
point = ["3.3 m", "3.3 m", "-3 m"]
support = "pinned" # the piece carries the supports
[[extension.member]] # between the piece's joints and the body's, by id
id = "X3-M1"
nodes = ["X3-J1", "body-L0-1"]
section = "L80"
group = "X3-leg"
[[extension.leg]] # one leg longer: A, B, C, D or a joint id
leg = "A"
dz = "1 m"
The rule, in the structure's own axes (the body is not moved; placed, the whole rises by the extension's dz as before):
- A extension adds its joints and members to the body's. A body joint a member of the extension reaches stands on the extension: its support (and spring) is dropped; the extension's own joints carry the supports written on them. Its joints lie between the feet less
dzand the feet; its ids are unique among the body's; itsdzis above 0. - A leg extension lowers one support joint by its
dz. Leg A is the joint in the quarter x > 0, y > 0, B x < 0, y > 0, C x < 0, y < 0, D x > 0, y < 0 — among the supported joints (after rule 1) when there are any, else among all joints — the lowest one there (two equally low: name the joint by its id). The joint slides along its leg member — of the members ending at it, the one rising most steeply to a joint above — until it isdzlower, so the leg member is stretched along its own line; with no member rising from it, it moves straight down. Every member ending at it follows. - A placed structure standing on an extension with a piece or legs is analysed on that model (Structure analysis); an extension without them uses the model as written (as before).
At level 3 every extension piece gets all its parameters: an extension's member without a cross-section, or a piece without a supported joint, keeps the structure at level 2. An extension without members stays allowed at level 3 — the structure application lists it as advice ("the FE model leaves it out").
The structure application's Body › Extensions adds a piece by hand or builds it in one go: under every foot of the body (its supported joints, else its lowest joints) a joint dz lower along the foot's leg (the same leg rule) with the foot's support, a leg member to the foot (group X<name>-leg), the faces between neighbouring feet braced (one diagonal or X, horizontals at the bottom on request, group X<name>-bracing), cross-sections as the body's last member; ids X<name>-J<n> and X<name>-M<n> (+3 → X3-J1).
Capacity#
The structure checks (Structure usage) read what a type can carry from its [capacity] — the values from its design (drawings, calculations, the manufacturer); OpenOHL ships none. Both methods are optional:
# Method 1: allowable spans by line angle (interpolated linearly in the
# sine of half the angle, on the safe side; a
# structure turning more than the last angle fails).
[[capacity.spans]]
angle = "0 deg"
wind_span = "400 m"
weight_span = "600 m"
min_weight_span = "-50 m" # optional: uplift limit (may be negative)
[[capacity.spans]]
angle = "10 deg"
wind_span = "300 m"
weight_span = "550 m"
# Method 2: allowable loads at a point of the structure (a load tree),
# structure axes, compared with the factored loads × the load case's
# strength factor.
[[capacity.attachment]]
point = "A1" # version 1 files: set, phase of an attachment
vertical = "40 kN" # downwards
uplift = "10 kN" # optional (none: an upward load fails)
transverse = "30 kN" # either way
longitudinal = "20 kN" # either way
interaction = "linear" # optional: the ratios add up (default: each on its own)
Angles rise from 0; spans are above 0, the minimum weight span below the weight span. A direction without a value is not checked. Every capacity.attachment names a point of the type; points loaded without one are reported as not in the load tree. The synthetic example's types (examples/synthetic-line/Structures) carry invented capacities.
Wind on the structure#
[[wind.band]]
from = "0 m"
to = "20 m"
area = "14 m²" # projected area facing the wind (across the line)
drag = 3.0 # drag (force) coefficient
Each band: bottom and top above the ground, projected area, drag coefficient (from the structure's design or the code used; e.g. about 2.8–3.2 for lattice faces, 0.7–1.2 for round poles). The structure loads add pressure × drag × area per band in every load case with wind (Structure loads).
Load cases of the structure#
[[load_case]] tables hold the structure's own load cases: recipes saying how the line's loads act on it, for the structure application (Structure load cases). The line run does not read them.
Simple structure files#
How much string detail is worth modelling depends on the structure. A simple structure file gives each string's length and weight in the structure itself — no insulator library needed:
format = "ohl-structure"
version = 2
id = "D380-tangent"
name = "380 kV double circuit, tangent: 3 crossarms each side + earth wire"
kind = "lattice"
height = "62 m"
[[point]]
label = "A1"
point = ["-12 m", "0 m", "40 m"]
[[wire]]
label = "L1"
set = 1
[[string]]
label = "S1"
top = "A1"
wire = "L1"
length = "5.2 m"
weight = "1.4 kN"
# … one per crossarm end, both sides
[[wire]] # the earth wire, clamped on the mast top
label = "E"
set = 9
point = ["0 m", "0 m", "62 m"]
[[point]] # a strain string on a dead-end: level, ahead
label = "A2"
point = ["-12 m", "1.5 m", "36 m"]
[[wire]]
label = "L2"
set = 2
[[string]]
label = "S2"
top = "A2"
wire = "L2"
length = "5.0 m"
strain = true
angle = "90 deg"
direction = "0 deg"
A string hangs down by default; its angle and direction point it anywhere — a strain string level along the line, at 0° or 180° — and it is solved as a free member that lines up with its conductor, like a library strain assembly. A wire point no string reaches is clamped where it is. The stick drawing appears in the 3D viewer and in the plan and profile sheets.
Structure templates (.ohlpt)#
A structure template is the face of a structure — across the line and up, in
its own axes, no outside sizes — given by a few named dimensions. From it
Edit › Tools › New structure from a template… builds a structure type of
level 1 (its points, strings and wire points with their sets), for
suspension or for strain: two separate types, built one after the
other with the toggle. The type records the template, the role and the
values ([template]), so a type built before is built again from them
(the structures of that type follow). Built again, only what the
template makes is replaced — the header, [template], and the points,
strings and wire points it makes (by label, for either role); everything
else in the file stays: joints, members, cross-sections, materials, supports,
capacity, bodies, extensions, and points, strings and wire points added
by hand. What refers to a point or wire point the template no longer
makes (a string, a joint's attachment, a capacity entry) is kept and
listed in the window to look at; if the file would not read any more
(a string to a wire point no longer there), nothing is written and the
window says why.
The library grows with files: the templates shipped with OpenOHL in
libraries/structure-templates, and a project's own in its
Structure templates folder next to the line (one of the same id is used
instead of the shipped one). The structure application keeps its own
apart: it reads and imports templates in a StructureTemplates folder beside
the structure file, and its New structure… offers the shipped ones
(OHL-Structure).
format = "ohl-structure-template"
version = 1
id = "delta-1c"
name = "Delta, one circuit, one earth wire"
description = "Two phases on the lower crossarm, one on the upper."
kind = "lattice" # the family of the types built
height = "peak" # shaft top for the stick drawing (expression)
# first_offset = 20 # strain: the string at 180°: set + 20 (default)
# second_offset = 40 # strain: the string at 0°: set + 40 (default)
[strings] # offered; changed in the builder
suspension_length = "3 m"
suspension_weight = "1 kN"
strain_length = "4 m"
strain_weight = "1.5 kN"
earth_suspension_length = "0.3 m" # the earth wires' short strings (clamps)
earth_suspension_weight = "0.1 kN"
earth_strain_length = "0.5 m"
earth_strain_weight = "0.2 kN"
[[parameter]]
name = "lower_level"
default = "22 m"
description = "height of the lower crossarm"
[[parameter]]
name = "lower_half"
default = "5 m"
description = "lower crossarm: mast to each phase"
[[parameter]]
name = "peak"
default = "34 m"
[[attachment]] # where a phase hangs
slot = 1 # its set (suspension; strain: + 20, + 40)
label = "L1"
across = "-lower_half" # expression of the parameters, m (right +)
up = "lower_level"
[[earth]] # an earth wire: its point and a short string
slot = 19
across = "0"
up = "peak"
- Expressions: numbers (metres), the parameters' names,
+ - * /and parentheses ("-(inner + 2 * step)"). - Sets follow the template's sets (
slotin the file). A suspension type: a string hangs at each attachment, its wire point takes that set. A strain type: two level strain strings at each attachment along the line, given by their angles only — the first at 180° with the set + 20, the second at 0° with the set + 40. Earth wires the same, with their own short strings (lengths and weights of their own): a point on the structure, a string to the wire point. So the template's sets 1–20 give suspension sets 1–20, and strain sets 21–40 and 41–60 — a numbering that keeps every phase's set the same through suspension and strain structures, also for crowded multi-circuit structures: e.g. circuits in sets 1–3, 4–6, 7–9, a two-phase circuit of four conductors in 10–13, another circuit in 16–18, earth wires in 19 and 20 (the shippedmulti-5c). - Labels: the points
A-<label>, the wire pointsW-<label>(strain:W-<label>-1,-2), the stringsS-<label>(-1,-2). - Checked when read: unique names, sets and labels; every expression reads; built with its defaults it makes a valid type both ways; no string reaches the ground; the shaft top is not below an attachment.
Shipped: delta-1c, flat-1c (two earth wires), danube-2c,
barrel-2c, multi-5c, pole-1c — synthetic dimensions, to be changed
in the builder.
Insulator assemblies (.ohli)#
format = "ohl-insulator"
version = 1
id = "I-380-double"
name = "380 kV double suspension string"
kind = "suspension" # suspension | strain | post (version 6)
# legs = 2 # version 3: two strings to one clamp (suspension only)
length = "5.2 m" # attachment point to clamp (each string's, with legs = 2)
weight = "1.4 kN" # total weight (default 0)
axial_stiffness = "50e6 N" # per string (default 5e7 N)
wind_area = "0.6 m²" # projected area for wind (default 0)
# half_width = "3 m" # legs = 2 only: centre to each string's top
# version 2: limits, checked by String checks (see String limits)
# max_load = "120 kN" # the tension it is rated for (legs = 2: each string's)
# max_swing = "60 deg" # from straight down, any direction
# max_swing_across = "55 deg"
# max_swing_along = "30 deg"
# version 6, a post only: its ratings across it at its top and in compression
# cantilever_load = "8 kN"
# compression_load = "40 kN"
| Kind | Geometry | In the solver |
|---|---|---|
suspension |
clamp length below the attachment point |
free clamp on a tension-only member (swings) |
suspension with legs = 2 |
two strings from ±half_width (along the structure's local x, across the line) to a clamp below |
two tension-only strings to a free clamp; the leeward one goes slack in strong wind (a version 1 attachment; in structure files of version 2 and later each of the two is a string naming the assembly, which gives each half its wind area) |
strain |
clamp length from the attachment point, along its conductor |
free member of that length: direction and droop follow the conductor tension and the assembly weight |
post (version 6, 2026-11-14, built, in active development — not approved yet) |
a post insulator: clamp length above the attachment point (its base), or in the direction its string gives (a horizontal line post) |
the clamp fixed where the post puts it (rigid); its load to the base point with the moment of its height, its own weight and wind at its middle (Post insulators); no legs, half width or swing limits; cantilever_load and compression_load its ratings, with max_load in tension — compared with the post's load by Checks › String checks… (its ratings checked); mounted on a hinged base (a braced line post) by the line's string (hinged), not by the library |
String limits#
A string may carry limits: kept with the string, shown and edited, and compared with the solved forces and swings by Checks › String checks… and ohl strings (2026-10-24, String checks) in the weather cases of its rules — the solve itself does not use them, and nothing is coloured by them outside that check. A jumper's helping strings are not checked yet. Each is optional; absent means not given (not zero, not unlimited):
| Key | Unit | Meaning |
|---|---|---|
max_load |
force ("120 kN") |
the tension it is rated for (e.g. its specified mechanical load; with legs = 2: each string's) |
max_swing |
angle ("60 deg") |
the swing from straight down it may take, in any direction |
max_swing_across |
angle | the swing across the line it may take (in the structure's x–z plane), either side |
max_swing_along |
angle | the swing along the line it may take (in the structure's y–z plane), either way |
Angles from 0 to 180°, a load above 0; other values and unknown keys are refused. They go on an insulator assembly (.ohli, version 2) as defaults and on a string ([[string]] of a structure type, version 4; a line's own string, line file version 6): a string naming an assembly takes each limit the assembly gives where the string gives none of its own — the string's own value wins. The compression a string may take is not one of them: that is compression, which the solve uses (a string with it acts both ways and is flagged beyond it).
The swings they compare with are those of the string as solved, from its top to its wire point: from straight down, and the angles of its projections on the planes across and along the line, positive to the right and ahead (ohl_line::swing). OpenOHL writes a file's newer version only when it holds what needs it (an .ohli stays version 1 without limits and legs; 2 with limits; 3 with legs = 2; 4 with volumes on the strings; 5 with a torus among them), so an older program still reads the rest.
Files before version 3 gave two strings to one clamp as kind = "v_string": still read, the same as kind = "suspension" with legs = 2, and written in the new form when saved (decided 2026-10-21: combinations of strings are not types).
Volumes on the strings#
Since 2026-10-25 (version 4, written only when an assembly has any of it; roadmap O6, in active development, not approved yet) an assembly may carry basic volumes — spheres, cylinders, boxes, cones and, since 2026-10-31 (version 5), tori (grading rings) — for the internal clearances: every string with its label has them.
format = "ohl-insulator"
version = 4
# … the assembly as above …
swing_across = "free" # free (default) or blocked
swing_along = "free"
twist = "blocked" # about the string's axis
strings = 2 # several strings in one assembly (default 1, at most 4)
arrangement = "across" # across, along or triangle (three strings)
spacing = "0.45 m" # between the strings' axes
[[shape]]
name = "line-side horn" # unique on the assembly
kind = "cylinder" # sphere | cylinder | box | cone | torus
state = "electrified" # grounded | electrified | insulated
at = "3.3 m" # its centre from the string's top (or at_fraction = 0.95)
diameter = "0.02 m"
length = "0.3 m"
offset_across = "0.25 m" # off the string's axis (and offset_along)
[[shape]]
name = "yoke"
kind = "box"
state = "electrified"
at_fraction = 1.0
width = "0.6 m" # across; depth: along; length: on the axis
depth = "0.15 m"
length = "0.05 m"
shared = true # several strings: one for the assembly, on its axis
[[shape]] # (version 5)
name = "grading ring"
kind = "torus"
state = "electrified"
at = "3.35 m"
diameter = "0.5 m" # the ring's outer diameter, across the whole ring
tube = "0.06 m" # its tube's diameter (less than half the diameter)
| Key | Meaning |
|---|---|
name |
unique on the assembly; a line's string overrides a shape by its name |
kind |
sphere (diameter), cylinder (diameter, length), box (width across, depth along, length on the axis), cone (diameter at its end nearer the top, end_diameter at the other, default 0, length), torus (a ring around the string's axis, square to it: diameter its outer diameter, tube its tube's diameter, less than half the outer one; version 5 — an older program refuses the file by its version); a size the kind does not take is refused |
state |
grounded: at the structure's potential (top fittings, a tower-side horn); electrified: at the line's (the clamp, a line-side horn, a corona ring, a yoke at the bottom); insulated: the insulator itself — drawn, never a clearance target |
at / at_fraction |
its centre along the string from its top, in metres (not beyond the length) or as a fraction (0 the top, 1 the wire point): one of them |
offset_across, offset_along |
its centre off the string's axis, in the string's own axes (default 0) |
shared |
several strings: one shape for the assembly on its axis (a yoke plate), else one on each string |
swing_across, swing_along, twist |
whether the shapes turn with the solved string's swing across, along and about its axis (free, the default) or keep their still-air orientation (blocked); a strain string's shapes always follow its axis |
strings, arrangement, spacing |
several strings in one assembly (1 to 4): the line's string stands for all of them, on their middle; each carries a copy of the shapes, side by side across, one behind the other along, or (three) at the corners of a triangle of side spacing |
How they are placed on a solved string and measured — and what is approximate — is in the theory manual, Internal clearances. A line's own string may override a shape (line file version 8, 12 with a torus: its shapes, each replacing the assembly's shape of the same name or added; to leave one out at that string, override it as insulated); so may a structure type's string (.ohls version 7: [[string.shape]] under its [[string]], values with their units, 2026-10-25), for every structure of the type. In the desktop application: Line › Structures › String shapes (a row per shape of each assembly: label, shape, kind, state, at — a fraction, or metres with m —, the sizes, the offsets, shared; added, typed, deleted, one undoable change per Apply) and the String library's columns swing across, swing along, twist, strings, arrangement, spacing and shapes (their count); the Libraries editor offers the keys too. Line › Structures › String builder… builds them in a window (below). Line › Structures › Display options › Volumes on the strings (3D) draws them on the solved strings (off by default). The examples' examples/synthetic-line/Insulators holds two assemblies with invented volumes (one string; two strings and a yoke).
The String builder#
Line › Structures › String builder… (decided 2026-10-31: "the builder window with a torus"; built, in active development, not approved yet) builds an assembly's volumes from the basic shapes in a window of its own, docked with 📌 like the check windows. It opens on the selected string's assembly (else the one shown last); the String shapes and String library tables open it on any assembly with their String builder ▾ button.
- Assembly: the string library's assemblies; its string's length is said (positions run from its top, 0, to the wire point).
- Start from: I string (grounded top fitting, the insulator — insulated —, grounded tower-side and electrified line-side arcing horns, electrified clamp), V string (each leg's shapes: the line places both legs, each carries the assembly's shapes), Double string (two strings across, 0.45 m apart, each its top fitting and insulator; one yoke, clamp and grading ring shared). A preset replaces the shapes; their sizes are invented starting values — set them to the real fittings.
- Add: the common fittings in one click — top fitting, insulator, arcing horns, clamp, grading ring (an electrified torus 0.15 m above the wire point), yoke —, or one shape of any kind (+ Shape).
- Strings, arrangement, spacing and the three freedoms of the assembly.
- Shapes: the list (its state's colour, kind, sizes and position in words); click a name to edit its fields below, Copy duplicates, 🗑 removes. Each field is explained beside it (hover the (?) for more); what is wrong (a tube too thick for its ring, a position beyond the string) is said under the fields.
- Preview: the assembly in its own axes in still air — front (across) and side (along), the string vertical with its top at the top and the wire point at the bottom, the shapes in their state's colours (grounded grey, electrified orange, insulated pale, as the 3D view draws them; a torus seen edge-on). Click a shape to edit it.
- Save to the library writes the assembly's file as the String shapes table does (one change: Undo takes it back); Revert drops the changes. A builder without changes follows the library (an undo, a table edit). Internal clearances… opens that check.
Library labels: every string in the library#
Each string carries a library label: the id of its assembly (insulator in the files). A labelled string takes its weight, wind area and stiffness from the assembly; its length is its own (or, in a structure type, the assembly's). In a project, the strings of the structures' own (not those inside a structure type's file) are all taken into the library: on opening, and whenever an edit puts a string without a label — strings of the same values (suspension or strain, length to the mm, weight, wind area, stiffness) share an entry, an existing one with those values or a new one (Suspension-3.500m-900N, Strain-…; entries named I-… before 2026-10-21 keep their ids, source "taken from the model's strings"); the labels go in with the edit (one undo). Strings without a weight (0 N: geometry only, e.g. imported) are not taken in and keep no label: a library entry's weight is a real weight, and a strain string without one gets the weight that holds it where the data puts it (Finite-element wire systems) — also when it names an assembly that gives 0 N. Line › Structures › String library is the library as a table: label, name, kind, length, weight, wind area, stiffness, half width (two strings), the four limits (max load, max swing, max across, max along; empty: not given), source, and how many strings use it. Edited there, every string with the label follows (a new length moves their wire points; two strings to one wire point: it goes where both meet; a length its strings cannot take is refused with the reason); rows can be added; a used row deleted (asked first, listing its strings) leaves its strings its values (and its limits, where they give none) under a matching or new label (one used by a structure type's strings cannot be deleted: change the type first).
Put the project's strings in a library#
Line › Structures › Put the project's strings in a library… (decided 2026-11-18) is for projects whose strings were imported or typed inline — their values written on the string, no library entry named — on the structures of the line and in the project's structure type files:
- Collect. Every string written inline in the project: the structures' own strings and the strings of the project's structure type files.
- Group. Strings of exactly the same values — kind (suspension or strain), length, weight, wind area, axial stiffness, rated load, the three swing limits, and whether it is a leg of a V — share one entry. The values are compared as stored, to the last digit: strings never merge by approximation. An entry of the project's library with exactly those values is reused. New entries get a readable, unique label: kind, length, weight and rating (
Suspension-3.500m-900N,V-leg-…,Strain-…-70kN). - Preview (a tool window; Escape cancels): the entries to make, each with its label (rename it there), its values and how many strings it serves (their names on hover); the entries reused; the strings left inline, each with its reason — a string without a weight (0 N: an entry would give it one), a post insulator (its entry is made in the library, with its ratings), a string with volumes of its own, a type string without a length.
- Apply writes the new
.ohlientries into the project's insulator library and points every grouped string at its entry (insulator = "<label>"), in the structures and in the structure type files, as one command (one undo takes it all back). - The results stay the same: each string keeps every value it has and only names its entry, whose values are its own — sags, tensions, loads and swings are unchanged (tested on the example: every weather case solved before and after, equal to the last digit).
A single string of a structure's Edit window: Make a library entry from this string does the same for that string alone (the Edit window).
Strings hanging from strings are built from single strings in the structure type (above), and a jumper may hang from a support string (Jumpers). Yokes and counterweights as strings are planned (DESIGN_GOALS §6, §11).
Using types in a line#
A structure in a line file references a type instead of listing its strings:
{ "id": "T12", "type": "DL380-tangent", "position": [2600123.4, 1200456.7, 512.3],
"orientation_deg": -31.5, "extension": "+3" }
orientation_deg is the direction of the type's local x axis (right of the line), degrees counter-clockwise from east. position is the centre on the ground: the type stands there with its feet on the ground, or height_adjust metres above it (e.g. 0.3 for foundations standing out of the ground; negative: sunk). When solving, OpenOHL places the type (--structures, --insulators library directories), keeps the structure's own points, strings and wire points as overrides (the same label; a wire point with a set replaces the type's with that set and what moves with it), leaves out those in omit / omit_sets, and aims every strain string at its neighbouring point along the cross-section.
Strings given as geometry vs library assemblies: a string with a library insulator is modelled as a free member (it needs its weight); a strain string given only as geometry (e.g. imported from another program) gets the weight that keeps its clamp where the data puts it — imported clamp positions already are the source's equilibrium.
Deriving libraries from an existing line#
cargo run -p ohl-cli -- structures derive my-line.ohl.json --out project/ --inline-strings
writes simple structure files, one per type, into project/Structures/ (version 6, 2026-10-21: per attachment a joint of kind attach, the attachment point on it, its string with its length and weight and its wire point with the set — labels A<set>-<phase> for the point and its joint, S<set>-<phase> and W<set>-<phase> to rename; a strain string level, ahead or back; a wire point without a string fixed where it is; a set hanging on several strings is derived as one string from their middle; files written before in the version 1 form, [[attachment]], are still read) and project/my-line-typed.ohl.json. Without --inline-strings, --out derived/ writes derived/structures/*.ohls, derived/insulators/*.ohli and derived/my-line-typed.ohl.json (the line referencing the types). Each structure's rotation is taken from its route (bisector of its back and ahead spans), attachment layouts that match within 1 cm become one type, and strings are classified from the geometry (cross-section ends are always strain assemblies; other clamps hanging below their attachment, swung less than 45°, are suspension strings) and grouped by kind, length and weight. The self-check reports how closely the derived libraries reproduce the attachment points and string lengths.
On a real 78-structure line (local check, data not in the repository) every structure turned out to be individual — each has its own layout — while about 1 500 attachments reduced to 33 insulator assemblies; the self-check reproduced all attachment points and lengths within 1 cm. Weights, stiffness and wind areas cannot be derived from geometry: fill them in.