ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/gendaylit.1
Revision: 1.3
Committed: Wed Jan 30 01:02:42 2013 UTC (12 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.2: +50 -47 lines
Log Message:
Replaced gendaylit with new version by Wendelin Sprenger and Jan Wienold

File Contents

# User Rev Content
1 greg 1.3 .\" RCSid "$Id: gendaylit.1,v 1.2 2009/06/06 20:22:49 greg Exp $"
2 greg 1.2 .TH GENDAYLIT 1 4/12/94 "RADIANCE ISE/ADEME EXTENSIONS"
3 greg 1.1 .SH NAME
4     gendaylit - generates a RADIANCE description of the daylit sources using Perez models for diffuse and direct components
5     .SH SYNOPSIS
6 greg 1.3 .B "gendaylit month day hour [-P|-W|-L|-G] direct_value diffuse_value "
7 greg 1.1 [
8     .B options
9     ]
10     .br
11 greg 1.3 .B "gendaylit -ang altitude azimuth [-P|-W|-L|-G] direct_value diffuse_value "
12 greg 1.1 [
13     .B options
14     ]
15     .SH DESCRIPTION
16     .I Gendaylit
17     produces a RADIANCE scene description based on an angular distribution of the
18     daylight sources (direct+diffuse) for the given atmospheric conditions
19     (direct and diffuse component of the solar radiation), date and
20 greg 1.3 local standard time. The default output is the radiance of the sun (direct) and the sky (diffuse)
21 greg 1.1 integrated over the visible spectral range (380-780 nm). We have used the
22     calculation of the sun's position and the ground brightness models which
23     were programmed in
24     .I gensky.
25    
26     The diffuse angular distribution is calculated using the Perez et al.
27     sky luminance distribution model (see Solar Energy Vol. 50, No. 3, pp. 235-245, 1993) which, quoting Perez,
28     describes "the mean instantaneous sky luminance angular distribution patterns for all sky
29     conditions from overcast to clear, through partly cloudy, skies". The correctness of the
30     resulting sky radiance/luminance values in this simulation is ensured through the normalization of the modelled
31     sky diffuse to the measured sky diffuse irradiances/illuminances.
32    
33 greg 1.3 As described below, the radiation can be defined with the pairs direct-normal and diffuse-horizontal irradiance
34     (-W option), direct-horizontal and diffuse-horizontal irradiance (-G option) or direct-normal and diffuse-horizontal
35     illuminance (-L option). The direct-normal radiation is understood here as the radiant flux coming from the sun
36 greg 1.1 and an area of approximately 3 degrees around the sun (World Meteorological Organisation specifications
37     for measuring the direct radiation. The aperture angle of a pyrheliometer is approximately 6 degrees).
38     To simplify the calculations for the direct radiation, the sun is represented as a disk and no
39     circumsolar radiation is modelled in the 3 degrees around the sun. This means that
40     all the measured/evaluated direct radiation is added to the 0.5 degree sun source.
41    
42 greg 1.3 The direct and diffuse solar irradiances/illuminances are the inputs needed for the calculation.
43     These quantities are the commonly accessible data from radiometric measurement centres or from the
44     Test Reference Year. The use of such data is the recommended method for achieving the most accurate
45     simulation results.
46 greg 1.1
47     The atmospheric conditions are modelled with the Perez et al. parametrization
48     (see Solar Energy Vol. 44, No 5, pp. 271-289, 1990), which is dependent on the values for
49 greg 1.3 the direct-normal and the diffuse-horizontal irradiances. The three parameters
50 greg 1.1 are epsilon, delta and the solar zenith angle. "Epsilon variations express the transition from
51     a totally overcast sky (epsilon=1) to a low turbidity clear sky (epsilon>6); delta
52     variations reflect the opacity/thickness of the clouds". Delta can vary from 0.05
53     representing a dark sky to 0.5 for a very bright sky. Not every combination of
54     epsilon, delta and solar zenith angle is possible. For a clear day, if
55     epsilon and the solar zenith angle are known, then delta can be determined. For intermediate or overcast
56     days, the sky can be dark or bright, giving a range of possible values for delta
57     when epsilon and the solar zenith are fixed. The relation between epsilon and delta
58 greg 1.3 is represented in a figure on page 393 in Solar Energy Vol.42, No 5, 1989. Note that the
59 greg 1.1 epsilon parameter is a function of the solar zenith angle. It means that a clear day
60     will not be defined by fixed values of epsilon and delta. Consequently the input
61     parameters, epsilon, delta and the solar zenith angle, have to be determined on a graph.
62     It might be easier to work with the measured direct and diffuse components (direct normal irradiance/illuminance
63     and diffuse horizontal irradiance/illuminance) than with the epsilon and delta parameters.
64    
65     The conversion of irradiance into illuminance for the direct and the diffuse
66     components is determined by the luminous efficacy models of Perez et al. (see
67     Solar Energy Vol. 44, No 5, pp. 271-289, 1990). To convert the luminance values
68     into radiance integrated over the visible range of the spectrum,
69     we devide the luminance by the white light efficacy factor of
70     179 lm/W. This is consistent with the RADIANCE calculation because the luminance
71 greg 1.3 will be recalculated from the radiance integrated over the visible range by:
72 greg 1.1
73     luminance = radiance_integrated_over_visible_range * 179 or
74     luminance = (RED*.263 + GREEN*.655 + BLUE*.082) * 179 with the capability
75     to model colour (where radiance_integrated_over_visible_range == (RED + GREEN + BLUE)/3).
76    
77     From
78     .I gensky
79 greg 1.3 , if the hour is preceded by a plus sign ('+'), then it is interpreted as local solar time instead of standard time.
80     The second form gives the solar angles explicitly. The altitude is measured in degrees above the horizon, and the
81     azimuth is measured in degrees west of South. The x axis points east, the y axis points north, and the z axis
82     corresponds to the zenith. The actual material and surface(s) used for the sky is left up to the user.
83     In addition to the specification of a sky distribution function,
84 greg 1.1 .I gendaylit
85 greg 1.3 suggests an ambient value in a comment at the beginning of the description to use with the
86 greg 1.1 .I \-av
87 greg 1.3 option of the RADIANCE rendering programs. (See rview(1) and rpict(1).) This value is the cosine-weighted
88     radiance of the sky in W/sr/m^2.
89 greg 1.1 .PP
90     .I Gendaylit
91     can be used with the following input parameters. They offer three possibilities
92 greg 1.3 to run it: with the Perez parametrization, with irradiance values and with illuminance values.
93 greg 1.1 .TP 10n
94     .BR \-P
95     .I epsilon
96     .I delta
97     (these are the Perez parameters)
98     .TP
99     .BR \-W
100     .I direct-normal-irradiance
101     (W/m^2),
102     .I diffuse-horizontal-irradiance
103     (W/m^2)
104     .TP
105 greg 1.3 .BR \-G
106     .I direct-horizontal-irradiance
107     (W/m^2),
108     .I diffuse-horizontal-irradiance
109     (W/m^2)
110     .TP
111 greg 1.1 .BR \-L
112     .I direct-normal-illuminance
113     (lm/m^2),
114     .I diffuse-horizontal-illuminance
115     (lm/m^2)
116     .PP
117 greg 1.3 The output can be set to either the radiance of the visible radiation, the solar radiance (full spectrum) or the luminance.
118 greg 1.1 .TP 10n
119     .BR \-O [0|1|2]
120 greg 1.3 (0=output in W/m^2/sr visible radiation (default), 1=output in W/m^2/sr solar radiation, 2=output in lm/m^2/sr luminance).
121 greg 1.1 .PP
122     .I Gendaylit
123     supports the following options.
124     .TP 10n
125     .BR \-s
126     The source description of the sun is not generated.
127     .TP
128 greg 1.3 .BR \-w
129     Suppress warning messages
130     .TP
131 greg 1.1 .BI -g \ rfl
132     Average ground reflectance is
133     .I rfl.
134     This value is used to compute
135     .I skyfunc
136     when Dz is negative.
137     .PP
138     The following options do not apply when the solar
139     altitude and azimuth are given explicitly.
140     .TP
141     .BI -a \ lat
142     The site latitude is
143     .I lat
144     degrees north.
145     (Use negative angle for south latitude.)
146     This is used in the calculation of sun angle.
147     .TP
148     .BI -o \ lon
149     The site longitude is
150     .I lon
151     degrees west.
152     (Use negative angle for east longitude.)
153     This is used in the calculation of solar time and sun angle.
154     Be sure to give the corresponding standard meridian also!
155     If solar time is given directly, then this option has no effect.
156     .TP
157     .BI -m \ mer
158     The site standard meridian is
159     .I mer
160     degrees west of Greenwich.
161     (Use negative angle for east.)
162     This is used in the calculation of solar time.
163     Be sure to give the correct longitude also!
164     If solar time is given directly, then this option has no effect.
165 greg 1.3 .TP
166     .BI -l \ min_angle
167     If gendaylit is used with weather files, the specified instantaneous points of time may be incorrect. This error occurs
168     due to the fact that measurement results are frequently defined for time intervals, not for specific points of time.
169     Although gendaylit is working correctly, this may lead to wrong outputs especially at low sun altitudes.
170     The -l option avoids these errors by returning zero values if the sun altitude is below
171     .I min_angle
172     degrees over the horizon. The default value is zero; the recommended number for
173     .I min_angle
174     in the case of using weather files is 1 degree.
175    
176 greg 1.1 .SH EXAMPLES
177     A clear non-turbid sky for a solar altitude of 60 degrees and an azimut of 0 degree might be defined by:
178     .IP "" .2i
179     gendaylit -ang 60 0 -P 6.3 0.12 or gendaylit -ang 60 0 -W 840 135
180     This sky description corresponds to the clear sky standard of the CIE.
181     .PP
182     The corresponding sky with a high turbidity is:
183     .IP "" .2i
184 greg 1.3 gendaylit -ang 60 0 -P 3.2 0.24 or gendaylit -ang 60 0 -W 720 280
185 greg 1.1 .PP
186     The dark overcast sky (corresponding to the CIE overcast standard, see CIE draft standard,
187     Pub. No. CIE DS 003, 1st Edition, 1994) is obtained by:
188     .IP "" .2i
189 greg 1.3 gendaylit -ang 60 0 -P 1 0.08
190 greg 1.1 .PP
191     A bright overcast sky is modelled with a larger value of delta, for example:
192     .IP "" .2i
193     gendaylit -ang 60 0 -P 1 0.35
194     .PP
195     To generate the same bright overcast sky for March 2th at 3:15pm standard time at a site
196     latitude of 42 degrees, 108 degrees west longitude, and a 110 degrees standard meridian:
197     .IP "" .2i
198     gendaylit 3 2 15.25 -a 42 -o 108 -m 110 -P 1 0.35
199     .PP
200     .SH FILES
201     /usr/local/lib/ray/perezlum.cal
202     .SH AUTHOR
203 greg 1.3 Jean-Jacques Delaunay, Jan Wienold, Wendelin Sprenger, Fraunhofer ISE (Freiburg i.B., Germany) ([email protected])
204 greg 1.1 .SH ACKNOWLEDGEMENTS
205 greg 1.3 The first work on this program was supported by the German Federal Ministry for Research
206 greg 1.1 and Technology (BMFT) under contract No. 0329294A, and a scholarship from
207     the French Environment and Energy Agency (ADEME) which was co-funded by Bouygues.
208 greg 1.3 Many thanks to Peter Apian-Bennewitz, Arndt Berger, Christian Reetz, Ann Kovach, R. Perez, C. Gueymard and G. Ward for their help.
209 greg 1.1 .SH "SEE ALSO"
210     gensky(1), rpict(1), rview(1), xform(1)