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 2018-07-18 09:28:32 -0500

ParticleSwarm's avatar

updated 2018-07-18 11:26:30 -0500

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2018-07-18 10:11:12 -0500

updated 2018-07-21 14:45:54 -0500

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.

edit flag offensive delete link more

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

Your Answer

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

Add Answer

Careers

Question Tools

2 followers

Stats

Asked: 2018-07-18 09:28:32 -0500

Seen: 281 times

Last updated: Jul 21 '18