Method for predicting power grid load rate by using GAT-LSTMSTSTGCN-MLP double-space-time diagram model

By constructing a dual spatiotemporal graph model of GAT-LSTM & STGCN-MLP and integrating the multi-objective error inverse method to calculate weights, the instability problem of power grid load rate prediction in existing technologies is solved, and stable and accurate prediction is achieved in complex environments.

CN118899829AActive Publication Date: 2024-11-05HUBEI CENT CHINA TECH DEV OF ELECTRIC POWER +1

Patent Information

Application Number
CN202410936221.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-05
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

Existing multi-objective power grid load factor prediction methods are insufficient in considering the error differences between various objectives and the stability of models during holidays, resulting in instability in practical applications.

Method used

A dual spatiotemporal graph model, GAT-LSTM & STGCN-MLP, is used for power grid load rate prediction. By constructing a dual spatiotemporal graph multi-objective algorithm model, the GAT-LSTM and STGCN-MLP spatiotemporal graph algorithm networks are integrated. The weights are calculated using the inverse multi-objective error method and then weighted and fused to construct a dual spatiotemporal graph multi-objective prediction model.

Benefits of technology

Maintaining stable predictions under complex and ever-changing holiday conditions enhances the model's robustness and stability, reduces error differences between various objectives, and improves the reliability and accuracy of predictions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118899829A_ABST
    Figure CN118899829A_ABST
Patent Text Reader

Abstract

The invention provides a method and a device for detecting the temperature of a battery. The invention discloses a method for predicting the load rate of a power grid through an STGCN-MLP double-space-time diagram model. The method comprises the steps that load data and weather data of a target area are acquired from a data medium station and a meteorological website; data cleaning is carried out on obtained load data and weather data of the target area, the load data comprises dates and load rates of villages and towns in the target area, and the weather data comprises dates and air temperature of the target area; performing feature engineering processing on the data subjected to data cleaning to obtain a plurality of dimension data; constructing a double-space-time diagram multi-target algorithm model based on the GAT-LSTM space-time diagram algorithm network and the STGCN-MLP space-time diagram algorithm network; and inputting the obtained data of a plurality of dimensions into the double-space-time diagram multi-target algorithm model for prediction to obtain a load rate prediction result of subordinate villages and towns in the target area. According to the method, stable prediction can still be kept under various complex and changeable festivals, and the model stability is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence algorithms, and specifically to a method for predicting power grid load rate by using a GAT-LSTM&STGCN-MLP dual spatiotemporal graph model. Background Art

[0002] The load rate of the power grid is one of the important indicators of power grid safety. If overload or other phenomena occur, the burden on the power grid will be increased, the probability of power outages will be increased, and the power consumption of residents and enterprises will be affected. The present invention takes the S region as the observation object and truly predicts the daily load rate of the 8 towns under the S region.

[0003] Since it involves the prediction of multiple targets (i.e., the load rates of multiple towns), the single-target cyclic prediction method is too time-consuming and is therefore not considered. The existing multi-target prediction method has been expanded from the initial pure time series level to the space-time graph level (time series + space). However, most of the existing single space-time graph algorithms only consider the final error, but do not consider whether the difference in errors between each target is too large. At the same time, the model error is not stable enough when encountering holidays, which is not conducive to practical application. Summary of the invention

[0004] In order to solve the above-mentioned deficiencies in the prior art, the present invention proposes a dual-space-time graph multi-objective prediction model GAT-LSTM&STGCN-MLP to predict the power grid load rate, which has strong anti-interference ability.

[0005] A method for predicting power grid load rate using a GAT-LSTM&STGCN-MLP dual spatiotemporal graph model comprises the following steps:

[0006] Step 1: Obtain the target area load data and weather data from the data center and meteorological website;

[0007] Step 2: Clean the load data and weather data of the target area obtained in step 1, wherein the load data includes the date and the load rate of the townships in the target area, and the weather data includes the date and the temperature of the target area;

[0008] Step 3: Perform feature engineering on the data cleaned in step 2 to obtain data of several dimensions;

[0009] Step 4: Construct a dual space-time graph multi-objective algorithm model based on the GAT-LSTM space-time graph algorithm network and the STGCN-MLP space-time graph algorithm network;

[0010] Step 5: Input the dimensional data obtained in step 3 into the dual-space-time graph multi-objective algorithm model for prediction, and obtain the load rate prediction results of the townships under the target area.

