Radiance result keep failing. Any advice?

asked 2018-01-29 09:09:37 -0500

hribr's avatar

updated 2018-01-31 00:49:22 -0500

Avi's avatar

I followed the instructions how to use Radiance, but the result keep failing. Any advice?

Initializing workflow.
Processing OpenStudio Measures.
Applying RadianceMeasure
  Result: Fail
  Error: No such file or directory - WMIC PROCESS WHERE Name="rmtxop.exe"
    C:/Users/Hribr/AppData/Local/Temp/OpenStudioApp.Sj8500/resources/measures/RadianceMeasure/measure.rb:262:in ``'
    C:/Users/Hribr/AppData/Local/Temp/OpenStudioApp.Sj8500/resources/measures/RadianceMeasure/measure.rb:262:in `merge_count'
    C:/Users/Hribr/AppData/Local/Temp/OpenStudioApp.Sj8500/resources/measures/RadianceMeasure/measure.rb:992:in `block in runSimulation'
    C:/Users/Hribr/AppData/Local/Temp/OpenStudioApp.Sj8500/resources/measures/RadianceMeasure/measure.rb:981:in `each'
    C:/Users/Hribr/AppData/Local/Temp/OpenStudioApp.Sj8500/resources/measures/RadianceMeasure/measure.rb:981:in `runSimulation'
    C:/Users/Hribr/AppData/Local/Temp/OpenStudioApp.Sj8500/resources/measures/RadianceMeasure/measure.rb:2504:in `run'
    :/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/util/measure.rb:450:in `apply_measure'
    :/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/util/measure.rb:74:in `block in apply_measures'
    :/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/util/measure.rb:32:in `each_index'
    :/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/util/measure.rb:32:in `apply_measures'
    :/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/jobs/run_os_measures.rb:52:in `perform'
    :/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/run.rb:261:in `step'
    :/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/run.rb:210:in `run'
    :/openstudio_cli.rb:804:in `execute'
    :/openstudio_cli.rb:620:in `execute'
    :/openstudio_cli.rb:1517: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>'
  Info: Radiance multiprocessing features are not supported on Windows.
  Info: Using 1 core(s) for Radiance jobs
  Info: Found Radiance at: C:\openstudio-2.2.0\bin\..\Radiance
  Info: Found Perl at: C:\openstudio-2.2.0\bin\..\Perl\perl\bin
  Info: Found EnergyPlus at: C:\openstudio-2.2.0\bin\..\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:\openstudio-2.2.0\bin\..\Radiance\bin
  Info: Radiance library dir: C:\openstudio-2.2.0\bin\..\Radiance\lib
  Info: Translating OpenStudio 2.x model to Radiance format...
  Info: OpenStudio CLI version: 2.2.0.0a5e9cec3f
  Info: Working directory: 'C:\Users\Hribr\AppData\Local\Temp\OpenStudioApp.Sj8500\resources\run\000_RadianceMeasure\radiance'
  Info: epw2wea "C:\Users\Hribr\AppData\Local\Temp\OpenStudioApp.Sj8500\resources\files\SVN_Ljubljana.130140_IWEC.epw" wx\in.wea
  Info: Passing 769 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 ...
(more)
edit retag flag offensive close merge delete

Comments

Looks like you're using the latest Radiance version that we include with OpenStudio, and you're trying to use it from the Radiance measure, so I'm not sure why it's having trouble finding rmtxop.exe. It would be very helpful if you could post your project on Dropbox so I could take a look at everything.

rpg777's avatar rpg777  ( 2018-01-29 13:52:40 -0500 )edit

Thanks for posting this log. It appears your system is having trouble finding rmtxop. I just confirmed that rmtxop is installed with the 2.2.0 Windows installer, and your log shows the Radiance measure is having no trouble finding the other Radiance executables upstream of the rmtxop command. So my first recommendation is to install the latest version of OpenStudio (2.4.0) and try your model again.

rpg777's avatar rpg777  ( 2018-01-31 10:10:32 -0500 )edit

I installed the latest version of OpenStudio 2.4.0, like you recommended, but the result is exactly the same.

hribr's avatar hribr  ( 2018-02-01 03:01:55 -0500 )edit

OK, sorry. What version of Windows are you running? Do you have any other versions of Radiance installed on this system? What happens when you type "where rcontrib.exe" and "where rmtxop.exe" at a command prompt?

rpg777's avatar rpg777  ( 2018-02-01 10:54:07 -0500 )edit

I'm using Windows 7. No other version of Radiance. When I type either into cmd with 'where', i get their location C:\openstudio-2.4.0\Radiance\bin, BUT ONLY if I'm already in the \bin folder. When I try 'where' from somwhere else, I get 'INFO: could not find file for the given pattern(s)'. I tried 'where rayinit.cal' and it only works if I'm already in the lib folder. Is there something wrong with my path variables? Thanks for helping:)

hribr's avatar hribr  ( 2018-02-01 16:27:28 -0500 )edit