pypsa-meets-earth/pypsa-earth
Enable parallelization of powerplantmatching in build_powerplants
Open
#846 opened on Aug 26, 2023
datagood first issuehelp wanted
Repository metrics
- Stars
- (351 stars)
- PR merge metrics
- (Avg merge 28d 15h) (35 merged PRs in 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.