[0011] Furthermore, step three specifically includes:

[0012] Split the original temperature into the highest temperature and the lowest temperature, and transform them. The formula is as follows:

[0013] Maximum temperature 1 = Maximum temperature +50

[0014] Lowest temperature 1=lowest temperature +50

[0015] The load rate, maximum temperature 1, and minimum temperature 1 of the townships under the target area are standardized from 0 to 1.

[0016] Furthermore, step four specifically includes:

[0017] Set up the GAT-LSTM spatiotemporal graph algorithm network: Construct the graph structure required by the GAT algorithm, including graph nodes and edges. Each township in the target area is set as a graph node, and the highest temperature 1 and the lowest temperature 1 are added as virtual townships to become two nodes. Perform Pearson correlation on the graph nodes in pairs, and take the correlation greater than 0.5 as the edge between the two graph nodes. If the correlation between the two nodes is less than 0.5, there is no connecting edge between the two graph nodes.

[0018] Set up the STGCN-MLP spatiotemporal graph algorithm network: First, set up the STGCN, which consists of two spatiotemporal graph convolution blocks and an output fully connected layer. The whole process first passes through the time gate convolution layer, then the spatial graph convolution layer, and finally the time gate convolution layer;

[0019] Based on the GAT-LSTM space-time graph algorithm network and the STGCN-MLP space-time graph algorithm network, a dual space-time graph multi-objective algorithm model is constructed: the mape error of all township load rates Y of GAT-LSTM and the mape error of all township load rates Y of STGCN-MLP are calculated according to the historical prediction results; the weights of all township load rates Y of GAT-LSTM and the weights of all township load rates Y of STGCN-MLP are calculated according to the historical errors, and the sum of the two weights of each group is 1; the results of the new date are predicted based on the GAT-LSTM space-time graph algorithm network and the STGCN-MLP space-time graph algorithm network, and they are weighted according to the weights respectively, and a set of township load rate results and errors are output, and finally the overall error and balance are calculated.

[0020] The present invention proposes a method for predicting power grid load rate by using the GAT-LSTM&STGCN-MLP dual space-time graph model. The dual space-time graph multi-objective algorithm model is constructed based on the GAT-LSTM space-time graph algorithm network and the STGCN-MLP space-time graph algorithm network. The model can maintain stable prediction under various complex and changeable festival conditions, thereby enhancing the stability of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flow chart of a method for predicting power grid load rate using the GAT-LSTM&STGCN-MLP dual spatiotemporal graph model of the present invention;

[0022] Figure 2 It is a topological network structure diagram of the GAT according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] See also Figure 1 , the embodiment of the present invention provides a method for predicting power grid load rate by using GAT-LSTM&STGCN-MLP dual spatiotemporal graph model ( Figure 1 The left side of the figure shows the multi-target prediction model GAT-LSTM, and the right side shows STGCN-MLP), which includes the following steps:

[0025] Step 1. Obtain the load data and weather data of the target area (for example, region S) from the data center and meteorological website. The load data includes the date and the load rate of the eight townships under region S, and the weather data includes the date and the temperature in region S. The period of the load data and weather data is region S 20220101-20230731, and the time granularity is daily.

[0026] Step 2: Clean the load data and weather data obtained in step 1, including:

[0027] (1) Deletion of outliers: By previewing the data, it is found that the load rate of the data from 20220101 to 20220110 is abnormally high, about 10 times that of the latter, so it is deleted;

[0028] (2) Missing value processing: There are two types of missing values ​​in the embodiment of the present invention: one is data directly missing, and the other is marked as " / N". First, all " / N" are replaced with vacancies, and then all vacancies are filled using the mean filling method.

[0029] (3) Numerical processing: The load factor calculation has been generated in the database, but it needs to be converted from decimal form to percentage form;

[0030] (4) Data splicing: horizontally splice the load data and weather data according to date.

[0031] Step 3: Perform feature engineering on the data cleaned in step 2 to obtain data of several dimensions. The specific process is as follows:

[0032] Split the temperature and transform it. Split the original temperature into the highest temperature and the lowest temperature, and transform them. The formula is as follows:

[0033] Maximum temperature 1 = Maximum temperature +50

[0034] Lowest temperature 1=lowest temperature +50

[0035] The 0-1 standardization of the features, the load rate of townships 1 to 8, the highest temperature 1, the lowest temperature 1 and the other 10 variables are standardized by 0-1. After the temperature transformation in the previous stage, the lowest temperature 1 field no longer has negative numbers, which does not affect the standardization results.

