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

Output units of eplustbl and openstudio_results

asked 2022-06-22 14:28:29 -0500

Is there any way to get both the EnergyPlus and OpenStudio results/reports (eplustbl and openstudio_results) in IP format? As it is now, I have to run the simulation twice and save the html files elsewhere lest they be overwritten.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2022-06-24 10:30:58 -0500

updated 2022-06-24 11:59:17 -0500

I'm pretty sure that this PR added the ability to set the units for the tabular reports separately from the SQL output file. In v9.5.0 or later, you can set the 'Unit Conversion' input in the OutputControl:Table:Style object to 'InchPound', which will result in a tabular report in IP units, but the SQL will remain in SI, allowing the openstudio results measure to do its thing.

You should be able to set that input with a simple EnergyPlus measure.

Edit: you also have to set 'Unit Conversion for Tabular Data' in Output:SQLite to 'None'. I've verified that an EnergyPlus measure with:

oc = workspace.getObjectsByType('OutputControl:Table:Style'.to_IddObjectType)
oc.each{|o| o.setString(1,"InchPound")}

os = workspace.getObjectsByType('Output:SQLite'.to_IddObjectType)
os.each{|o| o.setString(1,"None")}

will produce a tabular HTML report in IP units _and_ an openstudio_results report in just one simulation.

edit flag offensive delete link more

Comments

This is great @Eric Ringold. Thanks for pointing it out.

David Goldwasser's avatar David Goldwasser  ( 2022-06-24 11:36:07 -0500 )edit

@Eric Ringold you are a life safer! This works, thank you!

Ski90Moo's avatar Ski90Moo  ( 2022-06-24 15:22:20 -0500 )edit

@Ski90Moo no problem, I had meant to try this back when the new feature was added but never got around to it. Thanks for providing the impetus!

ericringold's avatar ericringold  ( 2022-06-24 15:44:19 -0500 )edit
0

answered 2022-06-23 18:08:31 -0500

The OpenStudio Results Measure expect the EnergyPlus SQL file to be in SI units. This setting impacts both tabular and time series elements. The OpenStudio Results HTML can be either SI or IP. If you want to get the default EnergyPlus generated eplustbl.htm to be IP and you also want to run the OpenStudio Results measure, yes you would have to run the simulation twice.

edit flag offensive delete link more

Comments

Ok, thanks @David Goldwasser. I was hoping there was a handy measure, that I was perhaps missing, that set the output units to IP, write the html file, then set the output back to SI and write the final html. So it sounds like this measure that I use (Set Output Table To IP Units) changes a setting within EnergyPlus itself that formats the eplustbl.htm?

Ski90Moo's avatar Ski90Moo  ( 2022-06-23 22:29:59 -0500 )edit

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: 2022-06-22 14:28:29 -0500

Seen: 211 times

Last updated: Jun 24 '22