Peer-to-peer energy trading in a community microgrid | Synapse