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 2018-04-19 18:43:15 -0600

bobw's avatar

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

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 -0600

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's avatar bobw  ( 2018-04-24 02:30:11 -0600 )edit

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  ( 2022-12-20 12:59:35 -0600 )edit

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: 2018-04-19 18:43:15 -0600

Seen: 410 times

Last updated: Dec 20 '22