Skip to content
1 change: 0 additions & 1 deletion docs/sphinx/source/reference/pv_modeling/system_models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Sandia array performance model (SAPM)
pvsystem.sapm
pvsystem.sapm_effective_irradiance
pvsystem.sapm_spectral_loss
spectrum.spectral_factor_sapm
inverter.sandia
temperature.sapm_cell

Expand Down
2 changes: 2 additions & 0 deletions docs/sphinx/source/whatsnew/v0.11.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Breaking Changes
* Users must now provide ModelChain.spectral_model, or the 'no_loss' spectral
model is assumed. pvlib.modelchain.ModelChain no longer attempts to infer
the spectral model from PVSystem attributes. (:issue:`2017`, :pull:`2253`)
* Remove deprecated :py:func:`pvlib.pvsystem.sapm_spectral_loss`.
(:issue:`2243`, :pull:`2244`)

Bug fixes
~~~~~~~~~
Expand Down
6 changes: 0 additions & 6 deletions pvlib/pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -2314,12 +2314,6 @@ def sapm(effective_irradiance, temp_cell, module):
return out


sapm_spectral_loss = deprecated(
since='0.10.0',
alternative='pvlib.spectrum.spectral_factor_sapm'
)(spectrum.spectral_factor_sapm)


def sapm_effective_irradiance(poa_direct, poa_diffuse, airmass_absolute, aoi,
module):
r"""
Expand Down
6 changes: 0 additions & 6 deletions tests/test_pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,6 @@ def test_PVSystem_multi_array_sapm(sapm_module_params):
system.sapm(500, temp_cell)


def test_sapm_spectral_loss_deprecated(sapm_module_params):
with pytest.warns(pvlibDeprecationWarning,
match='Use pvlib.spectrum.spectral_factor_sapm'):
pvsystem.sapm_spectral_loss(1, sapm_module_params)


def test_PVSystem_sapm_spectral_loss(sapm_module_params, mocker):
mocker.spy(spectrum, 'spectral_factor_sapm')
system = pvsystem.PVSystem(module_parameters=sapm_module_params)
Expand Down