Energy at urban scale modeling: a tool for energy transition, urban regeneration and the reuse of existing buildings and empty spaces