The energy balance equation