pypsa-meets-earth/pypsa-earth

Enable parallelization of powerplantmatching in build_powerplants

Aperta

#846 aperta il 26 ago 2023

 (0 commenti) (1 reazione) (0 assegnatari)Python (349 fork)auto 404
datagood first issuehelp wanted

Metriche repository

Star
 (351 stelle)
Metriche merge PR
 (Merge medio 28g 15h) (35 PR mergiate in 30 g)

Descrizione

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.

Guida contributor