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

energyplus runtime api clear_all_states function missing

asked 2020-09-18 18:59:31 -0600

gbaasch's avatar

updated 2020-09-20 10:52:47 -0600

Hello.

I am implementing a program using the EnergyPlus Python API and I would like to re-run EnergyPlus multiple times in a single python program. The documentation here: https://bigladdersoftware.com/epx/doc... shows an example with python where the call

api.runtime.clear_all_states()

is used to do this. However, this clear_all_states() call is not available in the runtime api in the code that was downloaded offline. I have also checked the github repo and same thing, the call does not seem to be implemented even though it is in the documentation.

Was this an oversight?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-09-21 08:00:25 -0600

Hi there, I believe I responded to you on the helpdesk as well, but I'll just summarize that yes, that was an oversight. The endpoint has been properly added in 9.4.0 along with many other improvements. Note that the API did change for 9.4.0. 9.4.0 will be released next week.

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

Careers

Question Tools

1 follower

Stats

Asked: 2020-09-18 18:43:04 -0600

Seen: 224 times

Last updated: Sep 21 '20