pvperfsolar performance modeling

Reference / Horizon shading

Model option

Quaschning–Hanitsch › PVsyst 8

The beam is scaled by the fraction of the timestep the sun spends above the skyline

Inputs used: Horizon profile, Apply horizon shading, Fraction of albedo taken into account

Method

The direct and circumsolar light are scaled by the share of the timestep's sunlit part the sun spends above the skyline. A band 5° wide around the skyline is treated as partly transparent to smooth the transition. With the PVsyst 8 ephemeris the sun's height and azimuth run linearly in time across the timestep (1). The line runs from their values half a minute after the timestep's start to their values half a minute after its end. In a timestep that holds the sunrise or the sunset, the line spans the sunlit part, from half a minute after its start to half a minute after its end. The band is centred on the skyline. The factor is 0 with the sun 2.5° below it, ½ on it and 1 at 2.5° above it. The factor is the band's mean over the sunlit part, integrated exactly. With the other sun models the sun's path through the sunlit part is sampled 24 times, at the middles of 24 equal parts (2). That band is centred 0.1° above the skyline. Its factor is 0 with the sun 2.4° below the skyline, ½ at 0.1° above it and 1 at 2.6° above it. The sky diffuse light is reduced by the share of the sky in front of the plane that lies above the skyline, weighted by the cosine of the incidence angle (3). The sum runs over cells of 3° of elevation by 7.5° of azimuth, counted from the horizon and from north. A cell lies above the skyline when its centre is higher than the skyline at the azimuth of its centre. The ground-reflected light is reduced by a factor that falls linearly from 1 for an open horizon to 0 for a skyline 20° high (4). The factor is read at the 48 azimuths of the cell centres, averaged with the plane's view of the ground in each of those directions and multiplied by the fraction of albedo taken into account (site.horizon_albedo_fraction). Both factors are computed once per plane orientation and held constant over the year. A tracker uses the factors of its orientation at each timestep. The near-shading sums of the rows model and of the shading-factor table run over the same cells above the skyline.

The horizon profile: hills to the east delay the morning sun and the west is open

The math

  1. Direct and circumsolar light, PVsyst 8 ephemeris
  2. Direct and circumsolar light, other sun models
  3. Sky diffuse light
  4. Ground-reflected light
fb,i=1tb−ta∫tatbclamp ⁣(12+α^(t)−αhrz(γ^(t))5°, 0, 1)dt,χ^(t)=χ(ta+Δ30)+(χ(tb+Δ30)−χ(ta+Δ30))t−tatb−ta(1)f_{b,i} = \frac{1}{t_b - t_a}\int_{t_a}^{t_b} \text{clamp}\!\left(\tfrac{1}{2} + \frac{\hat\alpha(t) - \alpha_{hrz}(\hat\gamma(t))}{5°},\ 0,\ 1\right)dt,\qquad \hat \chi(t) = \chi(t_a + \Delta_{30}) + \big(\chi(t_b + \Delta_{30}) - \chi(t_a + \Delta_{30})\big)\frac{t - t_a}{t_b - t_a} \tag{1} fb,i=124∑k=124clamp ⁣(12+αk−αhrz(γs,k)−0.1°5°, 0, 1)(2)f_{b,i} = \frac{1}{24}\sum_{k=1}^{24} \text{clamp}\!\left(\tfrac{1}{2} + \frac{\alpha_k - \alpha_{hrz}(\gamma_{s,k}) - 0.1°}{5°},\ 0,\ 1\right) \tag{2} fsky=∑c: ec>αhrz(γc)cos⁡θccos⁡ec∑ccos⁡θccos⁡ec(3)f_{sky} = \frac{\sum_{c:\ e_c > \alpha_{hrz}(\gamma_c)} \cos\theta_c \cos e_c}{\sum_{c} \cos\theta_c \cos e_c} \tag{3} fgnd=ahrz ∑j=148max⁡ ⁣(0, 1−αhrz(γj)/20°)w(γj)∑j=148w(γj),γj=7.5° (j−12)(4)f_{gnd} = a_{hrz}\,\frac{\sum_{j=1}^{48} \max\!\left(0,\ 1 - \alpha_{hrz}(\gamma_j)/20°\right) w(\gamma_j)}{\sum_{j=1}^{48} w(\gamma_j)},\qquad \gamma_j = 7.5°\,(j - \tfrac{1}{2}) \tag{4}

where

Symbol Meaning Unit
fb,if_{b,i} the fraction of the direct and circumsolar light kept at timestep ii —
ta, tbt_a,\ t_b the start and end of the timestep's sunlit part hours
α^(t), γ^(t)\hat\alpha(t),\ \hat\gamma(t) the sun's elevation and azimuth taken linear in time across the sunlit part degrees
χ(t)\chi(t) the sun's elevation or azimuth at time tt from the ephemeris degrees
Δ30\Delta_{30} half a minute hours
αk\alpha_k the sun elevation at sample kk degrees
αhrz(γ)\alpha_{hrz}(\gamma) the skyline elevation in the direction γ\gamma. Clockwise from north degrees
γs,k\gamma_{s,k} the sun's azimuth at sample kk, clockwise from north degrees
clamp(x,0,1)\text{clamp}(x, 0, 1) xx limited to the range 0 to 1 —
fskyf_{sky} the fraction of the sky diffuse light kept —
cc a cell of the sky, 3° of elevation by 7.5° of azimuth, 30 by 48 cells. Both sums run over the cells with cos⁡θc>0\cos\theta_c > 0 —
ec, γce_c,\ \gamma_c the elevation and the azimuth, clockwise from north, of the centre of cell cc degrees
θc\theta_c the angle between the direction of the centre of cell cc and the perpendicular to the module plane degrees
fgndf_{gnd} the fraction of the ground-reflected light kept —
ahrza_{hrz} the fraction of albedo taken into account —
γj\gamma_j the azimuth of the centres of the cells of column jj, clockwise from north degrees
Ωgnd(γ)\Omega_{gnd}(\gamma) the view the plane has of the ground in the direction γ\gamma: the integral of the cosine of the incidence angle over the ground below the horizon in that direction, in steps of 0.5° rad

References

  1. Quaschning & Hanitsch 1998, Irradiance calculation on shaded surfaces, Solar Energy 62(5) 369–375
  2. Analysis of PVsyst 8.1.5 outputs shows this convention in its results.

API

options.far_shading_model = crossing_fraction, site.use_horizon = true

Symbols follow the symbol registry.