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

Finalize duplication of retrieve_data #1249

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

davide-f
Copy link
Member

@davide-f davide-f commented Dec 21, 2024

Closes #1073 and #1074

Changes proposed in this Pull Request

This PR builds on top of #1120 to avoid duplication of retrieve_data function, bump technology data version and drop cost_dir option.

Note: dropping cost_dir is in line with pypsa-eur and we also had a TODO on that, but before merging this PR, there is the need for a check by @hazemakhalek , @Eddy-JV or @energyLS given its use in the -sec model.
Moreover, bumping the latest version of the default technology data to the latest will change values of the CI

Checklist

  • I consent to the release of this PR's code under the AGPLv3 license and non-code contributions under CC0-1.0 and CC-BY-4.0.
  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Newly introduced dependencies are added to envs/environment.yaml and doc/requirements.txt.
  • Changes in configuration options are added in all of config.default.yaml and config.tutorial.yaml.
  • Add a test config or line additions to test/ (note tests are changing the config.tutorial.yaml)
  • Changes in configuration options are also documented in doc/configtables/*.csv and line references are adjusted in doc/configuration.rst and doc/tutorial.rst.
  • A note for the release notes doc/release_notes.rst is amended in the format of previous release notes, including reference to the requested PR.

@davide-f davide-f marked this pull request as draft December 21, 2024 12:43
@davide-f davide-f marked this pull request as ready for review December 21, 2024 12:54
@davide-f davide-f linked an issue Dec 21, 2024 that may be closed by this pull request
Copy link
Member

@ekatef ekatef left a comment

Choose a reason for hiding this comment

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

Hello @davide-f, looks like a very nice improvement!

My major concern is that the PR also contains some improvements which relate to improvements for alternative clustering. It feels like there may be some connections with other issues and fixes, but the context is not quite clear from the PR. Given the fact that alternative clustering seems to be one of the major points to be tackled, I'd suggest to keep in this PR only cost-related improvements and open another dedicated PR for the improvements on alternative clustering. What do you think?

The costs-related part looks great and basically ready to merge, unless there are some comments from @hazemakhalek @Eddy-JV and @energyLS

scripts/build_renewable_profiles.py Outdated Show resolved Hide resolved
scripts/build_renewable_profiles.py Outdated Show resolved Hide resolved
scripts/build_renewable_profiles.py Outdated Show resolved Hide resolved
@ekatef
Copy link
Member

ekatef commented Dec 21, 2024

@davide-f thanks a lot for introducing the changes! Totally agree that tackling the hydro improvements deserves a dedicated issue. Thanks for taking care about that 🙂

I think this PR is ready to merge if there is no objections from the experts on the sector-coupled part 🚀 Great work! 😄

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.

Update default version of technology_data used to retrieve data. Add params config to retrieve_cost_data
3 participants