solposx.refraction.bennett

Contents

solposx.refraction.bennett#

solposx.refraction.bennett(elevation, pressure=101325.0, temperature=12.0)#

Atmospheric refraction correction based on the Bennett algorithm.

Calculation of atmospheric refraction correction of the solar elevation angle using the method developed by Bennett [1].

Parameters:
  • elevation (array-like) – True solar elevation angle (not accounting for refraction). [degrees]

  • pressure (numeric, default 101325) – Annual average atmospheric pressure. [Pascal]

  • temperature (numeric, default 12) – Annual average air temperature. [C]

Returns:

Atmospheric refraction angle. [degrees]

Return type:

np.array or pd.Series

Notes

The equation to calculate the refraction correction is given by:

\[ref = \frac{0.28*P}{T+273} \cdot \frac{0.016667}{\text{tan}(el + 7.31 / (el+4.4))}\]

where \(P\) is the local air pressure, \(T\) is the local air temperature, and \(el\) is the true (uncorrected) solar elevation angle.

References