Enhancing Smart Grid Efficiency: Blockchain-Based Federated Learning for EV Energy Forecasting

Authors

  • K Supraja Department of Computer Science and Engineering, Annamacharya Institute of Technology and Sciences, Kadapa, Andhra Pradesh, India
  • K Sai Charan Department of Computer Science and Engineering, Annamacharya Institute of Technology and Sciences, Kadapa, Andhra Pradesh, India
  • P Abdul Wahid Khan Department of Computer Science and Engineering, Annamacharya Institute of Technology and Sciences, Kadapa, Andhra Pradesh, India
  • K Sunitha Department of Computer Science and Engineering, Annamacharya Institute of Technology and Sciences, Kadapa, Andhra Pradesh, India
  • M Jyoshna Department of Computer Science and Engineering, Annamacharya Institute of Technology and Sciences, Kadapa, Andhra Pradesh, India

DOI:

https://doi.org/10.5281/zenodo.15183990

Keywords:

Federated learning, blockchain, electric vehicle, energy consumption, decentralized systems

Abstract

The growing popularity of electric vehicles (EVs) is driven by their advantages over conventional fuel-powered cars. However, their integration into the power grid presents challenges such as increased energy consumption and peak load management. This study proposes a blockchain-enabled federated learning (BCFL) framework that utilizes linear regression techniques to enhance EV energy demand prediction. The data collected from EVs is securely stored on a blockchain network, ensuring restricted access through encryption mechanisms. A federated learning approach allows each EV to train a localized model without sharing raw data, preserving privacy. The trained model parameters are aggregated and shared via blockchain, ensuring data integrity and security. This approach is unique in its evaluation of BCFL’s communication overhead and latency issues, offering an optimized strategy to reduce delays and improve system efficiency. Implementation results validate the accuracy of the proposed framework in forecasting EV energy consumption. A real-world dataset consisting of over 60,000 EV charging transactions from Boulder City, Colorado, was used to train the models. The findings confirm the reliability of the system, as all models achieved R² values exceeding 0.91, demonstrating high precision in energy.

References

Shanmuganathan, J., Victoire, A. A., Balraj, G., & Victoire, A. (2022). Deep learning LSTM recurrent neural network model for prediction of electric vehicle charging demand. Sustainability, 14(16), 10207. https://doi.org/10.3390/su141610207

McMahan, H. B., Moore, E., Ramage, D., Hampson, S., & Arcas, B. A. Y. (2016). Communication-efficient learning of deep networks from decentralized data. arXiv preprint arXiv:1602.05629.

LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436–444. https://doi.org/10.1038/nature14539

Dedeoglu, M., Lin, S., Zhang, Z., & Zhang, J. (2022). Federated learning based demand reshaping for electric vehicle charging. In Proceedings of the IEEE Global Communications Conference (pp. 4941–4946). https://doi.org/10.1109/GLOBECOM48099.2022.10000838

Teimoori, Z., & Yassine, A. (2022). A review on intelligent energy management systems for future electric vehicle transportation. Sustainability, 14(21), 14100. https://doi.org/10.3390/su142114100

Aslam, S., Herodotou, H., Mohsin, S. M., Javaid, N., Ashraf, N., & Aslam, S. (2021). A survey on deep learning methods for power load and renewable energy forecasting in smart microgrids. Renewable and Sustainable Energy Reviews, 144, 110992. https://doi.org/10.1016/j.rser.2021.110992

Saputra, Y. M., Hoang, D. T., Nguyen, D. N., Dutkiewicz, E., Mueck, M. D., & Srikanteswara, S. (2019). Energy demand prediction with federated learning for electric vehicle networks. In Proceedings of IEEE GLOBECOM (pp. 1–6). https://doi.org/10.1109/GLOBECOM38437.2019.9013587

Antal, M., Mihailescu, V., Cioara, T., & Anghel, I. (2022). Blockchain-based distributed federated learning in smart grid. Mathematics, 10(23), 4499. https://doi.org/10.3390/math10234499

Wang, N., et al. (2022). A blockchain based privacy-preserving federated learning scheme for Internet of Vehicles. Digital Communications and Networks. https://doi.org/10.1016/j.dcan.2022.05.020

Mengelkamp, E., Notheisen, B., Beer, C., Dauer, D., & Weinhardt, C. (2018). A blockchain-based smart grid: Towards sustainable local energy markets. Computer Science - Research and Development, 33(1–2), 207–214. https://doi.org/10.1007/s00450-017-0360-9

