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

use as standalone simulator

asked 2017-03-06 16:44:29 -0500

bonsai gravatar image

updated 2017-03-08 06:38:44 -0500

I am trying to use reinforcement learning to develop the control settings for a thermostat. To do this, I need a programmatic way to run an energy simulation one step at a time, access the current state of the model and possibly change some settings at each step.

Is there a way to do this with EnergyPlus and/or OpenStudio?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-03-07 08:12:15 -0500

updated 2017-03-08 06:41:31 -0500

In EnergyPlus you can do this using the EMS (Energy Management System (doc)) scripting facility, which OpenStudio now supports as well. There are also several packages that use this facility to support co-simulation, most notably BCVTB (Building Control Virtual Test Bed).

edit flag offensive delete link more


Just for completeness, you could also create a FMU: you can create a FMU of your control algorithm and import it to E+, or create an FMU of E+ and import that in your control algorithm. Please also read the ExternalInterface Section of the I/O ref Guide, which deals with FMU and BCTVB, and the dedicated External Interface(s) Application Guide

Julien Marrec gravatar imageJulien Marrec ( 2017-03-08 06:40:54 -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

1 follower


Asked: 2017-03-06 16:44:29 -0500

Seen: 748 times

Last updated: Mar 08 '17