원시데이터 수집 시스템
선정목록으로

Multi-Encoder Spatio-Temporal Feature Fusion Network for Electric Vehicle Charging Load Prediction

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Yufan Chen — Key Laboratory of Measurement and Control of Complex System of Engineering, Southeast University, Nanjing, 210096, China|||School of Automation, Southeast University, Nanjing, 210096, China
  2. Mengqin Wang — Key Laboratory of Measurement and Control of Complex System of Engineering, Southeast University, Nanjing, 210096, China|||School of Automation, Southeast University, Nanjing, 210096, China
  3. Yanling Wei — Key Laboratory of Measurement and Control of Complex System of Engineering, Southeast University, Nanjing, 210096, China|||School of Automation, Southeast University, Nanjing, 210096, China
  4. Xueliang Huang — School of Electrical Engineering, Southeast University, Nanjing, 210096, China
  5. Shan Gao — School of Electrical Engineering, Southeast University, Nanjing, 210096, China
DOI
10.1007/s10846-024-02125-z
저널
Journal of Intelligent & Robotic Systems
발행년도
2024
발행기관
Springer Science+Business Media
피인용수
7
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s10846-024-02125-z
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4400459147

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Electric vehicles (EVs) have been initiated as a preference for decarbonizing road transport. Accurate charging load prediction is essential for the construction of EV charging facilities systematically and for the coordination of EV energy demand with the requisite peak power supply. It is noted that the charging load of EVs exhibits high complexity and randomness due to temporal and spatial uncertainties. Therefore, this paper proposes a SEDformer-based charging road prediction method to capture the spatio-temporal characteristics of charging load data. As a deep learning model, SEDformer comprises multiple encoders and a single decoder. In particular, the proposed model includes a Temporal Encoder Block based on the self-attention mechanism and a Spatial Encoder Block based on the channel attention mechanism with sequence decomposition, followed by an aggregated decoder for information fusion. It is shown that the proposed method outperforms various baseline models on a real-world dataset from Palo Alto, U.S., demonstrating its superiority in addressing spatio-temporal data-driven load forecasting problems.

본문 24,317자

