3

How to run multiple simulations at the same time using opyplus

Is it possible to run multiple simulations at the same time using python and opyplus library?

I would like to do the same as the ep-launch group of simulations does, but as I am using a MacBook, ep-launch is not available. Can anyone share a script that does it? Thank you very much in advance!

siri_'s avatar
31
siri_
asked 2023-04-08 09:59:58 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-04-10 09:32:43 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

For a dead simple example that only uses Python standard library (and optional tqdm for a nice progress bar), see https://github.com/jmarrec/RunMultipl...

Julien Marrec's avatar
29.7k
Julien Marrec
answered 2023-04-11 07:11:15 -0500
edit flag offensive 0 remove flag delete link

Comments

Hi, thank you for the reply. It did not work for me though, it gives the following error: Can't get attribute 'run_single_simulation' on <module '__main__'="" (built-in)&gt;<="" p="">

I have 2000 simulations and only one epw file. Does anyone have another suggestion? ;(

siri_'s avatar siri_ (2023-04-15 04:46:50 -0500) edit
add a comment see more comments