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 rule to update IRENA renewables capacities #756

Merged
merged 6 commits into from
Oct 18, 2023

Conversation

tgi-climact
Copy link
Contributor

@tgi-climact tgi-climact commented Oct 11, 2023

This PR add an automated rule to retrieve data from IRENA. This was useful to get updated values for renewables capacities. This PR has updated values up to 2022 (previously 2018).

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.
  • Changes in configuration options are added in all of config.default.yaml.
  • Changes in configuration options are also documented in doc/configtables/*.csv.
  • A release note doc/release_notes.rst is added.

@tgi-climact tgi-climact force-pushed the feature/retrieve-irena branch 2 times, most recently from d4d324b to 43e20a2 Compare October 11, 2023 12:31
Copy link
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

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

Looks good, just some minor suggestions.

If the link is somewhat reliable, one could even set retrieve_irena: true by default and completely deleted "data/existing_infrastructure/*_IRENA.csv" files from repository.

rules/retrieve.smk Outdated Show resolved Hide resolved
rules/retrieve.smk Outdated Show resolved Hide resolved
scripts/retrieve_irena.py Outdated Show resolved Hide resolved
fneum and others added 4 commits October 11, 2023 16:17
@tgi-climact
Copy link
Contributor Author

Looks good, just some minor suggestions.

If the link is somewhat reliable, one could even set retrieve_irena: true by default and completely deleted "data/existing_infrastructure/*_IRENA.csv" files from repository.

I guess so. It's a fixed query directly provided by IRENA. Please note that the query is configured to not update time periods.

@fneum fneum merged commit c254e95 into PyPSA:master Oct 18, 2023
2 of 3 checks passed
@fneum
Copy link
Member

fneum commented Oct 18, 2023

Thanks @tgi-climact for this nice PR!

@tgi-climact
Copy link
Contributor Author

Thanks @tgi-climact for this nice PR!

You're welcome @fneum !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants