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

EnergyPLus multi-objective and calibration optimization

asked 2022-04-28 09:10:54 -0500

Giacomo90's avatar

updated 2022-05-02 01:51:02 -0500

Hello everyone, I would like to know which kinds of tool does exist to run multi-objective analysis with E+, for model calibration and optimization problems. I saw Geopt is mainly for cost functions, while Jeplus does not seem to include multi-objective optimization. I saw also OpenStudio analysis spreadsheet, but did not find a tutorial or reference and, on Github, it says you have to use (and pay) amazon server and cloud services. Thank you for the help you can provide to a dummy in optimization tools.

edit retag flag offensive close merge delete


By the way, jEPlus+EA is capable of performing multi-objective optimization. Check this link. you can search for "jEPlus+EA" to find more posts.

Ammar De's avatar Ammar De  ( 2022-04-28 11:57:32 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2022-04-28 10:00:19 -0500

The OpenStudio Analysis Framework OSAF was created for this very purpose.

There are tutorials on how to setup and run analyses here

The PAT gui can help with setting up the problem formation here

You can setup the OSAF to run on local computing hardware using docker / k8s or leverage cloud providers here

edit flag offensive delete link more


I don't find any reference to OSAF in the book. In the calibration exercise it uses PAT tool within the open studio measures, but it says you have to run the analysis on cloud system like AWS or to the OpenStudio Server (which I did not get what it could be).

Giacomo90's avatar Giacomo90  ( 2022-07-12 11:28:00 -0500 )edit

OSAF is the framework (F) which encompasses PAT/OS-Server. OS-Server is the actual server which runs the models.

BrianLBall's avatar BrianLBall  ( 2022-07-12 11:35:32 -0500 )edit

Thank you got it! Is OS-Server free? As AWS servers need a subscription for what I have seen...

Giacomo90's avatar Giacomo90  ( 2022-07-12 11:40:54 -0500 )edit

The code is open source and free to use. You can stand up your own local server if you are familiar with Docker containers. Helm charts are avail to launch OS-Server onto cloud resources, but you would have to pay the cloud providers for use of their hardware

BrianLBall's avatar BrianLBall  ( 2022-07-12 11:49:30 -0500 )edit

answered 2022-04-30 03:23:47 -0500

Nishesh's avatar

Hello, I have used the JEPlus EA's implementation in DesignBuilder to attempt to multi-objective and calibration optimisation. As mentioned by Ammar (or as link provided), you can do it directly in JEPlus or same implementation within DesignBuilder.

In DesignBuilder we can use the Optimisation (JEA based) and Python scripting functionality to create an multi-objective optimisation problem, where you can aim to minimise CVRMSE and NMBE values and use any additional E+ outputs or custom outputs or statistical metrics as constraints.

You will define your typical range of variables such as loads, equipment efficiencies, their schedules or operational parameters using pre-defined or custom variables. The optimisation engine minimised the objectives (error metrics) and python scripting is used to calculate the error between measured results in measured data and simulation results for each iteration in each generation and reported back. Visualisation of such results would be in parallel coordinates.

You can use Idf import to get your EnergyPlus model's Geometry and construction into DesignBuilder.

To setup rest of the analysis you need to write a Python script like in the attached images.

image description

image description

edit flag offensive delete link more

Your Answer

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

Add Answer

Training Workshops


Question Tools



Asked: 2022-04-28 09:10:54 -0500

Seen: 641 times

Last updated: Apr 30 '22