pypsa-meets-earth/pypsa-earth
Enable parallelization of powerplantmatching in build_powerplants
Aberta
#846 aberto em 26 de ago. de 2023
datagood first issuehelp wanted
Métricas do repositório
- Stars
- (351 estrelas)
- Métricas de merge de PR
- (Mesclagem média 28d 15h) (35 fundiu PRs em 30d)
Description
Describe the feature you'd like to see
It would be nice to enable parallelization of powerplantmatching.
This is pretty easy by potentially changing the parameter parallel_duke_processes to true in configs/powerplantmatching_config, however, the option process_limit shall be dynamically changed depending on the thread parameter in snakemake or other option.
Personally, I'd be prone to use the thread parameter available from snakemake: when greater than 1, the parallel_duke_processes is dynamically set to true.