Spatio-Temporal Forecasting of Municipal EV Charging Load Using Weather-Aware Transformer–LSTM Hybrid Models
Abstract
1. Introduction
- Weather-aware feature engineering: An organized feature pipeline incorporating behavioral aggregates, multi-lag temporal dependencies, rolling statistics, cyclic encodings and meteorological attributes to represent both short-term dynamics and seasonal trends of EV charging demand.
- Transformer–LSTM hybrid evaluation: Providing a rigorous application and controlled evaluation of a Transformer–LSTM hybrid architecture using global attention mechanisms to complement sequential temporal modeling to improve forecast accuracy.
- Multi-site spatio-temporal validation under shared model weights: Joint training and validation across eight geographically distributed municipal charging stations, where ’spatio-temporal’ refers to parallel temporal forecasting with shared parameters and weather-station-mapped meteorological inputs, rather than to explicit graph-structured modeling of inter-station interactions.
- Benchmarking under controlled settings: A comparison with baseline models (RNN, LSTM and encoder-only Transformer) in the same preprocessing, feature engineering and training configurations so as to attribute performance over a fairground.
- Large-scale real-world validation: Evaluation provider on a multi-year public dataset containing 211,324 EV charging sessions from municipal stations that allows for empirically and practically relevant assessment of forecasting performance.
2. Related Work
2.1. Deep Learning and Transformer-Based Approaches
2.2. Hybrid Deep Learning Models
3. Materials and Methods
3.1. Dataset Description
3.2. Data Preprocessing
3.2.1. Data Cleaning
3.2.2. Post-Merge Processing
3.3. Exploratory Data Analysis
3.4. Feature Engineering
3.5. Proposed Model Architecture
| Algorithm 1 Weather–Aware Transformer–LSTM Hybrid Model |
| Require: : input sequences (, , ) Ensure: : predicted daily EV charging load (kWh) Stage 1: Input Embedding 1: ▹ Linear projection: 2: ▹ Sinusoidal positional encoding Stage 2: Transformer Encoder (4 layers) 3: for to 4 do 4: 5: ▹ Multi-head attention () 6: 7: ▹ Feed-forward, 8: 9: end for Stage 3: LSTM Decoder (2 layers) 10: Initialise 11: for to T do 12: 13: 14: 15: 16: end for Stage 4: MLP Output Head 17: ▹ 18: ▹ 19: ▹ Scalar output, clipped Training Configuration 20: Minimise via AdamW ▹ Huber loss, 21: Apply CosineAnnealingLR ▹, 22: Apply gradient clipping ▹ norm 23: Early stopping with patience epochs 24: return |
3.6. Training Setup
3.7. Evaluation Metrics
4. Results
4.1. Overall Forecasting Performance
4.2. Baseline Model Comparison
4.3. Scatter Plot Analysis
4.4. Spatial Generalization Across Stations
4.5. Comparison with Advanced Time-Series Forecasting Baselines
4.6. Statistical Reliability of Performance Differences
4.7. Error Decomposition and Mitigation Strategies
5. Discussion
5.1. Model Performance and Architectural Insights
5.2. Multi-Temporal Forecasting Consistency
5.3. Ablation Study
5.3.1. Architectural Ablation
5.3.2. Feature-Group Ablation
5.3.3. Hyper-Parameter Sensitivity
5.3.4. Discussion of Ablation Findings
5.4. Computational Efficiency and Deployment Feasibility
6. Conclusions
Limitations and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Gül, T.; Pales, A.F.; Connelly, E. Global EV Outlook 2024 Moving towards increased affordability. In Electric Vehicles Initiative; International Energy Agency: Paris, France, 2024; Volume 79. [Google Scholar]
- Jia, Z.; Li, J.; Zhang, X.-P.; Zhang, R. Review on Optimization of Forecasting and Coordination Strategies for Electric Vehicle Charging. J. Mod. Power Syst. Clean Energy 2023, 11, 389–400. [Google Scholar] [CrossRef]
- Siddiqui, J.; Ahmed, U.; Amin, A.; Alharbi, T.; Alharbi, A.; Aziz, I.; Khan, A.R.; Mahmood, A. Electric vehicle charging station load forecasting with an integrated DeepBoost approach. Alex. Eng. J. 2025, 116, 331–341. [Google Scholar] [CrossRef]
- Shahrokhi, S.; Wang, Z.; Paranjape, R.; Kozoriz, D.; Fick, J.; Pederson, S. A two-stage framework for spatiotemporal clustering and forecasting of electric vehicle charging. IEEE Access 2025, 13, 182345–182364. [Google Scholar] [CrossRef]
- Tian, R.; Wang, J.; Sun, Z.; Wu, J.; Lu, X.; Chang, L. Multi-scale spatial-temporal graph attention network for charging station load prediction. IEEE Access 2025, 13, 29000–29017. [Google Scholar] [CrossRef]
- Zhou, L.; Xu, Y.; Zhu, W.; Tang, B.; Li, Z. Spatio-temporal forecasting of EV charging demand in urban communities considering differentiated user characteristics. Int. J. Electr. Power Energy Syst. 2025, 172, 111249. [Google Scholar] [CrossRef]
- Alaraj, M.; Martins, C.; Radi, M.; Darwish, M.; Majdalawieh, M. Spatial–temporal deep learning for electric-vehicle charging demand: An exploratory study of GCN and LSTM networks performance. IEEE Access 2025, 13, 202203–202213. [Google Scholar] [CrossRef]
- Koohfar, S.; Woldemariam, W.; Kumar, A. Prediction of electric vehicles charging demand: A transformer-based deep learning approach. Sustainability 2023, 15, 2105. [Google Scholar] [CrossRef]
- Koohfar, S.; Woldemariam, W.; Kumar, A. Performance comparison of deep learning approaches in predicting EV charging demand. Sustainability 2023, 15, 4258. [Google Scholar] [CrossRef]
- Osman, H.; Azab, A.; AlGhazi, A.; Duffuaa, S.; Baki, F. Forecasting electric vehicle charging loads using random forest and gene expression programming ensemble models. Results Eng. 2025, 28, 108369. [Google Scholar] [CrossRef]
- Aduama, P.; Zhang, Z.; Al-Sumaiti, A.S. Multi-feature data fusion-based load forecasting of electric vehicle charging stations using a deep learning model. Energies 2023, 16, 1309. [Google Scholar] [CrossRef]
- Hussain, A.; Eswarakrishnan, V.; Aslam, A.; Tripura, S. Charging station demand forecasting using an LSTM-based hybrid transformer model. Sci. Rep. 2025, 15, 36639. [Google Scholar] [CrossRef]
- Mansour, H.S.E.; Mohamed, A.S.; Abdel-Aziz, M. Electric vehicles charging stations load forecasting based on hybrid XGBoost-BiLSTM model. Sci. Rep. 2026, 16, 374. [Google Scholar] [CrossRef] [PubMed]
- Xiong, X.; Huang, Z.; Chen, Y.; Sun, J. Load forecasting for commercial buildings using BiLSTM-Transformer network and cyber-physical cognitive control systems. Symmetry 2024, 16, 1601. [Google Scholar] [CrossRef]
- Jia, M.; Yang, B. EVformer: A spatio-temporal decoupled transformer for citywide EV charging load forecasting. World Electr. Veh. J. 2026, 17, 71. [Google Scholar] [CrossRef]
- Dhanawat, V.; Shinde, V.; Alami, R.; Akhunzada, A.; Faheem, Z.B.; Biswas, A. Electric vehicles charging station load forecasting integration with renewable energy using novel deep EfficientBiLSTMNet. IEEE Open J. Veh. Technol. 2025, 6, 2642–2661. [Google Scholar] [CrossRef]
- Alghamdi, E.A.; Alkinani, M.H.; Almazroi, A.A.; Alqarni, M.; Aldhahri, E.A.; Ayub, N. REST network: An ensemble deep learning approach for EV charging load forecasting in artificial port supply chains. IEEE Access 2025, 13, 133128–133144. [Google Scholar] [CrossRef]
- Hu, X.; Zhang, Z.; Fan, Z.; Yang, J.; Yang, J.; Li, S.; He, X. GCN-transformer-based spatio-temporal load forecasting for EV battery swapping stations under differential couplings. Electronics 2024, 13, 3401. [Google Scholar] [CrossRef]
- Ding, H.; Guo, Y.; Wang, H. Spatiotemporal forecasting of regional EV charging load: A multi-channel attentional graph network integrating dynamic electricity prices and weather conditions. Electronics 2025, 14, 4010. [Google Scholar] [CrossRef]
- Luo, R.; Song, Y.; Huang, L.; Zhang, Y.; Su, R. AST-GIN: Attribute-augmented spatiotemporal graph informer network for electric vehicle charging station availability forecasting. Sensors 2023, 23, 1975. [Google Scholar] [CrossRef]
- Peng, Y.; Ye, L.; Ouyang, W.; Xi, Q.; Wang, J.; Wang, X. A comprehensive framework for adaptive electric vehicle charging station siting and sizing based on transferable spatio-temporal demand prediction. IEEE Access 2025, 13, 109752–109770. [Google Scholar] [CrossRef]
- Nespoli, A.; Ogliari, E.; Leva, S. User behavior clustering based method for EV charging forecast. IEEE Access 2023, 11, 6273–6283. [Google Scholar] [CrossRef]
- Yuan, L.; Zhong, J.; Liu, Y.; Liu, X.; Wang, Y.; Dong, Z.Y. Two-Stage Hierarchical Clustering and Transformer–BiLSTM Hybrid Framework for Electric Vehicle Charging Load Forecasting. Int. J. Electr. Power Energy Syst. 2026, 174, 111461. [Google Scholar] [CrossRef]
- Zhou, D.; Guo, Z.; Xie, Y.; Hu, Y.; Jiang, D.; Feng, Y.; Liu, D. Using Bayesian Deep Learning for Electric Vehicle Charging Station Load Forecasting. Energies 2022, 15, 6195. [Google Scholar] [CrossRef]
- Shen, X.; Zhao, H.; Xiang, Y.; Lan, P.; Liu, J. Short-Term Electric Vehicle Charging Load Forecasting Based on Deep Learning in Low-Quality Data Environments. Electr. Power Syst. Res. 2022, 212, 108247. [Google Scholar] [CrossRef]
- Shanmuganathan, J.; Victoire, A.A.; Balraj, G.; Victoire, A. Deep Learning LSTM Recurrent Neural Network Model for Prediction of Electric Vehicle Charging Demand. Sustainability 2022, 14, 10207. [Google Scholar] [CrossRef]
- Vishnu, G.; Kaliyaperumal, D.; Pati, P.B.; Karthick, A.; Subbanna, N.; Ghosh, A. Short-Term Forecasting of Electric Vehicle Load Using Time Series, Machine Learning, and Deep Learning Techniques. World Electr. Veh. J. 2023, 14, 266. [Google Scholar] [CrossRef]
- Manzoor, T.; Lall, B.; Panigrahi, B.K. Transformer Models for EV Charging Demand Forecasting: Comparing Attention Mechanisms. In Proceedings of the 2024 Mediterranean Smart Cities Conference (MSCC), Tetouan, Morocco, 2–4 May 2024; pp. 1–5. [Google Scholar] [CrossRef]
- Wang, S.; Li, Y.; Shao, C.; Wang, P.; Wang, A.; Zhuge, C. Adaptive Spatio-Temporal Graph Recurrent Network for Short-Term Electric Vehicle Charging Demand Prediction. Appl. Energy 2025, 383, 125320. [Google Scholar] [CrossRef]
- Bouhamed, O.; Dissem, M.; Amayri, M.; Bouguila, N. Transformer-Based Deep Probabilistic Network for Load Forecasting. Eng. Appl. Artif. Intell. 2025, 152, 110781. [Google Scholar] [CrossRef]
- Yılmaz, M.; Çinar, E.; Yazıcı, A. A Transformer-Based Model for State of Charge Estimation of Electric Vehicle Batteries. IEEE Access 2025, 13, 33035–33048. [Google Scholar] [CrossRef]
- Debnath, S.; Mia, M.U.; Abubakkar, M.; Islam, M.R.; Mridul, M.S.I.; Biswas, A.K. Hybrid Multi-Scale Deep Learning Enhanced Electricity Load Forecasting Using Attention-Based Convolutional Neural Network and LSTM Model. IEEE Access 2026, 14, 13423–13444. [Google Scholar] [CrossRef]
- Ren, F.; Tian, C.; Zhang, G.; Li, C.; Zhai, Y. A Hybrid Method for Power Demand Prediction of Electric Vehicles Based on SARIMA and Deep Learning with Integration of Periodic Features. Energy 2022, 250, 123738. [Google Scholar] [CrossRef]
- Da, T.N.; Cho, M.-Y.; Thanh, P.N. Hourly Load Prediction-Based Feature Selection Scheme and Hybrid CNN–LSTM Method for Smart Solar Microgrid of Buildings. Expert Syst. 2024, 41, e13539. [Google Scholar] [CrossRef]
- Das, R.; Kandil, T.; Harris, A.; Herron, B.; J. Magnante, E. A Hybrid Deep Learning Framework for National-Level Power Generation Forecasting of Different Energy Sources Including Renewable Energy and Fossil Fuel. Energies 2026, 19, 1564. [Google Scholar] [CrossRef]
- City of New York. Electric Vehicle (EV) Charging Data—Municipal Lots and Garages. Data.gov. 2025. Available online: https://catalog.data.gov/dataset/electric-vehicle-ev-charging-data-municipal-lots-and-garages (accessed on 10 February 2026).
- Iowa Environmental Mesonet. Automated Surface Observing System (ASOS) Weather Data. Iowa State University. 2025. Available online: https://mesonet.agron.iastate.edu/request/download.phtml?network=NY_ASOS (accessed on 10 February 2026).
- Vaswani, A. Attention Is All You Need. arXiv 2017, arXiv:1706.03762. [Google Scholar] [CrossRef]
- Zhou, H.; Zhang, S.; Peng, J.; Zhang, S.; Li, J.; Xiong, H.; Zhang, W. Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting. Proc. AAAI Conf. Artif. Intell. 2021, 35, 11106–11115. [Google Scholar] [CrossRef]
- Nie, Y.; Nguyen, N.H.; Sinthong, P.; Kalagnanam, J. A Time Series is Worth 64 Words: Long-Term Forecasting with Transformers. arXiv 2022, arXiv:2211.14730. [Google Scholar] [CrossRef]
- Lim, B.; Arik, S.O.; Loeff, N.; Pfister, T. Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecasting. arXiv 2019, arXiv:1912.09363. [Google Scholar] [CrossRef]
- Loshchilov, I.; Hutter, F. Decoupled Weight Decay Regularization. In Proceedings of the 7th International Conference on Learning Representations (ICLR 2019), New Orleans, LA, USA, 6–9 May 2019. [Google Scholar]
- Debnath, S.; Basu, U.; Abubakkar, M.; Islam, M.R.; Debnath, M.; Biswas, A.K. Extreme Weather Grid Load Forecasting Using Weather-Informed LSTM and Transformer Machine Learning Models. In Proceedings of the 57th North American Power Symposium (NAPS), Hartford, CT, USA, 26–28 October 2025; pp. 1–7. [Google Scholar] [CrossRef]
- Loshchilov, I.; Hutter, F. SGDR: Stochastic Gradient Descent with Warm Restarts. In Proceedings of the 5th International Conference on Learning Representations (ICLR 2017), Toulon, France, 24–26 April 2017. [Google Scholar]
- Hajhashemi, E.; Sauri Lavieri, P.; Nassir, N. Identifying consumers’ electric vehicle charging styles: A latent class cluster analysis. Transp. Res. Interdiscip. Perspect. 2024, 27, 101198. [Google Scholar] [CrossRef]





















