pvlib.irradiance.louche#
- pvlib.irradiance.louche(ghi, solar_zenith, datetime_or_doy, max_zenith=90)[source]#
Determine DNI and DHI from GHI using the Louche model.
- Parameters:
ghi (numeric) – Global horizontal irradiance, see ghi. [Wm⁻²]
solar_zenith (numeric) – True (not refraction-corrected) zenith angle. See solar_zenith. [°]
datetime_or_doy (numeric, pandas.DatetimeIndex) – Day of year or array of days of year e.g. pd.DatetimeIndex.dayofyear, or pd.DatetimeIndex.
- Returns:
data (OrderedDict or DataFrame) – Contains the following keys/columns:
References