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

What types of EnergyPlus models benefit from using multiple threads?

asked 2014-11-28 11:20:02 -0600

updated 2015-07-10 21:15:41 -0600

The documentation for the ProgramControl object states that some portions of EnergyPlus are able to use more than one processor. So firstly, which portions of the code are able to take advantage of this?

And secondly, what types of models are likely to run faster when the Number of Threads Allowed field is set to 0 to use all threads rather set to run on a single thread? Do models with more or less complex geometry benefit? More or less complex HVAC systems? Specific objects or combinations of objects?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
9

answered 2014-11-28 16:18:26 -0600

The only part of EnergyPlus that was multi-threaded was the interior radiant exchange calculation, which was parallelized across zones. Large multi-zone models benefited from this when EnergyPlus ran as the sole application on a multi-core machine. However, the implementation (OpenMP) was such that there was a 5-10% performance "tax" just to compile in the parallel code. There was also the problem that slowdowns were observed when multiple EnergyPlus simulations were run in parallel or when EnergyPlus was running alongside other computationally-intensive applications. Because of these drawbacks (primarily the first one), this feature has been disabled in more recent versions. <EPDevHat>We may revisit it in the future now that we are able to use lower-overhead C++ threads rather than OpenMP, but we are working on other, more robust and lower-overhead performance improvements first.</EPDevHat>

edit flag offensive delete link more

Comments

@_AmirRoth_ looks like this is an old thread. Do you know if there has been any updates to this? Thanks, Mike

Ski90Moo's avatar Ski90Moo  ( 2022-07-09 22:08:16 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 2014-11-28 11:20:02 -0600

Seen: 1,088 times

Last updated: Nov 28 '14