3

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

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?

Thanks

Waseem's avatar
2.5k
Waseem
asked 2015-01-30 03:12:38 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-05-17 12:43:01 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

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

subprocess.call('"%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.

Jamie Bull's avatar
5.1k
Jamie Bull
answered 2015-01-30 06:17:30 -0500, updated 2015-01-30 12:17:51 -0500
edit flag offensive 0 remove flag delete link

Comments

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's avatar 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's avatar Jamie Bull (2015-01-30 06:47:59 -0500) edit
add a comment see more comments