Electric vehicle charging load influence factor evaluation and prediction method based on combined weight

By constructing an index system of charging load influencing factors in multiple scenarios and a GATv2-Linformer hybrid prediction model, combined with the XGBoost error correction model, the accuracy problem of electric vehicle charging load prediction is solved, and accurate planning of power grid operations and infrastructure is achieved. Reduced energy consumption and power system impact.

CN118644097AActive Publication Date: 2024-09-13HUAIYIN INSTITUTE OF TECHNOLOGY

Patent Information

Application Number
CN202410675787.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-13
Estimated Expiration
2044-05-28

AI Technical Summary

Technical Problem

Energy consumption during the charging process of electric vehicles and its impact on the power system have become an urgent challenge that needs to be solved. Charging load prediction is crucial for grid operation planning and charging infrastructure planning and construction, but it is difficult to predict accurately with existing technology.

Method used

An evaluation and prediction method of influencing factors of electric vehicle charging load based on combined weights is adopted. By obtaining historical charging load data, an index system of influencing factors in multiple scenarios is constructed. Combined with the GATv2-Linformer hybrid prediction model and XGBoost error correction model, Kepler is used to The optimization algorithm optimizes model parameters and performs accurate charging load prediction.

Benefits of technology

It achieves more accurate electric vehicle charging load prediction, improves the accuracy of grid operation planning and infrastructure construction, and reduces energy consumption and power system impact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644097A
    Figure CN118644097A
Patent Text Reader

Abstract

The invention discloses an electric vehicle charging load influence factor evaluation and prediction method based on a combined weight, and the method comprises the steps: obtaining historical charging load data in advance, carrying out the preprocessing of the load data, and dividing the preprocessed charging load data; constructing a charging load prediction influence factor index system based on different scenes, and calculating an index combination weight; a GATv2-Linformer hybrid prediction model is constructed, and the GATv2-Linformer hybrid prediction On the basis of a Kepler optimization algorithm KOA, various improvement strategies are fused to obtain IKOA, and parameters of the GATv2-Linformer prediction model are optimized through the IKOA; an XGBoost error correction model is constructed; the improved GATv2-Linformer prediction model and the XGBoost error correction model are utilized to obtain an initial prediction value and an error prediction value respectively, the prediction error value is utilized to correct the generated prediction value, and a more accurate electric vehicle charging load prediction result is obtained. According to the method, the search scale of the Kepler optimization algorithm is expanded, the capability of jumping out of local optimum of the algorithm is improved, and more accurate prediction output is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of new energy vehicles, and in particular to a method for evaluating and predicting factors affecting charging load of electric vehicles based on combined weights. Background Art

[0002] Electric vehicle charging load forecasting is an important field that has rapidly emerged in the context of the rapid development of electric vehicles. With the increasing awareness of environmental protection and the demand for sustainable use of energy, electric vehicles have become one of the main choices to replace traditional fuel vehicles. However, the energy consumption during electric vehicle charging and its impact on the power system have become a challenge that needs to be addressed urgently. Charging load forecasting is crucial for grid operation planning and the planning and construction of charging infrastructure. Summary of the invention

[0003] Purpose of the invention: The purpose of the present invention is to provide a method for evaluating and predicting factors affecting electric vehicle charging load based on combined weights.

[0004] Technical solution: The present invention comprises the following steps:

[0005] (1) Obtain the historical charging load data of electric vehicles in three charging scenarios: urban residential areas, commercial areas, and industrial parks, preprocess the load data, obtain the annual load curve, and divide the preprocessed charging load data;

[0006] (2) Construct an index system of factors affecting charging load prediction under different scenarios, calculate the index combination weights through expert experience and improved entropy weight method, and use the characteristic values ​​of factors with higher weights as input and charging load as output;

[0007] (3) Introduce the graph attention mechanism of GATv2 into the Linformer attention layer and build a GATv2-Linformer hybrid prediction model;

[0008] (4) Based on the Kepler optimization algorithm KOA, multiple improvement strategies are integrated to obtain IKOA, and IKOA is used to optimize the parameters of the GATv2-Linformer prediction model;

[0009] (5) Build the XGBoost error correction model;

