Open software for OverHead Lines

OpenOHL

Overhead power lines, designed in the open.

Free, open-source software for the engineers who design overhead power lines. OHL-Design lays out the line: route, structures, wires, clearances and drawings. OHL-Structure models the pylons and the loads on them.

Pre-alpha and in active development: nothing is finished or approved yet, and every result must be checked by a qualified engineer.

Illustration: lattice pylons carrying three-phase wires across hilly ground, with a field of survey points

At a glance

How far it is

Pre-alpha. Everything on this page is built and in active development, none of it approved yet. OHL-Structure is at an earlier stage, and the country server with its admin app, OHL-Server, is the newest part. Where it stands

Try it

Free and open source. Build it from the source code, or download the pre-release for macOS, Windows or Linux. Get OpenOHL

Learn it

The tutorial builds a first line on invented ground in about 20 minutes, with a picture for every step. Start the tutorial

OHL-Design

In active development

The whole line,
in one window.

3D, plan and profile show the same line. Click a span to see its wires and their sag and tension in every weather case.

The OHL-Design window with Testland, an invented test line: layers on the left; in the middle a 3D view of a double-circuit line crossing a valley with a river, a smaller line passing beneath the long span, and the hotbar of tool icons; below it the profile of the whole route from T1 to T13; on the right the properties of the selected structure T6 with its type, position, wire points and the spans it carries.
Testland, an invented test line (every name, place and coordinate made up). Rendered headless by the application's own test harness.

In active development

From a route
to a drawing set.

From the first route to the finished sheets. Every edit can be undone, and only what it affects is calculated again.

  1. 01

    Route

    Alignments with stationing and line angles; a structure can serve two routes.

  2. 02

    Structures

    Pylons placed from your library of types, by position, angle and height.

  3. 03

    Strings and wires

    Suspension, V and tension strings, and post insulators, fixed or hinged; each section strung with its cable and circuit, joined by jumpers.

  4. 04

    Sag and tension

    Exact catenaries in 3D for every weather case, the wind from any direction, with creep, uneven ice and broken wires; the structures rigid or giving under the wires' pull.

  5. 05

    Clearances

    To the ground, the survey, other lines and between the wires, by voltage and in the wind.

  6. 06

    Loads

    Structures in groups, picked by hand or by rules, each with its load cases; the forces of its wires go to OHL-Structure or a design code.

  7. 07

    Drawings

    Plan and profile sheets in your office's own template, as PDF or DXF.

In active development

Three views.
One selection.

Select a structure in one view and the others follow. Change the weather case and every wire is redrawn.

Large surveys, smooth

Terrain, LiDAR and wires load in and out as you move, so a long line stays fluid.

Plan and profile

Along each route, over orthophotos, maps or your DXF drawings. Measure distances with their bearing and elevation angle, and the angle between three points.

Live while you edit

Drag a structure and its wires follow; checks run before are marked out of date. A red dot shows the point a click will pick, and a CAD control scheme is one setting away.

OHL-Structure

Earlier stage: not for use yet

As much pylon
as you have.

One pylon at a time, from a rough sketch to a full lattice model, checked under the line's loads.

Earlier stage than OHL-Design: shown to say where it is going, not for use yet.

Level 3, full design: every member with a section and material, and the supported joints at the feetL90×9L120×12pinned

Full design

Every member has a cross-section and a material, double angles and double channels among them, and the supports are set; a pole has its material and wall thickness.

Ready for the structural analysis and for export; level 4 adds every joint in full. Members are checked by ASCE 10-97 (the default) or SIA 263, wood poles by SIA 265, steel pole shafts by ASCE/SEI 48-19. Built, in active development, not approved yet.

Built from a few dimensions

Legs, bracing, crossarms and peaks generated for you; poles by their outline. A type's strings can be post insulators, fixed or hinged. Attachment points stand alone until you link them to a joint; move one in either application and the other is told. Choose the members proposes for each group of members the lightest section of your library that passes the code's check and still fits its joints, also from a level 2 outline; nothing changes until you apply it.

Load cases you can read

The line's forces and the structure's own loads, each case described in a sentence, the wind from any direction. Local wind, ice and snow per structure, the snow by SIA 261.

