def sapm_effective_irradiance(poa_direct, poa_diffuse, airmass_absolute, aoi,<EOL>module, reference_irradiance=<NUM_LIT:1000>):
F1 = sapm_spectral_loss(airmass_absolute, module)<EOL>F2 = sapm_aoi_loss(aoi, module)<EOL>E0 = reference_irradiance<EOL>Ee = F1 * (poa_direct*F2 + module['<STR_LIT>']*poa_diffuse) / E0<EOL>return Ee<EOL>
Calculates the SAPM effective irradiance using the SAPM spectral
loss and SAPM angle of incidence loss functions.

Parameters
----------
poa_direct : numeric
    The direct irradiance incident upon the module.

poa_diffuse : numeric
    The diffuse irradiance incident on module.

airmass_absolute : numeric
    Absolute airmass.

aoi : numeric
    Angle of incidence in degrees.

module : dict-like
    A dict, Series, or DataFrame defining the SAPM performance
    parameters. See the :py:func:`sapm` notes section for more
    details.

reference_irradiance : numeric, default 1000
    Reference irradiance by which to divide the input irradiance.

Returns
-------
effective_irradiance : numeric
    The SAPM effective irradiance.