docs: def f_effective_irradiance(poa_direct, poa_diffuse, am_abs, aoi, module):
      """
      Calculate effective irradiance for Sandia Performance model
  
      :param poa_direct: plane of array direct irradiance [W/m**2]
      :param poa_diffuse: plane of array diffuse irradiance [W/m**2]
      :param am_abs: absolute air mass [dimensionless]
      :param aoi: angle of incidence [degrees]
      :param module: PV module dictionary or pandas data frame
      :return: effective irradiance (Ee) [suns]
      """
      Ee = pvlib.pvsystem.sapm_effective_irradiance(poa_direct, poa_diffuse,
                                                    am_abs, aoi, module)
      return Ee.reshape(1, -1)