add missing overrides to snakemake.input for operational rules

This commit is contained in:
Fabian Neumann 2022-09-10 19:48:40 +02:00
parent b962f133d8
commit 7a7c7f0344

View File

@ -685,6 +685,7 @@ if config["foresight"] == "myopic":
rule solve_operations_network:
input:
overrides="data/override_component_attrs",
pre=RDIR + "/prenetworks/elec{weather_year}_s{simpl}_{clusters}_lv{lv}_{opts}_{sector_opts}_{planning_horizons}.nc",
post=RDIR + "/postnetworks/elec{capacity_year}_s{simpl}_{clusters}_lv{lv}_{opts}_{sector_opts}_{planning_horizons}.nc",
output: RDIR + "/operations/elec{capacity_year}_s{simpl}_{clusters}_lv{lv}_{opts}_{sector_opts}_{planning_horizons}_{weather_year}.nc"
@ -705,6 +706,7 @@ def solved_previous_year(wildcards):
rule solve_operations_network_myopic:
input:
overrides="data/override_component_attrs",
pre=RDIR + "/prenetworks/elec{weather_year}_s{simpl}_{clusters}_lv{lv}_{opts}_{sector_opts}_{planning_horizons}.nc",
post=RDIR + "/postnetworks/elec{capacity_year}_s{simpl}_{clusters}_lv{lv}_{opts}_{sector_opts}_{planning_horizons}.nc",
previous=solved_previous_year