Heliyon (Aug 2024)

Prediction and analysis of relative error in electric vehicle charging stations based on an improved ConvFormer model

  • Liwen Chen,
  • Zhibin Liu,
  • Qingquan Yu,
  • Xing Jiang,
  • Huanghui Zhang,
  • Xin Lin

Journal volume & issue
Vol. 10, no. 16
p. e35840

Abstract

Read online

In order to address the issue of metering inaccuracies in charging stations that directly affect the development of electric vehicles, a prediction method for the relative error of charging stations based on the ConvFormer model is proposed. The model combines Convolutional Neural Networks (CNN) with Transformer models in parallel, significantly improving the prediction accuracy. First, charging station data is preprocessed using forward interpolation and normalization methods, and the dataset is transformed into a dataset of input relative errors. Then, a neural network with an improved unidirectional convolutional and attention combination for time-series forecasting is constructed, and common regression performance evaluation metrics, MAE (Mean Absolute Error) and MSE (Mean Squared Error), are selected for evaluation. Finally, based on seven days of charging station data, the relative error of charging stations for the next 24 h is predicted, and compared to traditional Transformer and LSTM (Long Short-Term Memory) time-series models. The results show that the improved model yields the lowest values for both MAE and MSE, with a 47.30 % reduction in MAE compared to the Transformer model and a 38.06 % reduction compared to LSTM, and a 66.94 % reduction in MSE compared to the Transformer model and approximately 62.32 % reduction compared to LSTM.

Keywords