-
Notifications
You must be signed in to change notification settings - Fork 961
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
Create helper script to sum subZone capacities #4724
Create helper script to sum subZone capacities #4724
Conversation
cc @unitrium :) |
I already created a python script to handle this (not merged yet). It uses the python classes we have for capacity which I think might be better, so that if we do a change there it will be reflected. It will be merged with the US aggregation ;) |
Would it be possible to add this to the backend instead as a computational step, so we don't even need to sum the capacities for the countries with subzones? |
Should be doable, I'm also thinking it could be nice to keep a trace of the evolution of production capabilities somewhere. I will check that with the team, if we can add it in our backlog. For the short term, we will stick with the YAML files so that we can ship quickly the US aggregation. |
I already summed the US capacities with my own script, so you don't have to keep that in mind 😅. I also think it would be nice with historical capacities, I actually created an RFC for it a while back at #4396 but the historical part of it got lost when we split the files. |
Closed in favor of #4741. |
This helper script sum a countries sub zone capacities and writes them to the country level capacity object.