IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v340y2025ics036054422504650x.html

A deep reinforcement learning method based on Mamba model with adaptive cross-attention for multi-energy microgrid energy management

Author

Listed:
  • Chen, Wenhao
  • Rong, Fei
  • Lin, Chuan

Abstract

The multi-energy microgrid (MEMG) can achieve dynamic mutual support of electricity, heat, and gas through energy cascade utilization, thereby promoting the economic operation benefits of the MEMG. However, the complex multi-energy coupling operation process leads to the problem that the optimal operation of MEMG faces high-dimensional decision variables and difficulty in obtaining global optimal solutions. Therefore, this paper proposes a deep reinforcement learning (DRL) method based on the Mamba model to solve the above problems. Among these components, the Mamba model, by virtue of its sequence processing architecture with linear time complexity and its ability to efficiently capture long-range dependencies, can identify effective variables in high-dimensional decision spaces. It lays a solid foundation for accurate state representation in the subsequent DRL method. In addition, the method combines actor-critic networks and weighted double Q-learning to achieve optimal management of MEMG. Subsequently, an adaptive cross-attention mechanism is proposed to accurately identify key state variables affecting MEMG optimization by dynamically adjusting the weights of different state variables, thereby improving operational efficiency. Simulation results indicate that compared to common methods, the proposed method can enhance economic efficiency of MEMG and absorption of renewable energy.

