Parallel EnergyPlus runs with Colibri or optimization components




I wonder if for parametric EnergyPlus runs (for example with Colibri) or multiple EnergyPlus runs based on optimization algorithms (with components that I am not aware of for the time being), we can use the full capacity of local processor in parallel simulations.



@farhang.tahmasebi the answer is true. You can try this example.


@minggangyin I meant simultaneous runs using multiple processor cores. As I ran that example file, EnergyPlus models were running one by one.


If you want to use the plugins as it is then the answer is no, and it’s because how Colibri, Galapagos and all the other iterative plugins in Grasshopper work.

Whenever you change a value in Grasshopper it starts a Solution and once the solution is Expired and Grasshopper starts a new Solution there will be no access to the data from the Expired Solution. This will be a challenge for a plugin like Colibri since they need to collect the results for each Solution before starting a new Solution.

On the other hand if you want you can create your own custom workflow to achieve what you want by separating two steps:

  1. Generate all the design options without running them.
  2. Collect the path to all the generated files and run them in parallel. For EnergyPlus and OpenStudio Honeybee has components that runs idf/osm files in parallel.
  3. Run collibri again and this time only load the result files and create the output csv file.