Line loss


Electric grid power is lost along the wires, depending on distance, pole type and the power carried. DC power flow simulation. Optimise your electric grid!

Overhaul
15 hours ago
2.1
71
Power

b Error on hover on transformer

a month ago

Put down transformer in existing game (no other transformer until now) with editor, hover over transformer and got this error. Was unable to reproduce the error.
Note: all poles showed 0MW/XYMW.

The mod Line loss (0.2.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event line-loss::on_tick (ID 0)
LuaEntity doesn't contain key neighbours.
stack traceback:
[C]: in function 'index'
__line-loss
/scripts/grid-diagram.lua:136: in function 'network_kind'
line-loss/scripts/grid-diagram.lua:173: in function 'update_panel'
line-loss/scripts/grid-diagram.lua:470: in function 'update_grid_diagram'
line-loss/control.lua:159: in function <line-loss/control.lua:154>

New response