Electric Vehicle Charging Load Prediction Based On Weight Fusion Spatial-Temporal Graph Convolutional Network
Electric Vehicle Charging Load Prediction Based On Weight Fusion Spatial-Temporal Graph Convolutional Network
Article
Electric Vehicle Charging Load Prediction Based on Weight
Fusion Spatial–Temporal Graph Convolutional Network
Jun Zhang 1 , Huiluan Cong 1 , Hui Zhou 1 , Zhiqiang Wang 1 , Ziyi Wen 2, * and Xian Zhang 2
1 State Grid Shandong Electric Vehicle Service Company Ltd., Jinan 250117, China;
[email protected] (J.Z.); [email protected] (H.C.); [email protected] (H.Z.);
[email protected] (Z.W.)
2 School of Mechanical Engineering and Automation, Harbin Institute of Technology, Shenzhen 518055, China;
[email protected]
* Correspondence: [email protected]; Tel.: +86-199-7275-4570
Abstract: The rapid increase in electric vehicles (EVs) poses significant impacts on multi-energy
system (MES) operation and energy management. Accurately assessing EV charging demand becomes
crucial for maintaining MES stability, making it an urgent issue to be studied. Therefore, this paper
proposes a novel deep learning-based EV charging load prediction framework to assess the impact
of EVs on the MES. First, to model the EV traffic flow, a modified weight fusion spatial–temporal
graph convolutional network (WSTGCN) is proposed to capture the inherent spatial–temporal
characteristics of traffic flow. Specifically, to enhance the WSTGCN performance, the modified
residual modules and weight fusion mechanism are integrated into the WSTGCN. Then, based on
the predicted traffic flow, an improved queuing theory model is introduced to predict the charging
load. In this improved queuing theory model, special consideration is given to subjective EV user
behaviors, such as refusing to join queues and leaving impatiently, making the queuing model
more realistic. Additionally, it should be noted that the proposed charging load predicting method
relies on traffic flow data rather than historical charging data, which successfully addresses the data
insufficiency problem of newly established charging stations, thereby offering significant practical
value. Experimental results demonstrate that the proposed WSTGCN model exhibits superior
accuracy in predicting traffic flow compared to other benchmark models, and the improved queuing
Citation: Zhang, J.; Cong, H.; Zhou,
H.; Wang, Z.; Wen, Z.; Zhang, X.
theory model further enhances the accuracy of the results.
Electric Vehicle Charging Load
Prediction Based on Weight Fusion Keywords: charging load prediction; deep learning; spatial–temporal network; weight fusion
Spatial–Temporal Graph
Convolutional Network. Energies 2024,
17, 4798. https://doi.org/10.3390/
en17194798 1. Introduction
Academic Editor: Tek Tjing Lie As a promising solution to low-carbon transition, electric vehicle (EV) use is increasing.
Their rapid penetration introduces unignorable uncertainties to the electrical loads, posing
Received: 30 August 2024 challenges to the operation of multi-energy systems (MESs). Addressing these challenges
Revised: 22 September 2024
is crucial for optimizing MES operation and load management.
Accepted: 24 September 2024
The charging load demand can be predicted to effectively quantify the impact of EVs
Published: 25 September 2024
on MESs, providing valuable information for optimizing operations. Most previous studies
have used time series analysis methods to predict EV charging loads [1–3]. However,
time series analysis methods struggle to handle long-term tasks. Recently, researchers
Copyright: © 2024 by the authors.
have begun to apply deep learning technologies to overcome the limitations of time series
Licensee MDPI, Basel, Switzerland. analysis methods. Compared to traditional statistical methods, deep learning methods
This article is an open access article have stronger nonlinear learning capabilities, robustness, and generalization ability, mak-
distributed under the terms and ing them particularly suitable for large-scale data processing. For instance, in [4], a long
conditions of the Creative Commons short-term memory (LSTM) model is used to predict EV charging demand at a charging
Attribution (CC BY) license (https:// station for the next few hours. In [5], both Sequence to Sequence (Seq2seq) and LSTM are
creativecommons.org/licenses/by/ used to predict the EV charging demand, and the study finds that Seq2Seq significantly
4.0/). outperforms other models in multistep prediction. Ref. [6] demonstrates that the LSTM
model outperforms the traditional artificial neural network (ANN) in charging load predic-
tion. Ref. [7] compares six different deep neural network models including LSTM, gated
recurrent units (GRUs), and their variants and finds that the multivariate LSTM and multi-
variate GRU are more effective for predicting the EV charging load of fast charging stations
(FCSs). Ref. [8] combines ANN and recurrent neural network (RNN), and proposes a novel
Q-Learning method for EV load predicting. Ref. [9] proposes an attention-based recurrent
convolutional neural network model (LA-RCNN) to predict EV load with consideration of
temporal dependencies in multivariate time series. Ref. [10] combines the niche immunity
lion algorithm (NILA) and convolutional neural network (CNN) for short-term load pre-
diction of FCSs. Additionally, aware that the charging load of FCSs has both temporal and
spatial correlations, some research further studies the spatial–temporal graph convolutional
network (STGCN) and its variants. Ref. [11] proposes a heterogeneous STGCN to model
the complex spatial–temporal correlations. Based on STGCN, a multistep prediction model
is proposed for the load management of charging stations in [12]. Ref. [13] proposes a SED-
former to address the long-term EV load prediction problem. The SEDformer comprises an
attention-based temporal encoder and a channel attention-based spatial encoder, which
can effectively capture the spatial–temporal characteristics of charging load data.
The above-mentioned charging load predicting methods rely on historical data ob-
tained from FCSs. However, for newly established stations, it is difficult to obtain sufficient
and effective historical data. To address the challenges, recent studies explore using traffic
flow information to predict the EV charging load instead of using historical data of the
FCSs directly. For traffic flow modeling, many researchers utilize deep learning models
to capture the complex spatial and temporal characteristics inherent in historical traffic
data. For example, in [14], a spatial–temporal fusion graph neural network (STFGNN) is
developed for traffic flow forecasting, conducting fusion operations of various spatial and
temporal graphs. Ref. [15] proposes a dynamic graph convolutional recurrent network
(DGCRN) to model the dynamic characteristics of the correlations among FCSs in the traffic
network. Also, ASTNet-T and multi-graph STGCN are introduced to predict charging
loads at FCSs directly based on the historical data in [16,17].
Moreover, based on the traffic flow prediction technique, some studies further analyze
the charging process in FCS to predict the charging load. For example, in [18], the CNN
is used to model traffic flow first and then the queuing theory is applied to predict the
EV charging load. Ref. [19] uses wavelet transform and LSTM to predict traffic flow in
road networks first, and then uses queuing theory model to convert the predicted traffic
flow into EV charging demand. In [20], the traffic flow data from real-time closed-circuit
television (CCTV) are used first, and then a Markov chain is applied to determine the
charging load. In [21], a speed-flow model is used to simulate the traffic flow of EVs, and
the Monte Carlo method is used to simulate EV travel and charging behavior, and finally
obtain the charging load. In [22], the traffic flow distribution is modeled by the vehicle
mobility model and Dijkstra algorithm first, and then a charging load determination model
is proposed, considering multiple charging behaviors. However, most previous studies did
not model the spatial–temporal connections inherent in traffic flow when predicting the
traffic flow. Moreover, the impacts of subjective EV user behaviors are always ignored in
charging load modeling, which leads to predictions that are not accurate enough and lack
realism. Therefore, there remains a research gap in developing a high-accuracy charging
load prediction method.
From what has been mentioned above, the main challenges that need to be addressed
include the following: First, it is difficult to obtain sufficient and effective historical data
of newly established FCSs, which makes the traditional historical data-based charging
load predicting methods ineffective. Second, in traffic flow modeling, the spatial–temporal
connection inherent in traffic data needs to be captured to enhance the predicting accuracy.
Third, in charging load prediction, subjective EV user behaviors would significantly influ-
ence modeling accuracy, and they need to be explored to facilitate accurate load prediction.
Therefore, this paper develops a deep learning-based charging load prediction model that
Energies 2024, 17, 4798 3 of 17
models both spatial–temporal connections and EV user behavior. The main contributions
can be concluded as follows:
(1) A traffic flow-based charging load prediction framework is proposed considering
the data insufficiency problem frequently happening in newly established FCSs. Different
from traditional historical data-based methods, the traffic flow-based method does not
rely on the data obtained from the FCSs. Instead, it uses the traffic flow information in
the traffic network and uses queuing theory to quantify the load demand. Therefore, this
method successfully addresses the data insufficiency problem and produces an effective
load prediction method for the newly established FCSs.
(2) A novel weight fusion-based STGCN (WSTGCN) model is proposed to predict the
traffic flow. The spatial–temporal attention mechanism is employed in the proposed WST-
GCN model to capture the spatial–temporal correlations of the traffic network. Compared
with the traditional STGCN, the improved WSTGCN model modifies the residual modules
and integrates the weight fusion mechanism to improve the predicting accuracy. By fusing
the recent, daily, and weekly characteristics of traffic flow, the traffic flow prediction result
is more accurate.
(3) An improved queuing theory is used to model the queuing process of EVs at
FCSs, with special consideration given to the subjective behaviors of EV users. Compared
with traditional queuing theory, the improved queuing theory models EV user behaviors,
including impatience to leave and refusal to join queues, making the queuing model
more comprehensive.
The remainder of this paper is organized as follows. Section 2 introduces the WSTGCN
model for traffic flow prediction. Section 3 illustrates the improved queueing model-based
EV charging demand modeling. Section 4 shows the numerical simulations to demonstrate
the effectiveness of our approach. Section 5 concludes this paper.
Figure1.1.WSTGCN
Figure WSTGCNmodel.
model.
where ̂ is the predictive output of the WSTGCN, and r, d, and w represent the in-
Energies 2024, 17, 4798 4 of 17
Ŷ = f (STr (Xr |ψr ), STd (Xd |ψd ), STw (Xw |ψw )) (1)
where Ŷ is the predictive output of the WSTGCN, and Xr , Xd , and Xw represent the inputs
of the recent, daily periodic and weekly periodic components, respectively, as described in
Section 2.2; ψr , ψd , and ψw are the parameters of components; STr (·), STd (·), and STw (·)
denote the ST blocks, as described in Section 2.3; f (·) represents weight fusing of the outputs
of the three components, as described in Section 2.4.
where Xr denotes the input of the recent component, including historical traffic flow data
from time tp − Tr to tp .
(2) The daily periodic component
Due to the regular daily routine of people, traffic data may show repeated patterns,
such as daily morning peaks. To model the daily periodic patterns, the daily periodic
component is used. This component captures the dependence between traffic data from the
same time over the past few days and the predicting time, with its input defined as follows:
( )
Xd = X T ,X T ,...,X T ,X Td − Tp ,...,X Td − Tp , Xt p − f +1 , . . . , , Xt p − f +Tp ∈ R N × C × Td (3)
t p − Tdp f +1 t p − Tdp f +2 t p − Tdp f + Tp tp − Tp f +1 tp − Tp f + Tp
where Xd denotes the input of the daily periodic component, including the historical data
from the past few days and the same period as the predicting period.
(3) The weekly periodic component
Traffic patterns on Mondays usually resemble those of previous Mondays, but always
differ significantly from weekends. To capture these weekly periodic features, the weekly
periodic component is designed, with its input defined as follows:
( )
Xw = Xt ,X
− Tw f ·7+1 t − Tw f ·7+2
, . . . , Xt Tw
p − Tp f ·7+ Tp
,X Tw − Tp ,...,X Tw − Tp , Xt p − f ·7+1 , . . . , , Xt p − f ·7+Tp ∈ R N ×C×Tw (4)
p Tp p Tp tp − Tp f ·7+1 tp − Tp f ·7+ Tp
where Xw is the input of the weekly periodic component, including historical data from
the same weekday and period over the past few weeks as the predicting period.
w = X Tw ,X Tw ,...,X Tw ,X Tw −Tp ,...,X Tw −Tp ,Xtp - f ⋅7 + 1 ,..., ,Xtp - f ⋅7 +Tp ∈ RN ×C ×Tw (4)
tp - f ⋅7 +1 tp - f ⋅7 + 2 tp - f ⋅7 + Tp f ⋅7 + 1 f ⋅7 + Tp
tp - tp -
Tp Tp Tp Tp Tp
where w is the input of the weekly periodic component, including historical data from
Energies 2024, 17, 4798 5 of 17
the same weekday and period over the past few weeks as the predicting period.
Figure 2. ST block.
Figure 2. ST block.
(1) Spatial–Temporal Attention Mechanism
(1) Spatial–Temporal Attention Mechanism
The attention mechanism can dynamically adjust weights to prioritize important
The attention mechanism can dynamically adjust weights to prioritize important fea-
features, enhancing focus on important time steps or spatial relationships. To adjust the
tures, enhancing focus on important time steps or spatial relationships. To adjust the
weights of spatial nodes, the spatial attention matrix is used, which can be calculated by
the following:
T
S = VS · σ ((Xrl −1 w1 )w2 (w3 Xrl −1 ) + bS ) (5)
′ exp(Si,j )
Si,j = N
(6)
∑ j=0 exp(Si,j )
where S is the spatial attention matrix and S′ is its normalized counterpart to ensure the
attention weights of a node sum to 1; Si,j represents the correlation between nodes i and j;
w1 , w2 , w3 , VS , and bS are parameters automatically learned by the neural networks; and
sigmoid σ is the activation function.
Similarly, the temporal attention matrix adjusts weights to emphasize more significant
time steps, which can be calculated by the following:
T
T = VT · σ ((Xrl −1 ) u1 )u2 (u3 Xrl −1 ) + bT ) (7)
′ exp(Ti,j )
Ti,j = l −1
(8)
∑ Tj=0 exp(Ti,j )
where T is the temporal attention matrix and T′ is the normalized counterpart; Ti,j rep-
resents the dependent strength between time i and j; and u1 , u2 , u3 , VT , and bT are
Energies 2024, 17, 4798 6 of 17
learnable parameters. Based on the temporal attention matrix, the input can be updated as
l−1 l−1
Xr′l −1 = {X′ 1 , X′ 2 ,. . ., X′ T } = T′ ·{ X1 , X2 ,. . ., XT } ∈ RN×C ×T .
(2) Spatial–Temporal Convolutional Block
Through the spatial–temporal attention mechanism, the network can automatically pay
more attention to valuable spatial and temporal information. Then, the spatial–temporal
convolution module is designed to extract the spatial–temporal features of traffic data. The
spatial–temporal convolution module consists of a graph convolution and a convolution,
as shown in Figure 2.
The graph convolution is used to extract the spatial features of the traffic data. Taking
the traffic flow at time t as an example, the c-th feature data point from the traffic network
is x = xct ∈ RN . According to [23], the graph convolution operation for x can be expressed
as follows:
K −1
gθ ∗G x = ∑ θk Tk (L) ⊙ S′ x
(9)
k =0
Figure3.
Figure 3. Weight
Weight fusion
fusionmechanism.
mechanism.
The weights
The weights of
of recent,
recent, daily
daily periodic
periodic and
and weekly
weekly periodic components can be calcu-
lated
lated by
by (13)–(15),
(13)–(15), which
which reflect
reflect the
the influence
influence and
and importance
importance of
of the
the components
components on
on the
the
prediction
predictionresults.
results.
Yr
Wr =Wr = r (13)
(13)
Yr + Yd + Yw
r + d + w
Yd
Wd = (14)
WdY=r + Y d+ Yw (14)
r +
dd + w
Yw
Ww = (15)
WwY=r + Yd w+ Yw (15)
r + d + w
where Yr , Yd , Yw are the outputs of the present, daily periodic and weekly periodic
where r, d, w are the outputs of the present, daily periodic and weekly periodic
components,
components, respectively.
respectively.
Based
Basedon onthe
theobtained weights,
obtained the the
weights, finalfinal
prediction resultresult
prediction after weight fusion isfusion
after weight as follows:
is as
follows:
Ŷ = Ww ⊙ Yr + Ww ⊙ Yd + Ww ⊙ Yw (16)
distance. For example, the daily travel distance probability p(100) = 1% means there is a 1%
probability that an EV will travel 100 km in a day. And, a driving in progress probability
g(5) = 8% indicates an 8% probability that an EV is on the road at 5 a.m. By using mixture
model-based distribution fitting techniques, the probability distribution of daily travel
distance and driving in progress can be easily obtained. Based on this distribution, the
daily travel distance of an EV arriving at the FCS at time t can be expressed as follows:
Z t
T
Dev,t = ( Eev (1 − SOCm ))/( pev g(t)dt) (18)
t0
where SOCm represents the mean SOC of EVs when drivers go for charging.
Based on the daily travel distance, the probability that an EV chooses to charge at the
FCS at time t can be expressed as follows:
Z DT
ev,t−1
Pt = p( x )dx (19)
T
Dev,t
where p(x) is the daily travel distance distribution, which can be obtained by distribution
estimation based on the historical data.
Based on the charging probability Pt , the arrival rate is as follows:
λt = ζPt f t (20)
where ζ is the penetration rate of EVs, and ft is the predicted traffic flow at time t. It should
be noted that since the WSTGCN model is trained on traffic flow data for all vehicle types,
including both traditional internal combustion vehicles and EVs, the predicted results from
the WSTGCN reflect the total flow of all vehicles. To analyze traffic flow specifically for
EVs, the EV penetration rate is utilized. By applying this penetration rate, the traffic flow
of EVs can be estimated, allowing for further analysis of the arrival rate at the FCS.
λk −λ
P(k) = e k = 0, 1, 2, · · · , N (21)
k!
where λ is the average arrival rate.
Also, the charging time of each EV follows an exponential distribution, as shown below:
where µ is the average leaving rate, which is equal to the number of EVs leaving the FCS.
The mean of charging time tc is equal to 1/µ.
It should be noted that some EVs may leave the FCS without charging. To make the
analysis more realistic and practical, the refusal to join and impatience to leave behaviors
of users are fully considered in the improved queuing model proposed in [18].
Refusal to join behavior occurs when an EV enters an FCS and finds there is a long
queue, causing the user to hesitate about joining. This hesitation is influenced by the queue
length. The probability of EV choosing to queue is defined as follows:
1
k<C
αk = e−(k−C)σ C ≤ k < N ,σ ≥ 0 (23)
0 k=N
The mean of charging time tc is equal to 1/μ.
It should be noted that some EVs may leave the FCS without charging. To make the
analysis more realistic and practical, the refusal to join and impatience to leave behaviors
of users are fully considered in the improved queuing model proposed in [18].
Energies 2024, 17, 4798 Refusal to join behavior occurs when an EV enters an FCS and finds there is a9 long of 17
queue, causing the user to hesitate about joining. This hesitation is influenced by the
queue length. The probability of EV choosing to queue is defined as follows:
where σ is the refusal rate parameter.1As k increases, k <Cthe probability of EV users’ willingness
to join the queue will decrease. αk = e−( k −C )σ C ≤ k < N ,σ ≥ 0 (23)
0
Moreover, impatience to leave behavior k =toNEVs leaving the FCS due to long wait
refers
times
whereinσtheis queue. This impatience
the refusal is primarily
rate parameter. related to the
As k increases, the number of EVs
probability of already in
EV users’
the queue. When there are k EVs in the
willingness to join the queue will decrease.queue, the number of EV users leaving impatiently
can beMoreover,
defined asimpatience
follows: to leave behavior refers to EVs leaving the FCS due to long
wait times in the queue. This ( impatience is primarily related to the number of EVs already
0 k≤C
in the queue. When there are k EVs in the queue, the number of EV users leaving impa-
βk = (24)
δ ln(k − C + 1) C < k ≤ N, δ ≥ 0
tiently can be defined as follows:
βk = 0
where δ is the leaving rate parameter.
also increase.
{ k≤C
As k increases, the number of EVs leaving will
δ ln( k − C + 1) C < k ≤ N , δ ≥ 0 (24)
{
(
μ − βk = μ
µ k ≤kC≤ C
µk = µ −μβk k= = μ − δ ln( k − C + 1) C < k ≤ N (26)
(26)
µ − δ ln(k − C + 1) C < k ≤ N
By considering refusal behavior and impatience behavior, the arrival process and
By considering refusal behavior and impatience behavior, the arrival process and
charging duration time of EVs can be modeled more precisely, which leaves a solid foun-
charging duration time of EVs can be modeled more precisely, which leaves a solid founda-
dation for the subsequent modeling of the charging load.
tion for the subsequent modeling of the charging load.
3.3. Markov
3.3. Markov Chain-Based
Chain-Based Charging
Charging Process
ProcessAnalysis
Analysis
Based on
Based on the
the arriving
arriving rate
rate and
and leaving
leaving rate,
rate, the
the Markov
Markov chain
chain is
is used
used to
to model
model the
the
charging state transitions of EVs, which have two states: arriving and leaving.
charging state transitions of EVs, which have two states: arriving and leaving. The state The state
transitiondiagram
transition diagramisisshown
shownininFigure
Figure4.4.
C
λk N
λk e−σ(k−C)(k−C−1)/2
Nch = ∑ k µk k! P0 + C ∑ k −C δ
P0 (30)
k =0 k =C +1 µk C!
∏ (C + ln( j + 1))
j =1 µ
Furthermore, the charging load of the FCS can be calculated by the following:
where PFCS is the charging load of the FCS, and pch is the charging power of the charger.
4. Experiments
4.1. Performance Evaluation for the WSTGCN Model
4.1.1. Prediction Accuracy Comparison
To validate the proposed WSTGCN, comparative experiments are conducted with
6 benchmark models. The benchmark models are briefly described as follows:
(1) Historical average model (HA): This uses the average value of the past 12 time
slices to predict the next value.
(2) Autoregressive integrated moving average model (ARIMA) [24]: ARIMA trans-
forms non-stationary series into stationary time series through multiple differencing first,
and then uses stationary time series for predictions.
(3) Long short-term memory network (LSTM) [25]: Thanks to its special gate structure,
LSTM can effectively capture useful information in both the long term and short term, thus
having excellent predictive ability in time series prediction.
(4) Gated recurrent unit (GRU) [26]: GRU is very similar to LSTM, using a gate
mechanism to capture useful information. But GRU only has two gates (i.e., update and
reset), compared with LSTM, which has three gates (forget, input, output). Thus, GRU has
fewer parameters than LSTM, making it converge faster in training.
(5) Spatial–temporal graph convolutional network (STGCN) [27]: STGCN is composed
of multiple spatial–temporal convolution blocks to extract useful spatial and temporal
features. Thus, it can efficiently predict time series with a graph structure, like traffic
flow data.
(6) Attention-based STGCN (ASTGCN) [23]: ASTGCN integrates attention mecha-
nisms into the STGCN; thus, it can capture the spatial–temporal characteristics of historical
data more effectively, making it perform outstandingly in predicting traffic data.
To objectively evaluate the performance of different models in predicting traffic flow
for the next hour, mean absolute error (MAE) and root mean square error (RMSE) are used
as metrics. The predictive performance of each model is shown in Figure 5.
From Figure 5, it is evident that the proposed WSTGCN model achieves the best
prediction accuracy compared to other benchmark models. Also, it can be seen from the
results that temporal models (HA, ARIMA, LSTM, and GRU) all perform poorer than the
spatial–temporal models (STGCN, ASTGCN, and WSTGCN). This may be because tempo-
ral models only consider the temporal features inherent in the traffic data, but fail to capture
the spatial correlation of traffic data at different nodes in the traffic network. Moreover,
among the three spatial–temporal models, the proposed WSTGCN model performs the best.
Compared to the second-best ASTGCN model, the WSTGCN model further reduces the
Energies 2024, 17, 4798 11 of 17
Predicting Horizon Metrix HA ARIMA LSTM GRU STGCN ASTGCN RSTGCN WSTGCN
MAE 23.15 18.33 16.89 16.25 15.03 12.45 12.15 11.04
15 min
RMSE 35.96 29.49 26.72 25.91 20.12 18.69 18.24 16.54
MAE 26.54 19.77 19.93 19.47 16.85 14.51 14.16 13.25
30 min
RMSE 38.17 36.91 30.29 29.84 22.37 19.58 19.11 17.63
MAE 29.43 23.58 22.61 21.59 17.76 15.92 15.56 14.72
1h
RMSE 40.39 39.32 34.08 33.26 23.61 20.79 20.36 18.97
From Table 1, it can be seen that as the prediction duration increases, the difficulty of
prediction also increases, leading to a decline in the predictive performance. Among all
predicting horizons, the proposed WSTGCN model has the best predictive performance
compared to other benchmark models, while the HA has the poorest performance. Also, it
can be found that spatial–temporal deep learning models like STGCN, ASTGCN, RSTGCN,
and WSTGCN outperform temporal models like HA, ARIMA, LSTM, and GRU. Addition-
ally, the WSTGCN model performs better than the ASTGCN and RSTGCN, which indicates
the effectiveness of the modified residual modules and the introduced weight fusion.
total number of servers is set to C = 25, with each server providing a charging power
of pch = 40 kW. The FCS can accommodate up to N = 30 EVs at a time, and the average
charging time for an EV is 20 min. The probability parameters for refusal to join and
impatience to leave are denoted as σ = 1 and δ = 1. Based on the total vehicle stock [28] and
EV stock data [29], the penetration rate of EVs in the United States in 2020 was 2.2%, and
the probability of an EV needing to charge at any given time is 20%.
The prediction
Figure 7. The prediction results of charging load.
From Figure
From Figure 8,
8, it
it can
can be
be intuitively
intuitively observed that the
observed that the results
results of
of the
the WSTGCN-based
WSTGCN-based
charging load prediction model are closer to the actual values than
charging load prediction model are closer to the actual values than those of those of the
the ASTGCN-
ASTGCN-
based model. Moreover, from Table 2, it can be found that the WSTGCN-based
based model. Moreover, from Table 2, it can be found that the WSTGCN-based traffic flow traffic flow
prediction model has better predictive performance compared to the benchmark
prediction model has better predictive performance compared to the benchmark ASTGCN ASTGCN
model. These
model. These results
results indicate
indicate that
that the
the charging
charging load
load prediction
prediction accuracy
accuracy isis influenced
influenced by by
the traffic flow prediction results significantly. More accurate traffic flow prediction
the traffic flow prediction results significantly. More accurate traffic flow prediction re- results
contribute
sults to more
contribute to accurate chargingcharging
more accurate load prediction results. The
load prediction improved
results. The WSTGCN
improved
WSTGCN provides more accurate traffic flow prediction results, thus greatlythe
provides more accurate traffic flow prediction results, thus greatly improving accuracy
improving
of charging load prediction.
the accuracy of charging load prediction.
Table 2.
Table Performance comparison
2. Performance comparison of
of different
different traffic
traffic flow
flow prediction
prediction models.
models.
TrafficFlow
Traffic Flow Model
Model ASTGCN
ASTGCN WSTGCN
WSTGCN
Charging model
Charging model Improvedqueuing
Improved queuing model
model
MAE
MAE 15.32
15.32 9.01
9.01
RMSE
RMSE 17.76
17.76 10.47
10.47
Figure 9.
Figure The charging
9. The charging load
load prediction
prediction results.
From Figure
From Figure9,9,ititcan
canbebeintuitively
intuitively seen
seen that
that thethe charging
charging loadload predicted
predicted by im-
by the the
improved queuing theory model is lower than that of the traditional queuing
proved queuing theory model is lower than that of the traditional queuing theory model. theory model.
This may
This may be
be because
because the
the subjective
subjective behaviors
behaviors of of EV
EV owners
owners areare fully
fully considered
considered inin the
the
improved queuing theory model, affecting the prediction results significantly.
improved queuing theory model, affecting the prediction results significantly. Due to the Due to the
limited capacity
limited capacity of
of the
the FCSs,
FCSs, some
some EVsEVs leave
leave the
the FCS
FCS without
without receiving
receiving charging
charging service,
service,
resulting in a loss of charging load.
resulting in a loss of charging load.
Figure
Figure 10. (a) The
10. (a) The impact
impact of parameters C
of parameters and N;
C and N; (b)
(b) the
the impact
impact of
of parameters σ and
parameters σ δ.
and δ.
Figure 10b shows the impact of the refusal parameter σ and the impatience parameter
Figure 10b shows the impact of the refusal parameter σ and the impatience parameter
δ. The results show that if drivers are more sensitive to waiting times, reflected by a larger
δ. The results show that if drivers are more sensitive to waiting times, reflected by a larger
refusal parameter σ and impatience parameter δ, the charging load decreases accordingly.
refusal parameter σ and impatience parameter δ, the charging load decreases accordingly.
Additionally, it can be observed that the reduction in charging loads is particularly notice-
Additionally, it can be observed that the reduction in charging loads is particularly no-
able during peak periods. This is because, during the peak time, the number of queuing
ticeable
EVs duringresulting
increases, peak periods. Thisleaving
in a larger is because, during
rate and lowerthe peakrate
arrival time,
thanthe number
other of
periods,
thus leading to a larger loss in charging load.
Figure 11.
Figure 11. (a)
(a) Average waiting time;
Average waiting (b) average
time; (b) average queue
queue length.
length.
5. Conclusions
From Figure 11, it can be found that the service performance of the FCS is directly
related to paper
This its scale. As the anumber
proposes of charging servers
deep learning-based model C for
andpredicting
the capacity theNcharging
decrease,loadthe
average
of FCSs toqueue length
quantify and
the average
impact waiting
of EV time on
charging forthe
EVspower
increase.
grid.Additionally,
The main work it cancan
be
seen
be that whenasthe
concluded scale of(i)FCS
follows: An exceeds
improved 15 servers
WSTGCN andmodel
can accommodate
is proposed up to 20 EVs,
to model the
the traffic
EV improvements in servicethe
flow, considering performance become marginal.
inherent spatial–temporal Therefore, itofcan
characteristics be flow.
traffic con-
cluded thatto
Compared thetemporal
installation of FCS
models should
(HA, be planned
ARIMA, LSTM,for andanGRU),
optimal thescale. If therenot
WSTGCN areonly
too
considers
few servers, theservice
temporal feature
quality inherent
suffers, in the
leading traffic data,long
to excessively but wait
also times;
captures the spatial
conversely, if
correlation
there are too of many,
traffic the
dataimprovement
at different nodes in the
in service trafficisnetwork.
quality negligibleBywhile
fullyinvestment
exploiting
the
costsdynamic
rise. Thespatial–temporal
proposed modelcorrelations,
can effectively themodel
WSTGCN model performs
the charging process andmuch more
provide
accurately than temporal
strategic insights models. (ii)
for the planning By modifying
of charging the residual modules and integrating
stations.
the weight fusion mechanism into the WSTGCN model, the prediction performance has
been significantly enhanced. The experimental results show that the proposed WSTGCN
5. Conclusions
model exhibits
This papersuperior
proposesaccuracy in predicting traffic
a deep learning-based modelflow compared the
for predicting to other benchmark
charging load of
models. Compared to the second-best ASTGCN model, the
FCSs to quantify the impact of EV charging on the power grid. The main work can beWSTGCN model further
reduces
concluded theasMAE and (i)
follows: RMSE by 7.5% and
An improved 8.6%. (iii)
WSTGCN An improved
model is proposed queuing
to modeltheory
the EV model
traf-
is used to predict the EV charging load of FCSs with special consideration
fic flow, considering the inherent spatial–temporal characteristics of traffic flow. Com- of subjective
EV user behaviors. By considering the behaviors of EV users refusing to join and leaving
pared to temporal models (HA, ARIMA, LSTM, and GRU), the WSTGCN not only con-
impatiently, the predicted charging load of the FCS is lower than the traditional queuing
siders the temporal feature inherent in the traffic data, but also captures the spatial corre-
theory model, especially during peak times. Additionally, it should be noted that the
lation of traffic data at different nodes in the traffic network. By fully exploiting the dy-
proposed charging load prediction method is based on traffic flow prediction, which
namic spatial–temporal correlations, the WSTGCN model performs much more accu-
can successfully address the challenge of lacking historical data, thus holding important
rately than temporal models. (ii) By modifying the residual modules and integrating the
practical value in charging load prediction for newly established FCSs.
weight fusion mechanism into the WSTGCN model, the prediction performance has been
significantly
Author enhanced.Conceptualization,
Contributions: The experimentalJ.Z.results showsoftware,
and H.C.; that the J.Z.;
proposed WSTGCN
methodology, model
H.Z., Z.W.
exhibits superior
(Zhiqiang Wang) and accuracy in predicting
Z.W. (Ziyi traffic flow
Wen); visualization, Z.W.compared
(Ziyi Wen); towriting—original
other benchmark models.
draft, Z.W.
(Ziyi Wen); formal analysis, X.Z.; supervision, X.Z.; writing—review and editing, X.Z. All authors
have read and agreed to the published version of the manuscript.
Funding: This research was funded by the National Natural Science Foundation of China, grant
number 72001058; Guangdong Basic and Applied Basic Research Foundation, grant numbers
2023A1515010724 and 2022A1515240051; General Program of Foundation of Shenzhen Science and
Technology Committee, grant number GXWD20231130154831002; Major Science and Technology Spe-
cial Projects in Xinjiang Autonomous Region, grant number 2022A01007; and Xinjiang Autonomous
Region Key Research and Development Task Special Project, grant number 2022B01016.
Energies 2024, 17, 4798 16 of 17
Data Availability Statement: The contributions presented in the study are included in the article.
Conflicts of Interest: Author Jun Zhang, Huiluan Cong, Hui Zhou, Zhiqiang Wang were employed
by the company State Grid Shandong Electric Vehicle Service Company Ltd. The remaining authors
declare that the research was conducted in the absence of any commercial or financial relationships
that could be construed as a potential conflict of interest.
References
1. Amini, M.; Kargarian, A.; Karabasoglu, O. ARIMA-based decoupled time series forecasting of electric vehicle charging demand
for stochastic power system operation. Electr. Power Syst. Res. 2016, 140, 378–390. [CrossRef]
2. Louie, H.M. Time-series modeling of aggregated electric vehicle charging station load. Electr. Power Compon. Syst. 2017, 45,
1498–1511. [CrossRef]
3. Akshay, K.C.; Grace, G.H.; Gunasekaran, K.; Samikannu, R. Power consumption prediction for electric vehicle charging stations
and forecasting income. Sci. Rep. 2024, 14, 6497. [CrossRef] [PubMed]
4. Wang, S.; Zhuge, C.; Shao, C.; Wang, P.; Yang, X.; Wang, S. Short-term electric vehicle charging demand prediction: A deep
learning approach. Appl. Energy 2023, 340, 121032. [CrossRef]
5. Yi, Z.; Liu, X.; Wei, R.; Chen, X.; Dai, J. Electric vehicle charging demand forecasting using deep learning model. J. Intell. Transp.
Syst. 2022, 26, 690–703. [CrossRef]
6. Jahangir, H.; Gougheri, S.; Vatandoust, B.; Golkar, M.A.; Ahmadian, A.; Hajizadeh, A. Plug-in electric vehicle behavior modeling
in energy market: A novel deep learning-based approach with clustering technique. IEEE Trans. Smart Grid 2020, 11, 4738–4748.
[CrossRef]
7. Sasidharan, M.; Kinattingal, S.; Simon, S. Comparative analysis of deep learning models for electric vehicle charging load
forecasting. J. Inst. Eng. Ser. B 2023, 104, 105–113. [CrossRef]
8. Dabbaghjamanesh, M.; Moeini, A.; Kavousi-Fard, A. Reinforcement learning-based load forecasting of electric vehicle charging
station using Q-learning technique. IEEE Trans. Ind. Inf. 2021, 17, 4229–4237. [CrossRef]
9. Mekkaoui, D.; Midoun, M.; Shen, Y. LA-RCNN: Luong attention-recurrent-convolutional neural network for EV charging load
prediction. Appl. Intell. 2024, 54, 4352–4369. [CrossRef]
10. Li, Y.; Huang, Y.; Zhang, M. Short-term load forecasting for electric vehicle charging station based on niche immunity lion
algorithm and convolutional neural network. Energies 2018, 11, 1253. [CrossRef]
11. Wang, S.; Chen, A.; Wang, P.; Zhuge, C. Predicting electric vehicle charging demand using a heterogeneous spatio-temporal
graph convolutional network. Transp. Res. Part C Emerg. Technol. 2023, 153, 104205. [CrossRef]
12. Su, S.; Li, Y.; Chen, Q.; Xia, M.; Yamashita, K.; Jurasz, J. Operating status prediction model at EV charging stations with fusing
spatiotemporal graph convolutional network. IEEE Trans. Transp. Electrif. 2023, 9, 114–129. [CrossRef]
13. Chen, Y.; Wang, M.; Wei, Y.; Huang, X.; Gao, S. Multi-encoder spatio-temporal feature fusion network for electric vehicle charging
load prediction. J. Intell. Robot. Syst. 2024, 110, 94. [CrossRef]
14. Li, M.; Zhu, Z. Spatial-Temporal Fusion Graph Neural Networks for Traffic Flow Forecasting. Proc. AAAI Conf. Artif. Intell. 2021,
35, 4189–4196. [CrossRef]
15. Li, F.; Feng, J.; Yan, H.; Jin, J.; Yang, F.; Sun, F.; Jin, D.; Li, Y. Dynamic graph convolutional recurrent network for traffic prediction:
Benchmark and solution. ACM Trans. Knowl. Discov. Data 2023, 17, 1–21. [CrossRef]
16. Zhang, Y.; Liu, C.; Rao, X.; Zhang, X.B.; Zhou, Y. Spatial-temporal load forecasting of electric vehicle charging stations based on
graph neural network. J. Intell. Fuzzy Syst. 2024, 46, 821–836. [CrossRef]
17. Shi, J.; Zhang, W.; Bao, Y.; Gao, D.W.; Wang, Z.H. Load forecasting of electric vehicle charging stations: Attention-based
spatiotemporal multi-graph convolutional networks. IEEE Trans. Smart Grid 2023, 15, 3016–3027. [CrossRef]
18. Zhang, X.; Chan, K.W.; Li, H.; Wang, H.; Qiu, J.; Wang, G. Deep-learning-based probabilistic forecasting of electric vehicle
charging load with a novel queuing model. IEEE Trans. Cybern. 2020, 51, 3157–3170. [CrossRef]
19. Wu, T.; Ji, X.; Wang, G.; Liu, Y.; Yang, Q.; Bao, Z.; Peng, J. Hydrogen energy storage system for demand forecast error mitigation
and voltage stabilization in a fast-charging station. IEEE Trans. Ind. Appl. 2021, 58, 2718–2727. [CrossRef]
20. Arias, M.B.; Kim, M.; Bae, S. Prediction of electric vehicle charging-power demand in realistic urban traffic networks. Appl. Energy
2017, 195, 738–753. [CrossRef]
21. Feng, J.; Chang, X.; Fan, Y.; Luo, W. Electric vehicle charging load prediction model considering traffic conditions and temperature.
Processes 2023, 11, 2256. [CrossRef]
22. Tang, S.; Mu, Y.; Zhou, Y.; Dong, X.; Jia, H. A spatial-temporal electric vehicle charging load forecasting method considering the
coordination among the multiple charging behaviors. In Proceedings of the 2021 Power System and Green Energy Conference
(PSGEC), Shanghai, China, 20–22 August 2021; pp. 629–634.
23. Guo, S.; Lin, Y.; Feng, N.; Song, C.; Wan, H. Attention-based spatial-temporal graph convolutional networks for traffic flow
forecasting. Proc. AAAI Conf. Artif. Intell. 2019, 33, 922–929. [CrossRef]
24. Williams, B.M.; Hoel, L.A. Modeling and forecasting vehicular traffic flow as a seasonal ARIMA process: Theoretical basis and
empirical results. J. Transp. Eng. 2003, 129, 664–672. [CrossRef]
25. Sutskever, I.; Vinyals, O.; Le, Q.V. Sequence to sequence learning with neural networks. arXiv 2014, arXiv:1409.3215.
Energies 2024, 17, 4798 17 of 17
26. Chung, J.; Gulcehre, C.; Cho, K.H.; Bengio, Y. Empirical evaluation of gated recurrent neural networks on sequence modeling.
arXiv 2014, arXiv:1412.3555.
27. Yu, B.; Yin, H.; Zhu, Z. Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting. arXiv
2017, arXiv:1709.04875.
28. Our World in Data. Number of New Cars Sold, by Type, World. Available online: https://ourworldindata.org/energy (accessed
on 18 September 2024).
29. IEA. Global Electric Car Stock, 2013–2023. Available online: https://www.iea.org/data-and-statistics/charts/global-electric-car-
stock-2013-2023 (accessed on 18 September 2024).
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.