pvperfsolar performance modeling

Reference / Solar position

Model option

PVsyst ephemeris

A simplified ephemeris with the USNO declination and a Fourier equation of time

Inputs used: Latitude, Longitude, Time zone, Altitude, Step, Station pressure, Ambient temperature

Method

The sun position comes from a simplified ephemeris. The declination of the sun follows the United States Naval Observatory's approximate formula, evaluated once per day, at 12:00 UT of the date (1). The equation of time is a Fourier series in the day of the year (2). The hour angle follows from the local standard time, the time zone, the longitude and the equation of time (3), and the sun height and azimuth follow from the latitude, the declination and the hour angle (4, 5). No atmospheric refraction is added.

The math

  1. Declination
  2. Equation of time
  3. Hour angle
  4. Sun height
  5. Sun azimuth
sin⁡δ=sin⁡ϵ sin⁡λ,λ=Lmean+1.915°sin⁡gmean+0.020°sin⁡2gmean,ϵ=23.439°−3.6×10−7 d(1)\sin\delta = \sin\epsilon\,\sin\lambda,\qquad \lambda = L_{mean} + 1.915°\sin g_{mean} + 0.020°\sin 2g_{mean},\qquad \epsilon = 23.439° - 3.6 \times 10^{-7}\,d \tag{1} Et=0.0072cos⁡Bd−0.0528cos⁡2Bd−0.0012cos⁡3Bd−0.1229sin⁡Bd−0.1565sin⁡2Bd−0.0041sin⁡3Bd,Bd=2π nd365.25(2)E_t = 0.0072\cos B_d - 0.0528\cos 2B_d - 0.0012\cos 3B_d - 0.1229\sin B_d - 0.1565\sin 2B_d - 0.0041\sin 3B_d,\qquad B_d = \frac{2\pi\,n_d}{365.25} \tag{2} ω=15° (tloc−Z+lon/15°+Et−12)(3)\omega = 15°\,\big(t_{loc} - Z + \text{lon}/15° + E_t - 12\big) \tag{3} sin⁡α=sin⁡φ sin⁡δ+cos⁡φ cos⁡δ cos⁡ω(4)\sin\alpha = \sin\varphi\,\sin\delta + \cos\varphi\,\cos\delta\,\cos\omega \tag{4} γs=atan2⁡(−cos⁡δ sin⁡ω, sin⁡δ cos⁡φ−cos⁡δ sin⁡φ cos⁡ω)(5)\gamma_s = \operatorname{atan2}\big(-\cos\delta\,\sin\omega,\ \sin\delta\,\cos\varphi - \cos\delta\,\sin\varphi\,\cos\omega\big) \tag{5}

where

Symbol Meaning Unit
δ\delta the declination of the sun, its angle above the equator degrees
ϵ\epsilon the obliquity of the ecliptic degrees
λ\lambda the ecliptic longitude of the sun degrees
LmeanL_{mean} the mean longitude of the sun, 280.459°+0.98564736° d280.459° + 0.98564736°\,d degrees
gmeang_{mean} the mean anomaly of the sun, 357.529°+0.98560028° d357.529° + 0.98560028°\,d degrees
dd the whole Julian day of the date minus 2451545, the day of 1 January 2000 at 12:00 UT days
EtE_t the equation of time, apparent minus mean solar time h
BdB_d the day angle rad
ndn_d the day of the year, 1 on 1 January —
ω\omega the hour angle, 15° per hour from solar noon degrees
tloct_{loc} the local standard time of the instant the sun is placed at h
ZZ the time zone of the site, hours ahead of UT h
lon\text{lon} the longitude of the site, east positive degrees
α\alpha the elevation of the sun above the horizon degrees
φ\varphi the latitude of the site degrees
γs\gamma_s the sun azimuth, clockwise from true north degrees

References

  1. United States Naval Observatory, Approximate Solar Coordinates (aa.usno.navy.mil)
  2. PVsyst 8 help, Solar geometry and time definition

API

site.sun_model = pvsyst

Symbols follow the symbol registry.