make resistive heaters separate of boilers

This commit is contained in:
yerbol-akhmetov 2023-12-21 20:59:35 +06:00
parent 25cfcaf97b
commit 17e9b4d1df

View File

@ -1827,7 +1827,7 @@ def add_heat(n, costs):
lifetime=costs.at[name_type + " water tank storage", "lifetime"], lifetime=costs.at[name_type + " water tank storage", "lifetime"],
) )
if options["boilers"]: if options["resistive_heaters"]:
key = f"{name_type} resistive heater" key = f"{name_type} resistive heater"
n.madd( n.madd(
@ -1842,6 +1842,7 @@ def add_heat(n, costs):
lifetime=costs.at[key, "lifetime"], lifetime=costs.at[key, "lifetime"],
) )
if options["boilers"]:
key = f"{name_type} gas boiler" key = f"{name_type} gas boiler"
n.madd( n.madd(