A decision-making framework encouraging local energy exchanges among smart buildings