본문 펼치기
Electric vehicles (EVs) have been initiated as a preference for decarbonizing road transport.Accurate charging load prediction is essential for the construction of EV charging facilities systematically and for the coordination of EV energy demand with the requisite peak power supply.It is noted that the charging load of EVs exhibits high complexity and randomness due to temporal and spatial uncertainties.Therefore, this paper proposes a SEDformer-based charging road prediction method to capture the spatio-temporal characteristics of charging load data.As a deep learning model, SEDformer comprises multiple encoders and a single decoder.In particular, the proposed model includes a Temporal Encoder Block based on the self-attention mechanism and a Spatial Encoder Block based on the channel attention mechanism with sequence decomposition, followed by an aggregated decoder for information fusion.It is shown that the proposed method outperforms various baseline models on a real-world dataset from Palo Alto, U.S., demonstrating its superiority in addressing spatio-temporal data-driven load forecasting problems.KeywordsElectric vehicle • Load forecasting • Transformer • Spatio-temporal features • Series decomposition 1 Introduction As a mode of low-carbon energy transportation, EVs offer numerous advantages, including low noise, energy efficiency, and environmental friendliness.With the increasing adoption of EVs, there is a corresponding surge in user charging B Yanling Wei demands.Then, unplanned and unregulated charging practices may lead to a stochastic peak load on the power grid, exacerbating fluctuations in peak and off-peak electricity consumption, and potentially compromising the overall quality of the power grid [1].Attempts have been made to address these issues from the perspective of EVs.For instance, Mei et al. optimize the energy management of hybrid EVs during both the initial driving stage [2] and regenerative braking stage [3] to enhance energy efficiency.It is noted that the energy optimization merely based on EVs is insufficient for well addressing the charging load issues.In contrast, global regulation from the grid side is expected to improve the efficiency of energy utilization.In addition, unlike fuel-powered vehicles, a longer time of energy supply for EVs naturally poses greater demands on the management and construction of public charging stations.Currently, many countries and regions have a limited number of charging stations, with ongoing construction efforts.Correspondingly, an accurate estimate of the charging demand is essential for the planning of EV infrastructure.Therefore, the precise prediction of EV charging loads is of extreme importance for facilitating the enhancement and optimization of the power system and ensuring the stable operation of the power grid [4,5]. The existing research methodologies on EV charging load prediction can be broadly categorized into probabilitybased methods and artificial intelligence-based methods [6].Probability-based methods are first widely used in studying the operation patterns of EVs.For example, a statistical model [7], relying on a small number of samples of user daily driving data, is used to predict the temporal distribution of charging loads, where the impact of large-scale EV charging behavior on the power grid is then evaluated through a small-scale simulation.Ikegami et al. [8] analyze the impact of high penetration rates of EVs on the overall power demand of the electrical system.By employing probabilistic methods, Faridimehr et al. [9] utilize the Markov chain to model the EV charging network as a two-stage stochastic problem to estimate the charging load.It is noted that these methods often require the involvement of complex influencing factors during modeling, however, the variables included in these models are usually difficult to observe directly.For example, the battery state of charge (SOC), which serves as a fundamental variable, can only be estimated through internal resistance, charge-discharge current, and battery voltage [10].This process tends to introduce biases and increase the difficulty of prediction. In recent years, machine-learning-based approaches emerged, and it has been proven to be simple and effective for load prediction.Traditional machine learning methods, known for their ease of execution and rapid computation, are widely employed in time series forecasting.For instance, Liao et al. [11] propose support vector machine (SVM) for modeling the load forecasting model.Buzna et al. [12] employ two classical approaches, i.e., random forests (RF) and gradient boosting regression trees (GBRT), to compare predictive performance using EV load data from 169 charging stations in the Netherlands.Nevertheless, as these methods typically involve numerous parameters, the prediction accuracy tends to decline significantly as the temporal scale increases. More recently, by means of deep learning (DL) theories and the abundance of computing resources, an increasing number of neural network models have been presented for larger-scale spatio-temporal prediction.Specifically, long short-term memory neural network (LSTM) [13] is first applied in intelligent transportation systems (ITS) for traffic flow prediction.Convolution and LSTM are combined to create a Conv-LSTM [14,15] module for extracting the spatial-temporal features of traffic flow, where LSTM captures temporal features and convolutional neural networks (CNN) [16] captures the spatial features of gridded discrete data.DGCRN [17] is a recurrent neural network (RNN)-based model, where gate recurrent unit (GRU) [18] addresses the problem of gradient disappearing and dynamic graph convolution replaces matrix multiplication in GRU.Nonetheless, real-world scenarios usually generate data in non-Euclidean spaces, raising challenges for most RNNbased or CNN-based methods.The increasing interest in leveraging the expressive abilities of graph structures for machine learning-based graph analysis has brought attention to graph convolutional networks (GCN) [19].Spatiotemporal graph convolutional network (STGCN) [20,21] generates the prediction results by stacking spatio-temporal convolutional blocks, which are composed of temporal gated convolutional layers and GCN layers.Attention based spatial-temporal graph convolutional network (ASTGCN) [22] is built upon STGCN by incorporating an attention mechanism into the spatio-temporal convolutional block to enhance the modeling of dynamic spatio-temporal correlations.Global spatio-temporal dynamic capturing network (GSTDCN) [23] describes dynamic traffic flow information through a combination of a global encoding block and GCN. It is worth mentioning that the over-smoothing issue for GCN makes it difficult to stack multiple layers [24], which exhibits slow convergence speeds with large-scale node datasets.Transformer [25] initially achieves remarkable success in natural language processing (NLP) [26].Its encoder-decoder architecture is capable of capturing dependencies between sequence inputs.In particular, there has been an increasing amount of Transformer-based models on time series forecasting.AutoFormer [27] embeds a decomposition architecture in both the encoder and decoder, also replacing the multi-head attention mechanism of the vanilla Transformer with an auto-correlation mechanism to better extract features in long time series.Informer [28] reduces the time and space complexity of Transformer computation through ProbSparse self-attention and leverages a generative style decoder to mitigate the prediction errors of long sequence time-series forecasting (LSTF).While models based on Transformers often prioritize temporal information.Therefore, the insufficient utilization of spatial information leaves much space for improvement. Motivated by the Transformer-based models, we develop a spatio-temporal prediction network, SEDformer, to tackle the task of EV load forecasting.The primary contributions of this study are outlined as follows: • We propose SEDformer to address the EV long-term load prediction problem by capturing features in both the temporal and spatial dimensions. Problem Formulation As a time series prediction problem, we aim to forecast EV charging load data for the next T time steps based on the historical data spanning H time steps, which can be formulated as follows: Problem Formulation where and y i j signifies the load value of the j-th charging station at time step i.The mapping F denotes the proposed model, which endeavors to minimize prediction errors as much as possible. Overall Architecture We design SEDformer, featuring S-E block and trend decomposition block, to effectively harness the spatio-temporal information in the charging load data.SEDformer is structured as an encoder-decoder, which takes the raw data from the embedding layer as inputs and outputs the prediction of sequence data.The encoder consists of Temporal Encoder Block (T-Encoder) and Spatial Encoder Block (S-Encoder).T-Encoder employs a self-attention mechanism to preserve temporal information of the input data.Meanwhile, the S-Encoder utilizes trend decomposition to capture spatial information by yielding trend and fluctuation subsequences.Subsequences of two modes are fed into individual S-E Blocks, which essentially employ a form of channel attention to establish positional connections between different charging stations.Then the outputs of T-Encoder and S-Encoder are fused through attention and gating mechanism.Finally, the aggregated Decoder Block takes fusional output sequences from the encoder and masked sequences as inputs, ultimately generating the sequential prediction as output.The architecture of SEDformer is depicted in Fig. 1. Temporal Encoder Block Embedding To ensure comprehensive understanding and effective utilization of information, preprocessing of the input data is required before feeding it into the model.For the initial input X raw ∈ R N ×L , a one-dimensional convolution is applied to map the N -channel input tensor to a higher dimension, enhancing non-linear expressive capabilities.Meanwhile, the temporal features, including month, weekday, and date information of the input values, are also extracted using the convolution network for time embedding.Additionally, as the attention mechanism cannot inherently utilize the positional features in sequences, we employ sine and cosine functions for positional encoding [25].The entire embedding module can be represented as: Temporal Encoder Block Fig. 1 The complete structure of SEDformer.The input sequence is processed in parallel by the temporal encoder block and spatial encoder Block, then fused and input into the aggregated decoder block to produce the predicted sequence where X in ∈ R d model ×L , d model is the dimension of the features after the whole embedding.P E represents positional encoding embedding.Decoder inputs share the same way of embedding with encoder inputs. Multi-Head Attention The attention mechanism assists to selectively filter out more important information from a vast pool of data and focuses on these crucial details while disregarding much of the remaining information.Considering the elements in the input source as key (K ) and value (V ), for query (Q) of each input element, V is calculated based on the similarity between Q and K .The attention score is obtained by weighted summation of V .The attention mechanism can be formulated as follows: Multi-Head Attention where d k is the dimension of K .Self-attention is employed here, hence Q, K , and V are identical elements.Additionally, the sequence is decomposed, utilizing multiple heads to create subspaces that focus on different aspects of information, namely multi-head attention mechanism [25], which is formulated as follows: Multi-Head Attention where W O , W Q j , W K j , and W V j are the weight matrices of linear layers. Multi-Head Attention Feed-Forward Neural Network Layer normalization (LayerNorm) [29] operates independently on the batch size, computing the mean and variance for individual samples and normalizing across different channels of the sample.Following LayerNorm, a feed-forward network is utilized, comprising linear layers and an activation function, formulated as follows: Multi-Head Attention where W 1 , b 1 , W 2 , and b 2 are the parameters of the linear layer.Residual connections [30] are utilized in the encoder. Spatial Encoder Block Trend Decomposition Time series decomposition [31] can partition the original data into trend components and periodic components.The trend components encapsulate the low-frequency characteristics of the data, while the periodic components capture the high-frequency features.Trend decomposition block is devised to effectively draw distinct characteristics of the sequence.Since the training data is obtained using a sliding window, to prevent potential data leakage issues during the process of model training, a moving average strategy [27] is employed for data decomposition.The process of trend decomposition is depicted as follows: Spatial Encoder Block where X , X tr , X pe ∈ R N ×L .A padding strategy is required to maintain the same dimensions between the subsequences and the original load sequence. S-E Block We introduce two Squeeze-and-Excitation blocks (S-E blocks) to extract inter-channel dependencies within sub-sequences at different scales.Squeezeand-excitation networks (SENet) [32] are widely used in CNN-based models to capture relationships between different channels in images.Modifications have been made here to enable the application of SENet for sequential data.The workflow of a single S-E block is illustrated in Fig. 2. For the input X in ∈ R d model ×L , one-dimensional average pooling layer is utilized to compress the temporal information.Subsequently, two fully connected layers are applied to obtain weights for each channel, representing the weights for each charging station.The obtained weight vector is multiplied element-wise with X in through the broadcasting mechanism, assigning different attention to charging stations.The S-E Block en {MHA: Multi-Head Attention; LN: LayerNorm} 4: S-E Block en {FFN: Feed-Forward Network} 5: end for // Spatial Encoder 6: X tr, X pe ← Decomp X S-E Block (1) en 7: X (1) se S-E Block de + X ( j) de 16: S-E Block de + X ( j) de 18: end for 19: X ← Linear X (L2) de 20: return X calculation formula for a single S-E block is as follows: S-E Block where {X in , X se } ∈ R d model ×L .X se is the output of the whole S-Encoder.W f c1 and W f c2 represents the weight matrices of the fully connected layers.represents channel-wise multiplication. Aggregated Decoder Block The decoder consists of two attention modules, a feedforward layer, and intermediate connection layers.The main components of the decoder resemble to those of the T-Encoder, as shown in Fig. 1. Gating Mechanism It is necessary to integrate the output information from different encoders before input into the decoder.A gating mechanism is applied to selectively aggregate encoded information as follows: Gating Mechanism For the outputs X te from T-Encoder and X se from S-Encoder, X att is calculated through multi-head attention.C x can be obtained by concatenating X att and X se .W g and b g are parameters of linear transformation.The aggregated result X en will be used in the decoder.Algorithm 1 illustrates the flow of the forward pass of SEDformer. Experiments In this section, we conduct a resampling of the real-world EV charging dataset and undertake a comparative analysis between several baseline models and our proposed SEDformer to evaluate the model's performance. Dataset We conduct experiments on a dataset containing usage records of EV charging stations in Palo Alto, U.S. which span from July 2011 to December 2020 [33].To address potential data sparsity arising from the limited charging behavior of EVs at the early stage, the sampling interval is set to 1-day.The dataset is divided into training, validation, and testing sets in a ratio of 7:2:1.The location of several selected charging stations, along with the historical load curve, are illustrated in Fig. 3. Implementation Details We conduct experiments using PyTorch [34] on a personal computer equipped with an AMD Ryzen 5 7500F CPU, 32GB of RAM, and an NVIDIA GeForce RTX 4060Ti 16GB GPU.In the experiments, mean square error (MSE) loss and the ADAM optimizer [35] are employed with an initial learning rate of 10 Baseline Models We select five different neural network models, including LSTM, CNN-based model, GCN-based model, and the Transformer families.They have all demonstrated satisfactory performance in time series prediction tasks.These models are evaluated on the same dataset as our proposed SEDformer for comparison. Results Experiments are conducted on three different time-scale datasets.Root mean square error (RMSE), mean absolute error (MAE), and weighted mean absolute percentage error (WMAPE) are used as three evaluation metrics to comprehensively assess the model's performance.The results are presented in Table 1.The metrics are computed as follows: Results where y i j represents the actual load value, and ŷi j represents the predicted load value of a single charging station. Results As shown in Table 1, our proposed model demonstrates superior performance when the prediction length is 7 days and 30 days.At a prediction length of 15 days, SEDformer has the smallest RMSE, while MAE and WMAPE are slightly The comparative analysis of all models is as follows.First, it is observed that, in most cases, an increase in the prediction length contributes to higher complexity in long-term load forecasting, which results in the model's accuracy tending to decrease.However, when the prediction length increases from 7 days to 15 days, LSTM, T-GCN, and SEDformer show a slight decrease in prediction errors.This phenomenon can be attributed to the enlarged look-back window size, which provides the models with more spatio-temporal information from historical data.Second, Conv-LSTM exhibits relatively weaker performance in the prediction task, owing to the difficulty introduced in predicting sparse grid data in the dataset from Palo Alto city, resulting in lower accuracy compared to SEDformer and other baseline models.Third, it is observed that LSTM and Transformer experience a significant performance decline when the prediction length increases to 30 days, while SEDformer shows a relatively small increase in errors, indicating its better capability in long-term load forecasting. Contrast Analysis In the above sections, the details of SEDformer are explained, alongside the quantification of prediction errors across various models.To visually showcase the predictive capabilities of different models, we plot partial load prediction curves as shown in Fig. 4. Figure 4(a), (b), and (c) visualize the prediction results of the charging load for a single station over 7 days.Due to the short prediction horizon, almost all methods can reflect the trend of the load variations.In Fig. 4(a), T-GCN accurately captures the decreasing trend in load on the 3rd day, while SEDformer aligns better with the peak value on the 5th day.The results in Fig. 5 reveal that the removal of any module can result in a varying degree of performance degradation for SEDformer, which becomes more pronounced as the prediction horizon increases.Particularly for long-term load forecasting, such as 15 days, SEDformer w/o T-Encoder exhibits a conspicuous performance decline, indicating the necessity of T-Encoder for capturing long temporal features and improving predictive capability.It is also shown that S-Encoder helps extract implicit similar relationships among charging stations and enhance predictive performance.The gap between SEDformer w/o gating and SEDformer increases with the extension of the prediction horizon, suggesting the pivotal role of the aggregation module in combining spatio-temporal information in complex scenarios.As a data-driven approach, the collaborative dual-encoder architecture of the proposed model effectively explores the dependencies between long-range and cross-regional information. Conclusion This paper introduces a novel Transformer-based deep learning model to address the EV load forecasting problem.Specifically, a multi-encoder structure is designed to thoroughly explore the spatio-temporal characteristics of EV charging load distribution and enhance prediction accuracy.Further, to capture spatial similarity features among charging stations, after decomposing the input load sequences using the moving average strategy, a channel attention mechanism is employed to extract multidimensional spatial information.Finally, a fusion decoding mechanism is employed to select and integrate both temporal and spatial features.Experiments on real-world data spanning time scales of 7 days, 15 days, and 30 days demonstrate that SEDformer excels at capturing the dynamic nature of load variations and validate the effectiveness of the proposed model.The ablation studies validate the impact of each module on the experimental outcomes and their effectiveness in EV load forecasting.Our findings can potentially contribute to optimizing power resources and expanding the EV market in practical applications. Conclusion In future work, we aim to gather a more comprehensive dataset on EV charging loads to enhance the model's generalization capabilities for deployment in longer-scale prediction tasks.Moreover, our model has not fully capitalized on precise geographical information, such as coordinates.The incorporation of dynamic graph neural networks may provide a superior modeling approach for evolving charging station nodes. Fig. 2 Algorithm 1 Fig. 2 The framework of a Squeeze-and-Excitation block.F sq (•) represents one-dimensional average pooling.F ex (•, W ) represents the fully connected layer used for feature scaling.F br (•) refers to the weight mapping using broadcasting − 4 . Batch size is set to 32.The number of epochs is configured as 1000, and to prevent overfitting, the early stopping strategy is implemented during the training process.According to practical demands, we set the size of the look-back sliding window as L ∈ {30, 60, 120}, corresponding to the prediction length O ∈ {7, 15, 30}.For the 7-day and 15-day prediction length, SEDformer includes 1 layer of T-Encoder and 1 layer of Decoder.For the 30-day prediction length, SEDformer includes 2 layers of T-Encoder and 1 layer of Decoder. ( 1 ) Long Short-Term Memory (LSTM): LSTM addresses the issue of gradient disappearing and exploding in traditional RNN models by introducing memory cells, enabling it to capture complex dependencies in long sequences.(2) Convolutional Neural Network and Long Short-Term Memory (Conv-LSTM): Conv-LSTM transforms spatially distributed data into grid structures, then employs Conv2d and LSTM to extract spatial and temporal features from traffic data.(3) Temporal Graph Convolutional Network (T-GCN) [36]: T-GCN incorporates GCN into the temporal model to capture complex geographical topological structures.(4) Transformer: Transformer features an encoder-decoder framework, where the attention mechanism is capable of capturing complex temporal dependencies.(5) Informer: Informer introduces ProbSparse self-attention mechanism along with self-attention distilling operation to specifically address LSTF, further enhancing the process of inference through a generative style decoder. Fig. 3 Fig. 3 Charging station nodes and historical load curves.(a) A partial map of Palo Alto city, with several charging stations denoted by a blue circle.(b) The charging loads over a 600-day period commencing in July 2011 of five distinct charging stations Figure 4 (Fig. 4 Fig. 4 Visualization and comparison of prediction results.(a) to (c) represents a prediction horizon of 7 days, (d) to (f) for 15 days, and (g) to (i) for 30 days Fig. 5 Fig. 5 The ablation experiments of SEDformer, SEDformer w/o T-Encoder, SEDformer w/o S-Encoder, and SEDformer w/o gating models at different temporal scales Table 1 Prediction results of varivous models for different prediction horizons O ∈ {7, 15, 30}

