An energy market for trading electricity in smart grid neighbourhoods | Synapse