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

Multiple outputs per run?

asked 2021-01-27 12:09:30 -0600

Matthew gravatar image

updated 2021-04-06 15:37:44 -0600

Hello everyone,

Essentially, I am wondering if it is possible to have a simulation generate two separate epulstbl files. The main issue is that we have a variety of post-processors that require the eplustbl.html to be in a different format and currently this means we have to run a simulation multiple times, with different measures, to get all the data we need. My question is: Does Open Studio support writing its output to multiple locations in different formats?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-01-27 15:16:26 -0600

For EnergyPlus the SQL and tabular data (which includes the HTML) has to be selected as IS or IP. OpenStudio (specifically the OpenStudio Results measures) expects that to be in SI units which aligns with the native units in EnergyPlus and OpenStudio.

The OpenStudio Results measure does have an SI/IP switch for hits HTML report. With a single simulation you can run multiple instances of that reporting measure with a different unit preference to make both an SI and IP HTML report for a single simulation. Someone could make a single new reporting measure that generates multiple different outputs in different units that could be HTML, CSV, JSON, or some other format, but I'm not aware of any existing examples of that. If you have a custom post-processing working you could definitely write a measure to feed data into that exactly in the format you want.

edit flag offensive delete link more


Thanks for the response! So if I have understood you, I could write an OpenStudio measure that would cause generate two separate HTML reports with unique tables, one in IP units and one in SI?

Matthew gravatar image Matthew  ( 2021-01-27 15:40:52 -0600 )edit

@Matthew, correct that approach will work; it could write to two or more output files or combine results of different units in single file if that is easier. You can also write one measure with user argument to change units, and is add it to the workflow 2 or more times with different argument values. In either case OpenStudio has class to support with unit conversion, some of the units are documented here.

David Goldwasser gravatar image David Goldwasser  ( 2021-01-27 16:52:44 -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

Question Tools

1 follower


Asked: 2021-01-27 12:09:30 -0600

Seen: 44 times

Last updated: Jan 27 '21