Suggested Citation

  • Chen, Wenhao & Rong, Fei & Lin, Chuan, 2025. "A deep reinforcement learning method based on Mamba model with adaptive cross-attention for multi-energy microgrid energy management," Energy, Elsevier, vol. 340(C).
  • Handle: RePEc:eee:energy:v:340:y:2025:i:c:s036054422504650x
    DOI: 10.1016/j.energy.2025.139008
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S036054422504650X
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.energy.2025.139008?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Li, Shenglin & Zhu, Jizhong & Dong, Hanjiang & Zhu, Haohao & Luo, Fengji & Borghetti, Alberto, 2024. "Multi-time-scale energy management of renewable microgrids considering grid-friendly interaction," Applied Energy, Elsevier, vol. 367(C).
    2. Ge, Haotian & Zhu, Yu & Zhong, Jiuming & Wu, Liang, 2024. "Day-ahead optimization for smart energy management of multi-microgrid using a stochastic-robust model," Energy, Elsevier, vol. 313(C).
    3. Satish kumar, S. & Pramila, V. & Rudhra, S. & Vinod, S. & Lakshmi, D., 2025. "Enhancing demand response and energy management in multi- microgrid systems with renewable energy sources," Renewable Energy, Elsevier, vol. 253(C).
    4. Chen, Wenhao & Rong, Fei & Lin, Chuan, 2025. "A multi-energy loads forecasting model based on dual attention mechanism and multi-scale hierarchical residual network with gated recurrent unit," Energy, Elsevier, vol. 320(C).
    5. Zhong, Xiaoqing & Zhong, Weifeng & Liu, Yi & Yang, Chao & Xie, Shengli, 2022. "Optimal energy management for multi-energy multi-microgrid networks considering carbon emission limitations," Energy, Elsevier, vol. 246(C).
    6. Bustos, Roberto & Marín, Luis G. & Navas-Fonseca, Alex & Reyes-Chamorro, Lorenzo & Sáez, Doris, 2023. "Hierarchical energy management system for multi-microgrid coordination with demand-side management," Applied Energy, Elsevier, vol. 342(C).
    7. Zhang, Yiwen & Ren, Yifan & Liu, Ziyun & Li, Haoqin & Jiang, Huaiguang & Xue, Ying & Ou, Junhui & Hu, Renzong & Zhang, Jun & Gao, David Wenzhong, 2025. "Federated deep reinforcement learning for varying-scale multi-energy microgrids energy management considering comprehensive security," Applied Energy, Elsevier, vol. 380(C).
    8. Dai, Shuo, 2025. "Optimal energy management of multi-energy multi-microgrid networks using mountain gazelle optimizer for cost and emission reduction," Energy, Elsevier, vol. 329(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Li, Ling-Ling & Ji, Bing-Xiang & Li, Zhong-Tao & Lim, Ming K. & Sethanan, Kanchana & Tseng, Ming-Lang, 2025. "Microgrid energy management system with degradation cost and carbon trading mechanism: A multi-objective artificial hummingbird algorithm," Applied Energy, Elsevier, vol. 378(PA).
    2. Hu, Chunbin & Wang, Honglei & Li, Chengjiang & Yuan, Xufeng, 2025. "Multi-microgrid cooperative modeling based on power router and time-space interconnection scheduling strategy," Energy, Elsevier, vol. 320(C).
    3. Chang, Weiguang & Yang, Qiang, 2023. "Low carbon oriented collaborative energy management framework for multi-microgrid aggregated virtual power plant considering electricity trading," Applied Energy, Elsevier, vol. 351(C).
    4. Zhong, Xiaoqing & Zhong, Weifeng & Lin, Zhenjia & Zhou, Guoxu & Lai, Loi Lei & Xie, Shengli & Yan, Jinyue, 2024. "Localized electricity and carbon allowance management for interconnected discrete manufacturing systems considering algorithmic and physical feasibility," Applied Energy, Elsevier, vol. 372(C).
    5. Fan, Songli & Xu, Guodong & Jiang, Baoping & Wu, Zhengtian & Xing, Haijun & Gao, Yang & Ai, Qian, 2025. "Low-carbon economic operation of commercial park-level integrated energy systems incorporating supply and demand flexibility," Energy, Elsevier, vol. 323(C).
    6. Paweł Kut & Katarzyna Pietrucha-Urbanik, 2025. "Forecasting Short-Term Photovoltaic Energy Production to Optimize Self-Consumption in Home Systems Based on Real-World Meteorological Data and Machine Learning," Energies, MDPI, vol. 18(16), pages 1-31, August.
    7. D’Angelo, Paolo & Scafuri, Antonio & Zamboni, Walter, 2026. "Modelling, optimisation and management strategies for a microgrid with integrated thermal energy storage," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 240(C), pages 823-845.
    8. Xia, Baozhou & Ye, Min & Wei, Meng & Wang, Qiao & Lian, Gaoqi & Li, Yan, 2025. "SOH estimation of lithium-ion batteries with local health indicators in multi-stage fast charging protocols," Energy, Elsevier, vol. 334(C).
    9. Xie, Xuehua & Qian, Tong & Li, Weiwei & Tang, Wenhu & Xu, Zhao, 2024. "An individualized adaptive distributed approach for fast energy-carbon coordination in transactive multi-community integrated energy systems considering power transformer loading capacity," Applied Energy, Elsevier, vol. 375(C).
    10. Zhou, Xu & Ma, Zhongjing & Zou, Suli & Zhang, Jinhui, 2022. "Consensus-based distributed economic dispatch for Multi Micro Energy Grid systems under coupled carbon emissions," Applied Energy, Elsevier, vol. 324(C).
    11. Alizadeh, Ali & Kamwa, Innocent & Moeini, Ali & Mohseni-Bonab, Seyed Masoud, 2023. "Energy management in microgrids using transactive energy control concept under high penetration of Renewables; A survey and case study," Renewable and Sustainable Energy Reviews, Elsevier, vol. 176(C).
    12. Zhao, Xiaoyu & Duan, Pengfei & Cao, Xiaodong & Xue, Qingwen & Zhao, Bingxu & Hu, Jinxue & Zhang, Chenyang & Yuan, Xiaoyang, 2025. "A probabilistic load forecasting method for multi-energy loads based on inflection point optimization and integrated feature screening," Energy, Elsevier, vol. 327(C).
    13. ur Rehman, Anis & Sanjari, Mohammad J. & Elavarasan, Rajvikram Madurai & Jamal, Taskin, 2026. "Sustainability-aligned pathways for energy transition: A review of low-carbon energy network solutions," Renewable and Sustainable Energy Reviews, Elsevier, vol. 226(PE).
    14. Zhang, Yue & Wu, Qiong & Ren, Hongbo & Li, Qifen & Zhou, Weisheng, 2024. "Optimal operation of multi-microgrid systems considering multi-level energy-certificate-carbon coupling trading," Renewable Energy, Elsevier, vol. 227(C).
    15. Ma, Runzhuo & Bu, Siqi, 2025. "Evaluation and mitigation of carbon emissions in energy industry," Renewable and Sustainable Energy Reviews, Elsevier, vol. 212(C).
    16. Ge, Haotian & Zhu, Yu & Zhong, Jiuming & Wu, Liang, 2024. "Day-ahead optimization for smart energy management of multi-microgrid using a stochastic-robust model," Energy, Elsevier, vol. 313(C).
    17. Fei Feng & Xin Du & Qiang Si & Hao Cai, 2022. "Hybrid Game Optimization of Microgrid Cluster (MC) Based on Service Provider (SP) and Tiered Carbon Price," Energies, MDPI, vol. 15(14), pages 1-22, July.
    18. Muhammed, Abdullahi Oboh & El Moursi, Mohamed Shawki & Hatziargyriou, Nikos, 2026. "Review of deep learning techniques applications in modern power systems stability and cyber security," Applied Energy, Elsevier, vol. 402(PB).
    19. Xu, Xuesong & Xu, Kai & Zeng, Ziyang & Tang, Jiale & He, Yuanxing & Shi, Guangze & Zhang, Tao, 2024. "Collaborative optimization of multi-energy multi-microgrid system: A hierarchical trust-region multi-agent reinforcement learning approach," Applied Energy, Elsevier, vol. 375(C).
    20. Xu, Jiazhu & Yi, Yuqin, 2023. "Multi-microgrid low-carbon economy operation strategy considering both source and load uncertainty: A Nash bargaining approach," Energy, Elsevier, vol. 263(PB).

    More about this item

    Keywords

    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:energy:v:340:y:2025:i:c:s036054422504650x. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/energy .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.