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

Error after applying UnmetLoadHoursTroubleshooting Measure

asked 2021-07-06 08:56:43 -0600

Psterpis's avatar

updated 2024-09-25 08:41:02 -0600

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-07-06 13:36:03 -0600

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.

edit flag offensive delete link more

Comments

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

Psterpis's avatar Psterpis  ( 2021-07-07 01:44:24 -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

Careers

Question Tools

Stats

Asked: 2021-07-06 08:56:43 -0600

Seen: 280 times

Last updated: Sep 25