Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

kamilitsa's profile - activity

2020-05-25 12:06:00 -0500 received badge  Supporter (source)
2020-05-25 12:04:24 -0500 commented answer Parallelization of EnergyPlus simulations and ExpandObjects error

Thanks so much, it worked! It didn't occur to me that you could run ExpandObjects by itself and only then run the simula

2020-05-25 12:00:59 -0500 marked best answer Parallelization of EnergyPlus simulations and ExpandObjects error

I'm running EnergyPlus simulations using subprocess.call() in Python and it all works well when I run the simulations one by one in some kind of a for loop. However, I wanted to run multiple simulations at once using multiprocessing or joblib.Parallel and I keep getting an error related to ExpandObjects. Somehow the preprocessing is not performed for some of the .idf files and the .expidf file is not created, resulting in a fatal error. Interestingly, some of the simulations are completed successfully, so it seems to be related with the way the parallelization is done. I tried to play with different parameters (e.g. backend implementation type) but it didn't help.

The problem disappears when I use just one core by setting joblib.Parallel(n_jobs=1), but of course it makes the whole parallelization useless.

2020-05-25 12:00:59 -0500 received badge  Scholar (source)
2020-05-24 17:10:14 -0500 commented question Parallelization of EnergyPlus simulations and ExpandObjects error

I'm using subprocess.call() with -x option included

2020-05-21 12:57:50 -0500 received badge  Student (source)
2020-05-21 12:57:28 -0500 asked a question Parallelization of EnergyPlus simulations and ExpandObjects error

Parallelization of EnergyPlus simulations and ExpandObjects error I'm running EnergyPlus simulations using subprocess.ca