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

Revision history [back]

click to hide/show revision 1
initial version

Radiance OpenStudio Error

Radiance problem

I used OpenStudio Application 1.1.0 with Radiance for a simple case that encountered an error and failed. Then to ensure, I used the “measure_test_model.osm” in the radiance_measure folder from BCL and also other cases, but I always encountered the following error. I checked the Unmet Hours and google for the same problem, but nobody has reported this error.

Any suggestions? I appreciate your consideration.

Applying RadianceMeasure
  Result: Fail
  Error: undefined method `each' for nil:NilClass
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1320:in `block (2 levels) in parseResults'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1252:in `each'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1252:in `block in parseResults'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1248:in `times'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1248:in `parseResults'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1203:in `runSimulation'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:2466:in `run'
    :/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:515:in `apply_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:in `each_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_os_measures.rb:70:in `perform'
    :/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:in `run'
    :/openstudio_cli.rb:971:in `execute'
    :/openstudio_cli.rb:761:in `execute'
    :/openstudio_cli.rb:1755:in `<main>'
    eval:175:in `eval'
    eval:175:in `require_embedded_absolute'
    eval:160:in `block in require_embedded'
    eval:154:in `each'
    eval:154:in `require_embedded'
    eval:113:in `require'
    eval:3:in `<main>'
  Info: Begin Encoding.default_external = UTF-8
  Info: Begin Encoding.default_internal = 
  Info: Radiance multiprocessing features are not supported on Windows.
  Info: Using 1 core(s) for Radiance jobs
  Info: Found Radiance at: C:\openstudioapplication-1.1.0\Radiance
  Info: Found Perl at: 
  Info: Found EnergyPlus at: C:\openstudioapplication-1.1.0\EnergyPlus\energyplus.exe
  Info: Radiance version: NREL 5.0.a.12 (by googs 2016.10.04) based on RADIANCE 5.0 Official Release by G. Ward
  Info: Radiance binary dir: C:\openstudioapplication-1.1.0\Radiance\bin
  Info: Radiance library dir: C:\openstudioapplication-1.1.0\Radiance\lib
  Info: Translating OpenStudio 2.x model to Radiance format...
  Info: OpenStudio CLI version: 3.1.0+82d3ea2978
  Info: Working directory: 'C:\Users\Lari\AppData\Local\Temp\osmodel-1626798855-1\resources\run\000_RadianceMeasure\radiance'
  Info: epw2wea "C:\Users\Lari\AppData\Local\Temp\osmodel-1626798855-1\resources\files\USA_CO_Golden-NREL.724666_TMY3.epw" wx\in.wea
  Info: added glare sensor 'numeric\SE_Space_102_Glare_Sensor_2.glr' to calculation points
  Info: added glare sensor 'numeric\SW_Space_101_Glare_Sensor_1.glr' to calculation points
  Info: Passing 45 calculation points to Radiance
  Info: Computing daylight coefficient matrices
  Info: oconv materials\materials.rad model.rad > octrees\model_dc.oct
  Info: Computing view matrix for uncontrolled windows (WG0)
  Info: oconv materials\materials.rad model.rad skies\dc_sky.rad skies\dc_sky.rad > octrees\model_WG0.oct
  Info: type numeric\merged_space.map | rcontrib -ab 6 -ad 4050 -as 256 -dj 1 -dp 1 -dt 0 -dc 1 -lw 0.001   -I+ -fo -e MF:1 -f tregenza.cal -b tbin -bn Ntbins -faa -o output\dc\WG0.vmx -m skyglow octrees\model_WG0.oct
  Info: Daylight coefficient matrices computed.
  Info: Performing annual daylight simulation(s)
  Info: gendaymtx -m 1 "wx\in.wea" > annual-sky.mtx
  Info: dctimestep output\dc\WG0.vmx annual-sky.mtx | rmtxop -fa -c 47.4 120 11.6 - > output\ts\WG0.ill
  Info: Creating whole-building daylight results file...
  Info: INFO: Model has 0 controlled window groups
  Info: Finalizing output...
  Info: rmtxop -fa output\ts\WG0.ill -t | getinfo - > output\merged_space.ill
  Info: Parsing daylighting results
Failed.

Radiance OpenStudio Error