[0010] (6) The improved GATv2-Linformer prediction model and XGBoost error correction model are used to obtain the initial prediction value and error prediction value respectively. The prediction error value is used to correct the generated prediction value to obtain a more accurate electric vehicle charging load prediction result.

[0011] Furthermore, the step (1) divides the obtained historical data into three types, namely, working day charging load data, non-working day charging load data and holiday charging load data, and divides the three types of charging load data into training set 1, training set 2 and test set, respectively.

[0012] Furthermore, the step (2) comprises:

[0013] (2.1) Establish an influencing index system under multiple scenarios. Considering the different influencing factors of charging load under different scenarios, construct a combined weight index based on expert experience and improved entropy weight method, and analyze the weights of various influencing factors under different scenarios;

[0014] (2.2) Weight indicators based on expert experience are weighted by comprehensive research data and experience;

[0015] (2.3) Weight index based on improved entropy weight method Based on the original entropy weight method, the information entropy principle is introduced, and the information entropy calculation formula is:

[0016]

[0017] Where p(j) is the probability of event j occurring and N is the total number of samples.

[0018] Calculate the weight index of each influencing factor, the calculation formula is:

[0019]

[0020] in is the mean value of information entropy not equal to 1, H j is the information entropy value corresponding to the jth parameter;

[0021] The entropy weight is calculated by the weight index:

[0022]

[0023] where the index a is defined as 8, The information entropy weight is calculated using the entropy value for the traditional information entropy weight.

[0024] (2.4) Based on the multiple factors affecting charging load prediction, the combined weight index is constructed as follows:

[0025]

[0026] where α j It is a subjective weight.

[0027] Furthermore, the step (3) GATv2 modifies the order of operations based on GAT, which is expressed as:

[0028]

[0029] Among them, || represents the splicing operation, w gat represents the shared weight matrix, h i,t Represents the characteristics of the node, a T is the attention kernel function, L is the activation function, α ij,t is the weight coefficient at time t;

[0030] When calculating the weight coefficient, GATv2 first concatenates the features and then multiplies them by the weight matrix, using a multi-head attention mechanism:

[0031]

[0032] Among them, W k To learn the parameters, is the feature vector obtained by summing up the single-head attention coefficients, α ij,k is the learned weight coefficient, and σ is an arbitrary activation function.

[0033] Furthermore, the Linformer attention layer in step (3) adds two k×n matrices E and F to the attention calculation, so that the n-order attention is reduced to a fixed k-dimensional matrix:

[0034]

[0035] Reduce the number of parameters, that is, let E = F, and define the dimension of k as 128.

[0036] Furthermore, the step (4) using IKOA to optimize the GATv2-Linformer prediction model parameters includes:

[0037] (4.1) Use the good point set strategy initialization instead of the original random initialization:

[0038]

[0039] x1(k)=upper j -lower j ){P n (k)}+lower j

[0040] Its deviation satisfies:

[0041]

[0042] Where P n(k) is a set of good points, r is a good point, n is the number of points, C(r, δ) is a constant related only to r and δ, δ is an arbitrarily small positive number, p is the smallest prime number satisfying (p-3) / 2>s, s represents the dimension, upper represents the upper bound, and lower represents the lower bound;

[0043] (4.2) Using the elite strategy in position update:

[0044]

[0045] Introducing Cauchy mutation in the position update strategy increases population diversity, improves the global search capability of the algorithm, and expands the search space:

[0046] x newbest =x best +x best ×Cauchy(0,1)

[0047] Calculate the fitness value of the latest position of the planet, update the global optimal solution in the iterative process, take the position of the planet corresponding to the optimal fitness value as the output, and update the learning parameters of the GATv2-Linformer prediction model, the number of encoding layers and decoding layers of Linformer.

[0048] Furthermore, the step (5) uses the XGBoost algorithm to build an error prediction model. XGBoost gradually improves the prediction performance of the model by connecting multiple decision trees in series:

[0049]

[0050] Among them, x i represents the i-th sample, f k (x) is the calculation result of the kth tree model, n is the number of decision trees, and XGBoost performs some processing in the loss function and objective function. The objective function is as follows:

[0051]

[0052] Among them, l() is the loss function; Ω() is the regularization term, representing the complexity of the tree; y i is the true value of the observation, is the predicted value, K is the total number of trees in the algorithm; g, h i It is known in the algorithm process; γ and λ represent parameters; T represents the number of leaf nodes, ω j Represents the weight of the j-th leaf node.

