Smart Solutions for Urban Microgrid Challenges