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

OpenStudio results in metric units

asked 2025-05-23 04:29:55 -0500

ecem's avatar

updated 2025-05-26 03:38:54 -0500

ı m trying to run my simulation in si units. however, BCL library does not have in QAQC. so, I try to add new library as in manually, but it did not work either. What should I do?

edit retag flag offensive close merge delete

Comments

EnergyPlus always runs simulations in SI units (e.g. J, W, kg). Are you instead referring to the OpenStudio Application or SketchUp Plugin interfaces (i.e. input)? or are you seeing results (i.e. output) generated in IP units? Or are you instead referring to the OpenStudio Results reporting measure? Each of these have SI vs IP toggles. So which tool and which issue are you coming up against, specifically?

Denis Bourgeois's avatar Denis Bourgeois  ( 2025-05-23 11:05:08 -0500 )edit

Open studio application, the model results of BCL, I dont see any toggles, I try to add new BCL library from outside but did not work. The simulation failed. There is a set units si for energy plus and my preferences are si unit. however results and graphics are in ip units.

ecem's avatar ecem  ( 2025-05-23 13:16:21 -0500 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2025-05-24 06:52:30 -0500

updated 2025-05-28 07:32:17 -0500

I may be wrong, but it sounds like you simply want the OpenStudio Results measure to report results in SI units. As documented here, you can toggle between SI and IP in the very first input selection "Which Unit System do you want to use?".

image description

Here's the corresponding code (in its measure.rb file):

# define the arguments that the user will input
  def arguments(model = nil)
    args = OpenStudio::Measure::OSArgumentVector.new

    chs = OpenStudio::StringVector.new
    chs << 'IP'
    chs << 'SI'
    units = OpenStudio::Measure::OSArgument.makeChoiceArgument('units', chs, true)
    units.setDisplayName('Which Unit System do you want to use?')
    units.setDefaultValue('IP')
    args << units

Tested this using OpenStudio Application (App) v1.9 - no issues.

image description

It is true that (much) older versions of the measure did not offer this units toggle - see here. But recent releases do - see here. Which version(s) of the App are you using? If you're not seeing the units pull-down option, you may be using a fairly old version of the measure. If so, consider upgrading.


There is definitely an issue with the measure when dealing with OpenStudio SDK v3.8, as discussed here and here. No issues with the latest SDK v3.9 (i.e. App v1.9), though.


You mention that the "simulation failed". A corrupt OpenStudio Results Measure may fail to generate formatted results (post-simulation), yet would unlikely crash an actual EnergyPlus simulation. I suggest you:

  • copy, then rename your .osm file
  • reopen using the App
  • delete the OpenStudio Results measure
  • save, and re-run the simulation
  • peruse through the results

Any failures? Do results seem OK? Make sure this works first, before attempting to troubleshoot the measure itself.


edit flag offensive delete link more

Comments

1

that screenshot just saves my thesis, and my time, I just missed that toggle, I mean I try to add library, wrote library from scratch etc. thanks a lot.

ecem's avatar ecem  ( 2025-05-28 04:07:54 -0500 )edit

Glad that's working for you. I tried adding the screenshots when I first answered, but for some reason I couldn't initially load them up (UMH issue, I suspect). Side note: if you find the answer acceptable, it's customary to accept it by clicking on the checkmark - helps others in the future.

Denis Bourgeois's avatar Denis Bourgeois  ( 2025-05-28 07:28:27 -0500 )edit
1

When I read troubleshooting before writing unmethours, there is a mention that I can switch ip to si with that toggle, however, I search that toggle in open studio measures library, not in reporting measures in open studio results library. I tried chatgpt, probably I was dumb enough not to see that toggle, but screenshot works out. thanks a lot, that was pretty simple demand for me that frustrates me a lot but that was my blindness. thanks again.

ecem's avatar ecem  ( 2025-05-28 07:33:21 -0500 )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

Stats

Asked: 2025-05-23 04:29:55 -0500

Seen: 300 times

Last updated: May 28