pvlib.irradiance.aoi

pvlib.irradiance.aoi(surface_tilt, surface_azimuth, solar_zenith, solar_azimuth)[source]

Calculates the angle of incidence of the solar vector on a surface. This is the angle between the solar vector and the surface normal.

Input all angles in degrees.

Parameters:
  • surface_tilt (numeric) – Panel tilt from horizontal.
  • surface_azimuth (numeric) – Panel azimuth from north.
  • solar_zenith (numeric) – Solar zenith angle.
  • solar_azimuth (numeric) – Solar azimuth angle.
Returns:

aoi (numeric) – Angle of incidence in degrees.