Next Article in Journal
Clean Water Production Enhancement through the Integration of Small-Scale Solar Stills with Solar Dish Concentrators (SDCs)—A Review
Next Article in Special Issue
Techniques to Locate the Origin of Power Quality Disturbances in a Power System: A Review
Previous Article in Journal
The Roles of Cassava in Marginal Semi-Arid Farming in East Nusa Tenggara—Indonesia
Previous Article in Special Issue
Statistical Modeling of Energy Harvesting in Hybrid PLC-WLC Channels
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hybrid Predictive Modeling for Charging Demand Prediction of Electric Vehicles

1
Department of Statistics, Yeungnam University, Gyeongsan 38541, Korea
2
Department of Information Statistics, Andong National University, Andong 36729, Korea
*
Author to whom correspondence should be addressed.
Sustainability 2022, 14(9), 5426; https://doi.org/10.3390/su14095426
Submission received: 21 March 2022 / Revised: 19 April 2022 / Accepted: 27 April 2022 / Published: 30 April 2022
(This article belongs to the Special Issue Energy Efficiency in Power Lines)

Abstract

:
In recent years, the supply of electric vehicles, which are eco-friendly cars that use electric energy rather than fossil fuels, which cause air pollution, is increasing. Accordingly, it is emerging as an urgent task to predict the charging demand for the smooth supply of electric energy required to charge electric vehicle batteries. In this paper, to predict the charging demand, time series analysis is performed based on two types of frames: One is using traditional time series techniques such as dynamic harmonic regression, seasonal and trend decomposition using Loess, and Bayesian structural time series. The other is the most widely used machine learning techniques, including random forest and extreme gradient boosting. However, the tree-based machine learning approaches have the disadvantage of not being able to capture the trend, so a hybrid strategy is proposed to overcome this problem. In addition, the seasonal variation is reflected as the feature by using the Fourier transform which is useful in the case of describing the seasonality patterns of time series data with multiple seasonality. The considered time series models are compared and evaluated through various accuracy measures. The experimental results show that the machine learning approach based on the hybrid strategy generally achieves significant improvements in predicting the charging demand. Moreover, when compared with the original machine learning method, the prediction based on the proposed hybrid strategy is more accurate than that based on the original machine learning method. Based on these results, it can find out that the proposed hybrid strategy is useful for smoothly planning future power supply and demand and efficiently managing electricity grids.

1. Introduction

