Skip to content

Energy penalty for carbon capture - #287

Open
millingermarkus wants to merge 9 commits into
PyPSA:masterfrom
millingermarkus:energy_penalty_fix
Open

millingermarkus wants to merge 9 commits into
PyPSA:masterfrom
millingermarkus:energy_penalty_fix

Conversation

@millingermarkus

Copy link
Copy Markdown
Contributor

Closes #283.

Changes proposed in this Pull Request

Fix bug preventing energy penalty calculations for carbon capture technologies.
Based on #286 to enable it to run through.

Checklist

  • Code changes are sufficiently documented; i.e. new functions contain docstrings and further explanations may be given in doc.
  • Data source for new technologies is clearly stated.
  • Newly introduced dependencies are added to environment.yaml (if applicable).
  • A note for the release notes doc/release_notes.rst of the upcoming release is included.
  • I consent to the release of this PR's code under the GPLv3 license.

yun-long-zhang pushed a commit to yun-long-zhang/technology-data-electrobiofuel that referenced this pull request Oct 5, 2026
…#287)

- Remove erroneous 'break' in energy_penalty() that applied the penalty
  to only the first of the carbon capture technologies
- Extend energy penalty to 'central gas CHP CC' and
  'central solid biomass CHP powerboost CC'
- Fix branch ordering for biogas CC and derive efficiency-heat for gas CHP
- Use co2_capture instead of hard-coded solid biomass CO2 intensity in
  efficiency-heat calculation
- Make add_energy_storage_database() robust to missing units, NaN carriers
  and metadata (fixes crash preventing the workflow from running through)
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.

energy_penalty() applies the capture energy penalty to only one of six technologies

1 participant