Annual daylighting internal error cannot open
Posted by Luis Sousa on 20-Sep-21 08:19 AM

1. Check the DesignBuilder session logs 

2. If the logs are showing:

_Temporary folder: C:\Users\YourUsername\AppData\Local\Temp_

Daylighting::DoDaylightingCalcs - Command 'cnt.exe 577 | rcalc.exe -e MF:2 -f -e Rbin=recno -o "solar source sun 0 0 4 ${Dx} ${Dy} ${Dz} 0.533" >> "C:\Users\LuisS1\AppData\Local\Temp\dkl3athd.imv.Building-1.geom_sun"' failed to run: cannot open
Stack trace:

3. Then you may have installed the standalone Daysim or Radiance at some point.


Delete the user and system environment variable RAYPATH and try again.

At Control Panel > System > Advanced system settings > Advanced (tab) > Environment Variables > Under "System variables" and “User variable”, find RAYPATH and delete it.

Also delete all Daysim and Radiance references on the Path variable both user and system level.

Then start a new DB session and try Annual Daylighting.

You may also have other applications that are using Radiance then a workaround is to copy file from the DesignBuilder installation folder of Radiance ( C:\Program Files (x86)\DesignBuilder\Radiance-5.2\lib) to all other locations where Radiance is installed.