blockchain; distributed energy resources; smart energy systems; peer-to-peer energy trading; energy market

BPET: A Unified Blockchain-Based Framework for Peer-to-Peer Energy Trading

In this paper, we propose and develop a novel unified blockchain-based peer-to-peer energy trading framework, called BPET. This framework incorporates microservices and blockchain as the infrastructures and adopts a highly modular smart contract design so that developers can easily extend it by plugging in localized energy market rules and rapidly developing a customized blockchain-based peer-to-peer energy trading system. Additionally, we have developed the price formation mechanisms, e.g., the system marginal price calculation algorithm and the pool price calculation algorithm, to demonstrate the extensibility of the BPET framework. To validate the proposed solution, we have conducted a comprehensive case study using real trading data from the Alberta Electric System Operator. The experimental results confirm the system’s capability of processing energy trading transactions efficiently and effectively within the Alberta electricity wholesale market.