[0053] Furthermore, the step (5) comprises:

[0054] (5.1) Prepare the dataset of training set 2 and define the parameters of the XGBoost error prediction model, including the maximum number of iterations, tree depth, number of trees, and learning rate;

[0055] (5.2) Use the training set to train the XGBoost model. During the training process, the model will gradually learn how to fit the data and optimize the prediction effect in each round of iteration to reach the maximum number of iterations and output the optimal prediction value.

[0056] Furthermore, the maximum number of iterations is 1000, the number of trees is set to 150, the depth of the tree is set to 3, and the learning rate is 0.1.

[0057] Furthermore, the step (6) comprises:

[0058] (6.1) Use the data from training set 1 and the improved Kepler optimization algorithm IKOA to optimize the parameters of the GATv2-Linformer prediction model;

[0059] (6.2) Use the GATv2-Linformer prediction model to predict the charging load prediction value of training set 2, and make a difference with the true value of training set 2 to obtain an error sequence, and use the error sequence to train the XGBoost error prediction model;

[0060] (6.3) Based on the GATv2-Linformer prediction model and the XGBoost error prediction model, the initial prediction value and error correction value of the test set data are obtained, and the final charging load prediction value is added together.

[0061] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages:

[0062] A GATv2-Linformer model was constructed, and the graph attention mechanism was introduced into the encoder and decoder of Linformer. The graph attention mechanism was used to capture the correlation of input features without prior knowledge, and the multi-head attention mechanism was used to capture temporal dependencies. The planet positions were initialized with the good point set strategy, and the eccentricity was initialized with the sobol sequence, so that the planets were evenly distributed in the initial solution space, making the algorithm more comprehensive. At the same time, the Cauchy mutation was used to perturb the planets, thereby expanding the search scale of the Kepler optimization algorithm and improving the algorithm's ability to escape from local optimality. The XGBoost model was used to predict the error sequence, and the initial prediction value was corrected with the obtained error correction value to obtain a more accurate prediction output. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 It is a structural schematic diagram of the present invention;

[0064] Figure 2 Flowchart for improving Kepler optimization algorithm;

[0065] Figure 3 Flowchart of optimizing the GATv2-Linformer model for IKOA;

[0066] Figure 4 It is the GATv2-Linformer model block. DETAILED DESCRIPTION

[0067] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0068] like Figure 1 As shown, the present invention provides a method for evaluating and predicting factors affecting electric vehicle charging load based on combined weights, comprising the following steps:

[0069] (1) Obtain the historical charging load data of electric vehicles in three charging scenarios: urban residential areas, commercial areas, and industrial parks in advance, pre-process the load data, obtain the annual load curve, and divide the pre-processed charging load data; obtain the historical charging load data of the three scenarios at the same time every day in urban residential areas, commercial areas, and industrial parks, clean the obtained historical charging load of electric vehicles to prevent data errors caused by equipment instability, system failures, etc.; draw the annual load curve according to the time sequence of the historical charging load data.

[0070] Since the date type has a huge impact on the charging load and is not conducive to sorting and prediction, the present invention divides the obtained historical data into three types, namely, working day charging load data, non-working day charging load data and holiday charging load data, and divides the three types of charging load data into training set 1, training set 2 and test set, respectively, and divides the charging load data into training set 1, training set 2 and test set, with a ratio of 6:2:2.

[0071] (2) Construct an index system of factors affecting charging load prediction under different scenarios, calculate the index combination weights through subjective weights and improved entropy weight method, and use the characteristic values ​​of factors with higher weights as input and charging load as output;

[0072] (2.1) Establish an influencing index system under multiple scenarios. In view of the different influencing factors of charging load in different scenarios, construct a combined weight index based on subjective weight and objective weight, and analyze the weight of each influencing factor in different scenarios. In view of the different situations of urban residential areas, commercial areas and industrial parks, five factors that have a greater impact on the charging load are selected. There are more factors that affect the prediction of electric vehicle charging load. The present invention gives priority to the factors that have a greater impact on the prediction of charging load in the studied area, namely temperature, precipitation, charging mode, number of charging piles and number of electric vehicles. The characteristics of each influencing factor are used as input values, and the charging load is used as the output value. Obtain the data of each influencing factor. Since the scale and order of magnitude of each type of data are different, the data of each influencing factor are normalized. Enable the learning model to converge when the gradient model descends, and at the same time improve the prediction accuracy.

