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

how to run openstudio command line interface for non-familiar with this option

asked 2019-02-25 07:20:48 -0500

Eyal zilber's avatar

Hello, I want to know how to use the command line interface appropriately, until know there is no fluent information from the beginning how to do so? for example, what computer path directory changes I have to make? How to write the command line appropriately? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-02-25 07:52:31 -0500

You can find documentation on the OpenStudio command-line interface at

edit flag offensive delete link more



I cannot execute the example file: "An example OSW project is included in the OpenStudio installer under './Examples/compact_osw'. To run this example, copy it to a user writable location and then:

/path/to/openstudio.exe run -w /path/to/compact.osw"

an error "The system cannot find the path specified." appreciate your help

Eyal zilber's avatar Eyal zilber  ( 2019-02-25 08:09:43 -0500 )edit

Are you replacing the paths in the command with appropriate paths (e.g. to files that exist) for your system? If you have spaces in your path names you may have to add quotes around the path so the command knows they are part of the same path.

macumber's avatar macumber  ( 2019-02-25 21:32:36 -0500 )edit

Eyal, edit your PATH environment variable to point to the openstudio.exe file in the bin folder of your open studio download. This will allow your system to run the CLI. once you have that working, simply type openstudio -h in the command line or terminal and a menu will display of flags and instructions.

ParticleSwarm's avatar ParticleSwarm  ( 2019-02-26 14:20:19 -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


Asked: 2019-02-25 07:20:48 -0500

Seen: 568 times

Last updated: Feb 25 '19