The influence of thermal and solar radiation on the energy consumption of buildings