The World Health Organization (WHO) cited air pollution and climate change as the biggest factors that harm human health in a report titled “Ten threats to global health in 2019”. The WHO also said 9 out of 10 people breathe polluted air every day, which could cause 7 million premature deaths each year. Fine dust is the most harmful air pollutant to the human body. Fine dust can reduce cognitive function, increase the probability of dementia, cause heart and respiratory diseases, and may reduce vision. In addition, fine dust destroys the ecosystem by acidifying soil and water with acid rain and affects semiconductors and industrial activities. As fine dust has an adverse effect in various areas, efforts are needed to reduce it. In particular, countries around the world are regulating emissions of internal combustion locomotives and introducing eco-friendly cars to reduce automobile emissions, which are the main cause of fine dust. A representative type of eco-friendly car is the electric vehicle (EV). Unlike existing internal combustion engines that use gasoline or light oil, EVs use electric energy through batteries as a power source, so harmful emissions such as carbon dioxide or nitrogen oxides are not emitted. For this reason, EVs are recognized as a symbol of eco-friendly cars around the world, and global automakers are focusing their efforts on developing eco-friendly EVs. As a result, global EV sales are estimated to be 3.24 million units in 2020, up about 43% year-on-year according to EV Volumes, which is a global EV market research company. In particular, Korea, which was reported as the country with the worst air pollution among the Organization for Economic Co-operation and Development member countries through the “2019 World Air Quality Report”, is encouraging the purchase of EVs through subsidies and tax benefits to reduce automobile emissions.
However, EVs still have many problems, including the cost of purchase, short mileage due to battery limitations, long charging time, location of charging stations, and lack of public charging infrastructure. In particular, the lack of charging infrastructure is the biggest obstacle to the growth of the EV market. The way to resolve this problem is to increase the number of fast-charging stations, but it is impossible to install many fast chargers due to expensive installation costs. Therefore, to reduce the inconvenience of EV users, charging stations should be installed in the optimal location, and some studies [1,2,3,4,5] have suggested ways to select the appropriate charging station location.
Another issue with EVs is the charging demand (CD). Sales of EVs are growing exponentially, so the CD will also increase. The future CD must be able to accommodate the expanding supply of EVs, and it is important to accurately predict the amount of electricity for charging to establish a smooth supply and demand plan [6]. Furthermore, predicting the CD helps to efficiently manage electrical grids [7]. Realizing the importance of this CD, some researchers have applied various models to predict the CD. Majidpour et al. [8] studied forecasting of the CD of EVs from the customer profile data and station records data using support vector regression (SVR) and random forest (RF). Choi et al. [6] predicted the CD by region using EV charging stations data in Seoul and Jeju Island based on the autoregressive integrated moving average (ARIMA), ARIMA with an exogenous variable, ARIMA generalized autoregressive conditionally heteroskedastic models, and so on. They considered various features including the number of EVs registered and holidays. Almaghrebi et al. [7] applied the machine learning (ML) techniques such as RF, extreme gradient boosting (XGBoost), and support vector machine to predict the CD of plug-in EVs. They used weekday, season, the time of day when the EV plugs in, and so on, as the feature. Lee et al. [9] devised an imputation method on how to handle missing values in EV charging data and provided a long-short-term-memory (LSTM)-based forecasting model of EV charging station load. Kim and Kim [10] analyzed the CD of EVs in Korea through the artificial neural network and LSTM, considering the temperature, weekends, and holidays as the feature. Chang et al. [11] suggested a framework for predicting fast-CD based on deep learning approaches and techniques, including a continuous sliding window and weight initialization. Lan et al. [12] proposed the ML approach based on SVR and the modified dragonfly algorithm to predict the CD of hybrid EVs. In addition, several studies have attempted to predict the CD of EVs without applying ML methods. Lopez et al. [13] proposed a new approach to model the CD of EVs based on discrete event simulation. Liu et al. [14] proposed a fast CD prediction model based on the intelligent sensing system of dynamic EVs under EVs–traffic-distribution coupling. Yi et al. [15] developed the modified geographical PageRank model to estimate the CD of EVs.
However, the tree-based ML techniques such as RF and XGBoost logically make rules and predict future values only by rules made by training data, so it is impossible to predict higher values than the maximum values found in the training data. Likewise, a value lower than the minimum value found in the training data also cannot be predicted. This in turn makes the trend unable to be captured. Despite this limitation, the classical studies for the prediction of the CD do not consider the decomposition of time series data in applying the tree-based ML techniques. This paper overcomes the limitation by providing a hybrid strategy that combines the trend component captured from the traditional time series technique with the detrended component analyzed by the ML techniques. In addition, unlike the classical studies, the Fourier terms are used as features to take into account the seasonal factors associated with cycles because it is very useful in describing the seasonality patterns of time series data with multiple seasonality. To implement the proposed method, data on the CD of EVs in Korea are used for analysis. The amount of data to be used for training is not large enough to perform a deep learning (DL) technique, so this paper focuses on comparing the ML techniques and traditional time series methods. For the traditional time series analysis, dynamic harmonic regression (DHR), STLM, and Bayesian structural time series (BSTS) are used. RF and XGBoost are used as the ML techniques to which the hybrid strategy will be applied.
The remainder of the paper is structured as follows. Section 2 introduces the time series methods to be used in the analysis to predict the CD. Section 3 describes features considered with exploring the data and shows the process and results of data analysis. Finally, Section 4 concludes.

2. Models for Hybrid Strategy

As mentioned earlier, the hybrid strategy is proposed to analyze the decomposed time series data because the tree-based ML techniques cannot capture the trend. Moreover, the Fourier terms are considered as features to handle the seasonality of time series data.
To capture the trend component of the time series data, the most commonly used ARIMA model for predicting non-stationary time series with the trend or seasonality is applied. The ARIMA model includes three factors: an autoregression (AR) term, a moving average (MA) term, and a difference and is given by
1 ϕ 1 B ϕ p B p 1 B d Y t = 1 + θ 1 B + + θ q B q ϵ t , ϵ t W N ( 0 , σ ϵ 2 ) ,
where p and q denote the orders of the AR and MA terms, respectively, and d denotes the number of differences required to make a stationary time series. The back-shift operator B denotes B Y t = Y t 1 .
The Fourier term reflecting the seasonal variation is given by
s i n ( ω i t ) , c o s ( ω i t ) i = 1 K ,
where ω i is defined as 2 π i / m with a seasonal period m and K ( m / 2 ) is the number of sine and cosine pairs.
The overall prediction frameworks based on the statistical and ML models are illustrated as schematic diagrams in Figure 1 and Figure 2.
The models considered for the CD analysis are described sequentially in the following subsection.