섹션 본문 47문단 · 23,685자

(제목 없음)

1Electric vehicles (EVs) have been initiated as a preference for decarbonizing road transport.Accurate charging load prediction is essential for the construction of EV charging facilities systematically and for the coordination of EV energy demand with the requisite peak power supply.It is noted that the charging load of EVs exhibits high complexity and randomness due to temporal and spatial uncertainties.Therefore, this paper proposes a SEDformer-based charging road prediction method to capture the spatio-temporal characteristics of charging load data.As a deep learning model, SEDformer comprises multiple encoders and a single decoder.In particular, the proposed model includes a Temporal Encoder Block based on the self-attention mechanism and a Spatial Encoder Block based on the channel attention mechanism with sequence decomposition, followed by an aggregated decoder for information fusion.It is shown that the proposed method outperforms various baseline models on a real-world dataset from Palo Alto, U.S., demonstrating its superiority in addressing spatio-temporal data-driven load forecasting problems.KeywordsElectric vehicle • Load forecasting • Transformer • Spatio-temporal features • Series decomposition 1 Introduction As a mode of low-carbon energy transportation, EVs offer numerous advantages, including low noise, energy efficiency, and environmental friendliness.With the increasing adoption of EVs, there is a corresponding surge in user charging B Yanling Wei

