From b1b289fc454ff01641dde8298f4fca8061fbf700 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Wed, 15 Feb 2023 14:01:00 +0100 Subject: [PATCH] add option to use electrolysis waste heat in district heating --- config.default.yaml | 1 + scripts/prepare_sector_network.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/config.default.yaml b/config.default.yaml index e939f9c0..e639938a 100644 --- a/config.default.yaml +++ b/config.default.yaml @@ -263,6 +263,7 @@ sector: ammonia: false # can be false (no NH3 carrier), true (copperplated NH3), "regional" (regionalised NH3 without network) use_fischer_tropsch_waste_heat: true use_fuel_cell_waste_heat: true + use_electrolysis_waste_heat: false electricity_distribution_grid: true electricity_distribution_grid_cost_factor: 1.0 #multiplies cost in data/costs.csv electricity_grid_connection: true # only applies to onshore wind and utility PV diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index a4e9f790..f5c3e225 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -2470,6 +2470,11 @@ def add_waste_heat(n): n.links.loc[urban_central + " Fischer-Tropsch", "bus3"] = urban_central + " urban central heat" n.links.loc[urban_central + " Fischer-Tropsch", "efficiency3"] = 0.95 - n.links.loc[urban_central + " Fischer-Tropsch", "efficiency"] + # TODO integrate useable waste heat efficiency into technology-data from DEA + if options.get('use_electrolysis_waste_heat', False): + n.links.loc[urban_central + " H2 Electrolysis", "bus2"] = urban_central + " urban central heat" + n.links.loc[urban_central + " H2 Electrolysis", "efficiency2"] = 0.84 - n.links.loc[urban_central + " H2 Electrolysis", "efficiency"] + if options['use_fuel_cell_waste_heat']: n.links.loc[urban_central + " H2 Fuel Cell", "bus2"] = urban_central + " urban central heat" n.links.loc[urban_central + " H2 Fuel Cell", "efficiency2"] = 0.95 - n.links.loc[urban_central + " H2 Fuel Cell", "efficiency"]