A Blockchain-Driven Stackelberg Game and MILP Algorithmic Framework for Dynamic Pricing in Multi-Agent Microgrid Networks

Authors

  • Min Yang Institute of Economy and Technology of State Grid Anhui Electric Power Co., Ltd., China
  • Bao Wang Institute of Economy and Technology of State Grid Anhui Electric Power Co., Ltd., China
  • Xiaoyu Shao Institute of Economy and Technology of State Grid Anhui Electric Power Co., Ltd., China
  • Fan Sun Institute of Economy and Technology of State Grid Anhui Electric Power Co., Ltd., China
  • Jianbin Lin Department of Strategic Consulting, Beijing TsIntergy Technology Co. Ltd., China

DOI:

https://doi.org/10.4108/ew.14205

Keywords:

blockchain technology, deep learning, smart grid, distributed energy resources

Abstract

INTRODUCTION: Decentralized coordination and data transparency in multi-agent networks face significant computational and security bottlenecks when performing joint energy and ancillary service trading, particularly due to nonlinear optimization challenges in complex multi-domain environments. OBJECTIVES: This work aims to overcome these bottlenecks by developing an information-driven dynamic pricing framework that enables transparent, autonomous, and computationally efficient multi-agent decision-making. METHODS: The proposed framework integrates Ethereum-based smart contracts deployed on a public ledger to guarantee immutable data interactions and eliminate centralized dispatching. A Stackelberg game model is established to capture upper-lower level decision-making. To solve the resulting highly nonlinear and non-convex game exactly, the problem is transformed into a Mixed-Integer Linear Programming (MILP) model using Karush-Kuhn-Tucker (KKT) conditions and the duality theorem, ensuring exact convergence without approximation errors. RESULTS: Simulation results demonstrate the algorithm’s ability to efficiently find the exact Nash equilibrium, converging to a stable state in approximately 12 iterations. The KKT-MILP framework exhibits exceptional scalability, solving a 50-agent system within just 15 seconds and significantly outperforming traditional heuristic algorithms in computational latency. CONCLUSION: The proposed algorithmic framework mathematically ensures transparent and decentralized decision-making while substantially enhancing computational accuracy and overall economic efficiency of the multi-agent system.

 

 

Downloads

Download data is not yet available.

References

[1] Majzoobi A, Khodaei A. Application of microgrids in providing ancillary services to the utility grid. Energy. 2017; 123: 555-563.

[2] Kumar A, et al. State-of-the-art review on energy sharing and trading of resilient multi microgrids. iScience. 2024; 27(4):109549.

[3] Machele IL, et al. Interconnected smart transactive microgrids—A survey on trading, energy management systems, and optimisation approaches. J Sens Actuator Netw. 2024;13(2):20.

[4] Lei YT, et al. A renewable energy microgrids trading management platform based on permissioned blockchain. Energy Econ. 2022; 115:106375.

[5] Veerasamy V, et al. Blockchain-enabled peer-to-peer energy trading and resilient control of microgrids. Appl Energy. 2024; 353: 122107.

[6] Oureilidis K, et al. Ancillary services market design in distribution networks: Review and identification of barriers. Energies. 2020;13(4):917.

[7] Saatloo AM, Mirzaei MA, Mohammadi-Ivatloo B. A robust decentralized peer-to-peer energy trading in community of flexible microgrids. IEEE Syst J. 2022; 17(1):640-651.

[8] Gao H, et al. Green electricity trading driven low-carbon sharing for interconnected microgrids. J Clean Prod. 2023; 414:137618.

[9] Bui VH, Hussain A, Su W. A dynamic internal trading price strategy for networked microgrids: A deep reinforcement learning-based game-theoretic approach. IEEE Trans Smart Grid. 2022; 13(5):3408-3421.

[10] Zahraoui Y, et al. A competitive framework for the participation of multi-microgrids in the community energy trading market: A case study. IEEE Access. 2024; 12:68232-68248.

[11] Kumar GVB, Palanisamy K. A review of energy storage participation for ancillary services in a microgrid environment. Inventions. 2020;5(4):63.

[12] Liu S, Han S, Zhu S. Reinforcement learning-based energy trading and management of regional interconnected microgrids. IEEE Trans Smart Grid. 2022;14(3):2047-2059.

[13] Khan MHD, Imtiaz J, Islam MNU. A blockchain based secure decentralized transaction system for energy trading in microgrids. IEEE Access. 2023; 11:47236-47257.

[14] Abdeltawab H, Mohamed YARI. Energy storage planning for profitability maximization by power trading and ancillary services participation. IEEE Syst J. 2021;16(2):1909-1920.

[15] Mancarella P, Chicco G, Capuder T. Arbitrage opportunities for distributed multi-energy systems in providing power system ancillary services. Energy. 2018; 161: 381-395.

[16] Hu Q, et al. A multi-market nanogrid P2P energy and ancillary service trading paradigm: Mechanisms and implementations. Appl Energy. 2021; 293: 116938.

[17] Di Silvestre ML, et al. Ancillary services in the energy blockchain for microgrids. IEEE Trans Ind Appl. 2019;55(6):7310-7319.

[18] Zou Y, Xu Y. DER-inverter based reactive power ancillary service for supporting peer-to-peer transactive energy trading in distribution networks. IEEE Trans Power Syst. 2024;40(1):753-764.

[19] Mallick A, et al. Distributed coordination of multi-microgrids in active distribution networks for provisioning ancillary services. IEEE Syst J. 2024;18(3):1492-1503.

[20] Hong YY, Apolinario GFD. Ancillary services and risk assessment of networked microgrids using digital twin. IEEE Trans Power Syst. 2022;38(5):4542-4558.

[21] Wang J, et al. Optimal bidding strategy for microgrids in joint energy and ancillary service markets considering flexible ramping products. Appl Energy. 2017; 205: 294-303.

[22] Ma X, Chen M, Zhou X. Study on the probabilistic optimal capacity of energy storage in microgrid. Electric Power. 2015; 48(1):131-136.

[23] W. Zhang, P. A. Tominac, and V. M. Zavala, “Pricing and remunerating electricity storage flexibility using virtual links,” Computers & Chemical Engineering, 2022, 168: 108019.

[24] S. Huang, Y. Meng, and Z. Ye, “A scenario-based framework for measuring time-varying generation costs in medium- and long-term electricity markets,” iScience, 2026.

[25] J. Wang, Z. Shao, J. Wu, and L. Wu, “Day-ahead strategic bidding of multi-energy microgrids participating in electricity, thermal energy, and hydrogen markets: A stochastic bi-level approach,” International Journal of Electrical Power & Energy Systems, 2024, 163: 110319.

[26] D. Zhu, B. Yang, Y. Wu, H. Deng, Z. Dong, K. Ma, and X. Guan, “Joint trading and scheduling among coupled carbon-electricity-heat-gas industrial clusters.,” IEEE Transactions on Smart Grid,2024, 15(3): 3152–3164.

Downloads

Published

16-09-2026

How to Cite

1.
Yang M, Wang B, Shao X, Sun F, Lin J. A Blockchain-Driven Stackelberg Game and MILP Algorithmic Framework for Dynamic Pricing in Multi-Agent Microgrid Networks. EAI Endorsed Trans Energy Web [Internet]. 2026 Sep. 16 [cited 2026 Sep. 16];13. Available from: https://publications.eai.eu/index.php/ew/article/view/14205