Title: Smart Grids and Buildings for Energy and Societal Transition