journal article·2025-12-09Open access

A Convolutional Sparse Periodic Transformer Network for Electric Vehicle Charging Demand Forecasting

Lingxia Shi, Xu Lei, Ruinian Gao

Applied Sciences· Volume 15· Issue 24

Abstract

Electric vehicle (EV) charging behavior exhibits strong spatio-temporal randomness, often leading to transient peak loads and an elevated risk of distribution network overloads. In addition, existing prediction models still face challenges in achieving high accuracy, computational efficiency, and effective modeling of multi-level periodic patterns. To address these issues, this study proposes a novel architecture termed the Convolutional Sparse Periodic Transformer Network (CSPT-Net). At the front end of the architecture, the model incorporates a one-dimensional convolutional neural network (1D-CNN) to efficiently capture local temporal features. To improve computational efficiency, the traditional global attention mechanism is replaced with a sparse attention module. Furthermore, a customized periodic time-encoding module is designed to explicitly represent multi-scale temporal regularities such as daily, weekly, and holiday cycles. Extensive experiments on a large-scale dataset containing more than 70,000 real-world charging records demonstrate that CSPT-Net achieves state-of-the-art performance across all evaluation metrics. Specifically, CSPT-Net reduces the Mean Absolute Error (MAE) to 12.21 min and enhances training efficiency by over 58% compared with the standard Transformer baseline. These results confirm that CSPT-Net effectively balances predictive accuracy and computational efficiency while demonstrating superior robustness and generalization in complex real-world environments. Consequently, the proposed framework offers a reliable and high-performance data-driven foundation for power grid load management and charging infrastructure planning.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Electric Vehicles and Infrastructure · Smart Grid Energy Management · Wireless Power Transfer Systems

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Electronic and Control Engineering, Chang’an University, Middle Section of Nan Erhuan Road, Beilin District, Xi’an 710064, China

Innovation Center, Shaanxi Hand Auto Axle Co., Ltd., Jingwei Industrial Park, Gaoling District, Xi’an 710201, China

Funding

Shaanxi Provincial Department of Education Local Service Special Project — Research on Key Technologies for New Energy Vehicle Charging and Battery Swapping Needs · the Shaanxi Qin Chuang Yuan “Scientist + Engineer” Team Construction Project · 2024 Xi’an Municipal Program for Collaborative R&D on Generic Technology Platforms

References (34)

