Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor write capactiy value #585

Merged

Conversation

cfe316
Copy link
Collaborator

@cfe316 cfe316 commented Nov 22, 2023

This is a refactor for enhanced readability.
This should help me add fusion in a subsequent PR.

This was tested on the VRE_STOR example and SmallNewEngland/ThreeZones (with CRM turned on). The results are identical other than some outputs which were -0.0 are now 0.0.

@cfe316 cfe316 requested a review from lbonaldo November 22, 2023 19:20
@cfe316 cfe316 force-pushed the refactor-write-capacity-reserve-margin branch from 08b5d4d to 264258a Compare November 22, 2023 19:26
@cfe316
Copy link
Collaborator Author

cfe316 commented Nov 22, 2023

Question for @gmantegna : is the risky-hour price determined by the CRM constraint dual supposed to be $1/MW? or $1000/MW?

Copy link
Collaborator

@lbonaldo lbonaldo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. I just added a couple of short comments. Thanks @cfe316!

cfe316 and others added 2 commits November 28, 2023 10:37
Co-authored-by: Luca Bonaldo <39280783+lbonaldo@users.noreply.github.com>
Co-authored-by: Luca Bonaldo <39280783+lbonaldo@users.noreply.github.com>
@cfe316 cfe316 merged commit 1033fff into GenXProject:develop Nov 28, 2023
7 checks passed
@gmantegna
Copy link
Collaborator

@cfe316 it should definitely be $/MW. Sorry for the delay.

cfe316 added a commit that referenced this pull request Nov 29, 2023
This is a followup to #585, to fix a previously un-tested bug.
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.

None yet

3 participants