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

Running PAT from command line

asked 2018-04-19 18:43:15 -0500

bobw gravatar image

updated 2018-04-21 08:44:16 -0500

Is there a command line interface for PAT? I can't find any documentation and I have a workflow that would really benefit from it.

All I need is a way to open a PAT project and run it without changing any settings. I am running windows but may be able to switch if this would help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-04-20 16:40:23 -0500

The OpenStudio command line interface (CLI) can do that. If you already have a workflow file (*.osw), you can run it with openstudio.exe run --workflow /path/to/workflow.osw. See the docs for deets. Heads up, I'm not sure if running remotely (cloud) is easy/documented with this approach.

edit flag offensive delete link more

Comments

At the moment I have the pat.json and all associated measures in the correct folder etc. but I do not have any OSW files as PAT has not been run.

I assume your answer is the best approach to take but can you please confirm that I cannot run a PAT project from the command line (as opposed to the individual runs generated from the PAT project)?

bobw gravatar image bobw  ( 2018-04-24 02:30:11 -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

1 follower

Stats

Asked: 2018-04-19 18:43:15 -0500

Seen: 192 times

Last updated: Apr 20 '18