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

Runtime API - multiple runs [closed]

asked 2020-09-02 13:25:13 -0500

Sergio Ortiz gravatar image

updated 2020-10-08 12:16:27 -0500

Hi all,

I am working on integrating E+ with OpenAI Gym to train reinforcement learning agents. When using the new runtime API, I am getting an error when trying to run multiple simulations. image description

The documentation says to run clear_callbacks before making multiple runs - but it doesn't make any effect.

Some people ran the simulation in a different process and communicated through pipes but I would like to use new API callback features to simplify the process.

Any hint about what is going on?

Thanks in advance,

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Sergio Ortiz
close date 2020-09-06 05:53:57.191497

1 Answer

Sort by ยป oldest newest most voted
4

answered 2020-09-06 05:53:34 -0500

Sergio Ortiz gravatar image

After updating to version EnergyPlus 9.4.0 IO Freeze, I notice the runtime API has changed introducing a new StateManager. Using this version and adapting the code, the issue disappears.

Hope this helps

edit flag offensive delete link more

 

Question Tools

2 followers

Stats

Asked: 2020-09-02 13:14:41 -0500

Seen: 92 times

Last updated: Sep 03 '20