From 17e9b4d1dfa5c861ec91d61e6d2859db58e5c75b Mon Sep 17 00:00:00 2001 From: yerbol-akhmetov Date: Thu, 21 Dec 2023 20:59:35 +0600 Subject: [PATCH] make resistive heaters separate of boilers --- scripts/prepare_sector_network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index c57f8e89..7eef4f50 100755 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -1827,7 +1827,7 @@ def add_heat(n, costs): lifetime=costs.at[name_type + " water tank storage", "lifetime"], ) - if options["boilers"]: + if options["resistive_heaters"]: key = f"{name_type} resistive heater" n.madd( @@ -1842,6 +1842,7 @@ def add_heat(n, costs): lifetime=costs.at[key, "lifetime"], ) + if options["boilers"]: key = f"{name_type} gas boiler" n.madd(