pvlib.spectrum.get_am15g#
- pvlib.spectrum.get_am15g(wavelength=None)[source]#
Deprecated since version 0.11: The pvlib.spectrum.get_am15g function was deprecated in pvlib 0.11 and will be removed in 0.12. Use pvlib.spectrum.get_reference_spectra instead. The new function reads more data. Use it with standard=’ASTM G173-03’ and extract the ‘global’ column.
Read the ASTM G173-03 AM1.5 global spectrum on a 37-degree tilted surface, optionally interpolated to the specified wavelength(s).
Global (tilted) irradiance includes direct and diffuse irradiance from sky and ground reflections, and is more formally called hemispherical irradiance (on a tilted surface). In the context of photovoltaic systems the irradiance on a flat receiver is frequently called plane-of-array (POA) irradiance.
- Parameters:
wavelength (1-D sequence of numeric, optional) – Wavelengths at which the spectrum is interpolated. By default the 2002 wavelengths of the standard are returned. [nm].
- Returns:
am15g (pandas.Series) – The AM1.5g standard spectrum indexed by
wavelength. [W/(m²nm)].
Notes
If
wavelengthis specified this function uses linear interpolation.If the values in
wavelengthare too widely spaced, the integral of the spectrum may deviate from the standard value of 1000.37 W/m².The values in the data file provided with pvlib-python are copied from an Excel file distributed by NREL, which is found here: https://www.nrel.gov/grid/solar-resource/assets/data/astmg173.xls
More information about reference spectra is found here: https://www.nrel.gov/grid/solar-resource/spectra-am1.5.html
See also
pvlib.spectrum.get_reference_spectrareads also the direct and extraterrestrial components of the spectrum.
References