Skip to content

Conversation

amos-schledorn
Copy link
Contributor

@amos-schledorn amos-schledorn commented Sep 24, 2025

This PR adds efficiencies for excess heat recovery from renewable fuel production in district heating.
The considered processes are those for which PyPSA-Eur (Fischer-Tropsch, methanolisation, Haber-Bosch, methanation, electrolysis). Electrolysis is already covered:
https://github.com/PyPSA/pypsa-eur/blob/3df3152db900730df34eca86646f4a490940d48a/scripts/prepare_sector_network.py#L5291-L5417

Changes proposed in this Pull Request

  • For Fischer-Tropsch, methanolisation and Haber-Bosch, DEA technology data is assumed.
  • For methanation and fuel cells, 95% total efficiency, based on hard-coded PyPSA-Eur values is translated to heat-losses = 0.05.

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.

Edit

After review from @cpschau, I've removed the hard-coded heat losses for methanation and fuel cells.

@amos-schledorn amos-schledorn marked this pull request as draft September 24, 2025 12:06
@amos-schledorn amos-schledorn marked this pull request as ready for review September 24, 2025 12:33
@amos-schledorn amos-schledorn changed the title feat:add waste heat from renewable fuel production feat:add waste heat from renewable fuel production and fuel cells Sep 24, 2025
@amos-schledorn amos-schledorn marked this pull request as draft September 24, 2025 14:05
@amos-schledorn amos-schledorn marked this pull request as ready for review September 24, 2025 15:47
Copy link
Contributor

@cpschau cpschau left a comment

Choose a reason for hiding this comment

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

Great addition @amos-schledorn ! I went quickly through the changes (didn’t double-check the DEA data input).

For the entries based on model assumptions, could we keep a clearer separation from data-based inputs?

Regarding the energy balances affected by the new efficiency parameters: do we define either efficiency-to-heat or heat losses, and take the remainder as the difference?

Finally, I noticed the two 0.002 efficiencies in the methanolisation process—could you clarify these?

Comment on lines 13 to 14
methanation,heat-losses,2020,0.05,per unit,2017,Based on PyPSA-Eur assumptions (total efficiency of 0.95),
fuel cell,heat-losses,2020,0.05,per unit,2017,Based on PyPSA-Eur assumptions (total efficiency of 0.95),
Copy link
Contributor

Choose a reason for hiding this comment

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

Where in PyPSA-Eur do I find these assumptions? Shouldn't there be a clear distinction between the data from trusted sources and the parameters that are computed based on assumptions within the model?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. Upon reconsideration, I've removed the heat losses - should be parameters in PyPSA-Eur, since the assumption is made there.

fuel cell,FOM,5.0,%/year,"Danish Energy Agency, inputs/technology_data_for_el_and_dh.xlsx",12 LT-PEMFC CHP: Fixed O&M,2015.0,,
fuel cell,c_b,1.25,50oC/100oC,"Danish Energy Agency, inputs/technology_data_for_el_and_dh.xlsx",12 LT-PEMFC CHP: Cb coefficient,2015.0,,
fuel cell,efficiency,0.5,per unit,"Danish Energy Agency, inputs/technology_data_for_el_and_dh.xlsx","12 LT-PEMFC CHP: Electricity efficiency, annual average",2015.0,,
fuel cell,heat-losses,0.05,per unit,Based on PyPSA-Eur assumptions (total efficiency of 0.95),,2017.0,,
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't full understand the energy balance of the fuel cell:
Is it 1u of hydrogen --> 0.5u electricity + 0.05u heat losses + 0.45u high value heat?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See above.

Comment on lines 4112 to 4113
methanolisation,efficiency,0.002,per unit,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",98 Methanol from hydrogen: District heating,2020.0,,
methanolisation,efficiency-heat,0.002,per unit,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",98 Methanol from hydrogen: District heating,2020.0,,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this value intentionally duplicated for both efficiencies?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, fixed that.

@amos-schledorn
Copy link
Contributor Author

@cpschau Thanks for the review! I think I've addressed everything. Also checked values with the DEA data and updated the Haber-Bosch heat-efficiency accordingly.

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