[0073] (2.2) Subjective weights are determined by expert experience. The subjective weights are weighted based on comprehensive research data and experience. The weights of influencing factors are shown in the following table:

[0074]

[0075]

[0076] The numbers 1.0-2.2 represent the degree of influence of each influencing factor on the charging load prediction.

[0077] (2.3) The objective weight is calculated by the improved entropy weight method. On the basis of the original entropy weight method, the information entropy principle is introduced. The information entropy calculation formula is:

[0078]

[0079] Where p(j) is the probability of event j occurring and N is the total number of samples.

[0080] Calculate the weight index of each influencing factor, the calculation formula is:

[0081]

[0082] in is the mean value of information entropy not equal to 1, H j is the information entropy value corresponding to the jth parameter;

[0083] The entropy weight is calculated by the weight index:

[0084]

[0085] The index a is subjectively defined as 8, The information entropy weight is calculated using the entropy value for the traditional information entropy weight.

[0086] (2.4) Based on the multiple factors affecting charging load prediction, the combined weight index is constructed as follows:

[0087]

[0088] where α j It is a subjective weight.

[0089] (3) Construct a GATv2-Linformer hybrid prediction model; introduce the graph attention mechanism of GATv2 into the Linformer attention layer to construct a GATv2-Linformer hybrid prediction model, such as Figure 4 shown.

[0090] (3.1) Compared with the original GAT, GATv2 is able to calculate dynamic attention, which means that for each query node, the attention function is not monotonic with respect to the neighbor scores, but can vary depending on the query node. This dynamic feature enables the model to better adapt to the representation and learning of different types of node features. GATv2 modifies the order of operations based on GAT.

[0091]

[0092] Where || represents the concatenation operation, w gat represents the shared weight matrix, h i,t Represents the characteristics of the node, a T is the attention kernel function, L is the activation function, α ij,t is the weight coefficient at time t.

[0093] Compared with GAT, GATv2 first performs feature concatenation and then multiplies it with the weight matrix when calculating the weight coefficient. In order to enhance learning ability, a multi-head attention mechanism is adopted:

[0094]

[0095] Among them, W k is the learning parameter, α ij,k is the learned weight coefficient, σ is any activation function, It is the feature vector obtained by summing up the single-head attention coefficients.

[0096] (3.2) Linformer is a variant of transformer. It uses linear attention mechanism instead of traditional self-attention mechanism based on classic transformer. The main idea of ​​linear attention mechanism is to project the original input sequence into a low-dimensional subspace, calculate the relevance score in this subspace, and then map the score back to the original space. In this way, the linear attention mechanism can reduce the computational complexity while retaining the relevance information between sequences. The time complexity of transformer self-attention mechanism is O(n 2 ), the calculation method is:

[0097]

[0098] Among them, Q, K, and V all come from the input features themselves, and their dimensions are n*d, W Q , W K , W V is the learned matrix, QW Q ∈R n ×d , KW K ∈R n×d 、VW V ∈R n×d , where n is the sequence length and d is the hidden dimension, then the calculation of softmax() here will be O(n 2 ), this complexity is not friendly to long sequence prediction.

[0099] Linformer adds two k×n matrices E and F to the attention calculation, so that the n-order attention is reduced to a fixed k-dimensional matrix:

[0100]

[0101] Furthermore, we can reduce the number of parameters, that is, let E = F, and subjectively define the dimension of k as 128.

[0102] (4) Based on the Kepler optimization algorithm KOA, multiple improvement strategies are integrated to obtain IKOA, and IKOA is used to optimize the parameters of the GATv2-Linformer prediction model; Figure 3 As shown, the objective function of the Kepler optimization algorithm is set as the learning parameters of GATv2 in the GATv2-Linformer model, the number of encoding and decoding layers of Linformer, and these three parameters are used as the input of the algorithm, and the upper and lower limits are set; the fitness value is the training set error index;

