5

Radiance daylighting measure fails

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: 2.2.0.0a5e9cec3f Failed.

Julien's avatar
51
Julien
asked 2017-07-20 01:25:33 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-08-05 07:29:00 -0500
edit flag offensive 0 remove flag close merge delete

Comments

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's avatar rpg777 (2017-07-20 16:04:03 -0500) edit

Here is the link to download the .osm file : https://wetransfer.com/downloads/5e25...

Julien's avatar Julien (2017-07-20 23:43:38 -0500) edit

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

Determinant's avatar Determinant (2017-09-10 17:10:37 -0500) edit

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

xchen's avatar xchen (2017-09-28 13:58:47 -0500) 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's avatar rpg777 (2017-10-16 16:33:08 -0500) edit
add a comment see more comments

1 Answer

4

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.

rpg777's avatar
7k
rpg777
answered 2017-11-10 16:47:29 -0500
edit flag offensive 0 remove flag delete link

Comments

1

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

xchen's avatar xchen (2017-11-15 11:15:25 -0500) edit
add a comment see more comments