Skip to content

Remove large numbers as no-limit pattern from unserved energy and transmission limits - #1397

Open
eranschweitzer wants to merge 3 commits into
sylvan-energy:developfrom
eranschweitzer:feature/no_limit_tx
Open

Remove large numbers as no-limit pattern from unserved energy and transmission limits#1397
eranschweitzer wants to merge 3 commits into
sylvan-energy:developfrom
eranschweitzer:feature/no_limit_tx

Conversation

@eranschweitzer

Copy link
Copy Markdown
Contributor

At present all transmission lines require a limit to their capacity. However, it is possible that a transmission line is needed due to the zonal balance constraint but we know ahead of time that it should never be binding.
The currently solution is to set the capacity to be some large number, however, that has the implication of artificially inflating the right-hand-side range of the optimization, which can lead to numerical issues in the solution.

This MR makes it possible to leave out either the min and max of the transmission capacity and the constraint is then fixed.
This is the same pattern that is used for the timepoint specific transmission flow constraint.

A similar thing is done for the unserved energy limit (if it is left out the constraint is skipped), for similar numerical reasons.

eranschweitzer and others added 3 commits July 1, 2026 21:47
Makes it possible for a transmission line to have no lower or upper limit.
In these cases, the constraints are skipped for that line and period.
This is useful for modeling lines where the flow capacity is known to
not be a limiting factor. An example may be an radial connection where
congestion in or out is not expected to occur.

This is also useful for using the simultaneous flow constraints to model
PTDFs by splitting up zones into multiple sub-zones with unlimited
radial connection to the "main" zone.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants