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

Revision history [back]

click to hide/show revision 1
initial version

energy-plus runtime api clear_all_states function missing

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/docs/9-3/input-output-reference/api-usage.html#subsec:runtime-api 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?

energy-plus runtime api clear_all_states function missing

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/docs/9-3/input-output-reference/api-usage.html#subsec:runtime-api 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?

energy-plus runtime api clear_all_states function missing

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/docs/9-3/input-output-reference/api-usage.html#subsec:runtime-api 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?