Calculate Global, Direct, and Diffuse solar irradiance (GHI, DNI, DHI) for any location. Based on the Kasten-Young and Cooper models for atmospheric corrections.
Quick presets for major global cities
| Hour | Elevation | GHI (W/m²) | DNI (W/m²) | DHI (W/m²) | GTI (W/m²) | Status |
|---|---|---|---|---|---|---|
| Run simulation to see data | ||||||
Calculate solar declination using Cooper's formula and true solar time from longitude and timezone.
Compute the solar zenith angle based on latitude, declination, and hour angle throughout the day.
Use Kasten-Young (1989) formula for accurate air mass calculation at high zenith angles.
Apply Beer-Lambert law with altitude and pressure corrections for atmospheric attenuation.
Calculate DNI, DHI, and GHI using the decomposition: GHI = DHI + DNI × cos(θz).