Transformer-enhanced multi-agent reinforcement learning for dynamic electric logistics Fleet routing under time-varying traffic

IF 12.2 1区 工程技术 Q1 ENERGY & FUELS
Applied Energy Pub Date : 2026-05-01 Epub Date: 2026-02-25 DOI:10.1016/j.apenergy.2026.127612
Wei Liu , Youqi Wang , Bingbing Li , Yixun Wen , Hao Zhang , Weichao Zhuang , Guodong Yin , Boli Chen
{"title":"Transformer-enhanced multi-agent reinforcement learning for dynamic electric logistics Fleet routing under time-varying traffic","authors":"Wei Liu ,&nbsp;Youqi Wang ,&nbsp;Bingbing Li ,&nbsp;Yixun Wen ,&nbsp;Hao Zhang ,&nbsp;Weichao Zhuang ,&nbsp;Guodong Yin ,&nbsp;Boli Chen","doi":"10.1016/j.apenergy.2026.127612","DOIUrl":null,"url":null,"abstract":"<div><div>This paper proposes a Transformer-Enhanced Multi-Agent Reinforcement Learning (TE-MARL) framework for electric logistics fleet routing under time-varying traffic and coupled power-grid loads, with the goal of minimizing overall operating cost. First, we develop a linear congestion model with a 30-min smooth transition to approximate the continuous dynamics of traffic flows. In parallel, we establish an energy consumption–charging coupling model that captures the effects of congestion, speed, specific energy consumption, and peak–valley grid-load fluctuations on charging efficiency. Next, we design a three-module Transformer-based policy network that incorporates traffic-aware attention to strengthen the representation of congestion features. The framework employs centralized training with decentralized execution (CTDE) and Proximal Policy Optimization (PPO) to enhance generalization and stability in highly dynamic environments. Beyond conventional objectives such as minimizing travel time and energy consumption, we introduce a Traffic Adaptability Cost metric to quantify the robustness of routing solutions to traffic fluctuations. Extensive experiments under high station density and multi-vehicle coordination compare TE-MARL with state-of-the-art learning-based and heuristic baselines. The results indicate that, on a representative C100-S20-V8 instance, TE-MARL reduces total travel time and total energy consumption by 20.4% and 17.6% relative to a MARL baseline, and by 14.9% and 10.9% relative to a hybrid Q-DH method, while achieving 100% feasibility and higher traffic adaptability. These gains substantially mitigate the risks of peak-hour time-window violations and excessive energy use.</div></div>","PeriodicalId":246,"journal":{"name":"Applied Energy","volume":"410 ","pages":"Article 127612"},"PeriodicalIF":12.2000,"publicationDate":"2026-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Energy","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0306261926002643","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/25 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
引用次数: 0

Abstract

This paper proposes a Transformer-Enhanced Multi-Agent Reinforcement Learning (TE-MARL) framework for electric logistics fleet routing under time-varying traffic and coupled power-grid loads, with the goal of minimizing overall operating cost. First, we develop a linear congestion model with a 30-min smooth transition to approximate the continuous dynamics of traffic flows. In parallel, we establish an energy consumption–charging coupling model that captures the effects of congestion, speed, specific energy consumption, and peak–valley grid-load fluctuations on charging efficiency. Next, we design a three-module Transformer-based policy network that incorporates traffic-aware attention to strengthen the representation of congestion features. The framework employs centralized training with decentralized execution (CTDE) and Proximal Policy Optimization (PPO) to enhance generalization and stability in highly dynamic environments. Beyond conventional objectives such as minimizing travel time and energy consumption, we introduce a Traffic Adaptability Cost metric to quantify the robustness of routing solutions to traffic fluctuations. Extensive experiments under high station density and multi-vehicle coordination compare TE-MARL with state-of-the-art learning-based and heuristic baselines. The results indicate that, on a representative C100-S20-V8 instance, TE-MARL reduces total travel time and total energy consumption by 20.4% and 17.6% relative to a MARL baseline, and by 14.9% and 10.9% relative to a hybrid Q-DH method, while achieving 100% feasibility and higher traffic adaptability. These gains substantially mitigate the risks of peak-hour time-window violations and excessive energy use.
时变交通条件下电力物流动态车队路径的变压器增强多智能体强化学习
本文提出了一种变压器增强多智能体强化学习(TE-MARL)框架,用于时变交通和耦合电网负荷下的电力物流车队路径选择,目标是使总体运行成本最小化。首先,我们建立了一个具有30分钟平滑过渡的线性拥堵模型,以近似交通流的连续动态。同时,我们建立了一个能量消耗-充电耦合模型,该模型捕捉了拥堵、速度、比能量消耗和峰谷电网负荷波动对充电效率的影响。接下来,我们设计了一个基于三模块变压器的策略网络,该网络包含交通感知注意力,以加强拥堵特征的表示。该框架采用集中训练与分散执行(CTDE)和近端策略优化(PPO)来增强在高动态环境中的泛化和稳定性。除了最小化旅行时间和能源消耗等传统目标之外,我们引入了交通适应性成本度量来量化路由解决方案对交通波动的鲁棒性。在高站点密度和多车辆协调下的大量实验将TE-MARL与最先进的基于学习和启发式基线进行了比较。结果表明,在具有代表性的C100-S20-V8实例上,TE-MARL相对于MARL基准减少了20.4%和17.6%的总行程时间和总能耗,相对于混合Q-DH方法减少了14.9%和10.9%,同时实现了100%的可行性和更高的交通适应性。这些收益大大降低了高峰时间窗口违规和过度能源使用的风险。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Applied Energy
Applied Energy 工程技术-工程:化工
CiteScore
21.20
自引率
10.70%
发文量
1830
审稿时长
41 days
期刊介绍: Applied Energy serves as a platform for sharing innovations, research, development, and demonstrations in energy conversion, conservation, and sustainable energy systems. The journal covers topics such as optimal energy resource use, environmental pollutant mitigation, and energy process analysis. It welcomes original papers, review articles, technical notes, and letters to the editor. Authors are encouraged to submit manuscripts that bridge the gap between research, development, and implementation. The journal addresses a wide spectrum of topics, including fossil and renewable energy technologies, energy economics, and environmental impacts. Applied Energy also explores modeling and forecasting, conservation strategies, and the social and economic implications of energy policies, including climate change mitigation. It is complemented by the open-access journal Advances in Applied Energy.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书