2

Automating OpenStudio runs and changing measure values

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!

gcampos's avatar
41
gcampos
asked 2021-10-06 13:37:33 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2021-10-06 14:45:10 -0500
edit flag offensive 0 remove flag close merge delete

Comments

to join the discussion, I had an issue while using "Create DOE Prototype Building" measure in openstudio on an empty.osm file. The error occurred while applying the epw weather file that comes along with the DOE prototype and the simulation failed

Vishak's avatar Vishak (2022-02-08 23:47:24 -0500) edit
add a comment see more comments

1 Answer

3

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.

shorowit's avatar
11.8k
shorowit
answered 2021-10-06 13:47:18 -0500, updated 2021-10-06 13:47:47 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments