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

Handle updates to cost data automatically #175

Open
lindnemi opened this issue Aug 29, 2024 · 1 comment
Open

Handle updates to cost data automatically #175

lindnemi opened this issue Aug 29, 2024 · 1 comment
Assignees

Comments

@lindnemi
Copy link
Collaborator

Whenever there is a new release of https://github.com/pypsa/technology-data we should update the ariadne-data/costs/{mean,optimist,pessimist} files. Ideally that would happen automatically in the snakemake workflow, but creating the files requires executing the technology-data workflow with different configurations for the data uncertainty.

I just wasted an hour trying to find out why a new key was not present in the cost data, just to realize that retrieve_costs is disabled in pypsa-ariadne.

We should have at least a helpful error message that checks if the version in ariadne-data is up to date with the version specified in default-config.

To automate updating the ariadne-data/costs we could add a CI.

For each new release of technology-data, a runner is started, executes the technology data workflow with the required configs, and places the output in ariadne-data.

Maybe this is something @lkstrp could tackle?

@toniseibold toniseibold self-assigned this Sep 5, 2024
@toniseibold
Copy link
Contributor

Technology-data is going to be a package. Once that's done I will write a rule to put together the cost data.
Until then, I manually upload the missing two cost horizons.

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

No branches or pull requests

2 participants