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

Revision history [back]

Radiance measure failed to run

Hi! I am a new user of Openstudio, I modelled radiance in a small room with illuminance map, daylight control. While running, I faced the following error, Could you please help me

[15:22:55.282208 ERROR] :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.' t_radGlareSensorViews[space_name]&.each do |sensor, v| ^ C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/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.3/lib/openstudio/workflow/util/measure.rb:304:in load' :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:inapply_measure' :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in block in apply_measures' :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:ineach_index' :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in apply_measures' :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:inperform' :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in step' :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:inrun' :/openstudio_cli.rb:920:in execute' :/openstudio_cli.rb:709:inexecute' :/openstudio_cli.rb:1686:in <main>' eval:110:ineval' eval:110:in require_embedded_absolute' eval:95:inblock in require' eval:89:in each' eval:89:inrequire' eval:2:in <main>' [15:22:55.283190 ERROR] Found error in state 'os_measures' with message [":/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.'\n t_radGlareSensorViews[space_name]&.each do |sensor, v|\n ^\nC:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/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.3/lib/openstudio/workflow/util/measure.rb:304:inload'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in apply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:inblock in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in each_index'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:inapply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in perform'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:instep'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in run'\n:/openstudio_cli.rb:920:inexecute'\n:/openstudio_cli.rb:709:in execute'\n:/openstudio_cli.rb:1686:in<main>'\neval:110:in eval'\neval:110:inrequire_embedded_absolute'\neval:95:in block in require'\neval:89:ineach'\neval:89:in require'\neval:2:in<main>'::/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:604:in rescue in apply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:610:inapply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in block in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:ineach_index'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:inperform'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in step'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:inrun'\n:/openstudio_cli.rb:920:in execute'\n:/openstudio_cli.rb:709:inexecute'\n:/openstudio_cli.rb:1686:in <main>'\neval:110:ineval'\neval:110:in require_embedded_absolute'\neval:95:inblock in require'\neval:89:in each'\neval:89:inrequire'\neval:2:in `<main>'"]}

Radiance measure failed to run

Hi! I am a new user of Openstudio, I modelled radiance in a small room with illuminance map, daylight control. While running, I faced the following error, Could you please help me

[15:22:55.282208 ERROR] :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.'
       t_radGlareSensorViews[space_name]&.each do |sensor, v|
                                          ^
C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/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.3/lib/openstudio/workflow/util/measure.rb:304:in load'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:inapply_measure'
`load'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in `apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in block `block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:ineach_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:inperform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:inrun'
`step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in `run'
:/openstudio_cli.rb:920:in execute'
:/openstudio_cli.rb:709:inexecute'
`execute'
:/openstudio_cli.rb:709:in `execute'
:/openstudio_cli.rb:1686:in <main>'
eval:110:ineval'
eval:110:in require_embedded_absolute'
eval:95:inblock `<main>'
eval:110:in `eval'
eval:110:in `require_embedded_absolute'
eval:95:in `block in require'
eval:89:in each'
eval:89:inrequire'
`each'
eval:89:in `require'
eval:2:in <main>'
`<main>'
[15:22:55.283190 ERROR] Found error in state 'os_measures' with message [":/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.'\n    '.'
      t_radGlareSensorViews[space_name]&.each do |sensor, v|\n                                             ^\nC:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1418: v|
                                         ^
C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1418: syntax error, unexpected keyword_rescue, expecting keyword_end\n keyword_end
      rescue Exception => e\n      e
      ^ in :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in `load'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in `apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in `block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in `step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in `run'
:/openstudio_cli.rb:920:in `execute'
:/openstudio_cli.rb:709:in `execute'
:/openstudio_cli.rb:1686:in `<main>'
eval:110:in `eval'
eval:110:in `require_embedded_absolute'
eval:95:in `block in require'
eval:89:in `each'
eval:89:in `require'
eval:2:in `<main>'::/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:604:in `rescue in apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:610:in `apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in `block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in `step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in `run'
:/openstudio_cli.rb:920:in `execute'
:/openstudio_cli.rb:709:in `execute'
:/openstudio_cli.rb:1686:in `<main>'
eval:110:in `eval'
eval:110:in `require_embedded_absolute'
eval:95:in `block in require'
eval:89:in `each'
eval:89:in `require'
eval:2:in `<main>'"]}
load'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in apply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:inblock in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in each_index'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:inapply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in perform'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:instep'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in run'\n:/openstudio_cli.rb:920:inexecute'\n:/openstudio_cli.rb:709:in execute'\n:/openstudio_cli.rb:1686:in<main>'\neval:110:in eval'\neval:110:inrequire_embedded_absolute'\neval:95:in block in require'\neval:89:ineach'\neval:89:in require'\neval:2:in<main>'::/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:604:in rescue in apply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:610:inapply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in block in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:ineach_index'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:inperform'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in step'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:inrun'\n:/openstudio_cli.rb:920:in execute'\n:/openstudio_cli.rb:709:inexecute'\n:/openstudio_cli.rb:1686:in <main>'\neval:110:ineval'\neval:110:in require_embedded_absolute'\neval:95:inblock in require'\neval:89:in each'\neval:89:inrequire'\neval:2:in `<main>'"]}

Thank you.

Radiance measure failed to run

Hi! I am a new user of Openstudio, I modelled radiance in a small room with illuminance map, daylight control. While running, I faced the following error, Could you please help me

[15:22:55.282208 ERROR] :/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.'
      t_radGlareSensorViews[space_name]&.each do |sensor, v|
                                         ^
C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/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.3/lib/openstudio/workflow/util/measure.rb:304:in `load'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in `apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in `block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in `step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in `run'
:/openstudio_cli.rb:920:in `execute'
:/openstudio_cli.rb:709:in `execute'
:/openstudio_cli.rb:1686:in `<main>'
eval:110:in `eval'
eval:110:in `require_embedded_absolute'
eval:95:in `block in require'
eval:89:in `each'
eval:89:in `require'
eval:2:in `<main>'
[15:22:55.283190 ERROR] Found error in state 'os_measures' with message [":/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb failed with message C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/resources/measures/RadianceMeasure/measure.rb:1320: syntax error, unexpected '.'
      t_radGlareSensorViews[space_name]&.each do |sensor, v|
                                         ^
C:/Users/prasanth/AppData/Local/Temp/OpenStudioApp.D13564/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.3/lib/openstudio/workflow/util/measure.rb:304:in `load'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:304:in `apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in `block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in `step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in `run'
:/openstudio_cli.rb:920:in `execute'
:/openstudio_cli.rb:709:in `execute'
:/openstudio_cli.rb:1686:in `<main>'
eval:110:in `eval'
eval:110:in `require_embedded_absolute'
eval:95:in `block in require'
eval:89:in `each'
eval:89:in `require'
eval:2:in `<main>'::/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:604:in `rescue in apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:610:in `apply_measure'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:74:in `block in apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in `perform'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:269:in `step'
:/ruby/2.2.0/gems/openstudio-workflow-1.3.3/lib/openstudio/workflow/run.rb:216:in `run'
:/openstudio_cli.rb:920:in `execute'
:/openstudio_cli.rb:709:in `execute'
:/openstudio_cli.rb:1686:in `<main>'
eval:110:in `eval'
eval:110:in `require_embedded_absolute'
eval:95:in `block in require'
eval:89:in `each'
eval:89:in `require'
eval:2:in `<main>'"]}

Thank you.