Only the light that actually enters the glass can reach the silicon underneath. What bounces off the front surface is lost before conversion even begins — this simulator computes exactly how much, from real thin-film optics, not a lookup table.
1. Geometry. For a fixed panel facing the sun's azimuth, the angle of incidence on the glass is the gap between the sun's zenith angle and the panel's tilt:
AOI = |(90° − elevation) − tilt|
Irradiance on plane = 1000 W/m² × cos(AOI)
2. Fresnel reflectance. At each interface, unpolarised light splits into s- and p-polarised components governed by Snell's law (n₀sinθ₀ = n₁sinθ₁):
r_s = (n0 cosθ0 − n1 cosθ1) / (n0 cosθ0 + n1 cosθ1)
r_p = (n1 cosθ0 − n0 cosθ1) / (n1 cosθ0 + n0 cosθ1)
3. Thin-film stack. With the AR coating on, a quarter-wave layer (index n₁ = √n_glass, thickness d = λ₀/4n₁, λ₀ = 550 nm) sits between air and glass. Its reflection combines with the glass interface through the standard two-interface interference formula, which this simulator evaluates for both polarisations at the true angle inside each layer:
r = (r01 + r12·e^(−2iβ)) / (1 + r01·r12·e^(−2iβ)), β = 2π n1 d cosθ1 / λ0
R = ½(|r_s|² + |r_p|²)
Without a coating this collapses to a single air→glass interface — reflectance near 4% at normal incidence, climbing sharply past ~60° AOI. With the coating, destructive interference cancels most of the reflected wave near the design wavelength, cutting normal-incidence loss to roughly a tenth of the bare-glass value.
4. Output. Transmitted power = irradiance × (1 − R); electrical output multiplies that by a fixed 20% module efficiency over a 1 m² panel. Rotate the sun and tilt and watch the reflected-photon streaks thin out as AOI approaches zero — and thicken again past grazing angles where even AR coatings cannot save you.