About Line loss
From Factorio Mod PortalElectric grid power is lost along the wires, depending on distance, pole type and the power carried. DC power flow simulation. Optimise your electric grid!
Disclaimer: This mod is still in active development, balance and features may change in new versions.
An add-on for Power Overload, on its way to becoming standalone. Power is lost along copper wires, depending on resistance weighted distance, pole type and load. Runs a DC power flow simulation on each electric network. Every loss is visible in the electric network statistics. Check out the notebooks in the github page for a detailed explanation of how the mod works and for some cool graphs!
How it works
This mod simulates power transmission losses, on top of the Power Overload network separation with Transformers.
There exist three kinds of power transmission loss (for now):
- Line loss: proportional to
i^{2}r, where i is the current (assuming V constant over the whole network) and r the resistance weighted wire length; a DC power flow model simulates the power flow through each electrical network, and consumes part of the transmitted electricity through a hidden consumer;
- Transformer inefficiency: a transformer passes 99% (map setting) of what it receives; Power Overload's own efficiency is locked at 1 to avoid counting it twice.
- Transformer core loss: a fixed power draw of 0.1% of the transformer rating, which is the rating of the strongest pole on the transformer's weaker side.
Interface
- Line loss and Transformer losses consumers appear in the electricity overview
- Transformer panel to inspect its losses;
- Line loss Toolkit: a new panel including visualisation options, opened with any Line loss map view;
- Map views to draw line loading and power distribution, complementary to PO's network visualisation;
- An Energy Tab (adapted from Energy Category, see credits) to tidily hold all energy related entities;
Line loss calculation
Each wire loses a share of the power P it carries:
loss = P × min(p_tile × R × (0.1 + 0.9 × P / P_ref), 95%)
R = length × (r_A + r_B) / 2: the wire's resistance-weighted length (×2 for a transmission pole wired straight to a distribution pole)p_tile: map setting "Line loss per tile" (0.025%)P_ref=P_rating / 4- At
P = P_refa wire losesp_tile × R; it loses less below that (never under a tenth of it), and more above it: loss grows withP².
Gameplay
- Poles have different resistances based on their PO rating, and are classified as distribution or transmission poles;
r = √(P_big / P_pole), with P_big the big electric pole's rating (300 MW)
| Pole | Power Overload rating | Resistance per tile $r$ | Class | |----------------------|----------------------:|------------------------:|--------------| | Huge electric pole | 1 GW | 0.55 | Transmission | | Big electric pole | 300 MW | 1.00 | Transmission | | Substation | 125 MW | 1.55 | Distribution | | Compact substation | 125 MW | 1.55 | Distribution | | Medium electric pole | 60 MW | 2.24 | Distribution | | Small electric pole | 10 MW | 5.48 | Distribution |
- Transmission poles have no supply area
- Wiring a transmission pole straight to a distribution pole incurs in a penalty to the connection's resistance (×2).
- Power flow naturally splits over the whole network, lower resistance lines draw more power than higher resistance lines!
- Poles are checked for destruction based on their local power, replacing the PO check which is locked to "Nothing".
- Fulgora isolated networks are supported, as lightning rods and accumulators are counted as generators;
Performance
The DC power flow simulation is not light, and scales badly with the number of poles in a network. With the use of Transformers, we are breaking down the huge vanilla network into smaller ones, and this is what allows the simulation to be viable. Consider reducing the size of your biggest networks (find them in the Simulation tab) if you encounter slowdowns! On a 3000 poles base divided in 300 networks of uneven size, each electricity flow update takes about 40 ticks, and is done every 5 seconds.
Credits and licence
- Built on Power Overload by Xorimuth (Tom Burrows),
and uses parts of its code.
- The Energy tab is adapted from Energy Category by
Lumme (MIT), including its tab icon; the idea of moving every pole there from Power poles in energy tab by Ander_PC_.
- MIT licence (see LICENCE.txt).
Highlights
From source dataFootprint
Rated a light load on a server.
License
Published under MIT.
Last update
Its author last shipped an update today.
Line loss on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
- Server side
- Required on the server
- Server load
- light
- Smallest plan we suggest
- Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 0.4.1, released 2026-11-30
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 0.4.1 | 2026-11-30 | 2.1 | n/a |
| 0.4.0 | 2026-11-30 | 2.1 | n/a |
| 0.3.6 | 2026-11-27 | 2.1 | n/a |
| 0.3.5 | 2026-11-26 | 2.1 | n/a |
| 0.3.4 | 2026-11-25 | 2.1 | n/a |
| 0.3.3 | 2026-11-25 | 2.1 | n/a |
Dependencies
- Required: Power Overload
- Optional: Energy Category
Declared by the newest build that lists any. Required ones are installed with it on one-click installs.
Run Line loss on a Factorio server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogPerformance
Makes the game or server run faster or lighter without changing how it plays.
Runs on your server
From source side supportFactorio Mod Portal lists Line loss as required on the server. Check its Factorio Mod Portal page to see whether players need it too.
Compatibility
- Game
- Factorio
- Runs on
- Serverrequired on the server
Verified at the source
- ✓Factorio Mod PortalOfficial listing, checked 2026-11-30Open ↗
- ✓AuthorPiercarmine, as published on Factorio Mod Portal
- ✓LicenseMITFree


