Power grid bus load component decomposition method, device, equipment and storage medium

By processing historical data and prediction parameters through the bidirectional GRU neural network model, the error problem caused by weather and policy factors in bus load component decomposition is solved, achieving more accurate load decomposition and supporting effective regulation of bus load.

CN118552344APending Publication Date: 2024-08-27CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +3
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410485899.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2024-08-27

Smart Images

  • Figure CN118552344A
    Figure CN118552344A
Patent Text Reader

Abstract

The invention belongs to the technical field of power system load analysis, and particularly relates to a power grid bus load component decomposition method, device and equipment and a storage medium. The method comprises the following steps: acquiring prediction parameters including the proportion of various loads in the bus load at the current moment, and an air temperature value, a meteorological value and a date type at the next moment; inputting the prediction parameters into the trained bidirectional GRU neural network model to obtain the proportion of various loads in the bus load at the next moment; multiplying the proportion of each type of load in the bus load at the next moment by the bus load value to obtain a decomposition value of each type of load; and outputting decomposition values of various loads. According to the method, the decomposition value of each type of load at the next moment is predicted through the historical proportion sequence of each type of load and the corresponding historical air temperature value, historical meteorological value and date type, the influence of weather environment and policy factors on bus load component decomposition is eliminated, and measurement and calculation errors are reduced; and meanwhile, a pure data driving method is utilized, a bidirectional GRU neural network model is adopted to measure and calculate the proportion of various loads in the bus load, and a foundation is laid for further analysis of the adjustment capability of the bus load.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power system load analysis, and in particular relates to a method, device, equipment and storage medium for decomposing power grid bus load components. Background Art

[0002] The rapid development of flexible and adjustable resources on the load side, such as electric vehicles, temperature-controlled loads, industrial and commercial loads, and residential loads, as well as load aggregators, integrated energy service providers, and virtual power plants, can significantly increase the adjustable resources of the power grid. These load resources are aggregated to the medium-voltage bus, and the load data is mainly reported to the control center as a whole in units of bus load. The regulation capabilities of various loads are constantly changing and have different characteristics. It is necessary to accurately decompose the load components gathered on the bus in order to further decompose the regulation capabilities of the bus load and implement effective aggregation calculations. Therefore, the component analysis of the bus load is crucial.

[0003] At present, most of the research on load component analysis focuses on residential buildings, which are non-invasive load decomposition at the appliance level. However, bus loads are significantly different from residential loads, and such methods cannot be directly transplanted to bus load decomposition.

[0004] In the existing technology, most studies are to make an overall prediction of the changing trend of bus load, and there are few methods for component analysis and component decomposition of bus load. In addition, the existing load component calculation method is to first extract the typical day load curve, and then use the calculation formula to calculate the proportion of various types of loads in the bus load. However, the load is affected by weather environment and policy factors, and is usually different from a typical day. Therefore, the calculation result will have a certain error. Summary of the invention

[0005] The purpose of the present invention is to provide a method, device, equipment and storage medium for decomposing the bus load components of a power grid, so as to solve the problem that in the existing bus load component decomposition method, the load is affected by weather environment and policy factors, and the measurement results have errors.

[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0007] In a first aspect, the present invention provides a method for decomposing power grid bus load components, comprising the following steps:

[0008] Obtain forecast parameters, including the current ratio of various loads to bus load, temperature value at the next moment, meteorological value and date type;

[0009] The prediction parameters are input into the trained bidirectional GRU neural network model to obtain the proportion of each type of load to the bus load at the next moment;

[0010] Multiply the proportion of each type of load to the bus load at the next moment by the bus load value to obtain the decomposed value of each type of load;

[0011] Output the decomposed values ​​of various loads;

[0012] The trained bidirectional GRU neural network model is obtained by the following steps:

[0013] Obtain historical data, including: historical load proportion series, historical temperature value series, historical meteorological value series and historical date type series;

