OpenStudio reporting measures crashing

asked 2017-06-19 08:38:14 -0500

OS-user-AT gravatar image

updated 2017-06-19 14:01:11 -0500

I have tried to run OS simulations with the following reporting measures, each of them crashing:

(1) Unmethours Troubleshooting Report with error messages as follows:

Applying UnmetLoadHoursTroubleshooting Result: Fail Error: invalid null reference Expected argument 1 of type std::string const &, but got NilClass nil in SWIG method "timeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:680:in "timeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:680:in "getTimeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:577:in "initZoneMetrics" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:496:in "block in run" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/measure.rb:494:in "each" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/UnmetLoadHoursTroubleshooting/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.

Similarly (2) Ventilation Report with error messages as follows:

Applying VentilationQAQC Result: Fail Error: invalid null reference Expected argument 1 of type std::string const &, but got NilClass nil in SWIG method "timeSeries" C:/Users/user1/AppData/Local/Temp/OpenStudioApp.ud5752/resources/measures/VentilationQAQC 1/measure.rb:342:in "timeSeries" ......

What can be done ?

edit retag flag offensive close merge delete

Comments

Are you running the measures on a model that is set to 'Run Simulation for Weather File Run Periods'? Those errors look like what you'd see if you are just running the simulation for sizing periods.

Eric Ringold gravatar imageEric Ringold ( 2017-06-19 10:40:33 -0500 )edit

I have been running the simulation only for the sizing periods because a full year simulation would take 2 hours. Nevertheless I would consider this a bug, if the measures don't work after simulation for design days only.

OS-user-AT gravatar imageOS-user-AT ( 2017-06-19 11:51:49 -0500 )edit
1

You could set your weather file run period to be less than a full year, which would reduce the simulation time. But since those measures both report for weather file run periods and you're interested in sizing periods, that wouldn't be much help.

Eric Ringold gravatar imageEric Ringold ( 2017-06-19 12:07:49 -0500 )edit