[Radiance-general] comparing RTRACE vs DAYSIM Daylight Coefficients

CHI-German Molina gmolina at hdlao.com
Tue Sep 9 08:41:37 PDT 2014


Dear All,

I have been trying to replicate the "DAYSIM Daylight Coefficients",
comparing those results with the RTRACE output. I am doing this following
the 5 phase method tutorial, but I have not been succesful yet. Any
comments would be great! I am not sure I am doing this well...

So, what I did is to separate the whole scene (including overhangs) from
the window.

*FILE CONTENT*

##White.sky
void glow skymat
0
0
4    1     1     1    0

skymat source skysource
0
0
4     0    0    1    360


## suns.rad
void light solar 0 0 3 1e6 1e6 1e6
solar source sun 0 0 4 0 0.999 0.018 0.018 0.533
.....
lots of them.

## black.rad
void plastic black
0
0
5 0 0 0 0 0

##clear.sky
!gendaylit 3 1 9.5 -W 756 189 -g 0.7 -a -33.38 -o 70.78     ##There is a
big ground with 70% reflectance

skyfunc glow skyglow
0
0
4   1   1   1   0

skyglow source skysource
0
0
4   0    0    1    360


##Santiago.wea
place SANTIAGO_CHL
latitude -33.38
longitude 70.78
time_zone 60
site_elevation 476.0
weather_data_file_units 1
1 1 9.5 756 189





*RTRACE CALCULATIONS*
oconv Materials/* scene.rad clear.sky windows.rad > clear_octree.oct
cat Workplanes/WP.pts | rtrace -n 4 -I -ab 8 -ad 50000 -lw 2e-5 -dc 1 -dt 0
-dj 0 -st 1 -ss 0 -faa -af amb.af clear_octree.oct > rtrace.lux


*DC CALCULATIONS*

#Full sky DC
oconv Materials/* scene.rad windows.rad white.sky > white_octree.oct
gendaymtx -h -m 1 Santiago.wea > full_sky.skv
cat Workplanes/WP.pts | rcontrib -e MF:1 -f reinhart.cal -b rbin -bn Nrbins
-m skymat -n 4 -I -ab 8 -ad 50000 -lw 2e-5 -dc 1 -dt 0 -dj 0 -st 1 -ss 0
white_octree.oct > DC1.mtx
dctimestep -n 1 DC1.mtx full_sky.skv > DC1.lux

#Direct sun from patches, to be sustracted
xform -m scene.rad > black_scene.rad
oconv Materials/* black.rad black_scene.rad windows.rad white.sky >
black_octree.oct
gendaymtx -h  -m 1 -d Santiago.wea > sun_only_sky.skv
cat Workplanes/WP.pts | rcontrib -e MF:1 -f reinhart.cal -b rbin -bn Nrbins
-m skymat -n 4 -I -ab 1 -ad 50000 -lw 2e-5 -dc 1 -dt 0 -dj 0 -st 1 -ss 0
black_octree.oct > DC2.mtx
dctimestep -n 1 DC2.mtx sun_only_sky.skv > DC2.lux

#Sharp sun addition
oconv Materials/* black.rad black_scene.rad windows.rad suns.rad >
suns_octree.oct
gendaymtx -h -m 6 -5 Santiago.wea > direct_sun_M6_sky.skv
cat Workplanes/WP.pts | rcontrib  -n 4 -I -ab 1 -ad 50000 -lw 2e-5 -dc 1
-dt 0 -dj 0 -st 1 -ss 0 -e MF:6 -f reinhart.cal -b rbin -bn Nrbins -m solar
suns_octree.oct > directsun.mtx
dctimestep -n 1 directsun.mtx direct_sun_M6_sky.skv > directSun.lux



The results are horrible!!! So, any help would be awesome!!! THANKS


-- 
*Germán Molina L.*
Ingeniero Trainee
Hunter Douglas Chile S.A.
Celular +569 89224445

-- 


*Nota de Confidencialidad:* Este mensaje incluído los archivos adjuntos son 
confidenciales y pueden contener informacion privilegiada protegida por 
ley. Si Ud. no es el destinatario, deberia abstenerse de copiarlo, 
distribuirlo, divulgarlo o usar la informacion contenida. Por favor, avise 
inmediatamente al emisor y borre este mensaje de su sistema. Los mensajes 
electronicos son susceptibles de ser cambiados, infectados o adulterados 
sin autorizacion. No asumimos responsabilidad alguna por ninguna clase de 
cambios o sus consecuencias. Usted debe estar informado que la compania 
puede hacer un seguimiento de sus mensajes electronicos y su contenido, 
gracias.

*Confidentiality Notice:* The information contained in this email message, 
including any attachment, is confidential and is intended only for the 
person or entity to which it is addressed. If you are neither the intended 
recipient nor the employee or agent responsible for delivering this message 
to the intended recipient, you are hereby notified that you may not review, 
retransmit, convert to hard copy, copy, use or distribute this email 
message or any attachments to it. If you have received this email in error, 
please contact the sender immediately and delete this message from any 
computer or other data bank, Thank you.

A informação transmitida é confidencial e para conhecimento exclusivo do 
destinatário. Sua utilização, não autorizada, constitui crime passível de 
prisão. Todas as precauções possíveis foram tomadas para garantir que este 
e-mail não contenha vírus. Uma vez que nossa empresa não pode assumir 
responsabilidade por nenhuma perda ou dano causado por este e-mail ou de 
seus anexos, recomendamos que o destinatário utilize seus procedimentos de 
antivírus antes de qualquer uso.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140909/70165eb3/attachment.html>


More information about the Radiance-general mailing list