[0014] A bidirectional GRU neural network model is established using historical data, and the bidirectional GRU neural network model is trained to obtain a trained bidirectional GRU neural network model.

[0015] Optionally, in the step of obtaining historical data, the historical proportion sequences of various loads are obtained by the following steps:

[0016] According to the type of bus load, obtain the historical data of various loads and obtain the historical matrix sequence of various loads:

[0017]

[0018] Among them: a ij is the sampling value of the i-th type of load at time j, i∈1,2,…,n, j∈1,2,…,m; n is the number of load types; m is the number of sampling points of each type of load;

[0019] The proportion of each type of load history matrix sequence is calculated to obtain the historical proportion sequence of each type of load:

[0020]

[0021] Where: b ij is the proportion of the i-th type of load to the bus load at time j, and the calculation formula is as follows:

[0022]

[0023] Optionally, in the step of obtaining historical data, the historical temperature value sequence is obtained by the following steps:

[0024] Obtain historical temperature data, normalize the historical temperature data, and obtain a historical temperature sequence. The normalization formula is as follows:

[0025]

[0026] Where: t j is the sampled value of the temperature at time j; t j' is the historical temperature value before normalization at time j; t max is the highest historical temperature value obtained; t min The lowest historical temperature value obtained;

[0027] The historical temperature value sequence is composed of temperature value sampling values;

[0028] The historical meteorological value sequence and the historical date type sequence are obtained by the following steps:

[0029] Get historical meteorological value data and historical date type data;

[0030] The historical meteorological value data and historical date type data are mapped to random values ​​between (0, 1) respectively, and the historical meteorological value sequence is obtained as follows:

[0031] P=[p1,p2,…,p j ]

[0032] Where: p j is the meteorological sampling value at time j;

[0033] The historical date type sequence is as follows:

[0034] D=[d1,d2,…,d j ]

[0035] Where: d j The date type value at time j.

[0036] Optionally, the steps of using historical data to establish a bidirectional GRU neural network model, training the bidirectional GRU neural network model, and obtaining a trained bidirectional GRU neural network model specifically include:

[0037] The input sequence is obtained based on historical data. The formula is as follows:

[0038] I=[b 1j ,b 2j ,…,b ij ,t j+1 ,p j+1 ,d j+1 ]

[0039] Where: t j+1 is the sampled value of the temperature at time j+1; p j+1 is the meteorological sampling value at time j+1; d j+1 The date type value at time j+1;

[0040] The output label is obtained based on historical data. The formula is as follows:

[0041] O=[b 1(j+1),b 2(j+1) ,…,b i(j+1) ]

[0042] Where: b i(j+1) is the proportion of the i-th type of load to the bus load at time j+1;

[0043] Establishing a bidirectional GRU neural network model and training the bidirectional GRU neural network model specifically includes the following steps: dividing historical data into a training set and a validation set, inputting the input sequence in the training set into the bidirectional GRU neural network model, performing reverse gradient descent calculation after comparing the output result with the corresponding output label, and correcting the parameters of the bidirectional GRU neural network model;

[0044] The bidirectional GRU neural network model is verified using the corresponding input sequence and output label in the validation set, and finally a trained bidirectional GRU neural network model is obtained.

[0045] In a second aspect, the present invention provides a power grid bus load component decomposition device, comprising:

[0046] The data acquisition module is used to obtain the prediction parameters, including the proportion of various loads to the bus load at the current moment, the temperature value at the next moment, the meteorological value and the date type;

[0047] The data processing module is used to input the prediction parameters into the trained bidirectional GRU neural network model to obtain the proportion of each type of load to the bus load at the next moment;

[0048] A calculation module is used to multiply the proportion of each type of load to the bus load at the next moment by the bus load value to obtain the decomposed value of each type of load;

[0049] Output module, used to output the decomposed values ​​of various loads;

[0050] Wherein, in the data processing module, the trained bidirectional GRU neural network model is obtained by the following steps:

