First time here? Check our help page!
3

use as standalone simulator

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?

bonsai's avatar
31
bonsai
asked 2017-03-06 16:44:29 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2017-03-08 06:38:44 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

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).

__AmirRoth__'s avatar
4.4k
__AmirRoth__
answered 2017-03-07 08:12:15 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2017-03-08 06:41:31 -0500
edit flag offensive 0 remove flag delete link

Comments

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's avatar Julien Marrec (2017-03-08 06:40:54 -0500) edit
add a comment see more comments