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

How to pass/send optimal design values from pareto optimization to EnergyPlus?

asked 2015-01-30 03:12:38 -0500

Waseem gravatar image

updated 2017-05-17 12:43:01 -0500

Hello All,

Is it possible to connect pareto optimization algorithm to EnergyPlus? I am not asking for tools available that can do optimization but how to send/pass optimal design variables (e.g supply air temperature, supply mass flow rate etc.) to EnergyPlus. In EnergyPlus, HVAC system is controlled through its own logic. How can we supersede this and send mass flow rate values to fan or supply temperature values to coiling coil?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-01-30 06:17:30 -0500

updated 2015-01-30 12:17:51 -0500

I'm not sure whether you want to change input variables or do runtime control. For input variables you can wrap EnergyPlus with a scripting language like Python, Ruby, etc, and using that to edit the input file, launch a run, and handle the results. The syntax I use is inspired by jEPlus where they denote values to be edited like @@variablename@@

I've posted a Python snippet for doing the IDF editing before. The link's here.

Launching a run is simple:

import subprocess'"%s" "%s" "%s"' % ([path to RunEPlus.bat], [path to IDF or IMF], [path to EPW]))

And then finally for handling the results I highly recommend using pandas as a really good time series data processing library.

If you're talking about changing values during runtime you'll need to look into EMS or BCVTB.

edit flag offensive delete link more


Hi @Jamie, Thanks for your reply but I am looking for superseding E+ default control function e.g. nergyPlus can control LowtemperatureRadiant based on different temperatures e.g. indoor air temperature, MRT, outdoor air temperature etc, My question is can we implement our own optimization algorithm so that we specify flow rate? thanks

Waseem gravatar image Waseem  ( 2015-01-30 06:37:41 -0500 )edit

Yes, I've just seen your question on the email group and now understand better. I think Yi Zhang is right when he suggests BCVTB.

Jamie Bull gravatar image Jamie Bull  ( 2015-01-30 06:47:59 -0500 )edit

Your Answer

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

Add Answer


Question Tools



Asked: 2015-01-30 03:12:38 -0500

Seen: 292 times

Last updated: Jan 30 '15