@@ -181,39 +181,39 @@ def spectrl2(apparent_zenith, aoi, surface_tilt, ground_albedo,
181
181
(SPECTRL2).
182
182
183
183
The Bird Simple Spectral Model [1]_ produces terrestrial spectra between
184
- 300 and 4000 nm with a resolution of approximately 10 nm. Direct and
184
+ 300 nm and 4000 nm with a resolution of approximately 10 nm. Direct and
185
185
diffuse spectral irradiance are modeled for horizontal and tilted surfaces
186
186
under cloudless skies. SPECTRL2 models radiative transmission, absorption,
187
187
and scattering due to atmospheric aerosol, water vapor, and ozone content.
188
188
189
189
Parameters
190
190
----------
191
191
apparent_zenith : numeric
192
- Solar zenith angle [degrees]
192
+ Solar zenith angle. [degrees]
193
193
aoi : numeric
194
- Angle of incidence of the solar vector on the panel [degrees]
194
+ Angle of incidence of the solar vector on the panel. [degrees]
195
195
surface_tilt : numeric
196
- Panel tilt from horizontal [degrees]
196
+ Panel tilt from horizontal. [degrees]
197
197
ground_albedo : numeric
198
198
Albedo [0-1] of the ground surface. Can be provided as a scalar value
199
199
if albedo is not spectrally-dependent, or as a 122xN matrix where
200
200
the first dimension spans the wavelength range and the second spans
201
201
the number of simulations. [unitless]
202
202
surface_pressure : numeric
203
- Surface pressure [Pa]
203
+ Surface pressure. [Pa]
204
204
relative_airmass : numeric
205
205
Relative airmass. The airmass model used in [1]_ is the `'kasten1966'`
206
206
model, while a later implementation by NREL uses the
207
207
`'kastenyoung1989'` model. [unitless]
208
208
precipitable_water : numeric
209
- Atmospheric water vapor content [cm]
209
+ Atmospheric water vapor content. [cm]
210
210
ozone : numeric
211
- Atmospheric ozone content [atm-cm]
211
+ Atmospheric ozone content. [atm-cm]
212
212
aerosol_turbidity_500nm : numeric
213
- Aerosol turbidity at 500 nm [unitless]
213
+ Aerosol turbidity at 500 nm. [unitless]
214
214
dayofyear : numeric, optional
215
- The day of year [1-365]. Must be provided if ``apparent_zenith`` is
216
- not a pandas Series.
215
+ The day of year [1-365]. Must be provided if ``apparent_zenith`` is
216
+ not a `` pandas. Series`` .
217
217
scattering_albedo_400nm : numeric, default 0.945
218
218
Aerosol single scattering albedo at 400nm. The default value of 0.945
219
219
is suggested in [1]_ for a rural aerosol model. [unitless]
@@ -223,15 +223,15 @@ def spectrl2(apparent_zenith, aoi, surface_tilt, ground_albedo,
223
223
wavelength_variation_factor : numeric, default 0.095
224
224
Wavelength variation factor [unitless]
225
225
aerosol_asymmetry_factor : numeric, default 0.65
226
- Aerosol asymmetry factor (mean cosine of scattering angle) [unitless]
226
+ Aerosol asymmetry factor (mean cosine of scattering angle). [unitless]
227
227
228
228
Returns
229
229
-------
230
- spectra : dict
230
+ spectra_components : dict
231
231
A dict of arrays. With the exception of `wavelength`, which has length
232
232
122, each array has shape (122, N) where N is the length of the
233
233
input ``apparent_zenith``. All values are spectral irradiance
234
- with units W/m^2/nm except for `wavelength`, which is in nanometers.
234
+ with units Wm⁻²nm⁻¹, except for `wavelength`, which is in nanometers.
235
235
236
236
* wavelength
237
237
* dni_extra
@@ -267,7 +267,7 @@ def spectrl2(apparent_zenith, aoi, surface_tilt, ground_albedo,
267
267
268
268
References
269
269
----------
270
- .. [1] Bird, R, and Riordan, C., 1984, "Simple solar spectral model for
270
+ .. [1] Bird, R. , and Riordan, C., 1984, "Simple solar spectral model for
271
271
direct and diffuse irradiance on horizontal and tilted planes at the
272
272
earth's surface for cloudless atmospheres", NREL Technical Report
273
273
TR-215-2436 :doi:`10.2172/5986936`.
@@ -363,7 +363,7 @@ def spectrl2(apparent_zenith, aoi, surface_tilt, ground_albedo,
363
363
364
364
# calculate spectral irradiance on a tilted surface, Eq 3-18
365
365
# Note: clipping cosd(aoi) to >=0 is not in the reference, but is necessary
366
- # to prevent nonsense values when the sun is behind the plane of array.
366
+ # to prevent negative values when the sun is behind the plane of array.
367
367
# The same constraint is applied in irradiance.haydavies when not
368
368
# supplying `projection_ratio`.
369
369
aoi_projection_nn = np .maximum (cosd (aoi ), 0 ) # GH 1348
0 commit comments