[0051] Obtain historical data, including: historical load proportion series, historical temperature value series, historical meteorological value series and historical date type series;

[0052] A bidirectional GRU neural network model is established using historical data, and the bidirectional GRU neural network model is trained to obtain a trained bidirectional GRU neural network model.

[0053] Optionally, in the step of obtaining historical data, the historical proportion sequences of various loads are obtained by the following steps:

[0054] According to the type of bus load, obtain the historical data of various loads and obtain the historical matrix sequence of various loads:

[0055]

[0056] Among them: a ij is the sampling value of the i-th type of load at time j, i∈1,2,…,n, j∈1,2,…,m; n is the number of load types; m is the number of sampling points of each type of load;

[0057] The proportion of each type of load history matrix sequence is calculated to obtain the historical proportion sequence of each type of load:

[0058]

[0059] Where: b ij is the proportion of the i-th type of load to the bus load at time j, and the calculation formula is as follows:

[0060]

[0061] Optionally, in the step of obtaining historical data, the historical temperature value sequence is obtained by the following steps:

[0062] Obtain historical temperature data, normalize the historical temperature data, and obtain a historical temperature sequence. The normalization formula is as follows:

[0063]

[0064] Where: t j is the sampled value of the temperature at time j; t j ' is the historical temperature value before normalization at time j; t max is the highest historical temperature value obtained; t min The lowest historical temperature value obtained;

[0065] The historical temperature value sequence is composed of temperature value sampling values;

[0066] The historical meteorological value sequence and the historical date type sequence are obtained by the following steps:

[0067] Get historical meteorological value data and historical date type data;

[0068] The historical meteorological value data and historical date type data are mapped to random values ​​between (0, 1) respectively, and the historical meteorological value sequence is obtained as follows:

[0069] P=[p1,p2,…,p j ]

[0070] Where: p j is the meteorological sampling value at time j;

[0071] The historical date type sequence is as follows:

[0072] D=[d1,d2,…,d j ]

[0073] Where: d j The date type value at time j.

[0074] Optionally, the steps of using historical data to establish a bidirectional GRU neural network model, training the bidirectional GRU neural network model, and obtaining a trained bidirectional GRU neural network model specifically include:

[0075] The input sequence is obtained based on historical data. The formula is as follows:

[0076] I=[b 1j ,b 2j ,…,b ij ,t j+1 ,p j+1 ,d j+1 ]

[0077] Where: t j+1 is the sampled value of the temperature at time j+1; p j+1 is the meteorological sampling value at time j+1; d j+1 The date type value at time j+1;

[0078] The output label is obtained based on historical data. The formula is as follows:

[0079] O=[b 1(j+1) ,b 2(j+1) ,…,b i(j+1) ]

[0080] Where: b i(j+1) is the proportion of the i-th type of load to the bus load at time j+1;

[0081] Establishing a bidirectional GRU neural network model and training the bidirectional GRU neural network model specifically includes the following steps: dividing historical data into a training set and a validation set, inputting the input sequence in the training set into the bidirectional GRU neural network model, performing reverse gradient descent calculation after comparing the output result with the corresponding output label, and correcting the parameters of the bidirectional GRU neural network model;

[0082] The bidirectional GRU neural network model is verified using the corresponding input sequence and output label in the validation set, and finally a trained bidirectional GRU neural network model is obtained.

[0083] In a third aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the method for decomposing power grid bus load components.

[0084] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the method for decomposing the load components of a power grid bus is implemented.

[0085] Compared with the prior art, the present invention has the following beneficial effects:

[0086] The present invention provides a method, device, equipment and storage medium for decomposing power grid bus load components, the method comprising:

[0087] Obtain prediction parameters, including the proportion of each type of load in the bus load at the current moment, the temperature value, meteorological value and date type at the next moment; input the prediction parameters into the trained bidirectional GRU neural network model to obtain the proportion of each type of load in the bus load at the next moment; multiply the proportion of each type of load in the bus load at the next moment by the bus load value to obtain the decomposition value of each type of load; output the decomposition value of each type of load;