[0036] Step 4: Build the GAT-LSTM&STGCN-MLP model, which is divided into 3 parts: ① Set up the GAT-LSTM network, and then use the several-dimensional data obtained in step 3 for training and prediction; ② Set up the STGCN-MLP network, and then use the several-dimensional data obtained in step 3 for training and prediction; ③ Fusion of the two; ① and ② are performed simultaneously.

[0037] The specific process of step 4 is as follows:

[0038] (1) Setting up the GAT-LSTM spatiotemporal graph algorithm network

[0039] The spatiotemporal graph network GAT-LSTM consists of two parts: GAT and LSTM. The first is to construct the graph structure required by the GAT algorithm, including the nodes and edges of the graph. In the process of constructing the graph node, there are 8 towns in the embodiment of the present invention, each town is set as a graph node, a total of 8 graph nodes, plus the highest temperature and the lowest temperature as virtual towns to become 2 nodes, a total of 10 nodes. Then, the 8 graph nodes are Pearson correlated in pairs, and the correlation greater than 0.5 is taken as the edge between the two graph nodes. If the correlation between the two nodes is less than 0.5, there is no connecting edge between the two graph nodes. Since the economic activities between the 8 towns under the S region are closely connected, the daily load rates between the towns are also closely related, and the Spearman correlations are all greater than 0.5, that is, each graph node has 7 edges. In addition, each node has an attention score to measure the degree of association between it and its neighboring nodes. These attention scores are obtained through learning and can be dynamically adjusted according to the characteristics between the nodes. Figure 2 It is the topological network structure of GAT, with a total of 10 nodes, of which nodes 0-7 represent the 8 towns in area S, and nodes 8-9 represent the highest and lowest temperatures.

[0040] Subsequently, the data is passed to the bidirectional long short-term memory network LSTM. The features extracted by the graph attention network at different times are input into the long short-term memory neural network in a time series manner to learn the time features, using ReLU as the activation function, batch_size as 30, 14 consecutive days as a history cycle, and 8 fully connected layers as the synchronous output of the daily load rates of 8 towns every day, and daily single-step cycle rolling prediction.

[0041] (2) Setting up the STGCN-MLP spatiotemporal graph algorithm network

[0042] The spatiotemporal graph network STGCN-MLP consists of STGCN and MLP. First, set up STGCN, which consists of two spatiotemporal graph convolution blocks (ST-ConvBlock) and an output fully connected layer (OutputLayer). The whole process first passes through the time gate convolution layer, then the spatial graph convolution layer, and finally the time gate convolution layer. The two TemporalGated-Convs use 1-D convolution, which is similar to CNN processing one-dimensional time series signals, that is, convolution in the time domain dimension; SpatialGraph-Conv performs convolution in the spatial domain, and the model is GCN; finally, the fully connected layer outputs the result through the MLP multi-layer perceptron network.

[0043] The STGCN-MLP algorithm is mainly implemented through the PyGTemporal library of pytorch. The core of the STGCN algorithm is constructed by calling two ST-ConvBlocks, and then the MLP network is connected to the fully connected layer to form the STGCN-MLP algorithm. The input_size of the input sequence is set to 8, the sequence length seq_len is 14, the learning rate lr is 0.008, and the output sequence output_size is 1, and daily single-step cyclic rolling prediction is performed.

[0044] (3) Construct a dual space-time graph multi-objective algorithm model based on the GAT-LSTM space-time graph algorithm network and the STGCN-MLP space-time graph algorithm network.

[0045] The dual spatiotemporal graph multi-objective prediction algorithm model is the key point of the present invention, and its core is to fuse two single spatiotemporal graph multi-objective prediction algorithms. Different from the fusion of two single-objective time domain algorithms, this method is relatively mature; but for the fusion of two single spatiotemporal graph multi-objective algorithms, there is still a blank. The embodiment of the present invention proposes for the first time to fuse two single spatiotemporal graph multi-objective algorithms based on the multiobjective error reciprocal method, which can be divided into three major steps:

[0046] 1. Calculate the historical errors respectively. According to the historical prediction results, calculate the mape errors of the load rates Y of the eight towns and villages of GAT-LSTM and the mape errors of the load rates Y of the eight towns and villages of STGCN-MLP;

