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

Automating OpenStudio runs and changing measure values

asked 2021-10-06 13:37:33 -0500

gcampos gravatar image

updated 2021-10-06 14:45:10 -0500

Hi everyone,

I want to run OpenStudio multiple times (200+) for different input data. More specifically, for each simulation I need to apply a measure (Create DOE Prototype Building) and be able to change the measure's inputs (e.g., building type, weather file and ASHRAE standard), run the simulation and extract the results. The measure in this case is used to create the simulation, so I would have to run different simulation files and not just change the inputs of a single simulation.

I've first identified the Parametric Analysis Tool (PAT) as a potential tool for this. However, it seems like I can only specify variables (design alternatives) once the simulation (seed model) is created (i.e., after applying the measure). In my case I want to specify the measure's variables that will be used to create the simulation.

Is there a way of using PAT for creating a grid of measure's inputs and running the models? If not, are there any other tools for this? I was thinking of possibly using the python bindings or the OpenStudio Command Line Interface (CLI).

Any help is appreciated. Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-10-06 13:47:18 -0500

updated 2021-10-06 13:47:47 -0500

The seed model can be empty if you are planning to run an OpenStudio measure in PAT that essentially creates the entire model from scratch. Here is an example of an empty seed model. You probably should update the version to match the version of OpenStudio you are using.

edit flag offensive delete link more

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: 2021-10-06 13:37:33 -0500

Seen: 25 times

Last updated: Oct 06