Skip to content

Commit 4b5e490

Browse files
committed
new naming convention for heat_vent
1 parent 8908254 commit 4b5e490

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

config/config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ sector:
291291
2040: 0.6
292292
2045: 0.8
293293
2050: 1.0
294-
central_heat_vent: true
294+
heat_vent:
295+
urban central: true
296+
urban decentral: true
297+
rural: true
295298
co2_spatial: true
296299
biomass_spatial: true
297300
#TBD what to include in config

scripts/add_existing_baseyear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def add_chp_plants(n, grouping_years, costs, baseyear):
663663

664664
# CHPs that are not from MaStR
665665

666-
if options["central_heat_vent"]:
666+
if options["heat_vent"]["urban central"]:
667667
uch_buses = n.buses.index[n.buses.carrier == "urban central heat"]
668668
missing_uch_buses = pd.Series(
669669
{

scripts/prepare_sector_network.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2661,7 +2661,6 @@ def add_heat(
26612661
unit="MWh_th",
26622662
)
26632663

2664-
# if heat_system == HeatSystem.URBAN_CENTRAL and options["central_heat_vent"]:
26652664
if options["heat_vent"][heat_system.system_type.value]:
26662665
n.add(
26672666
"Generator",

0 commit comments

Comments
 (0)