How the models work · Wall heat model
1. Building the day
The outdoor air temperature is a smooth wave with one peak and one trough each day. It peaks at 15:00 and is coolest 12 hours earlier, at 03:00:
Tair(h) = Tmean + (swing ÷ 2) × cos( 2π × (h − 15) ÷ 24 )
The mean and the swing are assembled from a few small tables of typical UK figures:
- Monthly mean temperature: from 4.5 °C in January to 17 °C in July.
- Daily range: from about 4.5 K in December to 10 K in summer.
- City offset: a fixed adjustment from +1.2 K for London to −2 K for Aberdeen.
- Weather type: shifts the mean (for example +7 K for a heatwave, −6 K for a cold snap), scales the daily range, and sets the clearness of the sky from 0 (fully overcast) to 1 (cloudless).
The monthly figures are typical long-term averages and the offsets are approximate. This is a synthetic design day, not recorded weather. Real days have clouds drifting across, changing winds and fronts moving through, none of which appear here.