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
7

Running PAT from command line

asked 7 years ago

bobw's avatar

updated 7 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 7 years ago

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.

Preview: (hide)
link

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's avatar bobw  ( 7 years ago )

Hi! Is there any update for this? Is it possible to start a PAT project using OpenStudio command line interface (CLI)? Thanks!

Raul Teixeira's avatar Raul Teixeira  ( 2 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

1 follower

Stats

Asked: 7 years ago

Seen: 449 times

Last updated: Dec 20 '22