First time here? Check out the Help page!

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

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

asked 10 years ago

Waseem's avatar

updated 7 years ago

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 10 years ago

updated 10 years ago

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.

Preview: (hide)
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  ( 10 years ago )

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  ( 10 years ago )

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: 10 years ago

Seen: 402 times

Last updated: Jan 30 '15