pvlib.irradiance.clearness_index#

pvlib.irradiance.clearness_index(ghi, solar_zenith, extra_radiation, min_cos_zenith=0.065, max_clearness_index=2.0)[source]#

Calculate the clearness index.

The clearness index is the ratio of global to extraterrestrial irradiance on a horizontal plane [1].

Parameters:
  • ghi (numeric) – Global horizontal irradiance. [Wm⁻²]

  • solar_zenith (numeric) – True (not refraction-corrected) solar zenith angle in decimal degrees.

  • extra_radiation (numeric) – Irradiance incident at the top of the atmosphere

  • min_cos_zenith (numeric, default 0.065) – Minimum value of cos(zenith) to allow when calculating global clearness index kt. Equivalent to zenith = 86.273 degrees.

  • max_clearness_index (numeric, default 2.0) – Maximum value of the clearness index. The default, 2.0, allows for over-irradiance events typically seen in sub-hourly data. NREL’s SRRL Fortran code used 0.82 for hourly data.

Returns:

kt (numeric) – Clearness index

References