Reducing the fluctuations of distributed energy grid connection, improving power grid stability together with the effective utilization of energy, is a key issue that needs to be solved urgently in the large-scale development of renewable energy. This paper establishes a three-level game model of a distributed energy trading network, including Nash bargaining game, cooperative game and Stackelberg game, to study the energy trading mechanism between prosumers within and between energy communities. At the same time, based on the Shapley value and Core value methods via the cooperative game theory, a profit distribution model for the cooperation of multiple energy communities alliance has been established. Further, two power grid stability indicators are proposed to quantitatively measure the role of the three-level game model in improving power grid stability. Furthermore, this study uses three distributed energy communities of Jiangsu Province in China as study cases to verify the effectiveness of the three-level game model. The results show that the establishment of a three-level game model in the distributed energy trading network can not only reduce the impact of distributed energy grid connection on the grid, improve the stability of the power grid and the effective utilization of energy, but also bring economic and environmental benefits to all prosumers and the whole distributed energy system. In addition, under the profit distribution mechanism of the alliance, the participants of the alliance can obtain the greatest economic benefits, ensuring the stability of the alliance and the fairness of the income distribution.
Keywords distributed energy,Nash bargaining game,cooperative game,Stackelberg game, power grid stability indicators