Structural analysis and joints

3D frame and truss analysis with members coloured by usage, and exports to IFC and SAF. Wind on inclined members by the SIA 261 inclination factors, its force coefficients where no drag factor is given; tension-only members' compression is a setting. Joint details drawn: bolts, gusset plates and their welds (the welds checked by SIA 263), the plates correctable by hand. A fourth level holds every joint in full; the analysis stays simple unless you choose to take the joints into it. Lay out joints places the member ends so that no steel runs through steel, as a detailer would: a light end is first slid along its own line onto the flange it bolts to and bolted there directly, one bolt may go through two light ends and that flange, and an end twisted a few degrees off its flange is pulled flat by its bolts; a gusset plate comes only where nothing else fits, held by bolts of its own. A joint counts as whole only with no clash left and every plate held; one it cannot solve is left for a detail by hand, with the reason. Built, in active development, not approved yet; its bolts stay provisional until the design codes choose them.

OHL-Design with its structures

In active development

Towers that give.
Wires that follow.

By default every structure holds its wires where it is drawn. Choose a higher calculation level and each structure with a model answers the wires' pull, case by case, until the wires and the structures agree.

Rigid, linear or full

One setting of the line. Level 3 gives each structure a linear stiffness at its attachment points; level 4 solves each structure in full, with P-Delta and tension-only members and guys going slack or taut. Beside each choice, the time it took and the change it made on your computer.

Never below rigid

Wire tensions, string checks, structure loads and the loads sent to OHL-Structure take the rigid and the flexible solve of each case and keep the worse. The clearance checks do not take it yet: they solve with the structures rigid.

As built, as surveyed

Keep the structures as deflected in one weather case, such as the survey day's: the views, tables, clearances and the LiDAR comparison use it. Measured movements of a structure's feet, a settled foundation or a leg pushed out, are taken too.

Not to be confused with a structure's detail level (above). User guide · Theory, and what is not on the safe side

In active development

Every span.
Every case. Every gust.

Say what the wires must stay clear of, and how far. OHL-Design finds the smallest clearance in every span, and the weather and wind that cause it.

Illustration: a span over ground and trees. On the left, the profile with the vertical clearance under the wire; on the right, a cross-section where the wire swings out in wind steps and the radial distance to the nearest tree point is measured.verticalProfileCross-section, wind in stepsradial0 → case

Vertical and radial

Straight below the wire, or the shortest distance in any direction, every step counted as it runs and stopped at once.

In the wind

The wire swung along its arc from both sides by default, also solved at the pressures in between, or wind in steps from calm to the full case; cases that differ only in their pressure share their solves. Stiff jumpers in a stable shape as the wind rises and falls. Between the wires also under unequal wind.

By voltage

To the ground, the survey, other lines, the line's own wires and the tower body. Every check window has its own guide page: what each setting does, how it is solved, and what is not on the safe side.

In active development

Trees, work zones
and the survey.

Trees from the LiDAR survey and work near the line, checked in the same weather and wind as the clearances.

Grow-in

Trees that would grow too close to a wire before the next cut: the required clearance plus the growth, against the wire where it hangs lowest or swings furthest.

Fall-in

Trees that could reach a wire if they fell: each tree tipped over its root ball towards the wire, down to the ground. Isoclearance lines show where trees may stand.

Work near the line

Safety volumes around the wires for work zones, and lines on the ground beside the route, exported to DXF, IFC and KML.

In active development

Sheets drawn
your office's way.

Plan and profile sheets laid out by your office's own template.

Your title block

Fields, logos, revision table and legend; an empty required field stops the export.

Versions of the line

Existing, new and to be removed on one sheet, each in its own style.

Plans and plan sets

Route, situation and phase plans, printed together as one PDF.

The project in numbers

Validation cases with reference values
322
Rust crates in the workspace
43
Design-code plugins in the public code
8
Desktop applications, plus the command line
3

Counted in the repository on 30 November 2026.

Engineering

In active development

Open numbers,
all the way down.

Every calculation is in the source code and explained in the theory manual, with its references and assumptions.

