feat:improve PtX excess heat handling#1944
feat:improve PtX excess heat handling#1944amos-schledorn wants to merge 49 commits intorefactor-ptes-boostingfrom
Conversation
…from Power-to-X processes
…mperature configurations for excess heat sources
…fficiency calculation to use the new parameter
|
Note: 36110d5 fixed a bug that caused the return flow temperature to be used in the COP approximation of all heat sources, including those pre-heating the return flow. |
cpschau
left a comment
There was a problem hiding this comment.
Great work @amos-schledorn! I think I am finally getting a sense for the convenience of enums 😄
I only have one question about the processing of the HB heat efficiency. Other than that, this looks good to me!
| costs.at[self.technology_data_name, "efficiency-heat"] | ||
| / costs.at[self.technology_data_name, "electricity-input"] |
There was a problem hiding this comment.
Why is the heat efficiency value of the technology data not used directly?
There was a problem hiding this comment.
This is because the Haber-Bosch link's bus1 is electricity -> scaling of "efficiency-heat" [MWh_th/MWh_NH3] to [MWh_th/MWh_el] is necessary .
There was a problem hiding this comment.
Understood (because electricity is on bus0).
| costs.at[self.technology_data_name, "efficiency-heat"] | ||
| / costs.at[self.technology_data_name, "electricity-input"] |
There was a problem hiding this comment.
Understood (because electricity is on bus0).
…ntation and implementation
…ge) (#1961) * Add lfp, vanadium, lair, pair battery technologies (Form-Energy Storage) Co-authored-by: Gianvito Colucci <gianvi.colucci@gmail.com> * add release notes Co-authored-by: Gianvito Colucci <gianvi.colucci@gmail.com> * add Copilot suggestion manually * fix documentation as suggested by Copilot * improve documentation with current method * make roundtrip_correction linked to battery tech * minor phrasing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Gianvito Colucci <gianvi.colucci@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Update renewable.py * Update schema.json --------- Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
* Add script path getter; update all `script` directives * force integration test on windows runner * Revert CI change --------- Co-authored-by: Lukas Trippe <lkstrp@pm.me>
* chore: image follow up * update version in pixi.toml
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