[0088] The trained bidirectional GRU neural network model is obtained by the following steps:

[0089] Obtain historical data, including: historical proportion series of various loads, historical temperature value series, historical meteorological value series and historical date type series; use historical data to establish a bidirectional GRU neural network model, train the bidirectional GRU neural network model, and obtain a trained bidirectional GRU neural network model.

[0090] The method of the present invention predicts the decomposition value of each type of load at the next moment through the historical proportion sequence of each type of load and the corresponding historical temperature value, historical meteorological value, and date type, eliminates the influence of weather environment and policy factors on the decomposition of bus load components, and reduces the measurement error; at the same time, a pure data-driven method is used to adopt a bidirectional GRU neural network model to calculate the proportion of each type of load in the bus load, laying the foundation for further analysis of the regulation capacity of the bus load. BRIEF DESCRIPTION OF THE DRAWINGS

[0091] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0092] Figure 1 This is a flow chart of a method for decomposing power grid bus load components according to the present invention;

[0093] Figure 2 This is a structural diagram of a power grid bus load component decomposition device of the present invention;

[0094] Figure 3 The present invention is a structural block diagram of an electronic device. DETAILED DESCRIPTION

[0095] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0096] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.

[0097] Example 1

[0098] See also Figure 1 As shown, the present invention provides a method for decomposing power grid bus load components, which specifically includes the following steps:

[0099] Get historical data, including:

[0100] 1) The historical proportion series of various loads are obtained through the following steps:

[0101] According to the type of bus load, the historical data of various loads are obtained, and the historical matrix sequences of various loads are obtained as follows:

[0102]

[0103] Among them: a ij is the sampling value of the i-th type of load at time j, i∈1,2,…,n, j∈1,2,…,m; n is the number of load types; m is the number of sampling points of each type of load;

[0104] The proportion of each type of load history matrix sequence is calculated, and the historical proportion sequence of each type of load is obtained as follows:

[0105]

[0106] Where: b ij is the proportion of the i-th type of load to the bus load at time j, and the calculation formula is as follows:

[0107]

[0108] 2) The historical temperature value sequence is obtained through the following steps:

[0109] Obtain historical temperature data and normalize the historical temperature data. The formula is as follows:

[0110]

[0111] Where: t j is the sampled value of the temperature at time j; t j ' is the historical temperature value before normalization at time j; t max is the highest historical temperature value obtained; t min The lowest historical temperature value obtained;

[0112] After processing, we get the historical temperature value sequence: T = [t1, t2, ..., t j ].

[0113] 3) The historical meteorological value sequence is obtained through the following steps:

[0114] Obtain historical meteorological value data, perform numerical processing on the historical meteorological value data, and map it to a random value between (0, 1). The same meteorological value is mapped to the same value, and different meteorological values ​​are mapped to different values, thereby obtaining a historical meteorological value sequence: P = [p1, p2, ..., p j ], where: p j is the meteorological sampling value at time j;

[0115] The meteorological values ​​include: normal climate, rain, snow, high temperature, extreme cold, etc.

[0116] 4) The historical date type sequence is obtained by the following steps:

[0117] Obtain historical date type data, perform numerical processing on the historical date type data, and map it to a random value between (0, 1). The same date type is mapped to the same value, and different date types are mapped to different values, thereby obtaining a historical date type sequence: D = [d1, d2, ..., d j ], where: d j The date type value at time j;

[0118] The date types include working days and holidays.

[0119] The input sequence and output label are formed based on historical data. The formula is as follows:

[0120] Input sequence: I = [b 1j ,b 2j ,…,b ij ,t j+1 ,p j+1 ,d j+1 ]

