Lightweight machine learning framework using temporal features for electric vehicle demand response forecasting on edge devices
The popularity of Electric Vehicles (EVs) poses particular challenges for demand-side energy management, especially in low-computation scenarios. This research builds a lightweight machine learning (ML) model to forecast EV consumption load and to maximise Demand Response (DR) strategies using real-world data. The Kaggle dataset used in this research consists of time-series EV charging data, which is preprocessed, down sampled, and augmented with time-based features, including hour, weekday, and month. Seven DR strategies, which are Peak Clipping, Valley Filling, Load Shifting, Load Levelling, Strategic Load Growth, Strategic Conservation, and Flexible Load Shape, are implemented on estimated load profiles. The model experiments consist of five ML models: Linear Regression (LR), Support Vector Regression (SVR), k-Nearest Neighbours (kNN), Random Forest (RF), and Extreme Gradient Boosting (XGBoost), and their results for both prediction and computation. Such models are selected since they are suitable for systems that lack resources. To serve all DR cases, the measurement metrics used are MAE, RMSE, and R<sup>2</sup>. Findings suggest that XGBoost is the most error-free technique across most DR approaches, achieving an R2 score of 0.975 in Strategic Conservation and 0.943 in Valley Filling, with the highest efficiency, seconded by Random Forest with an R2 score of 0.91. The results of linear regression and kNN were worse, with R² values never exceeding 0.50 across most DR strategies. The work demonstrates the capacity to deliver successful performance from lightweight ML models for EV load prediction and DR modelling, and that such models can provide scalable information to grid operators and policymakers operating within constrained computational environments.
Authors
- Muhammad Zain Yousaf (ORCID: https://orcid.org/0000-0002-6664-8235)
- Abdullah Khan (ORCID: https://orcid.org/0000-0003-1718-7038)
- Umar Farooq (ORCID: https://orcid.org/0000-0003-0828-2842)
- Abdul Aziz (ORCID: https://orcid.org/0000-0002-9871-8795)
- Azzam ul Asar (ORCID: https://orcid.org/0000-0001-5276-4641)
- Ali Mujtaba Durrani
- Mohammad Shabaz (ORCID: https://orcid.org/0000-0001-5106-7609)
- Fakhar Anjam
- Mustafa Abdullah (ORCID: https://orcid.org/0009-0006-8234-836X)
Institutions
- Al-Ahliyya Amman University (JO)
- Nankai University (CN)
- University of Johannesburg (ZA)
- Marwadi University (IN)
- CECOS University (PK)
- University of Science and Technology Bannu (PK)
- Zhejiang Medicine (China) (CN)
- Virtual University of Pakistan (PK)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-12-08
- DOI
- https://doi.org/10.1038/s41598-025-30465-9
- Citations
- 2
- Primary Topic
- Electric Vehicles and Infrastructure
- Type
- article
- Field-Weighted Citation Impact
- 1.46