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

Revision history [back]

You need an OpenStudio Workflow (OSW) to run a model from command line. Using the OpenStudioApplication is the simplest to create one with measures etc (if your model is at /path/to/mymodel.osm, then at /path/to/mymodel/in.osw you have the workflow file).

The simplest one would look like this:

{
  "weather_file": "myweatherfile.epw",
  "seed_file": "mymodel.osm",
}