Show source-provided references
1. Un-Noor, F., Padmanaban, S., Mihet-Popa, L., Mollah, M.N., and Hossain, E. (2017). A Comprehensive Study of Key Electric Vehicle (EV) Components, Technologies, Challenges, Impacts, and Future Direction of Development. Energies, 10.10.20944/preprints201705.0090.v1 ↗
2. Electric Vehicles in China, Europe, and the United States: Current Trend and Market Comparison
3. Probabilistic impact assessment of high penetration of electric vehicles on distribution network reliability and overload risk
4. Investigating the Electric Vehicle Adoption Initiatives for Achieving Sustainable Development Goals10.1016/j.sftr.2025.100469 ↗
5. State-of-the-art and future trends in electric vehicle charging infrastructure: A review
6. Inertia-emulation-based fast frequency response from EVs: A multi-level framework with game-theoretic incentives and DRL10.1109/TSG.2025.3603256 ↗
7. Spatial and temporal model of electric vehicle charging demand10.1109/TSG.2011.2159278 ↗
8. Probabilistic planning of electric vehicles charging stations in an integrated electricity-transport system10.1016/j.epsr.2020.106698 ↗
9. Mid-and long-term strategy based on electric vehicle charging unpredictability and ownership estimation10.1016/j.ijepes.2022.108240 ↗
10. Data-driven ev charging load forecasting and smart charging10.1016/j.trpro.2023.11.827 ↗
11. Xing, Q., Chen, Z., Zhang, Z., Xu, X., Zhang, T., Huang, X., and Wang, H. (2020). Urban Electric Vehicle Fast-Charging Demand Forecasting Model Based on Data-Driven Approach and Human Decision-Making Behavior. Energies, 13.10.3390/en13061412 ↗
12. Predicting Electric Vehicle Charging Demand in Residential Areas Using POI Data and Decision-Making Model10.1002/tee.24220 ↗
13. Graham, J., and Teng, F. (2023, January 25–29). Vehicle-to-grid plug-in forecasting for participation in ancillary services markets. Proceedings of the IEEE Belgrade PowerTech, Belgrade, Serbia.10.1109/PowerTech55446.2023.10202778 ↗
14. Robust Charging Demand Prediction and Charging Network Planning for Heterogeneous Behavior of Electric Vehicles10.1007/s12204-023-2576-0 ↗
15. Fast charging demand forecasting based on the intelligent sensing system of dynamic vehicle under EVs-traffic-distribution coupling10.1016/j.egyr.2022.02.261 ↗
16. A deep learning based approach for predicting the demand of electric vehicle charge10.1007/s11227-022-04428-0 ↗
17. Nodal charging demand forecast of EVs considering drivers’ psychological bearing ability based on NMC-MCS10.1049/gtd2.12293 ↗
18. Feature-enhanced deep learning method for electric vehicle charging demand probabilistic forecasting of charging station10.1016/j.apenergy.2024.123751 ↗
19. Short-term electric vehicle charging demand prediction: A deep learning approach10.1016/j.apenergy.2023.121032 ↗
20. Secure and efficient prediction of electric vehicle charging demand using α2-LSTM and AES-128 cryptography10.1016/j.egyai.2023.100307 ↗
21. Li, D., Leung, M.-F., Tang, J., Wang, Y., Hu, J., and Wang, S. (IEEE Trans. Intell. Transp. Syst., 2025). Generative self-supervised learning for cyberattack-resilient EV charging demand forecasting, IEEE Trans. Intell. Transp. Syst., early access.10.1109/TITS.2025.3545577 ↗
22. Koohfar, S., Woldemariam, W., and Kumar, A. (2023). Prediction of electric vehicles charging demand: A transformer-based deep learning approach. Sustainability, 15.10.3390/su15032105 ↗
23. Prediction of electric vehicle charging demand using enhanced gated recurrent units with RKOA based graph convolutional network10.1007/s42452-024-06326-x ↗
24. A comprehensive benchmark of machine learning-based algorithms for medium-term electric vehicle charging demand prediction10.1007/s11227-025-06975-8 ↗
25. James, G., Witten, D., Hastie, T., and Tibshirani, R. (2021). An Introduction to Statistical Learning: With Applications in R, Springer. [2nd ed.].10.1007/978-1-0716-1418-1 ↗
26. Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., and Liu, T.Y. (2017). LightGBM: A highly efficient gradient boosting decision tree. Advances in Neural Information Processing Systems, Proceedings of the 31st Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017, Curran Associates Inc.
27. Quantile Regression: 40 Years On10.1146/annurev-economics-063016-103651 ↗
28. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems, Proceedings of the 31st Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017, Curran Associates Inc.
29. Wen, Q., Zhou, T., Zhang, C., Chen, F., Ma, Z., Yan, J., and Sun, L. (2023, January 19–25). Transformers in time series: A survey. Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), Macao, China.10.24963/ijcai.2023/759 ↗
30. Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
31. Aduama, P., Zhang, Z., and Al-Sumaiti, A.S. (2023). Multi-feature data fusion-based load forecasting of electric vehicle charging stations using a deep learning model. Energies, 16.10.3390/en16031309 ↗
32. Electric Vehicle Charging in Smart Grid: A Spatial-Temporal Simulation Method10.1016/j.energy.2019.116221 ↗
33. GIS-Based Multi-Objective Particle Swarm Optimization of Charging Stations for Electric Vehicles10.1016/j.energy.2018.12.062 ↗
34. A high-resolution electric vehicle charging transaction dataset with multidimensional features in China10.1038/s41597-025-04982-1 ↗