@@ -158,9 +158,11 @@ def get_relative_airmass(zenith, model='kastenyoung1989'):
158
158
* 'gueymard1993' - See reference [4] -
159
159
requires apparent sun zenith
160
160
* 'young1994' - See reference [5] -
161
- requries true sun zenith
161
+ requires true sun zenith
162
162
* 'pickering2002' - See reference [6] -
163
163
requires apparent sun zenith
164
+ * 'gueymard2003' - See references [7] and [8] -
165
+ requires apparent sun zenith
164
166
165
167
Returns
166
168
-------
@@ -196,7 +198,17 @@ def get_relative_airmass(zenith, model='kastenyoung1989'):
196
198
197
199
.. [6] Keith A. Pickering. "The Ancient Star Catalog". DIO 12:1, 20,
198
200
199
- .. [7] Matthew J. Reno, Clifford W. Hansen and Joshua S. Stein, "Global
201
+ .. [7] C. Gueymard, "Direct solar transmittance and irradiance
202
+ predictions with broadband models. Part I: detailed theoretical
203
+ performance assessment". Solar Energy, vol 74, pp. 355-379, 2003.
204
+ :doi:`10.1016/S0038-092X(03)00195-6`
205
+
206
+ .. [8] C. Gueymard (2019). Clear-Sky Radiation Models and Aerosol Effects.
207
+ In: Polo, J., Martín-Pomares, L., Sanfilippo, A. (eds) Solar Resources
208
+ Mapping. Green Energy and Technology. Springer, Cham.
209
+ :doi:`10.1007/978-3-319-97484-2_5`
210
+
211
+ .. [9] Matthew J. Reno, Clifford W. Hansen and Joshua S. Stein, "Global
200
212
Horizontal Irradiance Clear Sky Models: Implementation and Analysis"
201
213
Sandia Report, (2012).
202
214
'''
@@ -229,6 +241,9 @@ def get_relative_airmass(zenith, model='kastenyoung1989'):
229
241
elif 'gueymard1993' == model :
230
242
am = (1.0 / (np .cos (zenith_rad ) +
231
243
0.00176759 * (z )* ((94.37515 - z ) ** - 1.21563 )))
244
+ elif 'gueymard2003' == model :
245
+ am = (1.0 / (np .cos (zenith_rad ) +
246
+ 0.48353 * (z ** 0.095846 )/ (96.741 - z )** 1.754 ))
232
247
else :
233
248
raise ValueError ('%s is not a valid model for relativeairmass' , model )
234
249
0 commit comments