Skip to content

Commit 23c4240

Browse files
committed
move demand_baselines from snakefile to config
1 parent 0150144 commit 23c4240

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Snakefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,10 @@ rule plot_scenario_comparison_regrets:
11661166
run=lambda w: [
11671167
r
11681168
for r in config_provider("run", "name")(w)
1169-
if r in ["LowDemand", "HighDemand"]
1169+
if r
1170+
in config_provider("iiasa_database", "regret_run", "demand_baselines")(
1171+
w
1172+
)
11701173
],
11711174
decision=config_provider("run", "name"),
11721175
allow_missing=True,

config/config.de.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ iiasa_database:
4646
reference_scenario: KN2045_Mix
4747
region: Deutschland
4848
regret_run:
49+
demand_baselines: # names of scenarios that define the demand variations to be considered in the short-term runs
50+
- HighDemand
51+
- LowDemand
4952
scope_to_fix: EU # Supported values are DE and EU
5053
strict: false # If false, the model allows capacity expansion for virtual links and bottlenecks
5154
h2_vent: true

0 commit comments

Comments
 (0)