[0047] 2. Calculate weights. Calculate the weights of the 8 Ys of GAT-LSTM and the 8 Ys of STGCN-MLP based on historical errors. The sum of the two weights of each group is 1. For example, the sum of the weights of Y1 (load rate of township 1) of the two algorithms is 1, and the sum of the weights of Y2 (load rate of township 2) of the two algorithms is also 1. Similarly, the sum of the weights of Y8 (load rate of township 8) of the two algorithms is also 1.

[0048] 3. Calculate the final error and balance of the fusion model. The two algorithms predict the results of the new date respectively, weight them according to the weights, output a set of results and errors of Y1 to Y8, and finally calculate the overall error and balance.

[0049] The specific derivation formula is as follows:

[0050]

[0051] Where n represents which multi-objective prediction algorithm, here n=1 represents GAT-LSTM, n=2 represents STGCN-MLP, i represents the number of prediction targets, since the S region of the present invention has 8 towns, the range of i here is 1-8, t represents the true value, p represents the predicted value, e represents the error, and y represents the result, for example: e ni represents the error of the i-th prediction target of algorithm n, y nit represents the predicted value of y for the i-th algorithm n, y nip Represents the true value of the i-th y of algorithm n.

[0052] When n=1, the weights of each target of GAT-LSTM are:

[0053]

[0054] When n=2, the weights of each target of STGCN-MLP are:

[0055]

[0056] Substituting (1) into (2) and (3), we can obtain (4) and (5):

[0057]

[0058] W 1i Represents the weight of GAT-LSTM at target i, such as W 11refers to the weight of GAT-LSTM in Y1, W 2i Represents the weight of STGCN-MLP on target i.

[0059] Combined with the actual prediction results of each k-day, since the prediction is for 7 days, the range of k here is [1,7], and the final prediction value is weighted and calculated according to the dynamic weight value:

[0060]

[0061] Where W 1,i That is, formula (4), W 1,i,k represents the weight of the predicted target i of GAT-LSTM on the kth day. The range of target i is [1,8]. For example, W 1,1,1 f1 is the weight of the GAT-LSTM prediction target Y1 on the first day; i,k It refers to the new predicted value of the prediction target i of the GAT-LSTM algorithm on the kth day. The above process is the same as the STGCN-MLP algorithm.

[0062] Establish the objective function and calculate the F of each objective. i Find the mean and get the overall error F:

[0063]

[0064] Substituting equation (6) into equation (7), the final overall error F is:

[0065]

[0066] Here the final overall error where Y true,i,k is the true value of target i on the kth day. Represents the 7-day average error of the 8 prediction targets of the dual space-time graph model.

[0067] In addition, it is not comprehensive to use only one or the same type of indicators to evaluate the entire model. The concept of balance is proposed for the first time here, using the inverse of the standard deviation as the calculation method, represented by B:

[0068]

[0069] Where N represents the number of samples. Here, there are 8 Y, i.e., 8 mape error samples, so N is 8. i is the mape error value of each sample, i is 8, and u is the mean mape error value of these samples.

[0070] It should be noted that the overall error and error balance are independent of each other and evaluate the model from different perspectives. Overall error: used to evaluate the overall quality of the model prediction. The more stable the overall error is, the better (it cannot fluctuate), and the lower the better. Balance: used to evaluate the quality of the prediction errors of each target of the model. The higher the balance is, the better. This model is mainly used in actual production environments, so it has high reliability and stability.

[0071] The error balance can be expressed by the derivation of some statistical indicators, such as the reciprocal of the standard deviation, the reciprocal of the variance, etc. If the standard deviation or variance is directly used as the balance, its value is basically between the percentile and the thousandth percentile, which is very unfavorable for comparative observation. The specific method to be adopted depends on the actual distribution of the data. In the data of the embodiment of the present invention, it is more appropriate to use the reciprocal of the standard deviation as the calculation method, but it does not mean that the error balance is always equal to the reciprocal of the standard deviation.

[0072] The smaller the change of the overall error F from month to month, the smaller the monthly error fluctuation is, and the more stable the model is. The balance degree B is used to measure whether the error difference between each target Y is too large. The smaller B is, the greater the error difference between each Y is. Under the premise that each township (ie Y) is equally important, the load rate of these townships with large errors will be masked by the average value, which is unfavorable. To give a more extreme example, the error of Y1 in January and the error of Y2 in a multi-target model is 5%, and the error of Y1 in February is 1%, and the error of Y2 is 9%. If you only look at the overall error F, it is 5% for these two months, which makes the model look very stable, but in fact, the error of the load rate of Y2 in February is masked. The purpose of the prediction is to facilitate early warning, which may lead to wrong decisions in the Y2 area next.