2demands.Then, unplanned and unregulated charging practices may lead to a stochastic peak load on the power grid, exacerbating fluctuations in peak and off-peak electricity consumption, and potentially compromising the overall quality of the power grid [1].Attempts have been made to address these issues from the perspective of EVs.For instance, Mei et al. optimize the energy management of hybrid EVs during both the initial driving stage [2] and regenerative braking stage [3] to enhance energy efficiency.It is noted that the energy optimization merely based on EVs is insufficient for well addressing the charging load issues.In contrast, global regulation from the grid side is expected to improve the efficiency of energy utilization.In addition, unlike fuel-powered vehicles, a longer time of energy supply for EVs naturally poses greater demands on the management and construction of public charging stations.Currently, many countries and regions have a limited number of charging stations, with ongoing construction efforts.Correspondingly, an accurate estimate of the charging demand is essential for the planning of EV infrastructure.Therefore, the precise prediction of EV charging loads is of extreme importance for facilitating the enhancement and optimization of the power system and ensuring the stable operation of the power grid [4,5].

3The existing research methodologies on EV charging load prediction can be broadly categorized into probabilitybased methods and artificial intelligence-based methods [6].Probability-based methods are first widely used in studying the operation patterns of EVs.For example, a statistical model [7], relying on a small number of samples of user daily driving data, is used to predict the temporal distribution of charging loads, where the impact of large-scale EV charging behavior on the power grid is then evaluated through a small-scale simulation.Ikegami et al. [8] analyze the impact of high penetration rates of EVs on the overall power demand of the electrical system.By employing probabilistic methods, Faridimehr et al. [9] utilize the Markov chain to model the EV charging network as a two-stage stochastic problem to estimate the charging load.It is noted that these methods often require the involvement of complex influencing factors during modeling, however, the variables included in these models are usually difficult to observe directly.For example, the battery state of charge (SOC), which serves as a fundamental variable, can only be estimated through internal resistance, charge-discharge current, and battery voltage [10].This process tends to introduce biases and increase the difficulty of prediction.