2.1. Statistical Model

As the statistical model, the two frequentist models and one Bayesian model are considered. In the frequentist approach, the DHR and the seasonal and trend decomposition using Loess (STL) model are used for the CD modeling.
First, the DHR is a regression model with the Fourier terms which can approximate any periodic function as a sum of sine and cosine functions. In particular, the DHR is useful in time series data with a long seasonal period such as hourly time series data which is often observed due to the development of technology. The DHR with a regression component is given by
Y t = β 0 + i = 1 j β i , t x i , t + i = 1 K α i , t s i n ( ω i t ) + γ i , t c o s ( ω i t ) + η t ,
where Y t is the observed time series data at time t, β i , t is the coefficient for the ith covariate x i , t at time t, α i , t and γ i , t are unobserved stochastic time variable parameters, and η t is modeled as a non-seasonal ARIMA process for handling the short-term dynamics. This model has the advantage of being able to allow any length of seasonality, including Fourier terms of different frequencies for time series data with multiple seasonal periods [16].
Another frequentist approach, STL, is known not only to be a versatile and robust method for decomposing time series, but also to be able to deal with any type of seasonality including monthly and quarterly data [16]. Assuming that the STL performs an additive decomposition of a time series, the time series data Y t is decomposed given by
Y t = A t + S t .
Here, the seasonally adjusted component A t , which represents the sum of the trend and remainder components, can be modeled and predicted by some time series analysis method. The seasonal component S t is forecasted using the seasonal naïve method. Then, the final prediction value is obtained by adding the predicted value of the seasonal component S t to the predicted value of the seasonally adjusted component A t .
The BSTS model is a model in which the Bayesian framework is applied to the structural time series (STS) model, which is the state-space model for time series data. By denoting Y t as the observed time series data and α t as the system state at time t, the STS model consists of two equations: one is the observation equation:
Y t = Z t T α t + ϵ t ,
where Z t is an output matrix and the error term ϵ t has a normal distribution with mean μ = 0 and variance σ 2 = H t ; the other is the state/transition equation:
α t + 1 = T t α t + R t η t , t 1 ,
where T t and R t are transition and control matrices, respectively, and the error term η t has a normal distribution with mean μ = 0 and variance σ 2 = Q t . The matrices Z t , T t , and R t typically contain unknown parameters and known values, which are often set as 0 and 1. In addition, ϵ t and η t are generally assumed to be serially uncorrelated and also to be uncorrelated with each other at all time periods. Thanks to the flexibility and modularity of the model, it can express a very large class of models including all ARIMA models [17]. For example, in Equations (1) and (2), the following local level model can be obtained by setting all of Z t , T t , and R t to 1 and substituting α t with μ t :
Y t = μ t + ϵ t , μ t + 1 = μ t + η t .
A useful model adding a regression component β T x t to the basic structure of the BSTS model written by Durbin and Koopman [18] is given by
Y t = μ t + τ t + β T x t + ϵ t , ϵ t N ( 0 , σ ϵ 2 ) , μ t + 1 = μ t + δ t + u t , u t N ( 0 , σ u 2 ) , δ t + 1 = δ t + v t , v t N ( 0 , σ v 2 ) , τ t + 1 = s = 1 S 1 τ t + 1 s + w t , w t N ( 0 , σ w 2 ) ,
where μ t and δ t are the level and slope of the trend at time t, respectively. τ t is the seasonal component, which can be thought of as a set of S dummy variables with dynamic coefficients constrained to have zero expectation over a full cycle of S seasons. For the variance parameter σ ϵ 2 and the regression coefficient β , a spike and slab prior [19] is applied and the prior of other variance parameters σ u 2 , σ v 2 , σ w 2 is assumed to be a gamma prior which is a conjugate prior distribution.

2.2. Machine Learning Techniques

