pypsa-meets-earth/pypsa-earth
View on GitHubEnable 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
- (PR metrics pending)
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.