Tun, Y. L., Thar, K., Thwal, C. M., & Hong, C. S. (2021). Federated learning based energy demand prediction with clustered aggregation. In Proceedings of IEEE BigComp (pp. 164–167). https://doi.org/10.1109/BigComp51126.2021.00039

Zinkevich, M. A., Weimer, M., & Smola, A. (2010). Parallelized stochastic gradient descent. In Advances in Neural Information Processing Systems (Vol. 10, pp. 2595–2603).

Lu, Y., Huang, X., Dai, Y., Maharjan, S., & Zhang, Y. (2020). Blockchain and federated learning for privacy-preserved data sharing in industrial IoT. IEEE Transactions on Industrial Informatics, 16(6), 4177–4186. https://doi.org/10.1109/TII.2019.2942190

Dorokhova, M., Vianin, J., Alder, J.-M., Ballif, C., Wyrsch, N., & Wannier, D. (2021). A blockchain-supported framework for charging management of electric vehicles. Energies, 14(21), 7144. https://doi.org/10.3390/en14217144

Boulder Colorado. (2023). Open Data Catalog. Accessed November 5, 2023.

Web3.py Documentation. (2023). Accessed November 5, 2023.

Truffle Suite. (2023). Ganache | Truffle Suite. Accessed November 5, 2023.

Zheng, Z., Xie, S., Dai, H., Chen, X., & Wang, H. (2017). An overview of blockchain technology: Architecture, consensus, and future trends. In Proceedings of the IEEE International Congress on Big Data (pp. 557–564). https://doi.org/10.1109/BIGDATACONGRESS.2017.85

Antonopoulos, A. M., & Wood, G. (2018). Mastering Ethereum: Building Smart Contracts and DApps. Sebastopol, CA: O’Reilly Media.

Kuchibhotla, A. K., Brown, L. D., Buja, A., & Cai, J. (2019). All of linear regression. arXiv preprint arXiv:1910.06386.

Smart Charge America. (2023). ChargePoint CT4000 Level 2 Commercial Charging Stations. Accessed February 3, 2023.

Pate, M., & Ho, M. (2024). Charging Ahead Toward an EV Support Infrastructure. Accessed February 3, 2024.

Madapuri, R. K., & Senthil Mahesh, P. C. (2017). HBS-CRA: Scaling impact of change request towards fault proneness: Defining a heuristic and biases scale (HBS) of change request artifacts (CRA). Cluster Computing, 22(S5), 11591–11599. https://doi.org/10.1007/s10586-017-1424-0

Ahmed, S. T., Sivakami, R., Banik, D., Khan, S. B., Dhanaraj, R. K., Mahesh, T. R., & Almusharraf, A. (2024). Federated learning framework for consumer IoMT-edge resource recommendation under telemedicine services. IEEE Transactions on Consumer Electronics.

Fathima, A. S., Basha, S. M., Ahmed, S. T., Khan, S. B., Asiri, F., Basheer, S., & Shukla, M. (2025). Empowering consumer healthcare through sensor-rich devices using federated learning for secure resource recommendation. IEEE Transactions on Consumer Electronics.

Ahmed, S. T., Patil, K. K., Shanraj, R. K., Khan, S. B., Alzahrani, S., & Rani, S. (2024). 6GTelMED: Resources recommendation framework on 6G enabled distributed telemedicine using Edge-AI. IEEE Transactions on Consumer Electronics.

Ramaiah, N. S., & Ahmed, S. T. (2022). An IoT-based treatment optimization and priority assignment using machine learning. ECS Transactions, 107(1), 1487.

Pasha, A., Ahmed, S. T., Painam, R. K., Mathivanan, S. K., Karthikeyan, P., Mallik, S., & Qin, H. (2024). Leveraging ANFIS with Adam and PSO optimizers for Parkinson's disease. Heliyon, 10(9).

Downloads

Published

2025-04-09

How to Cite

K Supraja, K Sai Charan, P Abdul Wahid Khan, K Sunitha, & M Jyoshna. (2025). Enhancing Smart Grid Efficiency: Blockchain-Based Federated Learning for EV Energy Forecasting. International Journal of Computational Learning and Intelligence, An Open AI Journal, 4(2), 462–472. https://doi.org/10.5281/zenodo.15183990

Issue

Section

RESEARCH ARTICLES