The ensemble technique prevents overfitting and enables more accurate prediction than individual models by combining multiple models to create one powerful model. Depending on the learning method, it can be largely divided into bagging, boosting, and stacking. A brief description of ML techniques representing each of these three approaches is provided.
RF [20] is an ML technique widely used for classification and regression because it exhibits strong performance. It utilizes a bagging technique, which is an abbreviation for bootstrap aggregating, where the bootstrap means to generate a dataset of the same size as the original training dataset by allowing duplicates in the given training data and randomly sampling. The RF generates many decision trees using the dataset generated by the bootstrap technique, and the final prediction is made by collecting the results of each individual decision tree. The final prediction is determined by a majority vote (classification) or average value (regression) from the prediction of many decision trees generated. Moreover, the most notable point of RF is to find the best feature among randomly selected candidate features instead of looking for the best feature among the entire feature when splitting nodes in the tree, which can prevent overfitting. This randomness makes learning easy and fast and increases the prediction accuracy by creating decorrelated decision trees.
The XGBoost is an improved ML technique in terms of the speed and performance of the gradient boosting algorithm implemented using a boosting technique to learn multiple weak learners sequentially. The boosting learns the next model by reflecting the errors of the previous model, so it is slower to create the model than bagging, but has fewer errors. The gradient boosting algorithm, a representative boosting algorithm, builds a tree-based model using gradient descent to reduce the loss. However, it has the disadvantages of quickly occurring the overfitting, and requiring a long time because it is not parallelized. To overcome these shortcomings, Chen and Guestrin [21] introduced XGBoost, which is an optimized distributed gradient boosting library designed to be highly efficient, flexible, and portable. XGBoost has the advantages of being fast in learning with parallelism and being able to perform well in classification and regression. In addition, it prevents overfitting and enables early termination.
Note that RF and XGBoost have the hyperparameters that must be set in advance to perform learning. These hyperparameters can control the complexity of the model and play an important role in determining the predictive power of the model. The description of the hyperparameters for each ML technique is given in Table 1.
Stacking is similar to bagging and boosting in that it combines several individual algorithms to produce predictive results. However, the biggest difference is that it uses the prediction results generated by individual algorithms as the input data for the final model. This study considers XGBoost and a generalized linear model (GLM) as a final model for combining multiple individual algorithms. In particular, by using GLM as the final model, it can be expected to make a robust linear combination for predictions of individual models.

3. Analysis

