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

Radiance daylighting measure fails

asked 2017-07-20 01:25:33 -0600

Julien gravatar image

updated 2017-08-05 07:29:00 -0600

Hello, I am a new user of Openstudio and wish to use the Radiance daylight measure. I'm using Sketchup 2017 and openstudio 2.2.0 After reading the Installation and Introductory Tutorial, and wachting tutorial videos I created a simple model to try but when I ran the simulation I got an error message about not finding a file or directory. It may be very simple but I really don't know why I had this error. Is it a problem of version ?

Does someone have an idea where the problem comes from ?

The error message is :

*Initializing workflow. Processing OpenStudio Measures. Applying RadianceMeasure Result: Fail Error: No such file or directory @ rb_sysopen - C:/Users/julie/AppData/Local/Temp/OpenStudioApp.yW6368/resources/run/000_RadianceMeasure/radiance/options/treg.opt C:/Users/julie/AppData/Local/Temp/OpenStudioApp.yW6368/resources/measures/RadianceMeasure/measure.rb:714:in initialize' C:/Users/julie/AppData/Local/Temp/OpenStudioApp.yW6368/resources/measures/RadianceMeasure/measure.rb:714:inopen' C:/Users/julie/AppData/Local/Temp/OpenStudioApp.yW6368/resources/measures/RadianceMeasure/measure.rb:714:in run' :/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/util/measure.rb:450:inapply_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:ineach_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:inperform' :/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:inrun' :/openstudio_cli.rb:804:in execute' :/openstudio_cli.rb:620:inexecute' :/openstudio_cli.rb:1517:in <main>' eval:85:ineval' eval:85:in require_embedded_absolute' eval:70:inblock in require' eval:64:in each' eval:64:inrequire' eval:2:in `<main>' Info: Radiance multiprocessing features are not supported on Windows. Info: Using 1 core(s) for Radiance jobs Info: Running in debug mode 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: Running on Windows (sorry) Info: Translating OpenStudio 2.x model to Radiance format... Info: OpenStudio CLI version: Failed.

edit retag flag offensive close merge delete


Seems like the model translation is failing for some reason. Is there any way you could post your model (.osm) file on Dropbox or someplace similar, so we can take a look at how it's set up?

rpg777 gravatar imagerpg777 ( 2017-07-20 16:04:03 -0600 )edit

Here is the link to download the .osm file :

Julien gravatar imageJulien ( 2017-07-20 23:43:38 -0600 )edit

I'm having the same problem. Running Slacko Puppy Linux.

Determinant gravatar imageDeterminant ( 2017-09-10 17:10:37 -0600 )edit

I'm having the same program, is there any update on this question? Running openstudio v2.2.0. thanks.

XChen gravatar imageXChen ( 2017-09-28 13:58:47 -0600 )edit

The OP's model link is no longer valid. @XChen, please post a link to an example model that exhibits this behavior, and I will take a look.

rpg777 gravatar imagerpg777 ( 2017-10-16 16:33:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-10 16:47:29 -0600

The OP's link was no longer valid when I tried it; @willyJohan, your recent comment (and link) allowed me to test this out, however -- thank you. Your model confirmed my suspicion regarding the OP's issue -- there is an issue in translating the OSM to Radiance format. In @willyJohan's case, there are no spaces configured for Radiance. This is reported in the stdout file from the simulation:

[openstudio.radiance.ForwardTranslator] <1> Model does not contain any spaces configured for Radiance; check illuminance map and daylighting control point assignments.

I'll readily admit this is not the most obvious error reporting, but there is your answer. The reason the Radiance translator is failing is that your model has no illuminance maps. You must have daylighting controls and illuminance maps in each Thermal Zone you wish to analyze with Radiance, and they must be assigned to Thermal Zones in order for the Radiance translator and the Radiance measure to work.

P.S. Your additional attachment, the idf code snippet, seemed to just be a bunch of TDD definitions. Bear in mind that these are not supported yet by the Radiance translator either. Sorry.

You are encouraged to request these issues be fixed. The Radiance measure is a working proof of concept that needs a lot of hardening and additional translator support added, IMO.

edit flag offensive delete link more



yes not having illuminance map is the reason my model failed. thanks.

XChen gravatar imageXChen ( 2017-11-15 11:15:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools


Asked: 2017-07-20 01:25:33 -0600

Seen: 165 times

Last updated: Nov 10