Wires

Exact catenaries in 3D on swinging strings and post insulators, with bundles, jumpers, ice, broken wires and wind at any angle. A hinged post pivots with the jumpers on it; a stiff jumper takes a stable shape.

Design codes

The code checks are plugins: OpenOHL computes, a code's plugin checks, and what a code needs is handed to its plugin. Plugins for NESC, CSA C22.3, IEC 60826, EN 50341, ASCE MOP 74 and GO 95, with the values from your own copy of the standard. The member and joint checks by ASCE 10-97 and SIA 263 already run as plugins shipped with the applications; wood poles by SIA 265, steel pole shafts by ASCE/SEI 48-19 and the SIA 261 snow and wind factors are still in the core for now.

In the end, one plugin per code family for both applications: the Swiss codes SIA 260, 261, 262, 263 and 265 together in one SIA plugin for OHL-Design and OHL-Structure, and the other codes the same way. Planned.

Validation

322 cases checked against reference values, among them the worked examples of CIGRE TB 324.

More

Line parameters, electric and magnetic fields, the conductor surface gradient in 2D cuts (checked against closed forms and HVLBuzz 2.0), lightning shielding and galloping ellipses (both kept on the safe side, and saying in their results where they cannot be), thermal rating (also the temperature and the clearance at the operating current), structure spotting, a staking table, bill of materials. Built, in active development, not approved yet.

Drawings and exchange

  • SVG
  • DXF
  • PDF
  • PNG
  • XML (open schema)
  • LandXML
  • GeoJSON
  • Shapefile
  • GeoPackage
  • IFC
  • SAF
  • KML/KMZ
  • CSV
  • XLSX

In active development

Extend it.
Don't fork it.

Add a design code, a check, a file format or an importer as a plugin, without changing OpenOHL itself. Start one from a template, build it anywhere, check it before you share it. Python for scripts and reports.

  • A template for each of the eleven kinds of plugin, and a minimal one: ohl plugin new writes a folder that builds on its own.
  • ohl plugin check loads it as the applications will and calls each part once.
  • The design codes' checks are plugins too: OpenOHL hands a code's plugin what it needs, and the code's rules stay in the plugin.
  • Plugins built for interface 0.3 keep loading: every change is tested against the released interface and against plugins kept as they were built.
  • Sandboxed, with a time and memory limit on every call; a plugin that asks for more asks you again after it is removed and installed again.
  • A plugin brings its own help pages, opened from the windows it adds to.
  • Any licence, closed ones included: the interface is under the Mozilla Public License 2.0.

Writing plugins · How versions are kept

Terminal
# a new plugin of one of eleven kinds
ohl plugin new my-format --kind io
cd my-format

# build it for WebAssembly
cargo build --release --target wasm32-wasip2

# check it as the applications will use it
ohl plugin check .
ok    loads as io-plugin
ok    interface version 0.3
…
passed: 0 error(s), 0 warning(s)

Collaboration

In active development

One line.
The whole team.

One person hosts the project, the others join it, and everyone sees the same line.

  • Server mode (pre-alpha): encrypted, by personal invitation, with roles.
  • Web client (base): the line in a browser.
Illustration: a main line with revisions, a design alternative branching off and merging back after reviewmainroute Bmerge after reviewtag
  • Version history with branches for design alternatives.
  • Compare versions by sag, tension and clearance.

For every line of a grid in one database: the country server, below.

Country server

Built, in active development, not approved yet

A whole country's lines.
Each user on their part.

A network's server keeps every line of a grid in one PostgreSQL database. Each user picks the routes they work on and sees and edits only what their rights allow. On the desktop nothing changes: the work is a project file of today's format, and any line can be exported on its own as an .ohl file.

The newest part of OpenOHL: built in November 2026 and tested on a synthetic test country, not yet run as a real network's server nor on a server computer of its own. Every part below is built and in active development, none of it approved yet.

Working sets

Whole routes, a part of a route by station range or from one structure to another, or an area on the map, always snapped out to whole tension sections and saved by name. The lines around the camera come as read-only context.

Rights down to single objects