[0073] Step 5: Substitute data for execution, which can be divided into 4 parts.

[0074] (1) Taking July as an example, GAT-LSTM is used for prediction. The data set is 20220101-20230630. The first 6 parts and the middle 2 parts of 6:2:2 are taken as training sets, and the last 2 parts are used as calibration sets. The next step is the actual prediction: the last time series segment of the data set (the number is 14) is used for rolling cycle prediction, and the newly generated row of data (a total of 8 columns, representing Y1~Y8) is added to the data set. The prediction is repeated 7 times, and the final data is the original data set + 7 days of new data. These 7 days are the prediction results of 20230701-20230707 (structure is 7*8).

[0075] (2) Taking July as an example, STGCN-MLP is used for prediction. The dataset and process are exactly the same as above.

[0076] (3) Calculate weights. Take the prediction results of the calibration set stage to calculate the errors of the 8 Ys of GAT-LSTM and the 8 Ys of STGCN-MLP, and calculate the weights (2 groups of 7*8). These weights are required for the fusion model.

[0077] (4) Prediction. With the prediction results (2 groups of 7*8) and weights (2 groups of 7*8) of the two algorithms on 20230701-20230707, the prediction results (1 group of 7*8) are obtained according to the weights, and then compared with the actual results to calculate the final overall error and balance.

[0078] Result analysis:

[0079] Take 20220101-20230531 as training test, and make actual predictions for 20230601-20230607; Algorithm 1 is GAT-LSTM, Algorithm 2 is STGCN-MLP, Township 1-Township 8 is to calculate the error and average error between the predicted value and the actual value of each target, the balance is the inverse of the standard deviation of the township 1 error-township 8 error (see formula 9 in step 6.5), the fusion model is GAT-LSTM&STGCN-MLP and does not participate in this prediction. The results are shown in Table 1:

[0080] Table 1 June forecast results

[0081]

[0082] Take 20220101-20230630 as training test, and make actual predictions for 20230701-20230707; Algorithm 1 is GAT-LSTM, Algorithm 2 is STGCN-MLP; Fusion model GAT-LSTM&STGCN-MLP The error generation weights of the two algorithms in June in the above table (see formula 1-formula 5 in step 6.5), and weighted according to the prediction results generated by the two algorithms from 0701 to 0707 (see formula 7 in step 6.5), get the prediction error of the fusion model from 0701 to 0707 (see formula 8 in step 6.5), the calculation of balance is the same as above, and the results are shown in Table 2:

[0083] Table 2 July forecast results

[0084]

[0085] Take 20220101-20230731 as training test, and make actual predictions for 20230801-20230807. The calculation methods of fusion model error, average error and balance are the same as above and will not be elaborated. The results are shown in Table 3:

[0086] Table 3 Forecast results for August

[0087]

[0088] From the above results, we can see that if a single spatiotemporal graph algorithm is used for multi-target prediction, the results fluctuate greatly in different months. For example, the errors of GAT-LSTM in June, July, and August were 8.8%, 12%, and 13.7%, respectively, and the errors of STGCN-MLP in June, July, and August were 11.4%, 6.3%, and 9.7%, respectively. The average error fluctuates greatly, which is very unfavorable for use in production environments.

[0089] However, when using dual-time-space graphs for multi-target prediction, the model results have become significantly more stable, with the errors of GAT-LSTM&GCN-MLP in July and August being 9% and 10.1% respectively. At the same time, combined with the balance, the balance of the fusion model in July and August was 22.2 and 24.1, and the balance was improved. This shows that compared with the multi-target prediction of a single-time-space graph in different months, the dual-time-space graph model has not only a more stable overall error in different months, but also relatively stable errors for each target (there is no small error in a certain target Y1 that lowers the overall average error, and it can remain stable in different months).

[0090] Comparing Table 2 and Table 3, we can see that the error of the dual spatiotemporal graph fusion model in July and August was 9% and 10.1% respectively, and the error was relatively stable, but the error of the single spatiotemporal graph fluctuated greatly. For example, the error of GAT-LSTM was 12% in July and 13.7% in August; the error of STGCN-MLP was 6.3% in July and 9.7% in August. This continuous and stable multi-target fusion model has strong anti-interference ability and can maintain stable prediction (not only the overall target error is stable, but also the error of each target is stable) in various complex and changeable situations such as holidays and emergencies, which is conducive to practical application in production environments.