[0121] Where: b ij is the proportion of the i-th type of load to the bus load at time j; t j+1 is the sampled value of the temperature at time j+1; p j+1 is the meteorological sampling value at time j+1; d j+1 The date type value at time j+1;

[0122] Output label: O = [b 1(j+1) ,b 2(j+1) ,…,b i(j+1) ]

[0123] Where: b i(j+1) It is the proportion of the i-th type of load to the bus load at time j+1.

[0124] Construct a bidirectional GRU neural network model, including:

[0125] The bidirectional GRU neural network model uses one fully connected layer as the input layer; two bidirectional GRU neural networks are used as hidden layers to extract the characteristic rules of load time series change data; three fully connected layers are used as the output layer, and the sigmoid function is used as the activation function to classify each output into the (0, 1) interval to obtain the output result.

[0126] The bidirectional GRU neural network model is trained to obtain a trained bidirectional GRU neural network model, which specifically includes:

[0127] The historical data is divided into a training set and a validation set. The corresponding input sequence and output label in the training set are used to train the bidirectional GRU neural network model. The input sequence in the training set is input into the bidirectional GRU neural network model. After comparing the output result with the output label, reverse gradient descent calculation is performed to correct the parameters of the bidirectional GRU neural network model. The corresponding input sequence and output label in the validation set are used to verify the bidirectional GRU neural network model, and finally a trained bidirectional GRU neural network model is obtained.

[0128] The bus load components are decomposed using the trained bidirectional GRU neural network model, which specifically includes the following steps:

[0129] S1. Obtaining prediction parameters, the prediction parameters include: the proportion of various loads to bus load at the current moment, the temperature value at the next moment, the meteorological value and the date type;

[0130] S2. Input the prediction parameters into the trained bidirectional GRU neural network model to obtain the proportion of each type of load to the bus load at the next moment;

[0131] S3. multiply the proportion of each type of load to the bus load at the next moment by the bus load value to obtain the decomposed value of each type of load;

[0132] S4. Output the decomposed values ​​of various loads.

[0133] Example 2

[0134] See also Figure 2 As shown, the present invention provides a power grid bus load component decomposition device, specifically comprising:

[0135] The data acquisition module is used to obtain the prediction parameters, including the proportion of various loads to the bus load at the current moment, the temperature value at the next moment, the meteorological value and the date type;

[0136] The data processing module is used to input the prediction parameters into the trained bidirectional GRU neural network model to obtain the proportion of each type of load to the bus load at the next moment;

[0137] A calculation module is used to multiply the proportion of each type of load to the bus load at the next moment by the bus load value to obtain the decomposed value of each type of load;

[0138] Output module, used to output the decomposed values ​​of various loads;

[0139] Wherein, in the data processing module, the trained bidirectional GRU neural network model is obtained by the following steps:

[0140] Get historical data, including:

[0141] 1) The historical proportion series of various loads are obtained through the following steps:

[0142] According to the type of bus load, the historical data of various loads are obtained, and the historical matrix sequences of various loads are obtained as follows:

[0143]

[0144] Among them: a ij is the sampling value of the i-th type of load at time j, i∈1,2,…,n, j∈1,2,…,m; n is the number of load types; m is the number of sampling points of each type of load;

[0145] The proportion of each type of load history matrix sequence is calculated, and the historical proportion sequence of each type of load is obtained as follows:

[0146]

[0147] Where: b ij is the proportion of the i-th type of load to the bus load at time j, and the calculation formula is as follows:

[0148]

[0149] 2) The historical temperature value sequence is obtained through the following steps:

[0150] Obtain historical temperature data and normalize the historical temperature data. The formula is as follows:

[0151]

[0152] Where: t j is the sampled value of the temperature at time j; t j ' is the historical temperature value before normalization at time j; t max is the highest historical temperature value obtained; t min The lowest historical temperature value obtained;

[0153] After processing, we get the historical temperature value sequence: T = [t1, t2, ..., t j ].

[0154] 3) The historical meteorological value sequence is obtained through the following steps:

[0155] Obtain historical meteorological value data, perform numerical processing on the historical meteorological value data, and map it to a random value between (0, 1). The same meteorological value is mapped to the same value, and different meteorological values ​​are mapped to different values, thereby obtaining a historical meteorological value sequence: P = [p1, p2, ..., p j ], where: p j is the meteorological sampling value at time j;

[0156] The meteorological values ​​include: normal climate, rain, snow, high temperature, extreme cold, etc.

[0157] 4) The historical date type sequence is obtained by the following steps:

[0158] Obtain historical date type data, perform numerical processing on the historical date type data, and map it to a random value between (0, 1). The same date type is mapped to the same value, and different date types are mapped to different values, thereby obtaining a historical date type sequence: D = [d1, d2, ..., d j ], where: d j The date type value at time j;

[0159] The date types include working days and holidays.

[0160] The input sequence and output label are formed based on historical data. The formula is as follows:

[0161] Input sequence: I = [b 1j ,b 2j ,…,bij ,t j+1 ,p j+1 ,d j+1 ]

[0162] Where: b ij is the proportion of the i-th type of load to the bus load at time j; t j+1 is the sampled value of the temperature at time j+1; p j+1 is the meteorological sampling value at time j+1; d j+1 The date type value at time j+1;

[0163] Output label: O = [b 1(j+1) ,b 2(j+1) ,…,b i(j+1) ]

[0164] Where: b i(j+1) It is the proportion of the i-th type of load to the bus load at time j+1.

[0165] Construct a bidirectional GRU neural network model, including:

[0166] The bidirectional GRU neural network model uses one fully connected layer as the input layer; two bidirectional GRU neural networks are used as hidden layers to extract the characteristic rules of load time series change data; three fully connected layers are used as the output layer, and the sigmoid function is used as the activation function to classify each output into the (0, 1) interval to obtain the output result.

[0167] The bidirectional GRU neural network model is trained to obtain a trained bidirectional GRU neural network model, which specifically includes:

[0168] The historical data is divided into a training set and a validation set. The corresponding input sequence and output label in the training set are used to train the bidirectional GRU neural network model. The input sequence in the training set is input into the bidirectional GRU neural network model. After comparing the output result with the output label, reverse gradient descent calculation is performed to correct the parameters of the bidirectional GRU neural network model. The corresponding input sequence and output label in the validation set are used to verify the bidirectional GRU neural network model, and finally a trained bidirectional GRU neural network model is obtained.

[0169] Example 3

[0170] See also Figure 3 As shown, the present invention also provides an electronic device 100 for implementing a method for decomposing power grid bus load components; the electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on the at least one processor 102, and at least one communication bus 104.

[0171] The memory 101 can be used to store the computer program 103, and the processor 102 implements the steps of a method for decomposing the load components of a power grid bus described in Example 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101. The memory 101 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 101 can include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0172] The at least one processor 102 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 102 may be a microprocessor or any conventional processor, etc. The processor 102 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100.

[0173] The memory 101 in the electronic device 100 stores a plurality of instructions to implement a method for decomposing power grid bus load components, and the processor 102 can execute the plurality of instructions to implement:

[0174] Obtain forecast parameters, including the current ratio of various loads to bus load, temperature value at the next moment, meteorological value and date type;

[0175] The prediction parameters are input into the trained bidirectional GRU neural network model to obtain the proportion of each type of load to the bus load at the next moment;

[0176] Multiply the proportion of each type of load to the bus load at the next moment by the bus load value to obtain the decomposed value of each type of load;

[0177] Output the decomposed values ​​of various loads;

[0178] The trained bidirectional GRU neural network model is obtained by the following steps:

[0179] Obtain historical data, including: historical load proportion series, historical temperature value series, historical meteorological value series and historical date type series;

[0180] A bidirectional GRU neural network model is established using historical data, and the bidirectional GRU neural network model is trained to obtain a trained bidirectional GRU neural network model.

