Constraint-Aware Twin Delayed Deep Deterministic Policy Gradient for Energy Management of Fuel Cell Hybrid Tramways
Abstract
Abstract Fuel cell hybrid trams combine high energy density with zero tailpipe emissions, making them relevant to carbon-peaking and carbon-neutrality goals in urban rail. Traditional energy management methods rely on fixed rules or accurate system models, limiting their adaptability to changing traction demands and multiple operating constraints. This paper develops a constraint-aware TD3-based energy management system (CTD3 EMS) for coordinating the fuel cell, battery, and supercapacitor as traction demand changes. The system model includes source dynamics, conversion losses, traction loads, and SOC limits. CTD3 extends conventional TD3 by using a Lagrangian mechanism to handle operating constraints and a reward function that accounts for hydrogen consumption, power balance, and energy-storage stress. Simulations on representative urban routes show that CTD3 reaches a stable return sooner and exhibits less fluctuation during training than conventional TD3 and fixed strategies. Compared with the benchmark strategy, CTD3 reduces fuel-cell power fluctuations by 35% and records lower direct hydrogen consumption. Direct consumption is also below conventional TD3.Hydrogen consumption is also 24.8% lower than that achieved by conventional TD3. The findings highlight that CTD3 enhances both energy utilization and energy storage stability, providing a robust approach for intelligent control and practical deployment in fuel cell hybrid trams.