Abstract:
Blockchain is a promising technology in the energy sector. Energy blockchain applications have been gradually developed. Existing energy blockchain simulation methods can only simulate small-scale systems, but cannot flexibly test the impact of energy blockchain parameters on operating efficiency, and cannot analyze the efficiency of large-scale energy blockchain applications. This paper introduces the concept of discrete-state event-driven simulation in energy blockchain simulation for the first time, and proposes a flexible and efficient simulation method for large-scale energy blockchains. First, to simulate the core functions of a node and communication network on blockchain, an energy blockchain simulation model is constructed for discrete-state event-driven simulation. Second, the discrete events and their scheduling rules are designed to drive the dynamic operation of the simulation model. Finally, an energy blockchain simulator is developed. The effectiveness and the efficiency of the proposed method are tested in a large-scale distributed energy resource peer-to-peer trading scenario. Simulation results show that the proposed method can flexibly and efficiently simulate a large-scale energy blockchain, verifying the correctness of smart contracts and providing simulation data for parameter configuration of energy blockchains.