4In recent years, machine-learning-based approaches emerged, and it has been proven to be simple and effective for load prediction.Traditional machine learning methods, known for their ease of execution and rapid computation, are widely employed in time series forecasting.For instance, Liao et al. [11] propose support vector machine (SVM) for modeling the load forecasting model.Buzna et al. [12] employ two classical approaches, i.e., random forests (RF) and gradient boosting regression trees (GBRT), to compare predictive performance using EV load data from 169 charging stations in the Netherlands.Nevertheless, as these methods typically involve numerous parameters, the prediction accuracy tends to decline significantly as the temporal scale increases.

5More recently, by means of deep learning (DL) theories and the abundance of computing resources, an increasing number of neural network models have been presented for larger-scale spatio-temporal prediction.Specifically, long short-term memory neural network (LSTM) [13] is first applied in intelligent transportation systems (ITS) for traffic flow prediction.Convolution and LSTM are combined to create a Conv-LSTM [14,15] module for extracting the spatial-temporal features of traffic flow, where LSTM captures temporal features and convolutional neural networks (CNN) [16] captures the spatial features of gridded discrete data.DGCRN [17] is a recurrent neural network (RNN)-based model, where gate recurrent unit (GRU) [18] addresses the problem of gradient disappearing and dynamic graph convolution replaces matrix multiplication in GRU.Nonetheless, real-world scenarios usually generate data in non-Euclidean spaces, raising challenges for most RNNbased or CNN-based methods.The increasing interest in leveraging the expressive abilities of graph structures for machine learning-based graph analysis has brought attention to graph convolutional networks (GCN) [19].Spatiotemporal graph convolutional network (STGCN) [20,21] generates the prediction results by stacking spatio-temporal convolutional blocks, which are composed of temporal gated convolutional layers and GCN layers.Attention based spatial-temporal graph convolutional network (ASTGCN) [22] is built upon STGCN by incorporating an attention mechanism into the spatio-temporal convolutional block to enhance the modeling of dynamic spatio-temporal correlations.Global spatio-temporal dynamic capturing network (GSTDCN) [23] describes dynamic traffic flow information through a combination of a global encoding block and GCN.

6It is worth mentioning that the over-smoothing issue for GCN makes it difficult to stack multiple layers [24], which exhibits slow convergence speeds with large-scale node datasets.Transformer [25] initially achieves remarkable success in natural language processing (NLP) [26].Its encoder-decoder architecture is capable of capturing dependencies between sequence inputs.In particular, there has been an increasing amount of Transformer-based models on time series forecasting.AutoFormer [27] embeds a decomposition architecture in both the encoder and decoder, also replacing the multi-head attention mechanism of the vanilla Transformer with an auto-correlation mechanism to better extract features in long time series.Informer [28] reduces the time and space complexity of Transformer computation through ProbSparse self-attention and leverages a generative style decoder to mitigate the prediction errors of long sequence time-series forecasting (LSTF).While models based on Transformers often prioritize temporal information.Therefore, the insufficient utilization of spatial information leaves much space for improvement.

7Motivated by the Transformer-based models, we develop a spatio-temporal prediction network, SEDformer, to tackle the task of EV load forecasting.The primary contributions of this study are outlined as follows:

8• We propose SEDformer to address the EV long-term load prediction problem by capturing features in both the temporal and spatial dimensions.

Problem Formulation