Roles such as viewer, designer, checker, library maintainer and admin, given for the network, a region, a line, a route or part of one, a kind of object, a single object or a library entry. Nothing is visible until granted; what is hidden is never sent, and every change of rights is audited.

Country libraries

Wires, structure types, insulator assemblies, weather cases and rules kept once for the whole network. A locked kind changes only through requests a maintainer grants or refuses, and through releases; a release moves no line, and built lines stay pinned to theirs.

Shared towers

A multi-circuit tower carries several lines' routes. An edit that would break another line's connection is refused and names it; one that only moves it marks that line's results out of date and tells its owners.

Branches and merges

Branches over a working set store only their changes. A merge that breaks a connection at a shared tower is a conflict, named; one that moves another route's tower on a protected main line waits for a review.

Checks with their neighbours

Clearances to other lines' wires, the magnetic field with the lines within 500 m (its result says it leaves out those farther away) and the loads on shared towers pull in what they need. A neighbour the user may not see is computed on the server and only counted. Each result lists what it took in, and is marked out of date when that changes.

Offline working sets

Export a working set with its neighbours read-only, work and check where there is no connection, and bring back only the changes as a bundle. It lands on a new branch, never on the main line, with conflicts listed, not settled for you.

Organisation sign-in

Personal invitations, or the organisation's own accounts (OpenID Connect) in OHL-Design and in the web viewer: no password typed into OpenOHL, tokens kept in memory only, accounts mapped by the network's admins.

Security, backups, deployment

A security review of the server, each finding fixed and tested or accepted with its reason. Backups with a restore drill that compares every line, migrations refused without a recent backup, and Docker Compose files for the database, the server and its backups.

OHL-Server, the admin app

A third desktop application, for a network's admins only: it runs the network's server itself for a small office or a test, or connects to a server running on its own. Users and groups, roles, and assignments that show who gains or loses what before they are saved; a simplified map of the routes; seeing the network as another user sees it; libraries, lines exported and imported, the audit, backups and the restore drill. Each admin sees only the pages and objects their rights allow, and every change is audited. OHL-Server

Measured on a synthetic test country of 12 000 pylons in 147 lines, on one computer with the database on it: the server reads every line at its start in 2.4–2.6 s, and 80 users joining at once see their first view after 3.8 s (median). The measurements

Working sets · A network's server · Signing in · Offline working sets · Deployment · The security review · Why it is built this way

Yours to read,
run and improve.

Free under the GNU Affero General Public License v3.0 or later: modified versions, also those offered as a service, stay open.

Clean-room

Written independently from standards, papers and textbooks.

Validation first

ohl validate runs every validation case and fails when one drifts.

Headless engine

Every calculation also runs from the ohl command line and Python; commands that only read or compute open the project read-only.

The source code is public on GitHub, free to read, build and fork. For now, contributions (issues and pull requests) are limited to accepted collaborators.

Where it stands.

Pre-alpha: everything here exists as a first version and is in active development. OHL-Structure is at an earlier stage. The roadmap lists what is simplified or left for later.

