2

Apply Measure Now with CLI

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?

ParticleSwarm's avatar
389
ParticleSwarm
asked 2018-07-18 09:28:32 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2018-07-18 11:26:30 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

4

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.

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2018-07-18 10:11:12 -0500, updated 2018-07-21 14:45:54 -0500
edit flag offensive 0 remove flag delete 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 (2018-07-18 11:39:25 -0500) edit
add a comment see more comments