A Study of Energy Trading in a Low-Voltage Network: Centralised and Distributed Approaches