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

OpenStudio python bindings

asked 2021-07-20 15:34:39 -0500

Michel gravatar image


I am very new to OpenStudio and I want to integrate the software in a statistical analysis on python. I do not know how to compile and use the python bindings. Can anyone give me a tutorial for it?

edit retag flag offensive close merge delete


Are you referring to the EMS Python API? Could you provide more detail of your needs

mechyai gravatar image mechyai  ( 2021-07-20 20:06:18 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-07-20 22:11:21 -0500

updated 2021-07-20 22:12:59 -0500

You can install the openstudio python bindings using pip install openstudio.

Then you can test they work:

import openstudio
m = openstudio.model.Model()

That results in:

  {b1c739b0-8af6-4d47-b6a2-96df1d55f3cb}, !- Handle
  3.2.1;                                  !- Version Identifier

You can find more information at

edit flag offensive delete link more


Thank you, it worked

Michel gravatar image Michel  ( 2021-07-21 01:58:19 -0500 )edit

Where is the documentation for all the package functions? I want to use some OpenStudio modifications in my python scripts?

mechyai gravatar image mechyai  ( 2021-07-21 11:14:49 -0500 )edit

Are you referring to the OpenStudio SDK documentation?

shorowit gravatar image shorowit  ( 2021-07-21 11:25:57 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools

1 follower


Asked: 2021-07-20 15:34:39 -0500

Seen: 115 times

Last updated: 2 days ago