9As a time series prediction problem, we aim to forecast EV charging load data for the next T time steps based on the historical data spanning H time steps, which can be formulated as follows:

10where and y i j signifies the load value of the j-th charging station at time step i.The mapping F denotes the proposed model, which endeavors to minimize prediction errors as much as possible.

Overall Architecture

11We design SEDformer, featuring S-E block and trend decomposition block, to effectively harness the spatio-temporal information in the charging load data.SEDformer is structured as an encoder-decoder, which takes the raw data from the embedding layer as inputs and outputs the prediction of sequence data.The encoder consists of Temporal Encoder Block (T-Encoder) and Spatial Encoder Block (S-Encoder).T-Encoder employs a self-attention mechanism to preserve temporal information of the input data.Meanwhile, the S-Encoder utilizes trend decomposition to capture spatial information by yielding trend and fluctuation subsequences.Subsequences of two modes are fed into individual S-E Blocks, which essentially employ a form of channel attention to establish positional connections between different charging stations.Then the outputs of T-Encoder and S-Encoder are fused through attention and gating mechanism.Finally, the aggregated Decoder Block takes fusional output sequences from the encoder and masked sequences as inputs, ultimately generating the sequential prediction as output.The architecture of SEDformer is depicted in Fig. 1.

Temporal Encoder Block

12Embedding To ensure comprehensive understanding and effective utilization of information, preprocessing of the input data is required before feeding it into the model.For the initial input X raw ∈ R N ×L , a one-dimensional convolution is applied to map the N -channel input tensor to a higher dimension, enhancing non-linear expressive capabilities.Meanwhile, the temporal features, including month, weekday, and date information of the input values, are also extracted using the convolution network for time embedding.Additionally, as the attention mechanism cannot inherently utilize the positional features in sequences, we employ sine and cosine functions for positional encoding [25].The entire embedding module can be represented as:

13Fig. 1 The complete structure of SEDformer.The input sequence is processed in parallel by the temporal encoder block and spatial encoder Block, then fused and input into the aggregated decoder block to produce the predicted sequence where X in ∈ R d model ×L , d model is the dimension of the features after the whole embedding.P E represents positional encoding embedding.Decoder inputs share the same way of embedding with encoder inputs.

Multi-Head Attention

14The attention mechanism assists to selectively filter out more important information from a vast pool of data and focuses on these crucial details while disregarding much of the remaining information.Considering the elements in the input source as key (K ) and value (V ), for query (Q) of each input element, V is calculated based on the similarity between Q and K .The attention score is obtained by weighted summation of V .The attention mechanism can be formulated as follows:

15where d k is the dimension of K .Self-attention is employed here, hence Q, K , and V are identical elements.Additionally, the sequence is decomposed, utilizing multiple heads to create subspaces that focus on different aspects of information, namely multi-head attention mechanism [25], which is formulated as follows:

16where W O , W Q j , W K j , and W V j are the weight matrices of linear layers.

17Feed-Forward Neural Network Layer normalization (LayerNorm) [29] operates independently on the batch size, computing the mean and variance for individual samples and normalizing across different channels of the sample.Following LayerNorm, a feed-forward network is utilized, comprising linear layers and an activation function, formulated as follows:

18where W 1 , b 1 , W 2 , and b 2 are the parameters of the linear layer.Residual connections [30] are utilized in the encoder.

Spatial Encoder Block

19Trend Decomposition Time series decomposition [31] can partition the original data into trend components and periodic components.The trend components encapsulate the low-frequency characteristics of the data, while the periodic components capture the high-frequency features.Trend decomposition block is devised to effectively draw distinct characteristics of the sequence.Since the training data is obtained using a sliding window, to prevent potential data leakage issues during the process of model training, a moving average strategy [27] is employed for data decomposition.The process of trend decomposition is depicted as follows:

20where X , X tr , X pe ∈ R N ×L .A padding strategy is required to maintain the same dimensions between the subsequences and the original load sequence.

S-E Block

21We introduce two Squeeze-and-Excitation blocks (S-E blocks) to extract inter-channel dependencies within sub-sequences at different scales.Squeezeand-excitation networks (SENet) [32] are widely used in CNN-based models to capture relationships between different channels in images.Modifications have been made here to enable the application of SENet for sequential data.The workflow of a single S-E block is illustrated in Fig. 2. For the input X in ∈ R d model ×L , one-dimensional average pooling layer is utilized to compress the temporal information.Subsequently, two fully connected layers are applied to obtain weights for each channel, representing the weights for each charging station.The obtained weight vector is multiplied element-wise with X in through the broadcasting mechanism, assigning different attention to charging stations.The

22en {MHA: Multi-Head Attention; LN: LayerNorm} 4:

23en {FFN: Feed-Forward Network} 5: end for // Spatial Encoder 6: X tr, X pe ← Decomp X

24(1) en 7: X (1) se

25de + X ( j) de 16:

26de + X ( j) de 18: end for 19: X ← Linear X (L2) de 20: return X calculation formula for a single S-E block is as follows:

27where {X in , X se } ∈ R d model ×L .X se is the output of the whole S-Encoder.W f c1 and W f c2 represents the weight matrices of the fully connected layers.represents channel-wise multiplication.

Aggregated Decoder Block

28The decoder consists of two attention modules, a feedforward layer, and intermediate connection layers.The main components of the decoder resemble to those of the T-Encoder, as shown in Fig. 1.

Gating Mechanism

29It is necessary to integrate the output information from different encoders before input into the decoder.A gating mechanism is applied to selectively aggregate encoded information as follows:

30For the outputs X te from T-Encoder and X se from S-Encoder, X att is calculated through multi-head attention.C x can be obtained by concatenating X att and X se .W g and b g are parameters of linear transformation.The aggregated result X en will be used in the decoder.Algorithm 1 illustrates the flow of the forward pass of SEDformer.