In development now

  • OHL-Design: route, structures, wires, sag and tension, clearances, vegetation, sheets; each check window with its own guide page, galloping ellipses and lightning shielding now among them.
  • Line and structures together: calculation levels 3 (a linear stiffness per structure) and 4 (each structure solved in full), never below rigid; the structures kept as deflected in a reference case, and their measured foot movements.
  • Wind from any direction in the weather and load cases, on the wires at an angle, with its own theory page; every windy case drawn from both sides. New projects start with default weather and load cases (values for checking, not a design basis).
  • The swing band solved at pressures in between, cases differing only in pressure sharing their solves, and stiff jumpers in a stable shape as the wind rises and falls.
  • Load cases per position: structures in groups, picked by hand or by rules; the Structure loads window computes their loads when you press Run, in parallel, showing its progress.
  • Post insulators, fixed or hinged: a hinged post pivots with the jumpers on it, its hinge free unless you give it a friction.
  • OHL-Structure, earlier stage: geometry, load cases, analysis, member capacities and the joints; member wind by the SIA 261 inclination factors, a tension-only setting, attachment points moved and linked with the line. The members are checked by ASCE 10-97 and SIA 263 as plugins shipped with the applications.
  • The member sizer in OHL-Structure: the lightest passing section of your library proposed for each group of members, also from a level 2 outline; proposals only.
  • Automatic joint layout in OHL-Structure: each joint's member ends placed so that they fit, light ends lapped onto the flange first, gusset plates only where needed and held by their own bolts, a joint counted whole only when it is, one it cannot solve left for a detail by hand; the bolts provisional until the codes choose them. It does not lay out every joint yet: on the real towers it is measured on, about half of the joints it can lay out come out whole; the rest are listed with their reason for a person to detail or check (status).
  • Around the line: electric and magnetic fields, lightning shielding, the thermal rating.
  • A plugin SDK: templates for every kind of plugin, a check before sharing, versions kept.
  • The country server: every line of a network in PostgreSQL, working sets, rights and roles down to single objects, country libraries, shared towers, branches over a working set, checks with their neighbours, offline working sets, organisation sign-in, a security review, backups and deployment files; above.
  • OHL-Server, the admin app for a network's server: users, roles and assignments, the map, libraries, lines, the audit and backups.
  • A tutorial in two parts: a first line in about 20 minutes, then jumpers, checks, loads and versions; its pictures made by a test that does every step.
  • 322 validation cases with reference values.
  • Prebuilt pre-releases for macOS, Windows and Linux, with the user manual inside (the latest, v0.0.3 of 13 November 2026, is older than some of the above: build from source for everything).

Coming

  • Members and joints together

    The joint layout asking the member sizer for a bigger member where an end does not fit, then the members sized with their joints laid out in every round.

  • Every code a plugin

    The code checks moved out of the core into plugins: SIA 260, 261, 262, 263 and 265 in one SIA plugin for OHL-Design and OHL-Structure, other codes the same way; everything a code needs reachable to its plugin. ASCE 10-97 and SIA 263 already run as plugins; the bolts are to be chosen by the codes.

  • Clearances with the structures giving

    The clearance checks taking the line's calculation level; for now they solve with the structures rigid, or as kept in the reference case.

  • More of the country server

    OHL-Design's check windows asking the network for checks with their neighbours; terrain, point clouds and backgrounds served by the network; editing in the web client, and versions compared in the views; the server and OHL-Server tried on a server computer of their own.

  • 1.0

    A stable plugin interface, the complete theory manual and validation report, translations.

Further ahead

Two more applications on the same engine, in this order. Neither is started yet.

  1. 1. OHL-Foundations

    Foundations and their checks, under the loads from the structures.

  2. 2. OHL-Substations

    Substations: the gantries, busbars and equipment where lines end.

Get OpenOHL.

Free and open source. Pick your platform and how you want it.

1 Platform
2 How
3 Extras

Your setup

macOS · Build from source

  1. Install Rust (stable) from rustup.rs.

  2. Get the source and start OHL-Design with the synthetic example line:

    git clone https://github.com/Gay-Lussac/OpenOHL.git
    cd OpenOHL
    cargo run --release -p ohl-app -- \
      examples/synthetic-line/synthetic-line.ohl.json \
      --terrain examples/synthetic-line/synthetic-survey.csv \
      --weather examples/synthetic-line/weather-cases.ohlwc

Free under AGPL-3.0-or-later. Pre-alpha: verify every result with a qualified engineer. For now, issues and pull requests are limited to accepted collaborators.

Learn it in 20 minutes

Part 1 of the tutorial builds a first line: the ground, a route, six structures and three phases strung on them. Part 2 adds jumpers, the results, checks, the loads for the structures and versions. Every value is invented, and every picture is made by a test that does each step, so it matches the program.

Start the tutorial

The OHL-Design window with the tutorial's invented line, nine parts numbered: 1 the menus, 2 the quick bar, 3 the pages 3D and Plan, 4 the 3D view of a short line over flat brown ground, 5 the hotbar of nine tools, 6 the profile with the wires and the ground, 7 the Next steps list of what the line still needs, 8 the properties of the selected span with its weather cases and tensions, 9 the status bar.
The tutorial's map of the window. The line and every value in it are invented.