| Ref. | Year | Model/Architecture | Key Technique | Dataset/Case Study | Main Contribution | Performance/Outcome |
|---|---|---|---|---|---|---|
| Siddiqui et al. [3] | 2025 | DeepBoost Hybrid | VMD signal decomposition + BiLSTM + Gradient Boosting | EV charging datasets | Hybrid decomposition and boosting framework | Competitive forecasting accuracy |
| Shahrokhi et al. [4] | 2025 | Clustering-Ensemble Framework | Behavioral clustering + ensemble forecasting | EV station datasets | Segment-specific forecasting models | Reduced prediction errors |
| Tian et al. [5] | 2025 | MS-STGAN | Multi-Scale Spatial–Temporal Graph Attention with Pyramid Split Attention | Four real-world EV datasets | Multi-resolution spatial-temporal feature extraction | State-of-the-art results for 7-day and 30-day forecasts |
| Zhou et al. [6] | 2025 | Spatio-Temporal Hybrid | Behavioral segmentation of EV users | Urban EV charging network | Models heterogeneous user behavior (private, rideshare, fleet) | Improved interpretability and accuracy |
| Alaraj et al. [7] | 2025 | Hybrid LSTM + GCN analysis | Exploratory comparative framework | EV charging networks | Demonstrated complementary roles of temporal and spatial models | LSTM best for temporal; GCN best for spatial modeling |
| Koohfar et al. [8] | 2023 | Transformer | Self-attention based time-series forecasting | Denver EV charging data | First Transformer application for EV demand forecasting | Outperformed ARIMA, SARIMA, RNN, and LSTM |
| Osman et al. [10] | 2025 | Ensemble Hybrid | Prophet + TBATS + LSTM combined via RF and GEP ensembles | EV charging load data | Multi-seasonal ensemble forecasting exploiting complementary models | Improved forecasting accuracy |
| Aduama et al. [11] | 2023 | Multi-feature fusion model | Structured Multi-Feature Fusion (SMFF) | EV charging station data | Integration of behavioral, contextual, and meteorological features | Significant improvement over univariate baselines |
| Hussain et al. [12] | 2025 | LSTM–Transformer | Replace Transformer linear projections with LSTM layers | ACN dataset | Combines sequential memory with global attention | Outperformed LSTM, Transformer, RNN, ARIMA |
| Mansour et al. [13] | 2026 | XGBoost–BiLSTM Stacking | Gradient boosting feature selection + BiLSTM temporal modeling | ACN dataset | Stacking ensemble hybrid framework | Outperformed 24 competing methods |
| Xiong et al. [14] | 2024 | BiLSTM + Transformer | Cyber–Physical Cognitive Control System | Commercial building EV charging | Hybrid architecture for real-time and robust forecasting | Robust against incomplete data |
| Jia & Yang [15] | 2025 | EVformer | Decoupled spatial–temporal Transformer attention | City-scale EV load dataset | Independent spatial and temporal attention modules | Improved scalability and forecasting performance |
| Dhanawat et al. [16] | 2025 | EfficientBiLSTMNet | EfficientNet + ResNet + BiLSTM with Enhanced Firefly Algorithm tuning | Renewable energy integrated EV dataset | Multi-stream spatial–temporal hybrid architecture | Achieved () |
| Alghamdi et al. [17] | 2025 | REST Network | Ensemble of EfficientNet, ResNet, and BiLSTM | EV supply-chain charging ports | Multi-stream ensemble forecasting framework | Improved EV load prediction accuracy |
| Hu et al. [18] | 2024 | GCN–Transformer Hybrid | Spatial graph modeling + Transformer temporal learning | EV battery swapping station | Captured spatial dependencies across stations | Improved forecasting accuracy |
| Peng et al. [21] | 2025 | ConvLSTM Hybrid | Transferable spatio-temporal ConvLSTM framework | Multi-city EV charging station datasets | Transfer learning for station siting and sizing | Effective transfer from data-rich to data-poor cities |
| Zhou et al. [24] | 2022 | Bayesian LSTM | Variational inference over LSTM parameters | EV charging station data | Probabilistic deep learning framework for EV load forecasting | Outperformed SVR and MLR baselines |
| Shanmuganathan et al. [26] | 2022 | Deep LSTM | Empirical Mode Decomposition (EMD) + Arithmetic Optimization Algorithm (AOA) tuning | Georgia Tech EV charging station | Signal decomposition with optimized deep LSTM training | Improved prediction accuracy |
| Manzoor et al. [28] | 2024 | Transformer | ProbSparse attention mechanism | ACN dataset | Efficient Transformer attention mechanism | Higher accuracy with reduced computation cost |
| Bouhamed et al. [30] | 2025 | Transformer Encoder–Decoder | Probabilistic distribution forecasting | Malaysian & French energy datasets | Multi-horizon probabilistic EV load forecasting | Up to 11.7% accuracy improvement |
| Ren et al. [33] | 2022 | SARIMA–LSTM Hybrid | Serial hybrid (SARIMA for linear patterns + LSTM for nonlinear dynamics) | Spanish EV charging station data (2015–2016) | First hybrid model integrating statistical and deep learning forecasting | Outperformed six standalone baseline models |
| Da et al. [34] | 2024 | CNN–BiLSTM | CNN for spatial feature extraction + BiLSTM for temporal modeling | AMI data from solar microgrid building | Captured spatial and long-term temporal dependencies simultaneously | Better performance than standalone models |
| Yuan et al. [23] | 2026 | Transformer–BiLSTM Hybrid | Two-stage hierarchical clustering + hybrid deep model | Real-world EV charging datasets | Disentangles user behavior and weather effects | Consistent MAE reduction and improved interpretability |
| This Study | 2026 | Weather-Aware Transformer–LSTM Hybrid | Weather-aware attention with hybrid temporal modeling | DCAS real-world NYC EV and ASOS weather datasets | Integrated weather features into Transformer–LSTM for EV load forecasting | Improved MAE, RMSE, and MAPE over baseline models |
| Serial No. | Feature | Short Description |
|---|---|---|
| 1 | Date | Calendar date of the EV charging session. |
| 2 | Station ID | Unique identifier assigned to each municipal EV charging station. |
| 3 | Location Name | Name of the municipal parking facility where the charging session occurred. |
| 4 | Connected Time | Timestamp when the EV was connected to the charging station. |
| 5 | Disconnected Time | Timestamp when the EV charging session ended. |
| 6 | Charge Duration (min) | Total duration of active charging during the session (minutes). |
| 7 | Connected Duration (min) | Total duration for which the vehicle remained connected to the charger. |
| 8 | Energy Provided (kWh) | Total electrical energy delivered during the charging session. This variable was used as the forecasting target. |
| 9 | weather_station | Identifier of the mapped ASOS weather station associated with the charging location. |
| 10 | tmpf | Daily mean air temperature (°F). |
| 11 | relh | Daily mean relative humidity (%). |
| 12 | feel | Daily mean apparent temperature (°F). |
| 13 | sped | Daily mean wind speed (mph). |
| 14 | p01m | Total daily precipitation accumulation. |
| 15 | snowdepth | Binary indicator representing the presence of snow on the ground. |
| Category | Features | Count |
|---|---|---|
| Weather | tmpf, relh, feel, sped, p01m, snowdepth | 6 |
| Behavioral | charge_dur_mean, session_count | 2 |
| Cyclic (month) | month_sin, month_cos | 2 |
| Cyclic (weekday) | weekday_sin, weekday_cos | 2 |
| Cyclic (day-of-year) | dayofyear_sin, dayofyear_cos | 2 |
| Calendar flags | quarter, is_weekend | 2 |
| Rolling 7-day | mean, std, min, max | 4 |
| Rolling 14-day | mean, std, min, max | 4 |
| EMA | ema_7, ema_14 | 2 |
| TOTAL | 26 |
| Parameter | Value | |
|---|---|---|
| Params | Simple RNN | 12.1 K |
| LSTM | 129.47 K | |
| Transformer | 160.38 K | |
| Transformer_LSTM | 1.07 M | |
| Layers | Simple RNN | 10 |
| LSTM | 10 | |
| Transformer | 34 | |
| Transformer_LSTM | 55 | |
| FLOPS | Simple RNN | 127.49 KMac |
| LSTM | 2.59 MMac | |
| Transformer | 3.37 MMac | |
| Transformer_LSTM | 22.79 MMac | |
| Sequence Length | 21 | |
| Batch Size | 32 | |
| Epochs | 100 | |
| Learning Rate | 0.0003 | |
| Optimizer | AdamW | |
| Loss Function | HuberLoss | |
| Scheduler | CosineAnnealingLR | |
| Dropout | 0.15 | |
| GPU | T4 Tesla | |
| Framework | PyTorch | |
| Model | MAE | RMSE | MAPE (%) | sMAPE (%) | PSNR (dB) | |
|---|---|---|---|---|---|---|
| Simple RNN | 0.9007 | 123.7652 | 181.0053 | 52.40 | 37.2223 | 21.6434 |
| LSTM | 0.9215 | 108.1074 | 160.9423 | 34.01 | 26.2883 | 22.6638 |
| Transformer | 0.9408 | 93.1184 | 139.7643 | 29.94 | 22.4808 | 23.8893 |
| Transformer–LSTM (Proposed) | 0.9731 | 62.7131 | 94.2132 | 19.62 | 15.5407 | 27.3150 |
| Model | R2 | MAE | RMSE | MAPE | sMAPE | PSNR | Params |
|---|---|---|---|---|---|---|---|
| (kWh) | (kWh) | (%) | (%) | (dB) | (K) | ||
| Informer | 0.9489 | 82.47 | 124.18 | 26.83 | 20.31 | 24.92 | 285.00 |
| PatchTST | 0.9583 | 74.92 | 113.74 | 23.86 | 18.62 | 25.71 | 178.00 |
| TFT | 0.9612 | 71.85 | 109.42 | 22.74 | 17.93 | 26.05 | 412.00 |
| Transformer–LSTM (Proposed) | 0.9731 | 62.71 | 94.21 | 19.62 | 15.54 | 27.32 | 1070.00 |
| Model | R2 | MAE | RMSE (kWh) | MAPE | p vs. | |
|---|---|---|---|---|---|---|
| (kWh) | (%) | Proposed | ||||
| Simple RNN | 0.8993 ± 0.0041 | 124.43 ± 3.21 | 181.62 ± 4.48 | 52.71 ± 1.24 | <0.001 | <0.001 |
| LSTM | 0.9203 ± 0.0035 | 108.74 ± 2.71 | 161.55 ± 3.86 | 34.28 ± 0.91 | <0.001 | <0.001 |
| Transformer | 0.9396 ± 0.0030 | 93.68 ± 2.38 | 140.39 ± 3.22 | 30.11 ± 0.79 | <0.001 | <0.001 |
| Informer | 0.9536 ± 0.0026 | 83.42 ± 2.15 | 124.65 ± 2.91 | 26.58 ± 0.71 | <0.001 | <0.001 |
| PatchTST | 0.9613 ± 0.0023 | 75.94 ± 1.94 | 114.07 ± 2.68 | 23.86 ± 0.64 | <0.001 | <0.001 |
| TFT | 0.9641 ± 0.0022 | 72.83 ± 1.83 | 109.71 ± 2.55 | 22.57 ± 0.60 | <0.001 | <0.001 |
| Trans.–LSTM (Proposed) | 0.9724 ± 0.0019 | 63.05 ± 1.64 | 94.38 ± 2.50 | 19.74 ± 0.51 | — | — |
| Station | Avg. Daily Load | R2 | MAE (kWh) | RMSE | MAPE (%) |
|---|---|---|---|---|---|
| (kWh) | (kWh) | ||||
| Court Square | 1,468.8 | 0.971 | 98.45 | 145.32 | 11.47 |
| Queens Borough Hall | 1,221.9 | 0.969 | 87.21 | 132.18 | 11.85 |
| Delancey Essex | 725.4 | 0.967 | 85.73 | 128.94 | 12.31 |
| Jerome 190th | 338.4 | 0.957 | 42.63 | 68.45 | 14.92 |
| Jerome Gun Hill | 334.4 | 0.948 | 40.18 | 62.83 | 16.78 |
| Bay Ridge | 234.5 | 0.939 | 38.27 | 58.74 | 18.34 |
| St. George | 95.9 | 0.892 | 22.45 | 35.67 | 27.43 |
| Queens Family Court | 36.5 | 0.781 | 8.72 | 14.23 | 43.85 |
| Overall (test set) | — | 0.973 | 62.71 | 94.21 | 19.62 |
| Variant | R2 | MAE | RMSE | MAPE (%) | sMAPE (%) | ΔRMSE (%) |
|---|---|---|---|---|---|---|
| (kWh) | (kWh) | |||||
| (a) Architectural Ablation | ||||||
| Transformer-only (no LSTM decoder) | 0.9408 | 93.12 | 139.76 | 29.94 | 22.48 | +48.4 |
| LSTM-only (no Transformer encoder) | 0.9215 | 108.11 | 160.94 | 34.01 | 26.29 | +70.8 |
| LSTM → Transformer (reverse order) | 0.9512 | 84.36 | 127.05 | 25.71 | 19.98 | +34.9 |
| (b) Feature-group Ablation | ||||||
| w/o weather features | 0.9602 | 73.54 | 114.83 | 23.18 | 18.09 | +21.9 |
| w/o autoregressive lag features | 0.9387 | 96.42 | 142.55 | 30.85 | 24.01 | +51.3 |
| w/o rolling statistics | 0.9521 | 81.03 | 125.74 | 25.34 | 19.74 | +33.5 |
| w/o cyclic encodings | 0.9658 | 68.92 | 106.41 | 21.46 | 16.72 | +13.0 |
| w/o behavioral features | 0.9684 | 65.83 | 100.27 | 20.72 | 16.14 | +6.4 |
| (c) Hyper-parameter Sensitivity | ||||||
| , , | 0.9622 | 71.85 | 110.85 | 22.37 | 17.43 | +17.7 |
| , , | 0.9714 | 64.23 | 95.68 | 19.94 | 15.63 | +1.6 |
| , , | 0.9658 | 69.41 | 106.39 | 21.52 | 16.72 | +12.9 |
| , , | 0.9722 | 63.45 | 95.34 | 19.81 | 15.44 | +1.2 |
| , , | 0.9667 | 68.74 | 105.21 | 21.38 | 16.61 | +11.7 |
| , , | 0.9728 | 62.95 | 94.78 | 19.69 | 15.37 | +0.6 |
| Full Proposed Model (, , ) | 0.9731 | 62.71 | 94.21 | 19.62 | 15.54 | — |
| Model | Params | Train. Time | Inference | Peak GPU | RMSE |
|---|---|---|---|---|---|
| (K) | (min) | (ms/Sample) | Mem (MB) | (kWh) | |
| Simple RNN | 12.10 | 8.4 | 0.42 | 28 | 181.01 |
| LSTM | 129.47 | 12.7 | 0.68 | 65 | 160.94 |
| Transformer (encoder-only) | 160.38 | 14.2 | 0.81 | 78 | 139.76 |
| Informer | 285.00 | 21.5 | 1.34 | 132 | 124.18 |
| PatchTST | 178.00 | 15.8 | 0.89 | 96 | 113.74 |
| TFT | 412.00 | 28.4 | 1.72 | 184 | 109.42 |
| Trans.–LSTM (Proposed) | 1070.00 | 32.7 | 1.96 | 248 | 94.21 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Das, R.; Debnath, S.; Kandil, T.; Mia, M.U. Spatio-Temporal Forecasting of Municipal EV Charging Load Using Weather-Aware Transformer–LSTM Hybrid Models. AI 2026, 7, 191. https://doi.org/10.3390/ai7060191
Das R, Debnath S, Kandil T, Mia MU. Spatio-Temporal Forecasting of Municipal EV Charging Load Using Weather-Aware Transformer–LSTM Hybrid Models. AI. 2026; 7(6):191. https://doi.org/10.3390/ai7060191
Chicago/Turabian StyleDas, Remon, Sajib Debnath, Tarek Kandil, and Md Uzzal Mia. 2026. "Spatio-Temporal Forecasting of Municipal EV Charging Load Using Weather-Aware Transformer–LSTM Hybrid Models" AI 7, no. 6: 191. https://doi.org/10.3390/ai7060191
APA StyleDas, R., Debnath, S., Kandil, T., & Mia, M. U. (2026). Spatio-Temporal Forecasting of Municipal EV Charging Load Using Weather-Aware Transformer–LSTM Hybrid Models. AI, 7(6), 191. https://doi.org/10.3390/ai7060191

