|
13 | 13 | # This example recreates an example figure from the SPECTRL2 NREL Technical
|
14 | 14 | # Report [1]_. The figure shows modeled spectra at hourly intervals across
|
15 | 15 | # a single morning.
|
16 |
| -# |
17 |
| -# References |
18 |
| -# ---------- |
19 |
| -# .. [1] Bird, R, and Riordan, C., 1984, "Simple solar spectral model for |
20 |
| -# direct and diffuse irradiance on horizontal and tilted planes at the |
21 |
| -# earth's surface for cloudless atmospheres", NREL Technical Report |
22 |
| -# TR-215-2436 doi:10.2172/5986936. |
23 | 16 |
|
24 | 17 | # %%
|
25 | 18 | # The SPECTRL2 model has several inputs; some can be calculated with pvlib,
|
|
53 | 46 |
|
54 | 47 | # %%
|
55 | 48 | # With all the necessary inputs in hand we can model spectral irradiance using
|
56 |
| -# :py:func:`pvlib.spectrum.spectrl2`. Note that because we are calculating |
57 |
| -# the spectra for more than one set of conditions, we will get back 2-D |
58 |
| -# arrays (one dimension for wavelength, one for time). |
| 49 | +# :py:func:`pvlib.spectrum.spectrl2`. Note that because we are calculating |
| 50 | +# the spectra for more than one set of conditions, the spectral irradiance |
| 51 | +# components will be returned in a dictionary as 2-D arrays, with one dimension |
| 52 | +# for wavelength and one for time. |
59 | 53 |
|
60 | 54 | spectra = spectrum.spectrl2(
|
61 | 55 | apparent_zenith=solpos.apparent_zenith,
|
|
95 | 89 | # position and the solar position calculation in the technical report does not
|
96 | 90 | # exactly match the one used here. However, the differences are minor enough
|
97 | 91 | # to not materially change the spectra.
|
| 92 | + |
| 93 | +# %% |
| 94 | +# References |
| 95 | +# ---------- |
| 96 | +# .. [1] Bird, R, and Riordan, C., 1984, "Simple solar spectral model for |
| 97 | +# direct and diffuse irradiance on horizontal and tilted planes at the |
| 98 | +# earth's surface for cloudless atmospheres", NREL Technical Report |
| 99 | +# TR-215-2436 :doi:`10.2172/5986936` |
0 commit comments