Experiments

31In this section, we conduct a resampling of the real-world EV charging dataset and undertake a comparative analysis between several baseline models and our proposed SEDformer to evaluate the model's performance.

Dataset

32We conduct experiments on a dataset containing usage records of EV charging stations in Palo Alto, U.S. which span from July 2011 to December 2020 [33].To address potential data sparsity arising from the limited charging behavior of EVs at the early stage, the sampling interval is set to 1-day.The dataset is divided into training, validation, and testing sets in a ratio of 7:2:1.The location of several selected charging stations, along with the historical load curve, are illustrated in Fig. 3.

Implementation Details

33We conduct experiments using PyTorch [34] on a personal computer equipped with an AMD Ryzen 5 7500F CPU, 32GB of RAM, and an NVIDIA GeForce RTX 4060Ti 16GB GPU.In the experiments, mean square error (MSE) loss and the ADAM optimizer [35] are employed with an initial learning rate of 10

Baseline Models

34We select five different neural network models, including LSTM, CNN-based model, GCN-based model, and the Transformer families.They have all demonstrated satisfactory performance in time series prediction tasks.These models are evaluated on the same dataset as our proposed SEDformer for comparison.

Results

35Experiments are conducted on three different time-scale datasets.Root mean square error (RMSE), mean absolute error (MAE), and weighted mean absolute percentage error (WMAPE) are used as three evaluation metrics to comprehensively assess the model's performance.The results are presented in Table 1.The metrics are computed as follows:

36where y i j represents the actual load value, and ŷi j represents the predicted load value of a single charging station.

37As shown in Table 1, our proposed model demonstrates superior performance when the prediction length is 7 days and 30 days.At a prediction length of 15 days, SEDformer has the smallest RMSE, while MAE and WMAPE are slightly The comparative analysis of all models is as follows.First, it is observed that, in most cases, an increase in the prediction length contributes to higher complexity in long-term load forecasting, which results in the model's accuracy tending to decrease.However, when the prediction length increases from 7 days to 15 days, LSTM, T-GCN, and SEDformer show a slight decrease in prediction errors.This phenomenon can be attributed to the enlarged look-back window size, which provides the models with more spatio-temporal information from historical data.Second, Conv-LSTM exhibits relatively weaker performance in the prediction task, owing to the difficulty introduced in predicting sparse grid data in the dataset from Palo Alto city, resulting in lower accuracy compared to SEDformer and other baseline models.Third, it is observed that LSTM and Transformer experience a significant performance decline when the prediction length increases to 30 days, while SEDformer shows a relatively small increase in errors, indicating its better capability in long-term load forecasting.

Contrast Analysis

38In the above sections, the details of SEDformer are explained, alongside the quantification of prediction errors across various models.To visually showcase the predictive capabilities of different models, we plot partial load prediction curves as shown in Fig. 4. Figure 4(a), (b), and (c) visualize the prediction results of the charging load for a single station over 7 days.Due to the short prediction horizon, almost all methods can reflect the trend of the load variations.In Fig. 4(a), T-GCN accurately captures the decreasing trend in load on the 3rd day, while SEDformer aligns better with the peak value on the 5th day.The results in Fig. 5 reveal that the removal of any module can result in a varying degree of performance degradation for SEDformer, which becomes more pronounced as the prediction horizon increases.Particularly for long-term load forecasting, such as 15 days, SEDformer w/o T-Encoder exhibits a conspicuous performance decline, indicating the necessity of T-Encoder for capturing long temporal features and improving predictive capability.It is also shown that S-Encoder helps extract implicit similar relationships among charging stations and enhance predictive performance.The gap between SEDformer w/o gating and SEDformer increases with the extension of the prediction horizon, suggesting the pivotal role of the aggregation module in combining spatio-temporal information in complex scenarios.As a data-driven approach, the collaborative dual-encoder architecture of the proposed model effectively explores the dependencies between long-range and cross-regional information.

Conclusion

39This paper introduces a novel Transformer-based deep learning model to address the EV load forecasting problem.Specifically, a multi-encoder structure is designed to thoroughly explore the spatio-temporal characteristics of EV charging load distribution and enhance prediction accuracy.Further, to capture spatial similarity features among charging stations, after decomposing the input load sequences using the moving average strategy, a channel attention mechanism is employed to extract multidimensional spatial information.Finally, a fusion decoding mechanism is employed to select and integrate both temporal and spatial features.Experiments on real-world data spanning time scales of 7 days, 15 days, and 30 days demonstrate that SEDformer excels at capturing the dynamic nature of load variations and validate the effectiveness of the proposed model.The ablation studies validate the impact of each module on the experimental outcomes and their effectiveness in EV load forecasting.Our findings can potentially contribute to optimizing power resources and expanding the EV market in practical applications.

40In future work, we aim to gather a more comprehensive dataset on EV charging loads to enhance the model's generalization capabilities for deployment in longer-scale prediction tasks.Moreover, our model has not fully capitalized on precise geographical information, such as coordinates.The incorporation of dynamic graph neural networks may provide a superior modeling approach for evolving charging station nodes.

Fig. 2 Algorithm 1

41Fig. 2 The framework of a Squeeze-and-Excitation block.F sq (•) represents one-dimensional average pooling.F ex (•, W ) represents the fully connected layer used for feature scaling.F br (•) refers to the weight mapping using broadcasting

− 4 .

42Batch size is set to 32.The number of epochs is configured as 1000, and to prevent overfitting, the early stopping strategy is implemented during the training process.According to practical demands, we set the size of the look-back sliding window as L ∈ {30, 60, 120}, corresponding to the prediction length O ∈ {7, 15, 30}.For the 7-day and 15-day prediction length, SEDformer includes 1 layer of T-Encoder and 1 layer of Decoder.For the 30-day prediction length, SEDformer includes 2 layers of T-Encoder and 1 layer of Decoder.

