Elsevier, Applied Energy, Volume 263, 1 April 2020
In this paper, an integrated blockchain-based energy management platform is proposed that optimizes energy flows in a microgrid whilst implementing a bilateral trading mechanism. Physical constraints in the microgrid are respected by formulating an Optimal Power Flow (OPF) problem, which is combined with a bilateral trading mechanism in a single optimization problem. The Alternating Direction Method of Multipliers (ADMM) is used to decompose the problem to enable distributed optimization and a smart contract is used as a virtual aggregator. This eliminates the need for a third-party coordinating entity. The smart contract fulfills several functions, including distribution of data to all participants and executing part of the ADMM algorithm. The model is run using actual data from a prosumer community in Amsterdam and several scenarios of the model are tested to evaluate the impact of combining physical constraints and trading on social welfare of the community and scheduling of energy flows. The scenario variants are trade-only, where only a trading mechanism is implemented, grid-only where only OPF optimization is implemented and a combined scenario where both are implemented. Results are compared with a baseline scenario. Simulation results show that import costs of the whole community are reduced by 34.9% as compared to a baseline scenario, and total energy import quantities are reduced by 15%. Total social welfare is found to be highest without a trading mechanism, however this platform is only viable when all costs are equally shared between all households. Furthermore, peak imports are reduced by over 50% in scenarios including grid constraints.