Remove large numbers as no-limit pattern from unserved energy and transmission limits - #1397
Open
eranschweitzer wants to merge 3 commits into
Open
Remove large numbers as no-limit pattern from unserved energy and transmission limits#1397eranschweitzer wants to merge 3 commits into
eranschweitzer wants to merge 3 commits into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.