Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
I'm not sure about this one; we save one set of supply curves that are meant to work for all supported region resolutions, but this approach would bake the regions into the supply curves.
And we want to make the classes user-adjustable at runtime anyway (#59), so I think the direction we're going is to stop writing the classes from hourlize and instead determine them dynamically during the run.
Collaborator
Author
|
Per discussion with @mmowers as well as comment from @patrickbrown4 above, closing this PR since tech class assignment in hourlize is set for deprecation by PR #59 |
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.
Summary
This small PR adds functionality for region-specific class binning of resource supply curves to
hourlize/resource.py.Implementation notes
Logic is added to the
add_classes()function in resource.py that bins classes either nationally or sub-nationally based on whether or not aregioncolumn exists in the input data. Class data without aregioncolumn have one appended to it containing a singleCONUSentry.The class data is then binned for each entry in the
regioncolumn (data mapped with the singleCONUSentry are effectively binned at national resolution)Issues resolved
This PR addresses the following comment in resource.py and was initially part of changes made for PR #184:
ReEDS/hourlize/resource.py
Lines 457 to 459 in 766d4b3
Validation, testing, and comparison report(s)
Checklist for author
Details to double-check
d_objective.gms, they are included inobjective_function_params.yamlfor completeness checkinghourlize/resource.pywas rerun to regenerate the existing/prescribed VRE capacity dataGeneral information to guide review
Did you use LLM tools (chatbot or copilot) in the preparation of this PR? If so, describe how
Tag points of contact here if you would like additional review of the relevant parts of the model