[0181] Example 4

[0182] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory).

[0183] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0184] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0185] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0186] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0187] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for decomposing power grid bus load components, characterized in that: The following steps are involved: Obtain forecast parameters, including the current ratio of various loads to bus load, temperature value at the next moment, meteorological value and date type; The prediction parameters are input into the trained bidirectional GRU neural network model to obtain the proportion of each type of load to the bus load at the next moment; Multiply the proportion of each type of load to the bus load at the next moment by the bus load value to obtain the decomposed value of each type of load; Output the decomposed values ​​of various loads; The trained bidirectional GRU neural network model is obtained by the following steps: Obtain historical data, including: historical load proportion series, historical temperature value series, historical meteorological value series and historical date type series; A bidirectional GRU neural network model is established using historical data, and the bidirectional GRU neural network model is trained to obtain a trained bidirectional GRU neural network model.

2. A method for decomposing power grid bus load components according to claim 1, characterized in that: In the step of obtaining historical data, the historical proportion sequences of various loads are obtained by the following steps: According to the type of bus load, obtain the historical data of various loads and obtain the historical matrix sequence of various loads: Among them: a ij is the sampling value of the i-th type of load at time j, i∈1,2,…,n, j∈1,2,…,m; n is the number of load types; m is the number of sampling points of each type of load; The proportion of each type of load history matrix sequence is calculated to obtain the historical proportion sequence of each type of load: Where: b ij is the proportion of the i-th type of load to the bus load at time j, and the calculation formula is as follows:

3. A method for decomposing power grid bus load components according to claim 2, characterized in that: In the step of obtaining historical data, the historical temperature value sequence is obtained by the following steps: Obtain historical temperature data, normalize the historical temperature data, and obtain a historical temperature sequence. The normalization formula is as follows: Where: t j is the sampled value of the temperature at time j; t j ' is the historical temperature value before normalization at time j; t max is the highest historical temperature value obtained; t min The lowest historical temperature value obtained; The historical temperature value sequence is composed of temperature value sampling values; The historical meteorological value sequence and the historical date type sequence are obtained by the following steps: Get historical meteorological value data and historical date type data; The historical meteorological value data and historical date type data are mapped to random values ​​between (0, 1) respectively, and the historical meteorological value sequence is obtained as follows: P=[p1,p2,…,p j ] Where: p j is the meteorological sampling value at time j; The historical date type sequence is as follows: D=[d1,d2,…,d j ] Where: d j The date type value at time j.

4. A method for decomposing power grid bus load components according to claim 3, characterized in that: The steps of using historical data to establish a bidirectional GRU neural network model, training the bidirectional GRU neural network model, and obtaining a trained bidirectional GRU neural network model specifically include: The input sequence is obtained based on historical data. The formula is as follows: I=[b 1j ,b 2j ,…,b ij ,t j+1 ,p j+1 ,d j+1 ] Where: t j+1 is the sampled value of the temperature at time j+1; p j+1 is the meteorological value sampling value at time j+1; d j+1 The date type value at time j+1; The output label is obtained based on historical data. The formula is as follows: O=[b 1(j+1) ,b 2(j+1) ,…,b i(j+1) ] Where: b i(j+1) is the proportion of the i-th type of load to the bus load at time j+1; Establishing a bidirectional GRU neural network model and training the bidirectional GRU neural network model specifically includes the following steps: dividing historical data into a training set and a validation set, inputting the input sequence in the training set into the bidirectional GRU neural network model, performing reverse gradient descent calculation after comparing the output result with the corresponding output label, and correcting the parameters of the bidirectional GRU neural network model; The bidirectional GRU neural network model is verified using the corresponding input sequence and output label in the validation set, and finally a trained bidirectional GRU neural network model is obtained.

