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 in add_heating_capacities_installed_before_baseyear #706

Merged
merged 2 commits into from Aug 22, 2023

Conversation

daniel-rdt
Copy link

fix in add_heating_capacities_installed_before_baseyear to account for case when there is no rural heating demand for some nodes in network.

Closes # (if applicable).

Changes proposed in this Pull Request

if-else check in list-comprehension on l.444 to avoid error because rural heating demand does not exist for that region, i.e. is zero.

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.

daniel.rdt and others added 2 commits July 28, 2023 15:09
…r case when there is no rural heating demand for some nodes in network
@fneum fneum merged commit 33305f9 into PyPSA:master Aug 22, 2023
5 checks passed
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.

None yet

2 participants