[0103] (4.1) Figure 2As shown in the figure, the initialization of the original Kepler optimization algorithm is random initialization, so the population distribution is random, which easily causes KOA to fall into the local optimum. The present invention uses the good point set strategy initialization instead of the original random initialization:

[0104]

[0105] Its deviation satisfies:

[0106]

[0107] Where P n (k) is a set of good points, r is a good point, n is the number of points, C(r, δ) is a constant that is only related to r and δ, δ is an arbitrarily small positive number, p is the smallest prime number that satisfies (p-3) / 2>s, s represents the dimension, upper represents the upper bound, and lower represents the lower bound.

[0108] (4.2) Initialize the orbital eccentricity e and orbital period T, and use the sobol sequence to initialize the orbital eccentricity e of the algorithm:

[0109]

[0110] Where S i is the i-th random number generated by the sobol sequence, S i ∈[0, 1], r is a random number that conforms to the normal distribution.

[0111] (4.3) The speed of celestial bodies is affected by the gravity of the sun. When a planet approaches the sun, the gravity increases, and the planet increases its speed to prevent being pulled toward the sun. Conversely, when it moves away from the sun, the gravity decreases, and the speed of the planet slows down. The relationship is as follows:

[0112]

[0113] M=(r3×(1-r4)+r4) (15)

[0114]

[0115]

[0116] Among them, V i (t) is the speed required for i to reach the new position; X i is the planet position, X a , X b represents a solution randomly selected from the population, represents a solution R randomly selected from the population i-norm (t) is R i Normalization, R iis the Euclidean distance between the planet and the sun; F is a sign to change the search direction; μ(t) is a constant that decreases with time to control the search accuracy; a i Represents celestial body m i The semi-major axis of the elliptical orbit; M s 、m i represents the mass of the sun and planets; L represents the step size; r3 and r4 are randomly generated values ​​ranging from 0 to 1; r5 is a vector containing random values ​​between 0 and 1; is a vector; is the vector form of M, where M represents mass;

[0117] (4.4) Update the planetary positions:

[0118]

[0119] in, Represents universal gravitation, r1 is a randomly generated value between 0 and 1, the purpose of which is to provide more variations for the gravitational value during the optimization process.

[0120] (4.5) Update the distance between the planet and the sun:

[0121]

[0122] Among them, h is a parameter that changes with time and determines whether the algorithm focuses on optimizing the development operator or the exploration operator.

[0123] (4.6) The algorithm uses an elite strategy in position update:

[0124]

[0125] Introducing Cauchy mutation in the position update strategy increases population diversity, improves the global search capability of the algorithm, and expands the search space:

[0126] x newbest =x best +x best ×Cauchy(0,1) (25)

[0127] Calculate the fitness value of the latest position of the planet, update the global optimal solution in the iterative process, take the position of the planet corresponding to the optimal fitness value as the output, and update the learning parameters of the GATv2-Linformer prediction model, the number of encoding layers and decoding layers of Linformer.

[0128] (5) Build the XGBoost error correction model;

[0129] (5.1) Use the XGBoost algorithm to build an error prediction model. The core idea of ​​XGBoost is to gradually improve the prediction performance of the model by connecting multiple decision trees in series:

[0130]

[0131] Among them, x i represents the i-th sample, f k (x) is the calculation result of the kth tree model, and n is the number of decision trees. Compared with GBDT, XGBoost has made some processing in the loss function and objective function. The objective function is as follows:

[0132]

[0133] Where l() is the loss function; Ω() is the regularization term, representing the complexity of the tree; y i is the true value of the observation, is the predicted value, K is the total number of trees in the algorithm; g, h i It is known in the algorithm process; γ and λ represent parameters; T represents the number of leaf nodes, ω j Represents the weight of the j-th leaf node.

[0134] (5.2) Constructing XGBoost error prediction model:

[0135] Prepare the data set of training set 2, define the parameters of the XGBoost error prediction model, including the maximum number of iterations, the depth of the tree, the number of trees, and the learning rate; use the training set to train the XGBoost model. During the training process, the model will gradually learn how to fit the data, and optimize the prediction effect in each round of iteration, reach the maximum number of iterations, and output the optimal prediction value. In the model parameters, the present invention sets the maximum number of iterations to 1000, the number of trees to 150, the depth of the tree to 3, and the learning rate to 0.1.

