Stav dette: Smart building , decision making architecture for thermal energy management