How the models work · Wall heat model
2. Sun on the surface
For each moment of the day, the tool works out how much sunshine lands on a square metre of the chosen surface. It does this in four stages.
- Where the sun is. From the day of the year it finds the sun's declination (how far north or south of the equator it is overhead), using δ = 23.45° × sin(2π(284 + day) ÷ 365). With the latitude of the chosen city and the time of day it then calculates the sun's height above the horizon and its compass direction.
- How much gets through the atmosphere. Sunlight loses strength passing through air, and more so when the sun is low, because the path is longer. The direct beam on a clear day is 1361 × 0.7AM0.678 W/m², where AM, the air mass, is roughly 1 ÷ sin(sun height). 1361 W/m² is the sunlight strength above the atmosphere. This is a simple standard approximation (a Meinel-type model).
- Cloud. The weather's clearness c weakens the direct beam by c1.3 and adds sky light (diffuse radiation) that grows as the sky gets cloudier.
- Onto the surface. The direct beam is multiplied by the cosine of the angle between the sun and the wall's surface direction, so a wall facing away from the sun receives none of it. Diffuse sky light is spread evenly across the sky dome, and the wall sees the part of the dome in front of it. The ground reflects 20% of the light reaching it, and a wall sees half the ground, so it receives 10% of that light. A roof tilts the surface: its angle to the sun mixes the sun's height and its bearing against the slope's pitch and facing, so a flat roof follows the sun's height alone and a south-facing pitched roof catches more winter sun than a flat one. A tilted surface sees more sky and less ground the flatter it is.
Together these give a total irradiance in W/m² every two minutes, which is the figure in the Sunshine chart and in the "Sun on surface" readout. Because it comes from clear-sky geometry scaled by a clearness factor, the curve is always smooth. Real cloud makes it jagged.