fix boiler buses for existing heating
This commit is contained in:
parent
d40ff8e963
commit
268ff93783
@ -552,7 +552,7 @@ def add_heating_capacities_installed_before_baseyear(
|
|||||||
nodes,
|
nodes,
|
||||||
suffix=f"{heat_system} gas boiler-{grouping_year}",
|
suffix=f"{heat_system} gas boiler-{grouping_year}",
|
||||||
bus0="EU gas" if "EU gas" in spatial.gas.nodes else nodes + " gas",
|
bus0="EU gas" if "EU gas" in spatial.gas.nodes else nodes + " gas",
|
||||||
bus1=f"{nodes} {heat_system} heat",
|
bus1=nodes + " " + heat_system.value + " heat",
|
||||||
bus2="co2 atmosphere",
|
bus2="co2 atmosphere",
|
||||||
carrier=heat_system.value + " gas boiler",
|
carrier=heat_system.value + " gas boiler",
|
||||||
efficiency=costs.at[heat_system.gas_boiler_costs_name, "efficiency"],
|
efficiency=costs.at[heat_system.gas_boiler_costs_name, "efficiency"],
|
||||||
@ -575,7 +575,7 @@ def add_heating_capacities_installed_before_baseyear(
|
|||||||
nodes,
|
nodes,
|
||||||
suffix=f" {heat_system} oil boiler-{grouping_year}",
|
suffix=f" {heat_system} oil boiler-{grouping_year}",
|
||||||
bus0=spatial.oil.nodes,
|
bus0=spatial.oil.nodes,
|
||||||
bus1=f"{nodes} {heat_system} heat",
|
bus1=nodes + " " + heat_system.value + " heat",
|
||||||
bus2="co2 atmosphere",
|
bus2="co2 atmosphere",
|
||||||
carrier=heat_system.value + " oil boiler",
|
carrier=heat_system.value + " oil boiler",
|
||||||
efficiency=costs.at[heat_system.oil_boiler_costs_name, "efficiency"],
|
efficiency=costs.at[heat_system.oil_boiler_costs_name, "efficiency"],
|
||||||
|
Loading…
Reference in New Issue
Block a user