Skip to content

Fix negative maximum contingency in spinning reserves#149

Open
cclyfblink wants to merge 1 commit intoswitch-model:masterfrom
cclyfblink:fix-spinning-maximum-contingency-nonnegative
Open

Fix negative maximum contingency in spinning reserves#149
cclyfblink wants to merge 1 commit intoswitch-model:masterfrom
cclyfblink:fix-spinning-maximum-contingency-nonnegative

Conversation

@cclyfblink
Copy link
Copy Markdown

Constrains MaximumContingency to be non-negative in the spinning reserves module.

When no unit or project contingencies are enabled, Spinning_Reserve_Contingencies is empty, but MaximumContingency is still included in Spinning_Reserve_Up_Requirements. Without a lower bound, solvers can assign a negative value to MaximumContingency, which can offset other positive upward reserve requirements.

Tested with conda run -n switch-env python run_tests.py.

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.

1 participant