Skip to content

Lines and interchanges

A transmission line connects exactly two buses and lets power flow between them, up to a capacity limit in each direction. The power transferred across a line is the exchange.

A limit for each direction

A line has a capacity in the direct direction (source to target) and another in the reverse direction. Both are hard limits.

Where prices separate

Once a line capacity binds, each bus resolves its own marginal price, and dispatch in one bus cannot freely substitute for a shortfall in another.

Lossless in the dispatch

The dispatch does not reduce the delivered power. Transmission losses are computed after the solve and reported as an output.

A line connects two buses and has a limit for each direction Source bus Target bus direct flow (source → target) up to the direct-direction capacity (MW) reverse flow (target → source) up to the reverse-direction capacity (MW) Lossless in the dispatch: losses are computed and reported afterwards. Small exchange cost: it only breaks ties and is not a real transmission cost.
Figure: a transmission line between two buses. Schematic illustration, not to scale.
  • Direct flow (source to target) MW
  • Reverse flow (target to source) MW

In each block, each flow lies between zero and the capacity of its direction, and these bounds are hard, with no slack. The direct flow leaves the source bus and enters the target bus; the reverse flow does the opposite. Two non-negative flows are used instead of one signed flow, which simplifies the bounds and, through the exchange cost, naturally prevents flow in both directions at once.

  • The source bus and the target bus. The source-to-target direction defines the direct flow.
  • The capacity in the direct direction and in the reverse direction, in MW.
  • Optionally, a loss percentage. It is used for reporting only and does not enter the dispatch.
  • Optionally, an exchange cost for this line, which replaces the case default.
  • Entry and exit stages, when the line does not exist throughout the study.
  • Optionally, capacities that vary by stage and, if you wish, by block, in absolute MW. They replace the base capacities. A value of zero closes the line in that direction.

The exchange cost is a small cost per MWh of flow. It is a regularization term, not a real transmission cost: it prevents degenerate solutions with unnecessary power circulation and encourages minimal transfers when the model is indifferent. It is set well below every generation and deficit cost, so that it only breaks ties. If it noticeably changes dispatch decisions, it is set too high.