Radiance problem

I used OpenStudio Application 1.1.0 with Radiance for a simple case that encountered an error and failed. Then to ensure, I used the “measure_test_model.osm” in the radiance_measure folder from BCL and also other cases, but I always encountered the following error. I checked the Unmet Hours and google for the same problem, but nobody has reported this error.

Any suggestions? I appreciate your consideration.

Applying RadianceMeasure
  Result: Fail
  Error: undefined method `each' for nil:NilClass
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1320:in `block (2 levels) in parseResults'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1252:in `each'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1252:in `block in parseResults'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1248:in `times'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1248:in `parseResults'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:1203:in `runSimulation'
    C:/Users/Lari/AppData/Local/Temp/osmodel-1626798855-1/resources/measures/RadianceMeasure/measure.rb:2466:in `run'
    :/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:515:in `apply_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:in `each_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_os_measures.rb:70:in `perform'
    :/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:in `run'
    :/openstudio_cli.rb:971:in `execute'
    :/openstudio_cli.rb:761:in `execute'
    :/openstudio_cli.rb:1755:in `<main>'
    eval:175:in `eval'
    eval:175:in `require_embedded_absolute'
    eval:160:in `block in require_embedded'
    eval:154:in `each'
    eval:154:in `require_embedded'
    eval:113:in `require'
    eval:3:in `<main>'
  Info: Begin Encoding.default_external = UTF-8
  Info: Begin Encoding.default_internal = 
  Info: Radiance multiprocessing features are not supported on Windows.
  Info: Using 1 core(s) for Radiance jobs
  Info: Found Radiance at: C:\openstudioapplication-1.1.0\Radiance
  Info: Found Perl at: 
  Info: Found EnergyPlus at: C:\openstudioapplication-1.1.0\EnergyPlus\energyplus.exe
  Info: Radiance version: NREL 5.0.a.12 (by googs 2016.10.04) based on RADIANCE 5.0 Official Release by G. Ward
  Info: Radiance binary dir: C:\openstudioapplication-1.1.0\Radiance\bin
  Info: Radiance library dir: C:\openstudioapplication-1.1.0\Radiance\lib
  Info: Translating OpenStudio 2.x model to Radiance format...
  Info: OpenStudio CLI version: 3.1.0+82d3ea2978
  Info: Working directory: 'C:\Users\Lari\AppData\Local\Temp\osmodel-1626798855-1\resources\run\000_RadianceMeasure\radiance'
  Info: epw2wea "C:\Users\Lari\AppData\Local\Temp\osmodel-1626798855-1\resources\files\USA_CO_Golden-NREL.724666_TMY3.epw" wx\in.wea
  Info: added glare sensor 'numeric\SE_Space_102_Glare_Sensor_2.glr' to calculation points
  Info: added glare sensor 'numeric\SW_Space_101_Glare_Sensor_1.glr' to calculation points
  Info: Passing 45 calculation points to Radiance
  Info: Computing daylight coefficient matrices
  Info: oconv materials\materials.rad model.rad > octrees\model_dc.oct
  Info: Computing view matrix for uncontrolled windows (WG0)
  Info: oconv materials\materials.rad model.rad skies\dc_sky.rad skies\dc_sky.rad > octrees\model_WG0.oct
  Info: type numeric\merged_space.map | rcontrib -ab 6 -ad 4050 -as 256 -dj 1 -dp 1 -dt 0 -dc 1 -lw 0.001   -I+ -fo -e MF:1 -f tregenza.cal -b tbin -bn Ntbins -faa -o output\dc\WG0.vmx -m skyglow octrees\model_WG0.oct
  Info: Daylight coefficient matrices computed.
  Info: Performing annual daylight simulation(s)
  Info: gendaymtx -m 1 "wx\in.wea" > annual-sky.mtx
  Info: dctimestep output\dc\WG0.vmx annual-sky.mtx | rmtxop -fa -c 47.4 120 11.6 - > output\ts\WG0.ill
  Info: Creating whole-building daylight results file...
  Info: INFO: Model has 0 controlled window groups
  Info: Finalizing output...
  Info: rmtxop -fa output\ts\WG0.ill -t | getinfo - > output\merged_space.ill
  Info: Parsing daylighting results
Failed.