1

Error after applying UnmetLoadHoursTroubleshooting Measure

Hello,

I want to use Unmet Load Hours Troubleshooting Measure to find a way to reduce unmet hours. After the simulation runs smoothly i get this error:

Result: Fail
  Error: undefined method `getDesignLoopExitTemperature' for #<OpenStudio::Model::SizingPlant:0x0000020d6fff4f50>
    C:/Users/ENGINE~1/AppData/Local/Temp/osmodel-1625569532-0/resources/measures/Unmet Load Hours Troubleshooting/measure.rb:291:in `block in plant_loop_temp_vs_setpoints'
    C:/Users/ENGINE~1/AppData/Local/Temp/osmodel-1625569532-0/resources/measures/Unmet Load Hours Troubleshooting/measure.rb:274:in `each'
    C:/Users/ENGINE~1/AppData/Local/Temp/osmodel-1625569532-0/resources/measures/Unmet Load Hours Troubleshooting/measure.rb:274:in `plant_loop_temp_vs_setpoints'
    C:/Users/ENGINE~1/AppData/Local/Temp/osmodel-1625569532-0/resources/measures/Unmet Load Hours Troubleshooting/measure.rb:558:in `run'
    :/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:519:in `apply_measure'
    :/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:114:in `block in apply_measures'
    :/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:67:in `each_index'
    :/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:67:in `apply_measures'
    :/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/jobs/run_reporting_measures.rb:105:in `perform'
    :/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/run.rb:292:in `step'
    :/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/run.rb:234:in `run'
    :/openstudio_cli.rb:971:in `execute'
    :/openstudio_cli.rb:761:in `execute'
    :/openstudio_cli.rb:1755:in `<main>'
    eval:175:in `eval'
    eval:175:in `require_embedded_absolute'
    eval:160:in `block in require_embedded'
    eval:154:in `each'
    eval:154:in `require_embedded'
    eval:113:in `require'
    eval:3:in `<main>'

How can i resolve this? I' m using the sketch up plugin for Sketch up 2019.

Thank you in advance

Psterpis's avatar
13
Psterpis
asked 2021-07-06 08:56:43 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2024-09-25 08:41:02 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

It looks like the measure needs to be updated for OpenStudio v3. I have filed a bug report to get it fixed. In the meantime, you can open up the measure.rb file and replace the line:

exit_temp = plantloop.sizingPlant.getDesignLoopExitTemperature.value

with

exit_temp = plantloop.sizingPlant.designLoopExitTemperature

and it should address the error.

shorowit's avatar
11.8k
shorowit
answered 2021-07-06 13:36:03 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you that addresses the error and the measure runs successfully!

Psterpis's avatar Psterpis (2021-07-07 01:44:24 -0500) edit
add a comment see more comments