Skip to content

Commit fb91229

Browse files
author
cpschau
committed
skip adjustments in prepare_sector_network if subnodes activated
1 parent 0bab6d5 commit fb91229

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/prepare_sector_network.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5780,6 +5780,11 @@ def add_enhanced_geothermal(
57805780
if options["cluster_heat_buses"] and not first_year_myopic:
57815781
cluster_heat_buses(n)
57825782

5783+
if not options["district_heating"]["add_subnodes"]:
5784+
maybe_adjust_costs_and_potentials(
5785+
n, snakemake.params["adjustments"], investment_year
5786+
)
5787+
57835788
n.meta = dict(snakemake.config, **dict(wildcards=dict(snakemake.wildcards)))
57845789

57855790
sanitize_carriers(n, snakemake.config)

0 commit comments

Comments
 (0)