feat:improve PtX excess heat handling #1944
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Integrates utilisation of excess heat from Power-to-X processes (electrolysis, Fischer-Tropsch, Sabatier, Haber-Bosch, methanolisation, fuel cells) into the new heat-source structure.
Changes
definitions/heat_source.pyHeatSourceenumHeatSourceTypecategorization (INEXHAUSTIBLE, SUPPLY_LIMITED, STORAGE, PROCESS_WASTE)has_constant_temperature→temperature_from_configprepare_sector_network.add_waste_heat()toHeatSourceenum__init__fromHeatSourceenumprepare_sector_network.pyadd_waste_heat(): Reduced from ~80 lines to ~30 using loop over PtXHeatSourcesSmall refactoring changes
build_cop_profiles/run.pyto usetemperature_from_configbuild_heat_source_utilisation_profiles.pyto usetemperature_from_configrules/build_sector.smkto usetemperature_from_configConfig Changes
Waste Heat Efficiency Changes
The old implementation used hardcoded approximations. The new implementation uses
efficiency-heatvalues from technology-data where available:0.95 - efficiency(~0.15)efficiency-heat0.84 - efficiency(~0.14)efficiency-heat0.15 * total_energy_input / electricity_input~3.75)efficiency-heat/electricity-inputheat-output / hydrogen-input(~0.088)0.95 - efficiency(=0.15)0.95 - efficiency(=0.45)Checklist
pixi.toml(usingpixi add <dependency-name>).config/config.default.yaml.doc/configtables/*.csv.these instructions <https://pypsa-eur.readthedocs.io/en/latest/data_sources.html>_ have been followed.doc/release_notes.rstis added.Testing
Configs
Base branch
Feature branch, same config but with same temperatures as implicitly assumed before
(only changes are waste heat efficiencies)
Feature branch, default config
Results
objective values
Excess heat utilisation
Urban central heat balance
Base
Feature, 200°C PtX temps
Feature, default PtX temps