[Radiance-general] Any method to calculate sky view factor in Radiance?

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Fri Apr 13 07:56:34 PDT 2018


Also, substitute the ‘type’ command for ‘cat’ if you’re on Windows. At least back in the day, that was the only substitute. Maybe on newer Windows systems there’s a cat available.(?)

From: Germán Larrain <germolinal at gmail.com>
Reply-To: Radiance discussion <radiance-general at radiance-online.org>
Date: Thursday, April 12, 2018 at 7:27 PM
To: Radiance discussion <radiance-general at radiance-online.org>
Subject: Re: [Radiance-general] Any method to calculate sky view factor in Radiance?

Hi Katsuya,
Points should be the name of a file containing the location (Px,Py,Pz) and orientation (Dx,Dy,Dz) of your "illuminance sensors". Something like

0 0 0.8 0 0 1
1 0 0.8 0 0 1
Such case would represent two sensors, one on the position X=0, Y=0, Z=0.8 and one in position X=1, Y=0, Z=0.8... both are looking Up.
I would recommend you to also check tutorials on how the "cat" command works (it is easy, though... it only prints the contents of a file into the terminal) and about piping. That would give you a better understanding on what that command is doing
Best,

El vie., 13 abr. 2018 a las 11:38, Katsuya Obara (<katsuya.obara at arup.com<mailto:katsuya.obara at arup.com>>) escribió:
Dear Raphael,

Thank you very much for your answer.
Since I am not familiar with Unix, may I ask you how I should write in Microsoft batch file for following part?
cat points | rtrace -h -ab 1 -I uni.oct | rcalc -e 'SVF=$1;$1=SVF;'
Especially, I could not figure out what points mean.

Thank you.
Katsuya

-----Original Message-----
From: Compagnon Raphaël [mailto:Raphael.Compagnon at hefr.ch<mailto:Raphael.Compagnon at hefr.ch>]
Sent: Thursday, April 12, 2018 2:38 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] Any method to calculate sky view factor in Radiance?

Hello

A simple approach is to compute the illuminance level under a uniform sky.
First define a uniform sky (uni.rad) like this:

void glow sky_glow
0
0
4 0.318309886 0.318309886 0.318309886 0
sky_glow source sky
0
0
4 0 0 1 180

Note that the radiance value 0.318309886=1/PI This makes the illuminance value computed for an unobstructed horizontal plane equal to 1 and this matches in fact the SVF value!


To compute SVF values for several points, then use rtrace with option -I like this:


oconv uni.rad >uni.oct
cat points | rtrace -h -ab 1 -I uni.oct | rcalc -e 'SVF=$1;$1=SVF;'

where points is a file where calculation points are stored as:
x y z xdir ydir zdir

For instance using these three points you can check that SVF values are well computed as 1 for an horizontal plane and 0.5 for vertical planes:
0 0 0 0 0 1
0 0 0 0 1 0
0 0 0 1 0 0

Of course SVF values are usually more interesting to compute for scenes containing objects... These should be defined in a scene file and then merged in the octree before doint the SVF calculations:


oconv uni.rad myscene.rad >scene.oct
cat points | rtrace -h -ab 1 -I scene.oct | rcalc -e 'SVF=$1;$1=SVF;'


Hope this will help you!
Raphaël







________________________________
De : Katsuya Obara <katsuya.obara at arup.com<mailto:katsuya.obara at arup.com>> Envoyé : jeudi 12 avril 2018 01:54:46 À : radiance-general at radiance-online.org<mailto:radiance-general at radiance-online.org>
Objet : [Radiance-general] Any method to calculate sky view factor in Radiance?

Dear all,

I want to calculate sky view factor.
Trying to find in google, I could not find solid information which I can refer to.
Could anyone tell me what kind of approach I can have to calculate sky view factor?

Thank you.
Katsuya


____________________________________________________________
Electronic mail messages entering and leaving Arup business systems are scanned for viruses and acceptability of content

_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org<mailto:Radiance-general at radiance-online.org>
https://secure-web.cisco.com/1Yc5p1jP-sS9GSQOhea6eAvW2j3Mv6gjSilmNn0jJhXvvKTjGAYYE7a2pID0EaTYngTw7vjB6lGhdqxL-dUpmViFpZnymqVpJzYUn27CZNVeNFHbRwlX8Wl6KmmIvNSOGZOFQGJM9zLT0jaORSNdNOgyQ_9j_vagh8pBtQwEDEnW9ltvRUpbDylNJEeU8Hz4FkXlbpdak2LtUJZpjXE7YX2rbe2ngiLG1qD-koTRWavtRn1oW3SLOdY1A8fDRybYd/https%3A%2F%2Fwww.radiance-online.org%2Fmailman%2Flistinfo%2Fradiance-general<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsecure-web.cisco.com%2F1Yc5p1jP-sS9GSQOhea6eAvW2j3Mv6gjSilmNn0jJhXvvKTjGAYYE7a2pID0EaTYngTw7vjB6lGhdqxL-dUpmViFpZnymqVpJzYUn27CZNVeNFHbRwlX8Wl6KmmIvNSOGZOFQGJM9zLT0jaORSNdNOgyQ_9j_vagh8pBtQwEDEnW9ltvRUpbDylNJEeU8Hz4FkXlbpdak2LtUJZpjXE7YX2rbe2ngiLG1qD-koTRWavtRn1oW3SLOdY1A8fDRybYd%2Fhttps%253A%252F%252Fwww.radiance-online.org%252Fmailman%252Flistinfo%252Fradiance-general&data=02%7C01%7Crobert.guglielmetti%40nrel.gov%7Ce466da7dcd824786f13008d5a0ddc34c%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C1%7C636591796701331664&sdata=%2BevDEksEeRnjYHgrFfe%2BbLlzC%2BG2UllOInGYvfg4sdI%3D&reserved=0>


_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org<mailto:Radiance-general at radiance-online.org>
https://www.radiance-online.org/mailman/listinfo/radiance-general<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.radiance-online.org%2Fmailman%2Flistinfo%2Fradiance-general&data=02%7C01%7Crobert.guglielmetti%40nrel.gov%7Ce466da7dcd824786f13008d5a0ddc34c%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C1%7C636591796701331664&sdata=%2BZONmQ0j%2BLGuIAof26zVWP25xseEzw%2B6%2F3Byy8jGtlc%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20180413/717e6dd8/attachment.html>


More information about the Radiance-general mailing list