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

Automating OpenStudio runs and changing measure values

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

gcampos's avatar

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

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

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

Careers

Question Tools

1 follower

Stats

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

Seen: 271 times

Last updated: Feb 08 '22