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

Revision history [back]

problem in using radiance measure

Hello Everyone,

I tried using the radiance daylighting measure, even if I followed the steps mentioned in nrel tutoriels I got an error in excuting the measure. here the run script

[11:03:52.650759 ERROR] :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/Sara/AppData/Local/Temp/OpenStudioApp.tAT480/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.' t_radGlareSensorViews[space_name]&.each do |sensor, v| ^ C:/Users/Sara/AppData/Local/Temp/OpenStudioApp.tAT480/resources/measures/RadianceMeasure/measure.rb:1418: syntax error, unexpected keyword_rescue, expecting keyword_end rescue Exception => e ^ in :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:339:in load' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:339:inapply_measure' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:109:in block in apply_measures' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:ineach_index' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in apply_measures' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_os_measures.rb:68:inperform' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:in step' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:inrun' :/openstudio_cli.rb:975:in execute' :/openstudio_cli.rb:763:inexecute' :/openstudio_cli.rb:1746:in <main>' eval:116:ineval' eval:116:in require_embedded_absolute' eval:101:inblock in require' eval:95:in each' eval:95:inrequire' eval:3:in <main>' [11:03:52.650759 ERROR] Found error in state 'os_measures' with message [":/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/Sara/AppData/Local/Temp/OpenStudioApp.tAT480/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.'\n t_radGlareSensorViews[space_name]&.each do |sensor, v|\n ^\nC:/Users/Sara/AppData/Local/Temp/OpenStudioApp.tAT480/resources/measures/RadianceMeasure/measure.rb:1418: syntax error, unexpected keyword_rescue, expecting keyword_end\n rescue Exception => e\n ^ in :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:339:inload'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:339:in apply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:109:inblock in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in each_index'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:inapply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_os_measures.rb:68:in perform'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:instep'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:in run'\n:/openstudio_cli.rb:975:inexecute'\n:/openstudio_cli.rb:763:in execute'\n:/openstudio_cli.rb:1746:in<main>'\neval:116:in eval'\neval:116:inrequire_embedded_absolute'\neval:101:in block in require'\neval:95:ineach'\neval:95:in require'\neval:3:in<main>'::/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:639:in rescue in apply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:645:inapply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:109:in block in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:ineach_index'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_os_measures.rb:68:inperform'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:in step'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:inrun'\n:/openstudio_cli.rb:975:in execute'\n:/openstudio_cli.rb:763:inexecute'\n:/openstudio_cli.rb:1746:in <main>'\neval:116:ineval'\neval:116:in require_embedded_absolute'\neval:101:inblock in require'\neval:95:in each'\neval:95:inrequire'\neval:3:in `<main>'"]} Any idea what the problem might be