I am beginner in radiance am I am trying to use dayfact script to create
illuminance plot for a simple room. When I run the dayfact script with
the inputs given below no contour plots were created and no error
message was shown. I request to guide me in getting the plots.
Input for dayfact script is below and the room description is attached
with the mail.
DAYLIGHT FACTOR CALCULATION
This script calculates daylight factors, illuminance levels, and/or
energy savings due to daylight on a rectangular workplane and produces
a contour plot from the result. The input is a Radiance scene
description
(and octree) and the output is one or more color Radiance pictures.
Have you already calculated an illuminance picture using dayfact?
Enter illumpic [none]:
Enter octree [none]: room.oct
Is the z-axis your zenith direction? y
What is the origin (smallest x y z coordinates) of the workplane?
Enter wporig [0 0 0]: 0 0 1
What is the x and y size (width and length) of the workplane?
Enter wpsize [1 1]: 3 3
What calculation options do you want to give to rtrace?
(It is very important to set the -a* options correctly.)
Enter rtargs [-ab 1 -ad 256 -as 128 -aa .15 -av .3 .3 .3 -ar 13]:
Do you want to save the illuminance picture for later runs?
Enter illumpic [none]: RoomIlPic.pic
In what scene file is the gensky command located?
Enter genskyf [none]: skies/sky_overcast.mat
# gensky 11 21 12:00 -a 51 -o 0 -m 0 -c
# gensky 11 21 12:00 -a 51 -o 0 -m 0 -c
Illuminance contour picture if you want one
Enter ilpict [none]: RmIlCont.pic
Daylight factor contour picture if you want one
Enter dfpict [none]: RmDF.pic
Energy savings contour picture if you want one
Enter dspict [none]: RmES.pic
Workplane design level (lux)
Enter designlvl [500]:
Title for output picture
Enter title [room 11 21 12]: Rmouptput.pic
[1] 30406 30411
Your job is started in the background.
You will be notified by mail when it is done.
mail: Command not found.
The key to your problem is written in the last line of the script output -- apparently, your version of Unix lacks a "mail" command, so you didn't get any notification. I expect your results are sitting in the file you named in the working directory. Did you check? The ximage command may be used to display it.
Cheers,
-Greg
···
From: Ganesh <[email protected]>
Date: October 9, 2009 5:51:08 AM PDT
Dear Radiance Users,
I am beginner in radiance am I am trying to use dayfact script to create illuminance plot for a simple room. When I run the dayfact script with the inputs given below no contour plots were created and no error message was shown. I request to guide me in getting the plots.
Input for dayfact script is below and the room description is attached with the mail.
DAYLIGHT FACTOR CALCULATION
This script calculates daylight factors, illuminance levels, and/or
energy savings due to daylight on a rectangular workplane and produces
a contour plot from the result. The input is a Radiance scene description
(and octree) and the output is one or more color Radiance pictures.
Have you already calculated an illuminance picture using dayfact?
Enter illumpic [none]:
Enter octree [none]: room.oct
Is the z-axis your zenith direction? y
What is the origin (smallest x y z coordinates) of the workplane?
Enter wporig [0 0 0]: 0 0 1
What is the x and y size (width and length) of the workplane?
Enter wpsize [1 1]: 3 3
What calculation options do you want to give to rtrace?
(It is very important to set the -a* options correctly.)
Enter rtargs [-ab 1 -ad 256 -as 128 -aa .15 -av .3 .3 .3 -ar 13]:
Do you want to save the illuminance picture for later runs?
Enter illumpic [none]: RoomIlPic.pic
In what scene file is the gensky command located?
Enter genskyf [none]: skies/sky_overcast.mat
# gensky 11 21 12:00 -a 51 -o 0 -m 0 -c
Illuminance contour picture if you want one
Enter ilpict [none]: RmIlCont.pic
Daylight factor contour picture if you want one
Enter dfpict [none]: RmDF.pic
Energy savings contour picture if you want one
Enter dspict [none]: RmES.pic
Workplane design level (lux)
Enter designlvl [500]:
Title for output picture
Enter title [room 11 21 12]: Rmouptput.pic
[1] 30406 30411
Your job is started in the background.
You will be notified by mail when it is done.
mail: Command not found.
I checked in the working directory there was no plots created. The file
name which was given for illumination plot was present in the directory
but its size was 0 bytes no other picture files were present in the
directory. Is there any other way to check dayfact script in my
computer.
I use default shell in ubuntu 8.1 i.e. bash for running the script. I am
currently running binaries radiance V3.9 distributed with ubuntu 8.1.
Regards
Ganesh.
···
From: [email protected]
[mailto:[email protected]] On Behalf Of Greg
Ward
Sent: Friday, October 09, 2009 9:18 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] Using dayfact Script
Hi Ganesh,
The key to your problem is written in the last line of the script output
-- apparently, your version of Unix lacks a "mail" command, so you
didn't get any notification. I expect your results are sitting in the
file you named in the working directory. Did you check? The ximage
command may be used to display it.
I am beginner in radiance am I am trying to use dayfact script
to create illuminance plot for a simple room. When I run the dayfact
script with the inputs given below no contour plots were created and no
error message was shown. I request to guide me in getting the plots.
Input for dayfact script is below and the room description is
attached with the mail.
DAYLIGHT FACTOR CALCULATION
This script calculates daylight factors, illuminance levels,
and/or
energy savings due to daylight on a rectangular workplane and
produces
a contour plot from the result. The input is a Radiance scene
description
(and octree) and the output is one or more color Radiance
pictures.
Have you already calculated an illuminance picture using
dayfact?
Enter illumpic [none]:
Enter octree [none]: room.oct
Is the z-axis your zenith direction? y
What is the origin (smallest x y z coordinates) of the
workplane?
Enter wporig [0 0 0]: 0 0 1
What is the x and y size (width and length) of the workplane?
Enter wpsize [1 1]: 3 3
What calculation options do you want to give to rtrace?
(It is very important to set the -a* options correctly.)
Enter rtargs [-ab 1 -ad 256 -as 128 -aa .15 -av .3 .3 .3 -ar
13]:
Do you want to save the illuminance picture for later runs?
Enter illumpic [none]: RoomIlPic.pic
In what scene file is the gensky command located?
Enter genskyf [none]: skies/sky_overcast.mat
# gensky 11 21 12:00 -a 51 -o 0 -m 0 -c
# gensky 11 21 12:00 -a 51 -o 0 -m 0 -c
Illuminance contour picture if you want one
Enter ilpict [none]: RmIlCont.pic
Daylight factor contour picture if you want one
Enter dfpict [none]: RmDF.pic
Energy savings contour picture if you want one
Enter dspict [none]: RmES.pic
Workplane design level (lux)
Enter designlvl [500]:
Title for output picture
Enter title [room 11 21 12]: Rmouptput.pic
[1] 30406 30411
Your job is started in the background.
You will be notified by mail when it is done.
mail: Command not found.
That must mean that the job died because "mail" couldn't be found. So, just alter the last lines of the script by replacing the lines after "echo 'rm -r $td' >> $sctemp" in dayfact to:
source sctemp
It will then run the job in the foreground and you'll get the prompt back when it's done.
I checked in the working directory there was no plots created. The file name which was given for illumination plot was present in the directory but its size was 0 bytes no other picture files were present in the directory. Is there any other way to check dayfact script in my computer.
I use default shell in ubuntu 8.1 i.e. bash for running the script. I am currently running binaries radiance V3.9 distributed with ubuntu 8.1.
Somehow, I lost the dollar sign on $srctemp in my single line of code, bringing up the old Unix fortune:
"Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction which doesn't work." (Author Unknown)
-Greg
···
From: Greg Ward <[email protected]>
Date: October 10, 2009 11:55:25 AM PDT
Hi Ganesh,
That must mean that the job died because "mail" couldn't be found. So, just alter the last lines of the script by replacing the lines after "echo 'rm -r $td' >> $sctemp" in dayfact to:
source sctemp
It will then run the job in the foreground and you'll get the prompt back when it's done.