( 1 )

43Long Short-Term Memory (LSTM): LSTM addresses the issue of gradient disappearing and exploding in traditional RNN models by introducing memory cells, enabling it to capture complex dependencies in long sequences.(2) Convolutional Neural Network and Long Short-Term Memory (Conv-LSTM): Conv-LSTM transforms spatially distributed data into grid structures, then employs Conv2d and LSTM to extract spatial and temporal features from traffic data.(3) Temporal Graph Convolutional Network (T-GCN) [36]: T-GCN incorporates GCN into the temporal model to capture complex geographical topological structures.(4) Transformer: Transformer features an encoder-decoder framework, where the attention mechanism is capable of capturing complex temporal dependencies.(5) Informer: Informer introduces ProbSparse self-attention mechanism along with self-attention distilling operation to specifically address LSTF, further enhancing the process of inference through a generative style decoder.

Fig. 3

44Fig. 3 Charging station nodes and historical load curves.(a) A partial map of Palo Alto city, with several charging stations denoted by a blue circle.(b) The charging loads over a 600-day period commencing in July 2011 of five distinct charging stations

Figure 4 (Fig. 4

45Fig. 4 Visualization and comparison of prediction results.(a) to (c) represents a prediction horizon of 7 days, (d) to (f) for 15 days, and (g) to (i) for 30 days

Fig. 5

46Fig. 5 The ablation experiments of SEDformer, SEDformer w/o T-Encoder, SEDformer w/o S-Encoder, and SEDformer w/o gating models at different temporal scales

Table 1

47Prediction results of varivous models for different prediction horizons O ∈ {7, 15, 30}

참고문헌 28건

  1. A review on the state-of-the-art technologies of electric vehicle, its impacts and prospects Renewable and Sustainable Energy Reviews · Elsevier BV · 2015 10.1016/j.rser.2015.04.130
  2. Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcasting arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1506.04214
  3. Stochastic Modeling for Studies of Real-World PHEV Usage: Driving Schedule and Daily Temporal Distributions IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2011 10.1109/tvt.2011.2181191
  4. Long Short-Term Memory Neural Computation · The MIT Press · 1997 10.1162/neco.1997.9.8.1735
  5. Balancing power supply-demand by controlled charging of numerous electric vehicles IEEE International Electric Vehicle Conference · 2012 10.1109/ievc.2012.6183216
  6. Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation 2014 10.3115/v1/d14-1179
  7. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  8. Squeeze-and-Excitation Networks 2018 10.1109/cvpr.2018.00745
  9. Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting 2018 10.24963/ijcai.2018/505
  10. Short-term traffic flow prediction with Conv-LSTM 2021 13th International Conference on Wireless Communications and Signal Processing (WCSP) · 2017 10.1109/wcsp.2017.8171119
  11. Attention Based Spatial-Temporal Graph Convolutional Networks for Traffic Flow Forecasting Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2019 10.1609/aaai.v33i01.3301922
  12. Deep learning Nature · Nature Portfolio · 2015 10.1038/nature14539
  13. Short Term Load Forecasting and Early Warning of Charging Station Based on PSO-SVM 2019 10.1109/icitbs.2019.00080
  14. Electric vehicle load forecasting: A comparison between time series and machine learning approaches 2019 10.1109/synergy-med.2019.8764110
  15. A Stochastic Programming Approach for Electric Vehicle Charging Network Design IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tits.2018.2841391
  16. PyTorch: An Imperative Style, High-Performance Deep Learning Library arXiv (Cornell University) · Cornell University · 2019
  17. Review on Scheduling, Clustering, and Forecasting Strategies for Controlling Electric Vehicle Charging: Challenges and Recommendations IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2939595
  18. Revisiting Graph Based Collaborative Filtering: A Linear Residual Graph Convolutional Network Approach Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2020 10.1609/aaai.v34i01.5330
  19. Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting 2018 10.24963/ijcai.2018/505
  20. Dynamic Graph Convolutional Recurrent Network for Traffic Prediction: Benchmark and Solution ACM Transactions on Knowledge Discovery from Data · Association for Computing Machinery · 2022 10.1145/3532611
  21. Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2021 10.1609/aaai.v35i12.17325
  22. Train Time Delay Prediction for High-Speed Train Dispatching Based on Spatio-Temporal Graph Convolutional Network IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2021 10.1109/tits.2021.3097064
  23. An <i>adaptive f</i>uzzy sliding‐mode control for regenerative braking system of electric vehicles International Journal of Adaptive Control and Signal Processing · Wiley · 2021 10.1002/acs.3347
  24. Efficient Short-Term Electricity Load Forecasting for Effective Energy Management Sustainable Energy Technologies and Assessments · Elsevier BV · 2022 10.1016/j.seta.2022.102337
  25. Distributed state-of-charge estimation for lithium-ion batteries with random sensor failure under dynamic event-triggering protocol Information Fusion · Elsevier BV · 2023 10.1016/j.inffus.2023.02.032
  26. A deep reinforcement learning approach to energy management control with connected information for hybrid electric vehicles Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.106239
  27. Global spatio‐temporal dynamic capturing network‐based traffic flow prediction IET Intelligent Transport Systems · Institution of Engineering and Technology · 2023 10.1049/itr2.12371
  28. Spatiotemporal Self-Attention Mechanism Driven by 3D Pose to Guide RGB Cues for Daily Living Human Activity Recognition Journal of Intelligent & Robotic Systems · Springer Science+Business Media · 2023 10.1007/s10846-023-01926-y