Two-sided Energy Storage Cooperative Scheduling Method for Transmission and Distribution Network Based on Multi-agent Attention-deep Reinforcement Learning
Objective In modern electricity systems, energy storage devices encounter several challenges, primarily because of geographical constraints and the lack of flexible scheduling mechanisms. These limitations reduce storage efficiency and hinder the markedly effective integration of renewable energy. In this study, we propose a novel method to optimize the utilization of energy storage systems and enhance the integration and consumption of renewable energy within the power grid. Energy storage serves as a key technology in modern power systems and plays an essential role in mitigating fluctuations in renewable energy generation. However, despite advancements in energy storage technology, its efficiency in modern power grids remains constrained by insufficient coordination among multiple stakeholders. Specifically, the lack of effective integration between storage resources on the generation side (transmission network) and the consumption side (distribution network) prevents these resources from achieving their full potential. Energy storage on the generation side frequently remains underutilized due to inadequate coordination with the distribution side, whereas storage on the consumption side remains idle because of inflexible charging and discharging strategies. Methods A multi-agent attention-deep reinforcement learning (MAAN-TD3) method was proposed to coordinate energy storage resources on the transmission and distribution sides of the grid. The method integrated storage resources on the generation side (transmission grid) and the user side (distribution grid) and coordinated their operations to establish a two-sided storage coordination model for transmission and distribution grids, improving the overall integration efficiency of renewable energy. Specifically, the method considered the distinct objectives of the two primary stakeholders: the power generator aimed to improve renewable energy consumption, whereas the storage provider sought to maximize profits. The proposed method generated additional benefits for both parties by incorporating these two objectives into the decision-making process. A modified Shapley value allocation mechanism was employed to encourage cooperation and raise mutual benefits. Another key innovation of the study involved addressing the limitations of traditional reinforcement learning algorithms in global optimization and convergence. Traditional reinforcement learning methods encountered difficulties due to the rapid expansion of state and action spaces, which hindered efficient algorithmic convergence at scale. Therefore, the study employed MAAN-TD3. This algorithm incorporated an attention mechanism into the value network, which enabled it to capture interdependencies among different agents and identify their potential intentions and collaborative behaviors. MAAN-TD3 improved convergence and global optimization performance by enabling agents to identify opportunities for cooperation more effectively. In addition, MAAN-TD3 incorporated a noise expansion mechanism that expanded the exploration space and further enhanced training stability. In MAAN-TD3, the attention mechanism enabled the system to focus selectively on relevant information, which reduced the dimensionality of the input feature space while preserving the comprehensiveness of the decision-making process. This mechanism helped the system assess the relative importance of different states and actions, improving decision-making and enabling agents to identify patterns and relationships within the system. This capability was particularly important in multi-agent coordination scenarios, where system performance frequently depended on the collaborative behavior of multiple agents. The mechanism also reduced the computational burden associated with traditional algorithms when processing large-scale, high-dimensional input data. Simulation experiments were conducted using integrated IEEE 30-bus and IEEE 33-bus systems as case studies to evaluate the effectiveness of the proposed method. The simulations considered two scenarios: cooperation among stakeholders and independent operation. The study demonstrated the advantages of the proposed method by comparing and analyzing the charging and discharging strategies of energy storage devices and renewable energy consumption under these two scenarios. Results and Discussions The simulation results demonstrated that the cooperative scheduling method based on MAAN-TD3 offered significant advantages over traditional methods. First, the proposed method optimized the charging and discharging strategies of energy storage devices and effectively reduced the total cost of the cooperative alliance. Through the coordinated optimization of storage resources on the transmission and distribution sides, storage utilization efficiency improved significantly. Second, the proposed method increased the economic returns for the power operator and storage provider, which enabled both parties to increase renewable energy consumption and improve their respective profits. Third, the proposed method enhanced the utilization of idle energy storage devices, which played a crucial role in increasing renewable energy consumption. Finally, the proposed method effectively increased overall renewable energy consumption, which represented a key objective in the green transformation of modern power systems. Conclusions The two-sided energy storage cooperative scheduling method for transmission and distribution networks, based on multi-agent attention-deep reinforcement learning, provides an innovative and effective solution for optimizing energy storage utilization in power grids. The proposed method improves renewable energy utilization efficiency and delivers significant economic and environmental benefits to the power system by integrating energy storage resources from the transmission and distribution sides. The incorporation of the attention mechanism and noise expansion addresses the limitations of traditional methods and demonstrates superior performance in terms of convergence and global optimization. Simulation results demonstrate that the proposed method significantly reduces operating costs, enhances economic benefits, and promotes renewable energy utilization. Future studies can extend the proposed method to larger systems, further improve algorithmic performance, and investigate its application in real-world power systems, ultimately contributing to optimized energy management and sustainable energy development.
对于所研究的输配网双侧储能协同调度问题,电力系统状态随时间变化,具有随机性,且满足马尔可夫性,即下时刻状态仅依赖当前状态和动作,储能充放电可视为决策动作,则该问题可转化为部分观测马尔可夫决策过程(POMDP)模型,将决策问题形式化为状态空间、决策空间、状态转移概率 P 和奖励函数R,并与折扣因子组成五元组。
本文将图2中的注意力机制改进为多头注意力后加入Critic网络,将状态 s 和动作 a 作为输入,输出评价值Q,以提升智能体的学习效率;相比于经典注意力机制,该机制能并行处理输入序列的不同部分,捕捉更丰富的特征,使智能体更易识别实现整体目标的重要特征,从而提升智能体的学习效率,对应的Attention‒Critic结构如图3所示。
图3中,表示更新过程中传输给Critic网络的状态动作对,网络的输出为评估值, X 为原始数据,也是注意力网络的输入向量。智能体进行价值评估时,信息先经注意力机制提取特征后再得到评价值Q,综合了注意力机制优秀的特征提取能力及AC框架的高效性。
式中,表示将向量在同一维度拼接,代表注意力计算机制,、、分别为键矩阵 k 的第1、2、m个键向量,、、分别为价值矩阵 v 的第1、2、m个价值向量,、、分别为查询矩阵 q 的第1、2、m个查询向量。
进一步地,在注意力网络内部,将输入向量 X 乘以参数矩阵、、得到对应的矩阵,具体公式为:
在计算过程中,先将 q 和 k 进行点乘运算得到权重系数矩阵,该矩阵可表示 q 和 k 的数据相关性;再经过softmax层得到注意力分数矩阵,并与 v 相乘后得到注意力输出,其计算如下:
式中,d为序列的维度,为注意力机制输出向量结果。
最后,为提升训练效率,将注意力机制的输出结果经过层归一化处理;同时,引入残差网络结构ResNet,将层归一化结果与原始数据 X 结合后再经过全连接层得到输出 Xout。这里利用残差网络缓解了经典注意力机制利用方式中产生的梯度消失和特征丢失问题,且残差结构能够提升原始数据的利用率和处理效率, Xout的对应公式为:
XiaoXianyong, ZhengZixuan.New power systems dominated by renewable energy towards the goal of emission peak & carbon neutrality:Contribution,key techniques,and challenges[J].Advanced Engineering Sciences,2022,54(1):47-59. doi:10.15961/j.jsuese.202100656
KangChongqing, DuErshun, GuoHongye,et al.Primary exploration of six essential factors in new power system[J].Power System Technology,2023,47(5):1741-1750.
YanDongxiang, ChenYue.Review on business model and pricing mechanism for shared energy storage[J].Automation of Electric Power Systems,2022,46(23):178-191.
ZhouTianjiao, ZhouRenjun, HuangJingjie,et al.Energy trading method of energy storage aggregators under self-operating and sharing mode[J].Electric Power Automation Equipment,2023,43(5):171-176.
LuNan, LiangXunxing, HeChuan,et al. Bi-level optimal scheduling of distribution network-cloud energy storage system considering renewable energy uncertainties[J].Advanced Engineering Sciences,2025,57(5):142-155.
JuLiwei, BaiXiping, LiGen,et al.Two-stage robust transaction optimization model and benefit allocation strategy for new energy power stations with shared energy storage considering green certificate and virtual energy storage mode[J].Applied Energy,2024,362:122996. doi:10.1016/j.apenergy.2024.122996
[12]
SongXiaoling, ZhangHuqing, FanLurong,et al.Planning shared energy storage systems for the spatio-temporal coordination of multi-site renewable energy sources on the power generation side[J].Energy,2023,282:128976. doi:10.1016/j.energy.2023.128976
[13]
LiuXinglei, LiuJun, ChiYuqi,et al.A coordinated planning and management framework for transmission and distribution systems with novel bilateral sharing energy storage model and time-phased consumption subsidy strategy[J].Journal of Energy Storage,2024,95:112377. doi:10.1016/j.est.2024.112377
[14]
HaoLili, XiaoxuLyu, DingYixing,et al.Optimal configuration strategy of renewable energy-grid-customer side energy storage considering capacity sharing[J].Proceedings of the CSEE,2024,44(14):5607-5619.
DaiXinliang, GuoYi, JiangYuning,et al.Real-time coordination of integrated transmission and distribution systems:Flexibility modeling and distributed NMPC scheduling[J].Electric Power Systems Research,2024,234:110627. doi:10.1016/j.epsr.2024.110627
[17]
ElliottR T, Fernández-BlancoR, KozdrasK,et al.Sharing energy storage between transmission and distribution[J].IEEE Transactions on Power Systems,2019,34(1):152-162. doi:10.1109/tpwrs.2018.2866420
[18]
FanGuansheng, LinShunjiang, FengXiangyong,et al.Stochastic economic dispatch of integrated transmission and distribution networks using distributed approximate dynamic programming[J].IEEE Systems Journal,2022,16(4):5985-5996. doi:10.1109/jsyst.2022.3158959
[19]
CaoDi, HuWeihao, ZhaoJunbo,et al.Reinforcement learning and its applications in modern power and energy systems:A review[J].Journal of Modern Power Systems and Clean Energy,2020,8(6):1029-1042. doi:10.35833/mpce.2020.000552
[20]
ChenXin, QuGuannan, TangYujie,et al.Reinforcement learning for selective key applications in power systems:Recent advances and future challenges[J].IEEE Transactions on Smart Grid,2022,13(4):2935-2958. doi:10.1109/tsg.2022.3154718
[21]
HuangShuaibo, ChenBei, GaoJiangyu.Energy management strategy of electric vehicle charging station based on Markov decision process[J].Electric Power Automation Equipment,2022,42(10):92-99.
MoJingshan, YanGuangxian, SongNa,et al.Review of demand response-based optimal scheduling of electric and thermal integrated energy systems[J].Advanced Engineering Sciences,2025,57(1):296-307.
ChenShi, GuoZhengwei, ZhouBuxiang,et al.Coordinated optimization scheduling for active distribution networks considering schedulable capacity of energy storage for 5G base stations[J].Power System Technology,2023,47(12):5225-5241.
ChenShi, ZhuYabin, LiuYihong,et al.Low-carbon economic dispatch of wind-containing power systems based on world model deep reinforcement learning[J].Power System Technology,2024,48(8):3143-3154.
HarroldD J B, CaoJun, FanZhong.Renewable energy integration and microgrid energy trading using multi-agent deep reinforcement learning[J].Applied Energy,2022,318:119151. doi:10.1016/j.apenergy.2022.119151
[30]
DongLei, LiuYu, QiaoJi,et al.Optimal dispatch of combined heat and power system based on multi-agent deep reinforcement learning[J].Power System Technology,2021,45(12):4729-4738. doi:10.13335/j.1000-3673.pst.2021.0261
KangChongqing, LiuJingkun, ZhangNing.A new form of energy storage in future power system:Cloud energy storage[J].Automation of Electric Power Systems,2017,41(21):2-8.
SongMeng, LinGujing, MengJing,et al.Key technologies and applications of shared energy storage[J].Journal of Shanghai Jiao Tong University,2024,58(5):585-599.
YuYingqian, HeChuan, LiuTianqi,et al.Research on robust pricing method of shared energy storage multi-package master-slave game distributed robust considering energy storage frequency modulation and life loss[J].Proceedings of the CSEE,2025,45(4):1450-1465.
ZhangSiyuan, ZhongHao.Cloud energy storage capacity configuration for aggregated user energy storage and its transaction pricing[J].Southern Power System Technology,2022,16(11):9-19.
ZhangTao, WangJin, MeiXin,et al.Optimal scheduling of multi-subject and multi-park cooperative game considering carbon-green certificate[J].Electric Power Automation Equipment,2024,44(9):129-135.
LiuWenxia, WangLina, ZhangShuai,et al.Cooperation game theory-based model for trading of power generation rights between former captive power plants and wind power[J].Power System Technology,2022,46(7):2647-2658.
LoweR, WuY I, TamarA,et al.Multi-agent actor-critic for mixed cooperative-competitive environments[C]//NIPS’17:Proceedings of the 31st International Conference on Neural Information Processing Systems.Red Hook:Curran Associates Inc.,2017:6382-6393.