Transformer-Based User Charging Duration Prediction Using Privacy Protection and Data Aggregation
Abstract
:1. Introduction
2. Related Work
3. Transformer-Based Charging Duration Prediction
3.1. The Framework of Charging Duration Prediction
Algorithm 1: Charging Duration Prediction |
|
3.2. Adaptive Truncated Sparse Self-Attention Mechanism
4. Effective Parameter Update and Aggregation
Algorithm 2: Transformer Parameter Aggregation Update |
|
5. Experimental Results and Analysis
5.1. Dataset and Experiment Configuration
5.2. Experimental Results and Analysis
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Wan, Y.; Cao, W.; Wang, L. A Prediction Method for EV Charging Load Based on Fuzzy Inference Algorithm. In Proceedings of the 2019 Chinese Control Conference (CCC), Guangzhou, China, 27–30 July 2019; pp. 2803–2808. [Google Scholar]
- Mohammed, A.; Saif, O.; Abo-Adma, M.; Fahmy, A.; Elazab, R. Strategies and sustainability in fast charging station deployment for electric vehicles. Sci. Rep. 2024, 14, 283. [Google Scholar] [CrossRef]
- Shoushtari, F.; Talebi, M.; Rezvanjou, S. Electric Vehicle Charging Station Location by Applying Optimization Approach. Int. J. Ind. Eng. Oper. Res. 2024, 6, 1–15. [Google Scholar]
- Esmaili, A.; Oshanreh, M.M.; Naderian, S.; MacKenzie, D.; Chen, C. Assessing the spatial distributions of public electric vehicle charging stations with emphasis on equity considerations in King County, Washington. Sustain. Cities Soc. 2024, 107, 105409. [Google Scholar] [CrossRef]
- Al-Ogaili, A.S.; Hashim, T.J.T.; Rahmat, N.A.; Ramasamy, A.K.; Marsadek, M.B.; Faisal, M.; Hannan, M.A. Review on Scheduling, Clustering, and Forecasting Strategies for Controlling Electric Vehicle Charging: Challenges and Recommendations. IEEE Access 2019, 7, 128353–128371. [Google Scholar] [CrossRef]
- Fang, X.; Misra, S.; Xue, G.; Yang, D. Smart grid—The new and improved power grid: A survey. IEEE Commun. Surv. Tutor. 2011, 14, 944–980. [Google Scholar] [CrossRef]
- Kotarela, F.; Rigogiannis, N.; Glavinou, E.; Mpailis, F.; Kyritsis, A.; Papanikolaou, N. Techno-Economic and Environmental Assessment of a Photovoltaic-Based Fast-Charging Station for Public Utility Vehicles. Energies 2024, 17, 632. [Google Scholar] [CrossRef]
- Asamer, J.; Reinthaler, M.; Ruthmair, M.; Straub, M.; Puchinger, J. Optimizing charging station locations for urban taxi providers. Transp. Res. Part A Policy Pract. 2016, 85, 233–246. [Google Scholar] [CrossRef]
- Deb, S.; Tammi, K.; Kalita, K.; Mahanta, P. Impact of electric vehicle charging station load on distribution network. Energies 2018, 11, 178. [Google Scholar] [CrossRef]
- Capasso, C.; Veneri, O. Experimental study of a DC charging station for full electric and plug in hybrid vehicles. Appl. Energy 2015, 152, 131–142. [Google Scholar] [CrossRef]
- Shariff, S.M.; Alam, M.S.; Ahmad, F.; Rafat, Y.; Asghar, M.S.J.; Khan, S. System design and realization of a solar-powered electric vehicle charging station. IEEE Syst. J. 2019, 14, 2748–2758. [Google Scholar] [CrossRef]
- Wang, X.; Yuen, C.; Hassan, N.U.; An, N.; Wu, W. Electric vehicle charging station placement for urban public bus systems. IEEE Trans. Intell. Transp. Syst. 2016, 18, 128–139. [Google Scholar] [CrossRef]
- Yuan, W.; Huang, J.; Zhang, Y.J.A. Competitive charging station pricing for plug-in electric vehicles. IEEE Trans. Smart Grid 2015, 8, 627–639. [Google Scholar] [CrossRef]
- Timpner, J.; Wolf, L. Design and evaluation of charging station scheduling strategies for electric vehicles. IEEE Trans. Intell. Transp. Syst. 2013, 15, 579–588. [Google Scholar] [CrossRef]
- Xiong, Y.; An, B.; Kraus, S. Electric vehicle charging strategy study and the application on charging station placement. Auton. Agents Multi-Agent Syst. 2021, 35, 3. [Google Scholar] [CrossRef]
- Kang, J.; Yu, R.; Huang, X.; Maharjan, S.; Zhang, Y.; Hossain, E. Enabling localized peer-to-peer electricity trading among plug-in hybrid electric vehicles using consortium blockchains. IEEE Trans. Ind. Inform. 2017, 13, 3154–3164. [Google Scholar] [CrossRef]
- Wu, Y.; Zhang, C.; Zhu, L. Privacy-preserving and Traceable Blockchain-based Charging Payment Scheme for Electric Vehicles. IEEE Internet Things J. 2023, 10, 21254–21265. [Google Scholar] [CrossRef]
- Li, H.; Han, D.; Tang, M. A privacy-preserving charging scheme for electric vehicles using blockchain and fog computing. IEEE Syst. J. 2020, 15, 3189–3200. [Google Scholar] [CrossRef]
- Jiang, L.; Li, T.; Jiao, R.; Zhou, W.; Zhang, Y.; Zhao, X. Blockchain-Based Charging Pile Detection Data Uploading and Sharing. In Proceedings of the 2022 IEEE 5th International Conference on Electronics Technology (ICET), Chengdu, China, 13–16 May 2022; pp. 1229–1233. [Google Scholar]
- Aji, P.; Renata, D.A.; Larasati, A. Development of Electric Vehicle Charging Station Management System in Urban Areas. In Proceedings of the 2020 International Conference on Technology and Policy in Energy and Electric Power (ICT-PEP), Bandung, Indonesia, 23–24 September 2020; pp. 199–203. [Google Scholar]
- Guo, J.; Zhao, H.; Shen, Z.; Wang, A.; Cao, L.; Hu, E.; Wang, Z.; Song, X. Research on Harmonic Characteristics and Harmonic Counteraction Problem of EV Charging Station. In Proceedings of the 2018 2nd IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, China, 20–22 October 2018; pp. 1–5. [Google Scholar]
- Arya, A.; Sridhar, S. Strategic Placement of Electric Vehicle Charging Stations Using Grading Algorithm. In Proceedings of the 2023 International Conference on Advances in Electronics, Communication, Computing and Intelligent Information Systems (ICAECIS), Bangalore, India, 19–21 April 2023; pp. 99–104. [Google Scholar]
- Lin, Y.J.; Chen, Y.C.; Zheng, J.Y.; Shao, D.W.; Chu, D.; Yang, H.T. Blockchain-Based Intelligent Charging Station Management System Platform. IEEE Access 2022, 10, 101936–101956. [Google Scholar] [CrossRef]
- Santos, G.; Pina, J.M.; Belém, R. B2G (Buggy-to-Grid): Vehicle-to-Grid (V2G) concept in microgrids with strong penetration of electric vehicles. In Proceedings of the 2022 International Young Engineers Forum (YEF-ECE), Caparica/Lisbon, Portugal, 1 July 2022; pp. 106–111. [Google Scholar]
- Odeh, Y.S.; Elkahlout, I.S.; Naeimi, P.V.; ElGhanam, E.A.; Hassan, M.S.; Osman, A.H. Planning and Allocation of Dynamic Wireless Charging Infrastructure for Electric Vehicles. In Proceedings of the 2022 9th International Conference on Electrical and Electronics Engineering (ICEEE), Alanya, Turkey, 29–31 March 2022; pp. 306–310. [Google Scholar]
- Zheng, Q.; Zhao, J.; Xiang, J. Research on Blockchain Reconciliation Applications of Intelligent Charging Pile Platforms. In Proceedings of the 2021 IEEE 3rd International Conference on Power Data Science (ICPDS), Harbin, China, 26 December 2021; pp. 62–68. [Google Scholar]
- von Hoffen, M. Enrichment and context-based analytics of Electric Vehicle charging transaction data. In Proceedings of the 2016 6th International Electric Drives Production Conference (EDPC), Nuremberg, Germany, 30 November–1 December 2016; pp. 94–100. [Google Scholar]
- Ju, Z.; Li, Y. Local Differential Privacy-Based Privacy-Preserving Data Range Query Scheme for Electric Vehicle Charging. IEEE Trans. Netw. Sci. Eng. 2024, 11, 673–684. [Google Scholar] [CrossRef]
- Li, Y.; Ma, Y.; Zhu, Z.; Qi, G.; Zhou, Z.; Huang, X. Blockchain-based EVs Charging Right Trading Model. In Proceedings of the 2023 IEEE 6th International Electrical and Energy Conference (CIEEC), Hefei, China, 12–14 May 2023; pp. 1107–1111. [Google Scholar]
- Wang, W.; Peng, X.; Yang, Y. Self-Training Enabled Efficient Classification Algorithm: An Application to Charging Pile Risk Assessment. IEEE Access 2022, 10, 86953–86961. [Google Scholar] [CrossRef]
- Han, K.; Xiao, A.; Wu, E.; Guo, J.; Xu, C.; Wang, Y. Transformer in transformer. Adv. Neural Inf. Process. Syst. 2021, 34, 15908–15919. [Google Scholar]
- Johnson, D.H.; Sinanovic, S. Symmetrizing the kullback-leibler distance. IEEE Trans. Inf. Theory 2001, 1, 1–10. [Google Scholar]
Features | Quantity |
---|---|
The number of locations where charging station user data is sourced | 125 |
The total number of charging stations | 124,548 |
The dimensionality of each sample feature | 24 |
The number of samples in the test set | 414,812 |
The number of normal data samples in the test set | 228,644 |
The number of abnormal data samples in the test set | 104,168 |
The number of incomplete data samples in the test set | 82,000 |
Features |
---|
Session ID Unique identifier of EV Time zone of charging station Charging capacity Time of connecting to charging station Demanded charging energy Time of the last non-zero charging rate |
Time of disconnecting charging station Measured energy delivered Time of charging current becoming zero |
Time of estimated departure time |
Time of charging voltage becoming maximum |
Parameter Name | Value |
---|---|
Self-Attention Mechanism and the Number of Layers in Feedforward Deep Neural Network | 12 |
Dimension of the Hidden Layer | 1024 |
Number of Attention Heads | 16 |
Intermediate Layer Dimension in Feedforward Neural Network | 4096 |
Dropout Rate | 0.1 |
Learning Rate | 10−4 |
Maximum Sequence Length | 2048 token |
EV ID | Actual Charging Duration (min) | Estimated Charging Duration (min) | Error Percentage (%) |
---|---|---|---|
1 | 307 | 300 | 2.28 |
2 | 200 | 210 | 5 |
3 | 79 | 75 | 5.06 |
4 | 221 | 213 | 3.62 |
5 | 216 | 211 | 2.31 |
6 | 100 | 95 | 5 |
7 | 366 | 361 | 1.37 |
8 | 191 | 180 | 5.76 |
9 | 423 | 435 | 2.84 |
10 | 370 | 363 | 1.89 |
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. |
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zeng, F.; Pan, Y.; Yuan, X.; Wang, M.; Guo, Y. Transformer-Based User Charging Duration Prediction Using Privacy Protection and Data Aggregation. Electronics 2024, 13, 2022. https://doi.org/10.3390/electronics13112022
Zeng F, Pan Y, Yuan X, Wang M, Guo Y. Transformer-Based User Charging Duration Prediction Using Privacy Protection and Data Aggregation. Electronics. 2024; 13(11):2022. https://doi.org/10.3390/electronics13112022
Chicago/Turabian StyleZeng, Fei, Yi Pan, Xiaodong Yuan, Mingshen Wang, and Yajuan Guo. 2024. "Transformer-Based User Charging Duration Prediction Using Privacy Protection and Data Aggregation" Electronics 13, no. 11: 2022. https://doi.org/10.3390/electronics13112022
APA StyleZeng, F., Pan, Y., Yuan, X., Wang, M., & Guo, Y. (2024). Transformer-Based User Charging Duration Prediction Using Privacy Protection and Data Aggregation. Electronics, 13(11), 2022. https://doi.org/10.3390/electronics13112022