Knowledgebase: Run Time
Run EnergyPlus in Parallel
Posted by Tianzhen Hong, Last modified by Michael J. Witte on 28 November 2017 07:18 PM
EnergyPlus is compiled with multi-threaded library options but is compiled to meet the majority of machines in the target platform. Currently, the machine must support the SSE2 instruction set.

A simulation run with EnergyPlus only utilizes a CPU. However, multiple parametric runs can be launched in parallel if these runs are independent. The way to do it is to create multiple folders and copy files EnergyPlus.exe, Energy+.idd, DElight2.dll, EPMacro.exe (if macros are used), ExpandObjects.exe (if HVACTemplate or Compact HVAC objects are used) from the original EnergyPlus installed folder. Inside each folder, copy IDF file as in.idf and EPW file as in.epw, then run EnergyPlus.exe from each folder. This is better handled with a batch file. If the Energy+.ini file exists in one of the created folders, make sure it is empty or points to the current EnergyPlus folder.

The benefit of run time savings depends on computer configurations including number of CPUs, CPU clock speed, amount of RAM and cache, and hard drive speed. To be time efficient, the number of parallel EnergyPlus runs should not be more than the number of CPUs on a computer. The EnergyPlus utility program EP-Launch is being modified to add the parallel capability for group simulations. The long term goal is to run EnergyPlus in parallel on multi-core computers even for a single EnergyPlus run.
(604 vote(s))
Not helpful