Surface Energy Balance demo

Pick one or two roofing materials and explore how their surface temperature responds to a diurnal cycle. The model is the same 1D conduction + surface energy balance that runs on the desktop demo, executing here in Python via Pyodide.

Loading simulator…
~30 MB on first visit (Pyodide + scipy). Cached afterwards.

What you’re seeing

The simulation solves the 1D heat equation through a surface layer with material properties from materials.json, driven by a diurnal forcing of shortwave KK\downarrow, longwave LL\downarrow, and air temperature TaT_a. The surface boundary condition closes the energy balance:

K+L=H+E+GK^* + L^* = H + E + G

where KK^* and LL^* are net shortwave and longwave radiation, HH and EE are sensible and latent heat fluxes, and GG is the ground heat flux.