First time here? Check out the Help page!

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

Apply Measure Now with CLI

asked 6 years ago

ParticleSwarm's avatar

updated 6 years ago

Hello, Unmet Hours!

I was curious if you are able to apply a measure on a model in the command line interface without running a full sim. If so, where would be the options for inputs for the users?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
4

answered 6 years ago

updated 6 years ago

openstudio.exe run --measures_only --workflow /path/to/workflow.osw

Documentation here

You'll first need to make an OpenStudio workflow (.osw). This post on the forum has some example code.

Preview: (hide)
link

Comments

1

Just to expand on Matt's answer, here is a link to really simple OSW file.

If you don't want to write an OSW, then you can't directly use the CLI, but you could borrow code from measure test that loads a model and runs the measure directly, without the CLI.

David Goldwasser's avatar David Goldwasser  ( 6 years ago )

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 6 years ago

Seen: 311 times

Last updated: Jul 21 '18