5. A power grid bus load component decomposition device, characterized in that: include: The data acquisition module is used to obtain the prediction parameters, including the proportion of various loads to the bus load at the current moment, the temperature value at the next moment, the meteorological value and the date type; The data processing module is used to input the prediction parameters into the trained bidirectional GRU neural network model to obtain the proportion of each type of load to the bus load at the next moment; A calculation module is used to multiply the proportion of each type of load to the bus load at the next moment by the bus load value to obtain the decomposed value of each type of load; Output module, used to output the decomposed values ​​of various loads; Wherein, in the data processing module, the trained bidirectional GRU neural network model is obtained by the following steps: Obtain historical data, including: historical load proportion series, historical temperature value series, historical meteorological value series and historical date type series; A bidirectional GRU neural network model is established using historical data, and the bidirectional GRU neural network model is trained to obtain a trained bidirectional GRU neural network model.

6. A power grid bus load component decomposition device according to claim 5, characterized in that: In the step of obtaining historical data, the historical proportion sequences of various loads are obtained by the following steps: According to the type of bus load, obtain the historical data of various loads and obtain the historical matrix sequence of various loads: Among them: a ij is the sampling value of the i-th type of load at time j, i∈1,2,…,n, j∈1,2,…,m; n is the number of load types; m is the number of sampling points of each type of load; The proportion of each type of load history matrix sequence is calculated to obtain the historical proportion sequence of each type of load: Where: b ij is the proportion of the i-th type of load to the bus load at time j, and the calculation formula is as follows:

7. A power grid bus load component decomposition device according to claim 6, characterized in that: In the step of obtaining historical data, the historical temperature value sequence is obtained by the following steps: Obtain historical temperature data, normalize the historical temperature data, and obtain a historical temperature sequence. The normalization formula is as follows: Where: t j is the sampled value of the temperature at time j; t j ' is the historical temperature value before normalization at time j; t max is the highest historical temperature value obtained; t min The lowest historical temperature value obtained; The historical temperature value sequence is composed of temperature value sampling values; The historical meteorological value sequence and the historical date type sequence are obtained by the following steps: Get historical meteorological value data and historical date type data; The historical meteorological value data and historical date type data are mapped to random values ​​between (0, 1) respectively, and the historical meteorological value sequence is obtained as follows: P=[p1,p2,…,p j ] Where: p j is the meteorological sampling value at time j; The historical date type sequence is as follows: D=[d1,d2,…,d j ] Where: d j The date type value at time j.

8. A power grid bus load component decomposition device according to claim 7, characterized in that: The steps of using historical data to establish a bidirectional GRU neural network model, training the bidirectional GRU neural network model, and obtaining a trained bidirectional GRU neural network model specifically include: The input sequence is obtained based on historical data. The formula is as follows: I=[b 1j ,b 2j ,…,b ij ,t j+1 ,p j+1 ,d j+1 ] Where: t j+1 is the sampled value of the temperature at time j+1; p j+1 is the meteorological value sampling value at time j+1; d j+1 The date type value at time j+1; The output label is obtained based on historical data. The formula is as follows: O=[b 1(j+1) ,b 2(j+1) ,…,b i(j+1) ] Where: b i(j+1) is the proportion of the i-th type of load to the bus load at time j+1; Establishing a bidirectional GRU neural network model and training the bidirectional GRU neural network model specifically includes the following steps: dividing historical data into a training set and a validation set, inputting the input sequence in the training set into the bidirectional GRU neural network model, performing reverse gradient descent calculation after comparing the output result with the corresponding output label, and correcting the parameters of the bidirectional GRU neural network model; The bidirectional GRU neural network model is verified using the corresponding input sequence and output label in the validation set, and finally a trained bidirectional GRU neural network model is obtained.

9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement a method for decomposing power grid bus load components as claimed in any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, a method for decomposing power grid bus load components as described in any one of claims 1 to 4 is implemented.

Citation Information

Cited By

  • Bus load prediction method and system based on non-intrusive source load decomposition

    CN121261332A