Optimizing the energy consumption in a residential building at different climate zones: towards sustainable decision making