Thermal calculations building control