A dataset (http://keco.or.kr/, accessed on 10 August 2020) on the operation status of EV charging stations recorded from 1 January 2014 to 14 September 2017 that was acquired from Korea Environment Corporation is used for analysis. The data that collected the CD of fast chargers installed nationwide consist of the name of the charging station, region, charging start time, charging end time, CD, and so on. To extract features, an exploratory analysis first is conducted, given in the following subsection.

3.1. Feature Extraction

For a more accurate prediction, it is necessary to consider several features that can affect the CD.
In general, the traffic is expected to be heavy on holidays and weekends, which means holidays and weekends can affect predicting the CD. To confirm this, the CD according to the days of the week is shown in Figure 3. Note that the darker the color, the higher the CD is. Contrary to the expectation that weekends will be higher, Figure 3 shows that Thursday and Friday have higher CDs than Sunday. Based on Figure 3, we consider the feature that represents 1 if the days of the week charging an EV is Thursday, Friday, or Saturday, and 0 otherwise.
The hour is considered as another feature. Figure 4 shows the CD according to the hour, which indicates that the CD is the highest from 3 P.M. to 5 P.M. (15 h to 17 h). Meanwhile, the CD is less from 12 to 6 in the morning than in the afternoon.
Figure 5 represents the CD according to the hour and the days of the week as the three-dimensional scatter plot. The CD according to the hour has a similar pattern for all days of the week, which can be expected to show daily seasonality.
To address the seasonality, the seasonal variables generated by the Fourier transform are considered as features, unlike conventional studies. Based on Figure 5, the hourly data may be assumed daily seasonality with a seasonal period of 24. Additionally, to handle weekly seasonality, the hourly data are assumed weekly seasonality with a seasonal period of 168. Then, the following Fourier terms using K = 2 can be generated for the dataset:
s i n 2 π i t 24 , c o s 2 π i t 24 i = 1 2 , s i n 2 π i t 168 , c o s 2 π i t 168 i = 1 2 .
Finally, public holidays and quarter are considered as the feature. Table 2 describes all features to be used for analysis.

3.2. Preprocessing

From the observed data, we obtained the hourly data by calculating the total amount of the CD by the hour of the day using the charging start time. To handle a large scale, the logarithm transformation is performed after adding 1. In addition, a small offset number of 0.0001 is added because a value that is too small does not fit well. In summary, the transformed CD through the preprocessing process is y t given by
y t = log ( y t + 1 ) + 0.0001 ,
where y t is the CD observed at t hour.
For the ML techniques, the categorical features such as Quarter, Weekday, and Holiday are converted into numerical features using the one-hot encoding. Furthermore, to implement the proposed hybrid strategy, y t for the training dataset is decomposed into the trend component and the component adding the seasonality and reaminder, using STL.
The total of 30,541 data is divided into 30,205 training data and 336 test data.

3.3. Results

The results for the traditional time series techniques (DHR, STLM, and BSTS) are reported in Table 3. The coefficients ( α 1 , α 2 , γ 1 , γ 2 ) and ( α 3 , α 4 , γ 3 , γ 4 ) denote the sine and cosine pairs in the Fourier daily and weekly terms, respectively. For the BSTS, 1000 Markov chain Monte Carlo samples are generated for fitting and prediction.
In the ML technique, RF and XGBoost are considered as individual models for stacking with two final models, which are XGBoost and GLM. This is specified as “Stack.XGBoost” for the XGBoost final model and “Stack.GLM” for another final model GLM.
In the case of RF, XGBoost, and Stack.XGBoost, as shown in Figure 2, the candidate combination of model hyperparameters is randomly set, then the optimal combination of hyperparameters is selected by repeating five times the five-fold cross-validation using the adaptive sampling. In the case of Stack.GLM, the intercept β 0 and weights β R F and β X G B o o s t , which indicate how much the predictions made by RF and XGBoost affect the final prediction, are estimated. The values of the optimal hyperparameters and estimation results are reported in Table 4.
Based on the results reported in Table 4, the permutation importance of features is computed to examine the impact on predicting CDs. The permutation importance measures the decrease of the prediction performance of the model using the loss function after the values of the feature are randomly shuffled. If the value of the loss function calculated after shuffling is significantly greater than that calculated using the original dataset, it reveals that the variable is important. For the loss function, the root-mean-squared error (RMSE) loss function is considered with permutation 50 times. The result is plotted in Figure 6, which has the advantage of being easy to understand as it presents the most important variables in a single graph [22]. The x-axis in Figure 6 is the difference between the value of the loss function calculated after shuffling and that calculated using the original test dataset. It is interpreted as the larger the value, the more important the variable is. According to the argument, Hour is the most important and the Fourier daily terms are the next for all ML models. This means that the EV charging hour has the greatest impact on predicting CDs.
To find the best model among the considered predictive models, the prediction performance is compared through various perspectives including the prediction accuracy and scatter plot. Assuming that the prediction of y t is y ^ t , the prediction error is defined as e t = y t y ^ t . The prediction error is an index for evaluating the reliability of the model, and the accuracy of the model can be measured based on this. The most commonly used numerical measures for the prediction accuracy are given by Shmueli et al. [23]:
  • Mean of errors (ME): 1 n t = 1 n e t ;
  • RMSE: 1 n t = 1 n e t 2 ;
  • Mean of absolute errors (MAE): 1 n t = 1 n | e t | ;
  • Mean of percentage errors (MPE): 100/n × t = 1 n e t / y t ;
  • Mean of absolute percentage errors (MAPE): 100/n × t = 1 n | e t / y t | .
The results for the predictive accuracy are reported in Table 5, which indicates that the closer to zero the better, regardless of which evaluation indicator it is. This shows that, overall, the ML techniques based on the proposed hybrid strategy are more accurate in predicting than the considered statistical methods. More specifically, XGBoost is the best in terms of the ME and MPE, and RF is the best for the other. Additionally, to show the superiority of the proposed hybrid strategy, the results compared with the original ML method are presented in Figure 7. It reveals that the proposed hybrid strategy has generally better the prediction accuracy because the values obtained from it are closer to zero than those obtained from the original ML method, except for the MPE.
For visual examination, comparisons between the original test data and the predicted values converted into the original unit are further presented in Figure 8. All methods, except for DHR, provide similar values to the actual observations in Figure 8a. Figure 8b means that the closer the points are to the straight line, the better the prediction is. From this fact, we can see that all predictive models, except DHR, provide good predictive performance. Moreover, it can be seen that the ML techniques based on the proposed hybrid strategy provide better prediction results than the statistical methods such as STLM and BSTS.

4. Discussion and Conclusions

This paper proposes a hybrid strategy to resolve the drawback that the tree-based ML approach cannot capture the trend. The proposed hybrid strategy is to capture the trend component with traditional time series techniques such as the ARIMA model and then combine them with the ML techniques. Furthermore, unlike classical studies, the Fourier terms were considered as features to handle the seasonality.
To prove the validity of this approach, the proposed method was applied to the CD prediction problem of EVs. In addition, for better predictive modeling, Hour, Quarter, Weekday, and Holiday were considered as the feature through exploratory analysis, as well as the seasonality with the expression in the Fourier terms was considered as the feature. The superiority of the proposed method was demonstrated through comparison with the existing time series methods (DHR, STLM, and BSTS) and the original ML method.
Our results showed that the ML techniques based on the proposed hybrid strategy are superior to the existing statistical models, especially in RF. In addition, the prediction based on the proposed method was more accurate than that based on the original ML method. Based on these results, our proposed hybrid strategy has the benefit of helping to establish an electric power supply plan that can smoothly supply electric energy by accurately predicting the CD required as the supply of EVs increases. In addition, the proposed method can be applied to analyze time series data with trends and seasonality such as economy-related time series data, and its prediction performance is expected to be superior to the traditional time series and original ML methods.
Meanwhile, the DL method could not be performed because the amount of data used for training in this study was not large enough. In the future, when a vast amount of data is accumulated, it is expected that an excellent predictive model based on the DL technique can be developed through the combination of the proposed hybrid strategy and the DL technique.

Author Contributions

J.-I.S. conceived of and designed the research; J.-I.S. and Y.-E.J. analyzed the data and interpreted the results; J.-I.S., Y.-E.J. and S.-B.K. wrote the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Ministry of Education (No. 2019R1I1A3A01062838).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in this study are openly available at http://keco.or.kr/ (accessed on 10 August 2020).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhou, G.; Zhu, Z.; Luo, S. Location optimization of electric vehicle charging stations: Based on cost model and genetic algorithm. Energy 2022, 247, 123437. [Google Scholar] [CrossRef]
  2. Li, C.; Zhang, L.; Ou, Z.; Wang, Q.; Zhou, D.; Ma, J. Robust model of electric vehicle charging station location considering renewable energy and storage equipment. Energy 2022, 238, 121713. [Google Scholar] [CrossRef]
  3. Liu, H.; Li, Y.; Zhang, C.; Li, J.; Li, X.; Zhao, Y. Electric vehicle charging station location model considering charging choice behavior and range anxiety. Sustainability 2022, 14, 4213. [Google Scholar] [CrossRef]
  4. Karolemeas, C.; Tsigdinos, S.; Tzouras, P.G.; Nikitas, A.; Bakogiannis, E. Determining electric vehicle charging station location suitability: A qualitative study of greek stakeholders employing thematic analysis and analytical hierarchy process. Sustainability 2021, 13, 2298. [Google Scholar] [CrossRef]
  5. Yun, B.; Sun, D.J.; Zhang, Y.; Deng, S.; Xiong, J. A charging location choice model for plug-in hybrid electric vehicle users. Sustainability 2019, 11, 5761. [Google Scholar] [CrossRef] [Green Version]
  6. Choi, S.; Sohn, H.G.; Kim, S. A study on electricity demand forecasting for electric vehicles in KOREA. J. Korean Data Inf. Sci. Soc. 2018, 29, 1137–1153. [Google Scholar]
  7. Almaghrebi, A.; Aljuheshi, F.; Rafaie, M.; James, K.; Alahmad, M. Data-driven charging demand prediction at public charging stations using supervised machine learning regression methods. Energies 2020, 13, 4231. [Google Scholar] [CrossRef]
  8. Majidpour, M.; Qiu, C.; Chu, P.; Pota, H.R.; Gadh, R. Forecasting the EV charging load based on customer profile or station measurement? Appl. Energy 2016, 163, 134–141. [Google Scholar] [CrossRef] [Green Version]
  9. Lee, B.; Lee, H.; Ahn, H. Improving load forecasting of electric vehicle charging stations through missing data imputation. Energies 2020, 13, 4893. [Google Scholar] [CrossRef]
  10. Kim, Y.; Kim, S. Forecasting charging demand of electric vehicles using time-series models. Energies 2021, 14, 1487. [Google Scholar] [CrossRef]
  11. Chang, M.; Bae, S.; Cha, G.; Yoo, J. Aggregated electric vehicle fast-charging power demand analysis and forecast based on LSTM neural network. Sustainability 2021, 13, 13783. [Google Scholar] [CrossRef]
  12. Lan, T.; Jermsittiparsert, K.; Alrashood, S.T.; Rezaei, M.; Al-Ghussain, L.; Mohamed, M.A. An advanced machine learning based energy management of renewable microgrids considering hybrid electric vehicles’ charging demand. Energies 2021, 14, 569. [Google Scholar] [CrossRef]
  13. Lopez, N.S.; Allana, A.; Biona, J.B.M. Modeling electric vehicle charging demand with the effect of increasing EVSEs: A discrete event simulation-based model. Energies 2021, 14, 3734. [Google Scholar] [CrossRef]
  14. Liu, Y.; Liu, W.; Gao, S.; Wang, Y.; Shi, Q. Fast charging demand forecasting based on the intelligent sensing system of dynamic vehicle under EVs-traffic-distribution coupling. Energy Rep. 2022, 8, 1218–1226. [Google Scholar] [CrossRef]
  15. Yi, Z.; Liu, X.C.; Wei, R. Electric vehicle demand estimation and charging station allocation using urban informatics. Transp. Res. Part Transp. Environ. 2022, 106, 103264. [Google Scholar] [CrossRef]
  16. Hyndman, R.J.; Athanasopoulos, G. Forecasting: Principles and Practice, 2nd ed.; OTexts: Melbourne, Australia, 2018. [Google Scholar]
  17. Scott, S.L.; Varian, H.R. Predicting the present with Bayesian structural time series. Int. J. Math. Model. Numer. Optim. 2014, 5, 4–23. [Google Scholar] [CrossRef]
  18. Durbin, J.; Koopman, S.J. Time Series Analysis by State Space Methods; Oxford University Press: Oxford, UK, 2012. [Google Scholar]
  19. George, E.I.; McCulloch, R.E. Approaches for Bayesian variable selection. Stat. Sin. 1997, 7, 339–373. [Google Scholar]
  20. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
  21. Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
  22. Biecek, P.; Burzykowski, T. Explanatory Model Analysis: Explore, Explain, and Examine Predictive Models; Chapman and Hall/CRC: New York, NY, USA, 2021. [Google Scholar]
  23. Shmueli, G.; Bruce, P.C.; Yahav, I.; Patel, N.R.; Lichtendahl, K.C., Jr. Data Mining for Business Analytics: Concepts, Techniques, and Applications in R; John Wiley & Sons: Hoboken, NJ, USA, 2017. [Google Scholar]
Figure 1. Prediction framework based on the statistical model.
Figure 1. Prediction framework based on the statistical model.
Sustainability 14 05426 g001
Figure 2. Prediction framework based on the ML model.
Figure 2. Prediction framework based on the ML model.
Sustainability 14 05426 g002
Figure 3. CDs of the EVs according to the days of the week.
Figure 3. CDs of the EVs according to the days of the week.
Sustainability 14 05426 g003
Figure 4. CDs of the EVs according to the hour.
Figure 4. CDs of the EVs according to the hour.
Sustainability 14 05426 g004
Figure 5. Three-dimensional scatter plot of the CDs according to the hour and the days of the week.
Figure 5. Three-dimensional scatter plot of the CDs according to the hour and the days of the week.
Sustainability 14 05426 g005
Figure 6. Feature importance for ML models.
Figure 6. Feature importance for ML models.
Sustainability 14 05426 g006
Figure 7. Comparison of accuracy measure between the original ML method and proposed hybrid strategy.
Figure 7. Comparison of accuracy measure between the original ML method and proposed hybrid strategy.
Sustainability 14 05426 g007
Figure 8. Comparison of the actual observation and prediction for each method. (a) Line plot. (b) Scatter plot.
Figure 8. Comparison of the actual observation and prediction for each method. (a) Line plot. (b) Scatter plot.
Sustainability 14 05426 g008
Table 1. Description of the hyperparameters for the ML techniques.
Table 1. Description of the hyperparameters for the ML techniques.
HyperparameterDescription
RFmtryNumber of features randomly selected as candidates at each split
ntreeNumber of trees to grow
nodesizeMinimum size of terminal nodes
XGBoostnroundsNumber of boosting iterations
etaLearning rate
max_depthMaximum depth of a tree
gammaMinimum loss reduction required to make a split
min_chile_weightMinimum sum of the instance weight needed in a child
subsampleSubsample ratio of training data
colsample_bytreeRatio for subsampling of features
Table 2. Features of interest for predicting the CD from the CD data.
Table 2. Features of interest for predicting the CD from the CD data.
FeatureTypeDescription
HourNumericHour of day when the EV charges
QuarterCategorical1 = January to March, 2 = April to June,
3 = July to September, 4 = October to December
WeekdayCategoricalThursday, Friday, Saturday (1 = Yes, 0 = No)
HolidayCategoricalPublic holidays (1 = Yes, 0 = No)
S1-24NumericFourier daily term s i n 2 π t / 24
C1-24NumericFourier daily term c o s 2 π t / 24
S2-24NumericFourier daily term s i n 4 π t / 24
C2-24NumericFourier daily term c o s 4 π t / 24
S1-168NumericFourier weekly term s i n 2 π t / 168
C1-168NumericFourier weekly term c o s 2 π t / 168
S2-168NumericFourier weekly term s i n 4 π t / 168
C2-168NumericFourier weekly term c o s 4 π t / 168
Table 3. Results for the traditional time series techniques.
Table 3. Results for the traditional time series techniques.
DHRSTLMBSTS
β H o u r 0.02610.01360.0751
β Q u a r t e r 0.03620.02260.0000
β W e e k d a y 0.06760.01550.0701
β H o l i d a y 0.03300.04290.0000
α 1 0.2367−0.0109
α 2 −0.00110.0023
α 3 0.01840.0009
α 4 0.00930.0001
γ 1 −0.03970.0200
γ 2 0.0374−0.0068
γ 3 0.0145−0.0013
γ 4 0.0187−0.0005
η t ϕ 1 1.27470.3468
ϕ 2 −0.1424
ϕ 3 −0.1136
ϕ 4 −0.0478
ϕ 5 −0.1138
θ 1 −1.8849−0.9887
θ 2 0.8903
Table 4. Results for the proposed hybrid strategy for the CD data.
Table 4. Results for the proposed hybrid strategy for the CD data.
RFXGBoostStacking
Stack.XGBoostStack.GLM
mtry = 6nrounds = 957nrounds = 420 β 0 = 0.002
ntree = 504eta = 0.080eta = 0.369 β R F = 0.254
nodesize = 5max_depth = 6max_depth = 10 β X G B o o s t = 0.732
gamma = 3.336gamma = 5.650
min_chile_weight = 4min_chile_weight = 6
subsample = 0.707subsample = 0.878
colsample_bytree = 0.699colsample_bytree = 0.431
Table 5. Accuracy measures for prediction.
Table 5. Accuracy measures for prediction.
Statistical ModelML Model
DHRSTLMBSTSRFXGBoostStack.XGBoostStack.GLM
ME0.024−0.0640.200−0.072−0.015−0.046−0.035
RMSE0.7290.3110.3920.2990.3010.3030.300
MAE0.6040.2190.3040.1990.2100.2050.204
MPE−2.168−1.1533.160−1.805−0.934−1.483−1.300
MAPE11.6914.2395.5704.1074.2854.2334.203
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jeon, Y.-E.; Kang, S.-B.; Seo, J.-I. Hybrid Predictive Modeling for Charging Demand Prediction of Electric Vehicles. Sustainability 2022, 14, 5426. https://doi.org/10.3390/su14095426

AMA Style

Jeon Y-E, Kang S-B, Seo J-I. Hybrid Predictive Modeling for Charging Demand Prediction of Electric Vehicles. Sustainability. 2022; 14(9):5426. https://doi.org/10.3390/su14095426

Chicago/Turabian Style

Jeon, Young-Eun, Suk-Bok Kang, and Jung-In Seo. 2022. "Hybrid Predictive Modeling for Charging Demand Prediction of Electric Vehicles" Sustainability 14, no. 9: 5426. https://doi.org/10.3390/su14095426

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop