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

Clear the approach to use Radiance in OpenStudio without getting "run ModelToRad" error

asked 2015-06-16 19:02:20 -0600

Sara_M's avatar

updated 2020-03-24 10:14:35 -0600

Dear all,

I want to run Radiance using OpenStudio. However, I am getting this error "failed to run ModelToRad". I have read all the answers so far and did all the steps below:

  1. Install Radiance in a nice short path (c:).
  2. Choose a very simple name without space or punctuation for the OpenStudio's file as well as its path
  3. Scan tools to find the routs to Radiance, EP and Ruby
  4. Install EP to a default directory (I suspect I did this step wrong)

Could you please explain why I am still getting this error? The model I am runing is a very simple box. I am using EP 8.2, OpenStudion 1.7, and Radiance version 5.0.a.3. I already defined an illuminace map, a lighitng control and a glare sensor.

FYI image description [openstudio.runmanager.LocalProcess] <1> Starting LocalProcess: C:/EnergyPlusV8-2-0/EnergyPlus.exe [openstudio.radiance.ForwardTranslator] <0> IlluminanceMap Illuminance Map 1 is not associated with this Space's ThermalZone, it will not be translated. [openstudio.radiance.ForwardTranslator] <1> Model does not contain any Radiance daylighting objects. no sql file given, running EnergyPlus... Creating rundir: C:/Users/apptestacc/AppData/Local/Temp/OpenStudio.Rx4172/resources/run/1-Ruby-0/in/model/radiance/geneplus/ Creating workflow Running jobs The job in 'C:/Users/apptestacc/AppData/Local/Temp/OpenStudio.Rx4172/resources/run/1-Ruby-0/in/model/radiance/geneplus/3-EnergyPlus-0' has warnings. WARN: ProcessScheduleInput: Schedule:Compact="HVACTEMPLATE-ALWAYS 4", Schedule Type Limits Name="HVACTEMPLATE ANY NUMBER" not found -- will not be validated WARN: GetHTSurfaceData: Surfaces with interface to Ground found but no "Ground Temperatures" were input. Found first in surface=SURFACE 1 Defaults, constant throughout the year of (18.0) will be used. The job in 'C:/Users/apptestacc/AppData/Local/Temp/OpenStudio.Rx4172/resources/run/1-Ruby-0/in/model/radiance/geneplus/4-ModelToRad-0' did not finish successfully. ERROR: Model does not contain any Radiance daylighting objects. Radiance export aborted. Adding path for local perl: C:/Program Files/OpenStudio 1.7.0/strawberry-perl-5.16.2.1-32bit-portable-reduced/perl/bin Setting RAYPATH: C:/radiance/lib, C:/radiance/bin, '.' Appending PATH: C:/radiance/bin, '.' 2015-06-18 20:32:16 UTC: running 'ruby -I 'C:\Users\apptestacc\AppData\Local\Temp\OpenStudio.Rx4172\resources\run\1-Ruby-0' -I 'C:\Program Files\OpenStudio 1.7.0\Ruby' -I 'C:\Program Files\OpenStudio 1.7.0\ruby-install\ruby\lib\ruby\siteruby\2.0.0' -I 'C:\Program Files\OpenStudio 1.7.0\ruby-install\ruby\lib\ruby\siteruby\2.0.0\x64-msvcrt' -I 'C:\Program Files\OpenStudio 1.7.0\ruby-install\ruby\lib\ruby\siteruby' -I 'C:\Program Files\OpenStudio 1.7.0\ruby-install\ruby\lib\ruby\vendorruby\2.0.0' -I 'C:\Program Files\OpenStudio 1.7.0\ruby-install\ruby\lib\ruby\vendorruby\2.0.0\x64-msvcrt' -I 'C:\Program Files\OpenStudio 1.7.0\ruby-install\ruby\lib\ruby\vendor_ruby' -I 'C:\Program Files\OpenStudio 1.7.0\ruby-install\ruby\lib\ruby\2.0.0' -I 'C:\Program Files\OpenStudio 1.7.0\ruby-install\ruby\lib\ruby\2.0.0 ... (more)

edit retag flag offensive close merge delete

Comments

Not sure, but the "." in your username could be causing problems. I recently had this same error that was finally traced back to a " " (a space) being in my user directory name. Once the space was removed, my error went away.

keb's avatar keb  ( 2015-06-17 09:26:54 -0600 )edit

Have you added all the required objects for radiance simulation described in this post?

macumber's avatar macumber  ( 2015-06-17 11:54:02 -0600 )edit

To kent Beason: I deleted "." in the username. Still I got the same error. To macumber: I did define glare sensor, illuminance map, and daylight control. In regard to material properties, I did define solar, thermal, and visible absorptance in EP. I am not sure if Radiance has access to this. In DIVA the user has to reassign properties to surfaces. So I am wondering if this is the case in OpenStudio. Is there any specific location to reassign Radiance properties to EP surface? Would you mind prepare a Radiance example file online? I can compare mine with that and see what I am missing.

Sara_M's avatar Sara_M  ( 2015-06-18 16:02:44 -0600 )edit

Did you associate the primary daylight control, secondary daylight control (if any), and primary illuminance map with each thermal zone?

macumber's avatar macumber  ( 2015-06-18 17:37:35 -0600 )edit

Yes, it is a very simple model. I uploaded a 3D image and updated the error in the Main Question. Do you think that many versions of EP installed on my computer causing a problem? Another hint to solve this issue is that EP is running well so the problem is with Radiance connecting to EP through Openstudio.

Sara_M's avatar Sara_M  ( 2015-06-18 19:03:48 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-06-25 19:08:21 -0600

Sara_M's avatar

Yes, finally I run the radiance. A part of the problem was what you mentioned. Illuminance map was not assigned to the thermal zone which is very questionable because I created after I double-clicked on the zone. For some reason I do not fully understand the benefit of space in OpenStudio. It is redundant and sometimes confusing. The other problem with ModelToRad error was the connection between Radiance and Windows 7-64 bit. If you install OpenStudio, the EP comes with the package. So I knew this fact and I did not install EP 8.2 separately. However, I did get error about Radiance could not find EP. So I installed EP 8.2 separately on C drive where Radiance is. Everything works perfectly after that.

edit flag offensive delete link more

Comments

1

Glad this finally worked for you Sara. OpenStudio Spaces allow for grouping of multiple space types into a single thermal zone. The need to connect the illuminance map to the thermal zone comes from requirements that we be able to simulate the illuminance map in both Radiance and EnergyPlus. The need to install EnergyPlus separately from OpenStudio is a bug that we plan to fix in the next quarter.

macumber's avatar macumber  ( 2015-06-26 10:13:34 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2015-06-16 19:02:20 -0600

Seen: 614 times

Last updated: Jun 25 '15