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

Error after applying UnmetLoadHoursTroubleshooting Measure

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

Psterpis gravatar image

updated 2021-07-06 12:15:31 -0500

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:inblock 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:inplant_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:inapply_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:ineach_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:inperform' :/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:inrun' :/openstudio_cli.rb:971:in execute' :/openstudio_cli.rb:761:inexecute' :/openstudio_cli.rb:1755:in <main>' eval:175:ineval' eval:175:in require_embedded_absolute' eval:160:inblock in require_embedded' eval:154:in each' eval:154:inrequire_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
2

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

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 gravatar image Psterpis  ( 2021-07-07 01:44:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

Stats

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

Seen: 70 times

Last updated: Jul 07