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

Add historical capacity extraction #12

Merged
merged 6 commits into from
May 9, 2024
Merged

Conversation

irm-codebase
Copy link
Collaborator

Fixes #11 ... somewhat

Two changes:

  • parsing of Lombardi's study was improved to get the correct amount of installed capacity (no more excessive fossil fuel).
  • I added the possibility of creating the initial capacity using powerplantmatching. Unfortunately, this dataset turned out to be quite incomplete overall (Italy is missing 20% of its historical capacity in 2015, MWh storage capacities for pumped hydro are VERY wrong in the dataset). I kept the script in case we want to move the start year or introduce another country. But I trust Lombardi's data more.

fixed an issue where oil generation would have ten times the expected value
improved parsing by standardizing grouping methodology
improved checkers for unprocessed technology/node combinations
@irm-codebase irm-codebase added the enhancement New feature or request label May 1, 2024
@irm-codebase irm-codebase requested a review from brynpickering May 1, 2024 14:30
@irm-codebase irm-codebase self-assigned this May 1, 2024
@irm-codebase irm-codebase changed the title Add historical capacity Add historical capacity extraction May 1, 2024
@irm-codebase irm-codebase marked this pull request as draft May 2, 2024 09:51
@irm-codebase
Copy link
Collaborator Author

Converted to draft while I fix some documentation oddities.

@irm-codebase
Copy link
Collaborator Author

@brynpickering I'd like to request some help with the readthedocs bug triggered by this PR...

I've been trying to debug this for a while, but I have not managed to find the source (I'm not very knowledgeable with templating for docs). For what I gather the issue comes from readthedocs directly?

brynpickering
brynpickering previously approved these changes May 7, 2024
Copy link
Member

@brynpickering brynpickering left a comment

Choose a reason for hiding this comment

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

I haven't gone into the parsing code in great detail - I will trust that you are processing things appropriately! Comments are relatively minor, decide on what you want to resolve and then you're free to merge

@irm-codebase irm-codebase marked this pull request as ready for review May 8, 2024 15:00
@irm-codebase
Copy link
Collaborator Author

@brynpickering Added all your suggestions. Ready for review!

@brynpickering brynpickering merged commit 6604e27 into main May 9, 2024
7 checks passed
@brynpickering brynpickering deleted the add-historical-capacity branch May 9, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic building of historical capacity for test models
2 participants