pvanalytics.quality.irradiance.check_dhi_limits_qcrad#

pvanalytics.quality.irradiance.check_dhi_limits_qcrad(dhi, solar_zenith, dni_extra, limits=None)#

Test for physical limits on DHI using the QCRad criteria.

Test is applied to each DHI value. A DHI value passes if value > lower bound and value < upper bound. Lower bounds are constant for all tests. Upper bounds are calculated as

\[ub = min + mult * dni\_extra * cos( solar\_zenith)^{exp}\]
Parameters
  • dhi (Series) – Diffuse horizontal irradiance in \(W/m^2\)

  • solar_zenith (Series) – Solar zenith angle in degrees

  • dni_extra (Series) – Extraterrestrial normal irradiance in \(W/m^2\)

  • limits (dict, default QCRAD_LIMITS) – Must have keys ‘dhi_ub’ and ‘dhi_lb’. For ‘dhi_ub’ value is a dict with keys {‘mult’, ‘exp’, ‘min’} and float values. For ‘dhi_lb’ value is a float.

Returns

True where value passes limit test.

Return type

Series

Notes

Copyright (c) 2019 SolarArbiter. See the file LICENSES/SOLARFORECASTARBITER_LICENSE at the top level directory of this distribution and at https://github.com/pvlib/pvanalytics/blob/master/LICENSES/SOLARFORECASTARBITER_LICENSE for more information.