[0136] (6) The improved GATv2-Linformer prediction model and XGBoost error correction model are used to obtain the initial prediction value and error prediction value respectively. The prediction error value is used to correct the generated prediction value to obtain a more accurate electric vehicle charging load prediction result.

[0137] (6.1) Use the data from training set 1 and the improved Kepler optimization algorithm IKOA to optimize the parameters of the GATv2-Linformer prediction model;

[0138] (6.2) Use the GATv2-Linformer prediction model to predict the charging load prediction value of training set 2, and make a difference with the true value of training set 2 to obtain an error sequence, and use the error sequence to train the XGBoost error prediction model;

[0139] (6.3) Based on the GATv2-Linformer prediction model and the XGBoost error prediction model, the initial prediction value and error correction value of the test set data are obtained, and the final charging load prediction value is added together.

Claims

1. A method for evaluating and predicting factors affecting electric vehicle charging load based on combined weights, characterized in that: The steps include: (1) Obtain the historical charging load data of electric vehicles in three charging scenarios: urban residential areas, commercial areas, and industrial parks, preprocess the load data, obtain the annual load curve, and divide the preprocessed charging load data; (2) Construct an index system of factors affecting charging load prediction under different scenarios, calculate the index combination weights through expert experience and improved entropy weight method, and use the characteristic values ​​of factors with higher weights as input and charging load as output; (3) Introduce the graph attention mechanism of GATv2 into the Linformer attention layer and build a GATv2-Linformer hybrid prediction model; (4) Based on the Kepler optimization algorithm KOA, multiple improvement strategies are integrated to obtain IKOA, and IKOA is used to optimize the parameters of the GATv2-Linformer prediction model; (5) Build the XGBoost error correction model; (6) The improved GATv2-Linformer prediction model and XGBoost error correction model are used to obtain the initial prediction value and error prediction value respectively. The prediction error value is used to correct the generated prediction value to obtain a more accurate electric vehicle charging load prediction result.

2. The method for evaluating and predicting electric vehicle charging load influencing factors based on combined weights according to claim 1 is characterized in that: The step (1) divides the obtained historical data into three types, namely, working day charging load data, non-working day charging load data and holiday charging load data, and divides the three types of charging load data into training set 1, training set 2 and test set respectively.

3. The method for evaluating and predicting the influencing factors of electric vehicle charging load based on combined weights according to claim 1 is characterized in that: The step (2) comprises: (2.1) Establish an impact index system for multiple scenarios. Considering the different factors affecting charging load in different scenarios, a combined weight index based on expert experience and improved entropy weight method is constructed to analyze the weights of various influencing factors in different scenarios: (2.2) Weight indicators based on expert experience are weighted by comprehensive research data and experience; (2.3) Weight index based on improved entropy weight method Based on the original entropy weight method, the information entropy principle is introduced, and the information entropy calculation formula is: Where p(j) is the probability of event j occurring and N is the total number of samples. Calculate the weight index of each influencing factor, the calculation formula is: in is the mean value of information entropy not equal to 1, H j is the information entropy value corresponding to the jth parameter; The entropy weight is calculated by the weight index: where the index a is defined as 8, The information entropy weight is calculated using the entropy value for the traditional information entropy weight. (2.4) Based on the multiple factors affecting charging load prediction, the combined weight index is constructed as follows: where α j It is a subjective weight.

4. The method for evaluating and predicting electric vehicle charging load influencing factors based on combined weights according to claim 1 is characterized in that: The step (3) GATv2 is to modify the order of operations based on GAT, which is expressed as: Among them, || represents the splicing operation, w gat represents the shared weight matrix, h i,t Represents the characteristics of the node, a T is the attention kernel function, L is the activation function, α ij,t is the weight coefficient at time t; When calculating the weight coefficient, GATv2 first concatenates the features and then multiplies them by the weight matrix, using a multi-head attention mechanism: Among them, W k To learn the parameters, is the feature vector obtained by summing up the single-head attention coefficients, α ij,k is the learned weight coefficient, and σ is an arbitrary activation function.

5. The method for evaluating and predicting the influencing factors of electric vehicle charging load based on combined weights according to claim 1 is characterized in that: In step (3), the Linformer attention layer represents adding two k×n matrices E and F to the attention calculation, so that the n-order attention is reduced to a fixed k-dimensional matrix: Reduce the number of parameters, that is, let E = F, and define the dimension of k as 128.

