make resistive heaters separate of boilers
This commit is contained in:
parent
25cfcaf97b
commit
17e9b4d1df
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user