Merge pull request #195 from PyPSA/solve-threads
solve_network: take threads from solver setting
This commit is contained in:
commit
7760c30d3c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user