6. The method for evaluating and predicting electric vehicle charging load influencing factors based on combined weights according to claim 1 is characterized in that: The step (4) of optimizing the GATv2-Linformer prediction model parameters using IKOA comprises: (4.1) Use the good point set strategy initialization instead of the original random initialization: Its deviation satisfies: Where P n (k) is a set of good points, r is a good point, n is the number of points, C(r, δ) is a constant related only to r and δ, δ is an arbitrarily small positive number, p is the smallest prime number satisfying (p-3) / 2>s, s represents the dimension, upper represents the upper bound, and lower represents the lower bound; (4.2) Using the elite strategy in position update: Introducing Cauchy mutation in the position update strategy increases population diversity, improves the global search capability of the algorithm, and expands the search space: x newbest =x best +x best ×Cauchy(0,1) Calculate the fitness value of the latest position of the planet, update the global optimal solution in the iterative process, take the position of the planet corresponding to the optimal fitness value as the output, and update the learning parameters of the GATv2-Linformer prediction model, the number of encoding layers and decoding layers of Linformer.

7. The method for evaluating and predicting electric vehicle charging load influencing factors based on combined weights according to claim 1, characterized in that: The step (5) uses the XGBoost algorithm to build an error prediction model. XGBoost gradually improves the prediction performance of the model by connecting multiple decision trees in series: Among them, x i represents the i-th sample, f k (x) is the calculation result of the kth tree model, n is the number of decision trees, and XGBoost performs some processing in the loss function and objective function. The objective function is as follows: Among them, l() is the loss function; Ω() is the regularization term, representing the complexity of the tree; y i is the true value of the observation, is the predicted value, K is the total number of trees in the algorithm; g, h i It is known in the algorithm process; γ and λ represent parameters; T represents the number of leaf nodes, ω j Represents the weight of the j-th leaf node.

8. The method for evaluating and predicting electric vehicle charging load influencing factors based on combined weights according to claim 1, characterized in that: The step (5) comprises: (5.1) Prepare the dataset of training set 2 and define the parameters of the XGBoost error prediction model, including the maximum number of iterations, tree depth, number of trees, and learning rate; (5.2) Use the training set to train the XGBoost model. During the training process, the model will gradually learn how to fit the data and optimize the prediction effect in each round of iteration to reach the maximum number of iterations and output the optimal prediction value.

9. The method for evaluating and predicting the influencing factors of electric vehicle charging load based on combined weights according to claim 8, characterized in that: The maximum number of iterations is 1000, the number of trees is set to 150, the depth of the tree is set to 3, and the learning rate is 0.

1.

10. The method for evaluating and predicting electric vehicle charging load influencing factors based on combined weights according to claim 1, characterized in that: The step (6) comprises: (6.1) Use the data from training set 1 and the improved Kepler optimization algorithm IKOA to optimize the parameters of the GATv2-Linformer prediction model; (6.2) Use the GATv2-Linformer prediction model to predict the charging load prediction value of training set 2, and make a difference with the true value of training set 2 to obtain an error sequence, and use the error sequence to train the XGBoost error prediction model; (6.3) Based on the GATv2-Linformer prediction model and the XGBoost error prediction model, the initial prediction value and error correction value of the test set data are obtained, and the final charging load prediction value is added together.

Citation Information

Patent Citations

  • Short-term Load Forecasting Method Based on TCN and IPSO-LSSVM Combined Model

    AU2020104000A4

  • Urban power grid emergency capacity assessment method

    CN104123681A

  • Electric vehicle charging network operation economic benefit evaluation method

    CN111091309A

  • Short-term power load prediction method for optimizing XGBoost based on prey of hunter

    CN116187582A

  • Electric vehicle charging load prediction method

    CN116667326A

Cited By

  • Error detection method for electric vehicle charging equipment in high-temperature area

    CN119224673A

  • Battery energy storage health state assessment method and system

    CN119310487A

  • Residual endurance mileage estimation method constructed based on equivalent operation condition of vehicle-mounted hydrogen system

    CN119598161A

  • Machine learning-based concentrator error calibration method

    CN119691703A

  • Wireless charging control method and system based on vehicle controller

    CN119705126A