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

Revision history [back]

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?". 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 v1.9 - no issues. It is true that (much) older versions of the measure did not offer this units toggle - but recent releases do (see here). Which version(s) of the OpenStudio Application 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 version 3.8, as discussed here and here. No issues with the latest OpenStudio SDK version 1.9 (i.e. OpenStudio Application 3.9), however.


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?". 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 v1.9 - no issues. It is true that (much) older versions of the measure did not offer this units toggle - but see here. But recent releases do (see here). Which version(s) of the OpenStudio Application 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 version 3.8, as discussed here and here. No issues with the latest OpenStudio SDK version 1.9 (i.e. OpenStudio Application 3.9), however.


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?". 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 v1.9 - no issues. 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 OpenStudio Application 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 version 3.8, as discussed here and here. No issues with the latest OpenStudio SDK version 1.9 (i.e. OpenStudio Application 3.9), however.


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?". 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 v1.9 - no issues. It is true that (much) older versions of the measure did not offer this units toggle - see here. But recent releases do (see - see here). . Which version(s) of the OpenStudio Application 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 version 3.8, as discussed here and here. No issues with the latest OpenStudio SDK version 1.9 (i.e. OpenStudio Application 3.9), however.


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?". 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 v1.9 - no issues. 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 OpenStudio Application 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 version 3.8, as discussed here and here. No issues with the latest OpenStudio SDK version 1.9 (i.e. OpenStudio Application 3.9), however.


You mention that the "simulation failed". A corrupt or faulty OpenStudio Results Measure wouldn't cause an actual EnergyPlus simulation to fail - maybe just a failure in results reporting (post-simulation). I suggest you copy/rename your .osm file. Reopen using the App, delete the OpenStudio Results measure, re-run the simulation, peruse through the results. Any failures? Do results seem OK? Make sure this works before troubleshooting the measure itself.

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. 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 OpenStudio Application 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 version 3.8, SDK v3.8, as discussed here and here. No issues with the latest OpenStudio SDK version 1.9 SDK v3.9 (i.e. OpenStudio Application 3.9), however.App v1.9), though.


You mention that the "simulation failed". A corrupt or faulty OpenStudio Results Measure wouldn't cause may fail to generate formatted results (post-simulation), yet would unlikely crash an actual EnergyPlus simulation to fail - maybe just a failure in results reporting (post-simulation). EnergyPlus. I suggest you copy/rename you:

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

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


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. 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.