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

Fix bug with underground H2 storage creation #672

Merged
merged 1 commit into from
May 24, 2023

Conversation

koen-vg
Copy link
Contributor

@koen-vg koen-vg commented May 24, 2023

For some small model regions, none of the H2 cavern types specified in the configuration might actually be available, in which case the line h2_caverns = h2_caverns[cavern_types].sum(axis=1) throws an error.

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.

For some small model regions, none of the H2 cavern types specified in
the configuration might actually be available, in which case the line
`h2_caverns = h2_caverns[cavern_types].sum(axis=1)` throws an error.
@koen-vg
Copy link
Contributor Author

koen-vg commented May 24, 2023

By the way it looks like the CI failed because the website where the ENSPRESO data is hosted (cidportal.jrc.ec.europa.eu/ftp/jrc-opendata/ENSPRESO/ENSPRESO_BIOMASS.xlsx) is down at the moment, and I can confirm from personal experience that this happens semi-frequently and when it does it's very annoying! Snakemake will be stuck waiting for the website to respond at the time of building the workflow DAG and only fail after a little while. If it would be possible to include the biomass database in the pypsa-eur databundle that would be really nice!

(Of course this is not related to this particular PR; if desired I could open an issue about this.)

@fneum
Copy link
Member

fneum commented May 24, 2023

Thanks @koen-vg! LGTM!

The ENSPRESO outages are very annoying. Will add them to the data bundle. #673

@fneum fneum merged commit 015a6a1 into PyPSA:master May 24, 2023
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