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

How do I run a simulation using the C++ API?

Good morning everyone, I'm pretty new to the topic and I 'm moving my first steps with EnergyPlus and OpenStudio. I apologize if this question is silly.

I would like to use OpenStudio C++ SDK to run building energy simulations. I checked the C++ SDK documentation and I'm confused, there is extensive explanation of the Model but I didn't find anything about actually running a simulation and getting the results.

It may be my fault, maybe I didn't look in the right place but I really could use some explanation. Also, it would be very useful to see an example of use of the C++ API to do something like creating a model, starting a simulation and getting the result. Is there any tutorial, or any example for this use case?

How do I run a simulation using the C++ API?

Good morning everyone, I'm pretty new to the topic and I 'm moving my first steps with EnergyPlus and OpenStudio. I apologize if this question is silly.

I would like to use OpenStudio C++ SDK to run building energy simulations. I checked the C++ SDK documentation and I'm confused, there is extensive explanation of the Model but I didn't find anything about actually running a simulation and getting the results.

It may be my fault, maybe I didn't look in the right place but I really could use some explanation. Also, it would be very useful to see an example of use of the C++ API to do something like creating a model, starting a simulation and getting the result. Is there any tutorial, or any example for this use case?