File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 4646# spectral factor functions:
4747#
4848# - :py:func:`~pvlib.spectrum.spectral_factor_sapm`, which requires only
49- # the absolute airmass, :math:`AM_a`
49+ # the absolute airmass, :math:`AM_a` and five SAPM coefficients :math:`A0` -
50+ # :math:`A4`
5051# - :py:func:`~pvlib.spectrum.spectral_factor_pvspec`, which requires
5152# :math:`AM_a` and the clearsky index, :math:`k_c`
5253# - :py:func:`~pvlib.spectrum.spectral_factor_firstsolar`, which requires
104105module = pvlib .pvsystem .retrieve_sam ('SandiaMod' )['LG_LG290N1C_G3__2013_' ]
105106#
106107# Calculate M using the three models for an mc-Si PV module.
107- m_sapm = pvlib .spectrum .spectral_factor_sapm (airmass_absolute , module )
108+ m_sapm = pvlib .spectrum .spectral_factor_sapm (
109+ airmass_absolute ,
110+ module ["A0" ],
111+ module ["A1" ],
112+ module ["A2" ],
113+ module ["A3" ],
114+ module ["A4" ],
115+ )
108116m_pvspec = pvlib .spectrum .spectral_factor_pvspec (airmass_absolute , kc ,
109117 'multisi' )
110118m_fs = pvlib .spectrum .spectral_factor_firstsolar (w , airmass_absolute ,
You can’t perform that action at this time.
0 commit comments