From smart grids to smart city | Synapse