[0091] The embodiment of the present invention proposes the concept of error balance, which is used to measure whether the error difference between each Y of the multi-objective prediction algorithm is too large (to avoid the large "rich-poor gap" in the error between targets); the embodiment of the present invention proposes a dual-space-time graph multi-objective prediction model GAT-LSTM&STGCN-MLP, which has strong anti-interference ability and can maintain stable prediction under various complex and changeable holiday conditions, thereby enhancing the stability of the model.

[0092] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for predicting power grid load rate using a GAT-LSTM&STGCN-MLP dual spatiotemporal graph model, characterized in that: The steps include: Step 1: Obtain the target area load data and weather data from the data center and meteorological website; Step 2: Clean the load data and weather data of the target area obtained in step 1, wherein the load data includes the date and the load rate of the townships in the target area, and the weather data includes the date and the temperature of the target area; Step 3: Perform feature engineering on the data cleaned in step 2 to obtain data of several dimensions; Step 4: Construct a dual space-time graph multi-objective algorithm model based on the GAT-LSTM space-time graph algorithm network and the STGCN-MLP space-time graph algorithm network; Step 5: Input the dimensional data obtained in step 3 into the dual-space-time graph multi-objective algorithm model for prediction, and obtain the load rate prediction results of the townships under the target area.

2. The method for predicting power grid load rate using the GAT-LSTM&STGCN-MLP dual spatiotemporal graph model as claimed in claim 1, characterized in that: Step three specifically includes: Split the original temperature into the highest temperature and the lowest temperature, and transform them. The formula is as follows: Maximum temperature 1 = Maximum temperature +50 Lowest temperature 1=lowest temperature +50 The load rate, maximum temperature 1, and minimum temperature 1 of the townships under the target area are standardized from 0 to 1.

3. The method for predicting power grid load rate using the GAT-LSTM&STGCN-MLP dual spatiotemporal graph model as claimed in claim 1, characterized in that: Step 4 specifically includes: Set up the GAT-LSTM spatiotemporal graph algorithm network: Construct the graph structure required by the GAT algorithm, including graph nodes and edges. Each township in the target area is set as a graph node, and the highest temperature 1 and the lowest temperature 1 are added as virtual townships to become two nodes. Perform Pearson correlation on the graph nodes in pairs, and take the correlation greater than 0.5 as the edge between the two graph nodes. If the correlation between the two nodes is less than 0.5, there is no connecting edge between the two graph nodes. Set up the STGCN-MLP spatiotemporal graph algorithm network: First, set up the STGCN, which consists of two spatiotemporal graph convolution blocks and an output fully connected layer. The whole process first passes through the time gate convolution layer, then the spatial graph convolution layer, and finally the time gate convolution layer; Based on the GAT-LSTM space-time graph algorithm network and the STGCN-MLP space-time graph algorithm network, a dual space-time graph multi-objective algorithm model is constructed: the mape error of all township load rates Y of GAT-LSTM and the mape error of all township load rates Y of STGCN-MLP are calculated according to the historical prediction results; the weights of all township load rates Y of GAT-LSTM and the weights of all township load rates Y of STGCN-MLP are calculated according to the historical errors, and the sum of the two weights of each group is 1; the results of the new date are predicted based on the GAT-LSTM space-time graph algorithm network and the STGCN-MLP space-time graph algorithm network, and they are weighted according to the weights respectively, and a set of township load rate results and errors are output, and finally the overall error and balance are calculated.

Citation Information

Patent Citations

  • Regional wind power generation power prediction method and system based on multi-scale double-space-time network

    CN116451873A

  • Multi-wind power plant power prediction method based on attention space-time synchronization graph convolutional network

    CN117498296A

  • Load prediction method based on GCN-CBAM-BiGRU combination model

    CN117526316A

  • Electric vehicle short-term charging load prediction method based on LSTM-GNN combination model

    CN118070841A

Cited By

  • Snow melting runoff determination method and device, computer equipment and storage medium

    CN120145806A

  • Method and device for improving robustness of photovoltaic prediction of multi-task space-time diagram fusion model

    CN120449932A

  • Regional distributed photovoltaic power prediction method, device and equipment based on multi-site space-time correlation

    CN121663480A