-
Notifications
You must be signed in to change notification settings - Fork 960
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
[RFC] Split out capacities from zones.json to facilitate historical capacities #4396
Comments
Another small benefit from this would be auto labeling for PRs that affects the capacity 🙂 |
I like this idea, For context, when we added historical view we disabled capacity because the live one of course is not valid for the full 5 year period. Having multiple capacity values seems like a good idea however there are some things we'd need to consider Off the top of my head:
Also adding this discussion for some context on splitting out zones.json #2962 |
My idea was to use the same structure as the co2eq intensities so:
"capacities": {
"DK-DK1": "capacityObject" // This would be valid for live data. (current functionality)
"DK-DK2": [
{
"datetime": "2020-01-01" // This would be valid from 2020-01-01 to 2020-12-31.
"capacity": "capacityObject"
},
{
"datetime": "2021-01-01" // This would be valid from 2021-01-01 to indefinitely.
"capacity": "capacityObject"
},
]
}
{
"datetime": "2020-01-01"
"capacity": "capacityObject"
"source": "sourceString" // or potentially an array of strings
"_comment": "full_source_or_clarification" // Optional
} |
We now have historical production information in the map but I found myself missing seeing the installed capacities on these new time periods.
So in this RFC I request we split out the capacities from the zones.json file into a new capacity.json file.
This new file would only contain capacities (either just zone capacities or zone + exchange capacities) but would allow for historical values.
I propose we adopt the same structure as for the co2eq values and allow the capacity object for each zone to be either a single capacity object or a array of objects containing the capacity object and a datetime (and possibly source).
The text was updated successfully, but these errors were encountered: