-
Notifications
You must be signed in to change notification settings - Fork 13
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
Renewable capacity map #188
Conversation
The linter fails as you can see. It comes from
you need to re-order the import statements as shown above |
The |
reordered with ddc3a00 |
added with 708aa5e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks
feat: renewables at retirements script and notebook
Pull Request Etiquette doc
Purpose
Map plant capacity, used to show locations of renewables at retirements on scrolly-telling. Relates to Zenhub issue #177. This is basically a restart of PR 180, which i converted to a draft and then got reassigned to other things. There was a desire from the last review to add some pytest type testing to this, which i agree is needed in the long term. I am transitioning at this time to working 100% on the Catalyst project and so am trying to merge in my code quickly. Apologies that I didn't get to the pytests but at this point merging so the code is available for others to use for the dashboard and scrolly-telling is important so I am expediting this PR.
What the code is doing
Code uses the change table from a scenario to identify new plants and then aggregates by coordinates, and maps the plant capacity for those new plants with circle size indicating capacity (pmax).
Testing
manual testing
Where to look
plot_renewable_capacity_map is the location of the function map_plant_capacity. Demo notebook has been added as well, plot_renewable_capacity_map_demo in the demo folder.
Usage Example/Visuals
Time estimate
15 minutes. Code is very straightforward and very similar to carbon emissions plotting code.