diff --git a/Snakefile b/Snakefile index e56d86d2..76dca9ab 100644 --- a/Snakefile +++ b/Snakefile @@ -474,7 +474,7 @@ if config["foresight"] == "overnight": solver=RDIR + "/logs/elec_s{simpl}_{clusters}_lv{lv}_{opts}_{sector_opts}_{planning_horizons}_solver.log", python=RDIR + "/logs/elec_s{simpl}_{clusters}_lv{lv}_{opts}_{sector_opts}_{planning_horizons}_python.log", memory=RDIR + "/logs/elec_s{simpl}_{clusters}_lv{lv}_{opts}_{sector_opts}_{planning_horizons}_memory.log" - threads: 4 + threads: config['solving']['solver'].get('threads', 4) resources: mem_mb=config['solving']['mem'] benchmark: RDIR + "/benchmarks/solve_network/elec_s{simpl}_{clusters}_lv{lv}_{opts}_{sector_opts}_{planning_horizons}" script: "scripts/solve_network.py"