I've been attempting to run the 'Unmet Load Hours Troubleshoot' measure, but it keeps failing. I've already seen this answer and have edited my measure so that those lines are now updated. I get the following lines in the simulation run:
"Processing Reporting Measures.
Applying UnmetLoadHoursTroubleshooting
Result: Fail
Error: Optional not initialized
C:/Users/User/AppData/Local/Temp/OpenStudioApp.eE9596/resources/measures/UnmetLoadHoursTroubleshooting 1 1 1/measure.rb:638:in get'
C:/Users/User/AppData/Local/Temp/OpenStudioApp.eE9596/resources/measures/UnmetLoadHoursTroubleshooting 1 1 1/measure.rb:638:in
getAbruptScheduleChanges'
C:/Users/User/AppData/Local/Temp/OpenStudioApp.eE9596/resources/measures/UnmetLoadHoursTroubleshooting 1 1 1/measure.rb:204:in thermostat_setpoints_for_underperforming'
C:/Users/User/AppData/Local/Temp/OpenStudioApp.eE9596/resources/measures/UnmetLoadHoursTroubleshooting 1 1 1/measure.rb:502:in
block in run'
C:/Users/User/AppData/Local/Temp/OpenStudioApp.eE9596/resources/measures/UnmetLoadHoursTroubleshooting 1 1 1/measure.rb:494:in each'
C:/Users/User/AppData/Local/Temp/OpenStudioApp.eE9596/resources/measures/UnmetLoadHoursTroubleshooting 1 1 1/measure.rb:494:in
run'
:/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:441:in apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:67:in
block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/util/measure.rb:31:in
apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/jobs/run_reporting_measures.rb:81:in perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:256:in
step'
:/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:210:in run'
:/openstudio_cli.rb:802:in
execute'
:/openstudio_cli.rb:620:in execute'
:/openstudio_cli.rb:1515:in
<main>'
eval:85:in eval'
eval:85:in
require_embedded_absolute'
eval:70:in block in require'
eval:64:in
each'
eval:64:in require'
eval:2:in
<main>'
Failed.
After a long process of checking every part of my model, I by chance figured out that if I changed the roof construction to one with a much lower R-value, the measure will run successfully. I've switched between the constructions a few times and each time the lower R-value is used, it runs successfully. Any ideas on why changing the roof construction would affect the measure?