A method for evaluating transmission section limit of power system based on transfer learning

By using a method based on transfer learning and combining historical and new samples to train the deep learning model, the problems of insufficient generalization and long update time of the deep learning model in the limit assessment of power system transmission section are solved, and more efficient model updates and updates are achieved. Accurate assessment results improve the safety of power system dispatching.

CN114818469BActive Publication Date: 2024-09-24TSINGHUA UNIVERSITY +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210293759.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-23
Publication Date
2024-09-24
Estimated Expiration
2042-03-23

AI Technical Summary

Technical Problem

The deep learning method based on the power system transmission section limit assessment has insufficient generalization, especially in rapidly changing operating scenarios, resulting in insufficient accuracy. In addition, the generation and labeling of new samples during the traditional model update process takes too long, making it difficult to meet the needs of rapid changes. Update requirements.

Method used

Using a method based on transfer learning, the deep learning model is trained by combining historical samples and new operating scenario samples, reducing the new sample labeling time required for model update, and improving the applicability of the model in new scenarios. Specific steps include determining historical samples and new sample sets, building a deep neural network model, and training the model through transfer learning to reduce update time.

Benefits of technology

It effectively reduces the number and time of annotated samples required to update the deep learning model to a new operating scenario, improves the accuracy of the model under the new operating scenario, and improves the safety and efficiency of power system dispatching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The present invention discloses a method for evaluating the transmission section limit of a power system based on transfer learning, the method comprising: determining a set of historical samples for characterizing the historical operating state of the power system and the limit transmission capacity label of a given transmission section; generating a preset number of power system operation sample sets with section TTC labels under a new operating scenario; constructing a deep neural network model for evaluating the transmission section limit of the power system; training the parameters to be determined of the deep neural network model and obtaining the trained deep neural network model according to transfer learning; and performing TTC prediction for a given transmission section of the power system. The present invention can significantly reduce the new sample annotation time required for updating the deep learning model, making the deep learning model suitable for the transmission section limit evaluation of the power system under new scenarios, while providing a dispatching basis for the power system operation dispatching personnel, thereby improving the safety of the power system dispatching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for evaluating power system transmission section limit based on transfer learning, and belongs to the technical field of power system safety analysis. Background Art

[0002] The power system is one of the largest energy systems. In the traditional way, system monitoring, safety analysis and system control are the three most important steps for dispatchers to maintain the safety and stability of the power system. Through system monitoring, dispatchers can obtain the latest information of the power grid in real time and directly determine whether the current power grid is in normal operation. Then, through safety analysis, the current operation of the power grid is estimated, and the weak links that may appear in the power grid in potential operation scenarios are detected based on the current operation scenario, mainly considering the N-1 fault situation. Finally, when the power system is judged to be in an abnormal situation, or a weak link appears in the potential operation scenario, the dispatcher needs to perform corresponding dispatch control to avoid safety problems in the power system. Complex power systems have a large number of operating states, and dispatchers cannot monitor them globally. The staff of the power system dispatch center usually pays attention to a series of transmission sections in the process of compiling the operation mode, formulating the stability limit and monitoring the dispatch station. The section that is more likely to exceed the limit is calculated and monitored. In the power grid security assessment, the evaluation of the total transfer capacity (TTC) of the transmission section is one of the most core links.

[0003] Deep learning methods have shown faster calculation speed and higher fitting accuracy in the problem of TTC assessment of transmission sections, and have been increasingly used in TTC assessment in recent years. However, TTC assessment based on deep learning methods has the problem of insufficient generalization when facing rapidly changing operation scenarios. When new scenarios appear during the operation of the power grid, the deep learning model trained based on historical scenarios may have insufficient accuracy. If a new model is retrained based on the traditional deep learning model training process, the time required to generate and label new samples is too long, which makes it difficult to meet the needs of rapid model updates. Summary of the invention

[0004] The purpose of the present invention is to propose a method for evaluating the transmission section limit of a power system based on transfer learning, and to combine the knowledge in historical samples and new operation scenario samples to train a deep learning model for evaluating the transmission section limit of a power system, which can greatly reduce the new sample annotation time required for updating the deep learning model, and make the deep learning model suitable for the evaluation of the transmission section limit of a power system in new scenarios.

[0005] The power system transmission section limit assessment method based on transfer learning proposed in the present invention comprises the following steps:

[0006] S1, determine the historical sample set used to characterize the historical operating state of the power system and the limit transmission capacity label of a given transmission section;

[0007] S2, generating a preset number of power system operation sample sets with section TTC labels under a new operation scenario;

[0008] S3, constructing a deep neural network model for power system transmission section limit assessment based on the power system operation sample set;

[0009] S4, training the required parameters of the deep neural network model according to transfer learning and obtaining a trained deep neural network model;

[0010] S5, using the trained deep neural network model to predict the TTC of a given transmission section of the power system.

[0011] The power system transmission section limit assessment method based on transfer learning proposed in the present invention adopts transfer learning technology, which can reduce the number of labeled samples required to update the deep learning model to a new operating scenario and reduce the model update time. It can be applied to the field of power system security assessment, improve the efficiency of updating the deep learning model for security assessment, improve the accuracy of the deep learning model in the new operating scenario, provide scheduling basis for power system operation and dispatch personnel, and improve the safety of power system dispatch.

[0012] In addition, the power system transmission section limit assessment method based on transfer learning according to the above embodiment of the present invention may also have the following additional technical features:

[0013] Further, as an embodiment of the present invention, the S1 includes: S1.1, collecting historical operation status data of the power system from the power system monitoring device to form the characteristic data vector x=[x l ,x b ], where x l represents the AC line active power flow characteristic vector in the power grid, x b represents the power flow state characteristic vector corresponding to other devices in the power grid, x is the characteristic vector; S1.2, for x l and x b To standardize.

[0014] Further, as an embodiment of the present invention, the S1.1 includes: S1.11, the active power flow characteristic vector x of the AC line of the power grid l The composition is:

[0015]

[0016] in, Represents the active power flow of the sth AC line. The subscript m is the total number of AC lines in the power system;

[0017] S1.12, the power flow state characteristic vector x corresponding to other power grid devices b The composition is:

[0018]

[0019] in, is the fth grid power flow state characteristic quantity in the grid operation state. The grid power flow state characteristic quantity is composed of generator active power, generator reactive power, generator terminal voltage amplitude, load node active power, load node reactive power and bus phase angle. The subscript p is the total number of system power flow state characteristic quantities.

[0020] Further, as an embodiment of the present invention, the S1.2 includes:

[0021] S1.21, for the sth grid AC line active power flow characteristic quantity, calculate the mean absolute error for all samples

[0022]

[0023] Where N is the number of samples of power system operation status collected in S1.1, is the active power flow characteristic of the AC line of the sth power system under the i-th operating state sample of the power system collected in S1.1, m s is the average value of the active power flow characteristic quantity of the AC line of the sth power system;

[0024] S1.22, for the power flow state characteristic quantity corresponding to the other equipment in the f-th power grid, calculate the mean absolute error for all samples

[0025]

[0026] in, is the power flow state characteristic quantity corresponding to the fth power system other equipment under the i-th operation state sample of the power system collected in S1.1, m f is the average value of the power flow state characteristic quantity corresponding to other equipment in the f-th power system;

[0027] S1.23, yes Standardize it, and record it as

[0028]

[0029] S1.24, yes Standardize it, and record it as

[0030]

[0031] S1.25, based on the sample mean absolute error calculation in S1.21 and the standardization method in S1.23, for the i-th grid operation state, the standardized grid AC line active power flow characteristic vector is obtained:

[0032]

[0033] S1.26, based on the sample mean absolute error calculation in S1.22 and the standardization method in S1.24, for the i-th grid operation state, the power flow state vector corresponding to other devices in the grid after standardization is obtained

[0034]

[0035] S1.27, combine the normalized grid AC line active power flow characteristic vector in S1.25 with the normalized power flow state vector corresponding to other grid devices in S1.26 to form a normalized grid operation state characteristic vector x′=(z l ,z b );

[0036] S1.28, based on the repeated power flow method, the limit transmission capacity P of the section corresponding to the i-th power system operation state is calculated TTCi , the limit transmission capacity P TTCi as the label corresponding to the feature vector of the i-th power system operating state;

[0037] S1.29, according to S1.27 and the limit transmission capacity P of S1.28 TTCi , forming a sample corresponding to the operating state of the i-th power system (P TTCi ;x ( ' i) );

[0038] S1.30 repeats the operations from S1.23 to S1.29 for all samples collected in S1.1, and forms a historical sample set S with all samples that pass through S1.23 to S1.29.

[0039] Further, as an embodiment of the present invention, the S2 includes:

[0040] S2.1, determine the future t in advance based on load forecast and generator maintenance plan information s Hours to te Boundary condition characteristic quantity of typical operation scenario of power system within one hour, t s With t e Manually determined by the power system dispatcher;

[0041] S2.2, the future t obtained based on S2.1 s Hours to t e The boundary condition characteristic quantities of the typical operation scenario of the power system within one hour are used to derive a new sample set T of the power system operation with section TTC labels under the new operation scenario.

[0042] Further, as an embodiment of the present invention, the S2.1 includes:

[0043] S2.11, based on load forecast information, determine the future t s Hours to t e Active and reactive boundary condition characteristic quantities of each load in the power system within one hour;

[0044] S2.12, based on the load forecast and generator maintenance plan information, determine the active and reactive output boundary condition characteristic quantities of each PQ node generator through computer group combination and economic dispatch model, and determine the active output and terminal voltage boundary condition characteristic quantities of each PV node generator.

[0045] Further, as an embodiment of the present invention, the S2.2 includes:

[0046] S2.21, the number of samples n included in the preset sample set T;

[0047] S2.22, make a random disturbance within ±20% for each load's active and reactive boundary condition characteristic quantity in S2.21;

[0048] S2.23, perform a random perturbation within ±20% on the active and reactive outputs of each PQ node generator and the active output boundary condition characteristic quantity of each PV node generator in S2.12, and perform a random perturbation within ±5% on the terminal voltage boundary condition characteristic quantity of each PV node generator;

[0049] S2.24, based on the power system boundary condition characteristic quantities obtained in S2.22 and S2.23, a power flow calculation is performed to obtain the remaining power flow state variables including voltage, reactive power, phase angle of each node in the power system, as well as the active power flow characteristic quantities of each AC line;

[0050] S2.25, combine the characteristic quantities obtained in S2.22, S2.23 and S2.24 to obtain the characteristic vector of the power system operation state, and standardize it according to the characteristic standardization process from S1.23 to S1.27, where the average absolute error of the active power flow characteristic quantity of the sth power grid AC line is And the mean absolute error of the power flow state characteristic quantity corresponding to other equipment in the fth power grid The values ​​are based on those of S1.21 and S1.22 respectively;

[0051] S2.26, based on the repeated power flow method, the limit transmission capacity P of the corresponding section under the boundary conditions of the power system obtained in S2.24 is calculated TTC , the limit transmission capacity P TTC as a label corresponding to the feature vector of the operating state of the power system;

[0052] S2.27, based on the characteristic vector obtained in S2.25 and the limit transmission capacity P obtained in S2.26 TTC , forming a power system operation sample with section TTC label under a new operation scenario, and incorporating it into the new sample set T;

[0053] S2.28, repeat S2.22 to S2.27 until the new sample set T contains n samples.

[0054] Further, as an embodiment of the present invention, the S3 includes:

[0055] S3.1, building a deep neural network model ξ d Input layer: Input the preprocessed power system operation characteristic data into the deep neural network model ξ d , and obtain the deep uncertainty neural network model ξ d An input layer, wherein the input layer is used to receive data input;

[0056] S3.2, build a deep neural network model ξ d s hidden layers: Deep neural network model ξ d It contains s hidden layers, where s is 4. The data obtained from the input layer is subjected to layer-by-layer data dimension reduction and high-order feature extraction using s hidden layers.

[0057] S3.3, building a deep neural network model ξ d The output layer: The output layer and the last hidden layer are fully connected. s The regression analysis is performed to output the TTC prediction value of each transmission section.

[0058] Further, as an embodiment of the present invention, the S4 includes:

[0059] S4.1, determine that the parameter set to be trained is B, including: the connection weight w between the j-th layer neuron and the j+1-th layer neuron j , the bias vector b from the jth layer neuron to the j+1th layer neuron j ;

[0060] S4.2, according to the sample number N of the historical sample set S and the sample number n of the new sample set T, determine the weight α=n / N of the new sample experience error in the training process in the optimization objective function;

[0061] S4.3, construct a deep neural network model ξ based on the weight α calculated in S4.2 d The optimization objective function for training is:

[0062]

[0063] in, is the deep neural network model ξ d The empirical error on the historical sample set S is: is the deep neural network model ξ d Empirical error on the new sample set T;

[0064] S4.4, based on the back propagation algorithm, on the training sample set consisting of the historical sample set S and the new sample set T, with the optimization objective function in S4.3 as the target, the parameter set B to be determined is trained to obtain the trained deep neural network model ξ for power system transmission section limit assessment d .

[0065] Further, as an embodiment of the present invention, the S5 includes:

[0066] S5.1, collecting the current operating state of the power system from the power system monitoring device, and forming a feature vector in the manner of S1.1, and preprocessing the power system feature vector using the data preprocessing method in S1.2;

[0067] S5.2, input the preprocessed data into the trained deep neural network model ξ d In the output, the TTC prediction value of a given transmission section of the power system is given.

[0068] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0070] Figure 1 The present invention is a flow chart of a method for evaluating power system transmission section limit based on transfer learning according to an embodiment of the present invention. DETAILED DESCRIPTION

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

[0072] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 should fall within the scope of protection of the present invention.

[0073] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0074] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0075] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0076] The following describes a method for evaluating power system transmission section limit based on transfer learning according to an embodiment of the present invention with reference to the accompanying drawings.

[0077] Figure 1 It is a flow chart of a method for evaluating power system transmission section limit based on transfer learning according to an embodiment of the present invention.

[0078] like Figure 1 As shown, the method includes but is not limited to the following steps:

[0079] Step S1, determining a historical sample set for characterizing the historical operating state of the power system and the limit transmission capacity label of a given transmission section.

[0080] Specifically, determine a historical sample set S for characterizing the historical operating state of the power system and the limit transmission capacity label of a given transmission section, where the transmission section is manually given by the power system dispatcher. The specific steps are as follows:

[0081] (1-1) Collect the historical operation status data of the power system from the power system monitoring device to form a feature data vector x=[x l ,x b ], where x l represents the AC line active power flow characteristic vector in the power grid, x b It represents the power flow state characteristic vector corresponding to other devices in the power grid. x is the characteristic vector. The specific construction method of x is as follows:

[0082] (1-1-1) Active power flow characteristic vector x of the AC line of the power grid l The specific composition is:

[0083]

[0084] in, Represents the active power flow of the sth AC line. The subscript m is the total number of AC lines in the power system;

[0085] (1-1-2) The power flow state characteristic vector x corresponding to other power grid devices b The specific composition is:

[0086]

[0087] in, is the fth power flow state characteristic quantity in the power grid operation state. The power flow state characteristic quantity is composed of the generator active power, generator reactive power, generator terminal voltage amplitude, load node active power, load node reactive power and bus phase angle. The subscript p is the total number of system power flow state characteristic quantities.

[0088] (1-2) for x l and x b The specific steps for standardization are:

[0089] (1-2-1) For the sth grid AC line active power flow characteristic quantity, calculate the mean absolute error for all samples

[0090]

[0091] Wherein, N is the number of samples of the power system operating status collected in step (1-1), is the active power flow characteristic of the AC line of the sth power system under the i-th operating state sample of the power system collected in (1-1), m s is the average value of the active power flow characteristic quantity of the AC line of the sth power system;

[0092] (1-2-2) For the power flow state characteristic quantity corresponding to other equipment in the f-th power grid, the mean absolute error is calculated for all samples.

[0093]

[0094] Wherein, N is the number of samples of the power system operating status collected in step (1-1), is the power flow state characteristic quantity corresponding to the fth power system other equipment under the i-th operation state sample of the power system collected in (1-1), m f is the average value of the power flow state characteristic quantity corresponding to other equipment in the f-th power system;

[0095] (1-2-3) Yes Standardize it, and record it as

[0096]

[0097] (1-2-4) Yes Standardize it, and record it as

[0098]

[0099] (1-2-5) Based on the sample mean absolute error calculation in (1-2-1) and the standardization method in (1-2-3), for the i-th grid operation state, the standardized grid AC line active power flow characteristic vector is obtained:

[0100]

[0101] (1-2-6) Based on the sample mean absolute error calculation in (1-2-2) and the standardization method in (1-2-4), for the i-th grid operation state, the power flow state vector corresponding to other grid devices after standardization is obtained:

[0102]

[0103] (1-2-7) The power grid AC line active power flow characteristic vector standardized in step (1-2-5) is combined with the power flow state vector corresponding to other power grid devices standardized in step (1-2-6) to form a standardized power grid operation state characteristic vector x′=(z l ,z b );

[0104] (1-2-8) Based on the repeated power flow method, the limit transmission capacity P of the section corresponding to the i-th power system operation state is calculated. TTCi , the limit transmission capacity P TTCi as the label corresponding to the feature vector of the i-th power system operating state;

[0105] (1-2-9) According to step (1-2-7) and the limit transmission capacity P of step (1-2-8) TTCi , forming a sample corresponding to the operating state of the i-th power system (P TTCi ; x′ (i) );

[0106] (1-2-10) Repeat steps (1-2-3) to (1-2-9) for all samples collected in step (1-1), and form a historical sample set S with all samples that have passed steps (1-2-3) to (1-2-9).

[0107] Step S2, generating a preset number of power system operation sample sets with section TTC labels under a new operation scenario.

[0108] Specifically, a small number of power system operation sample sets T with section TTC labels under a new operation scenario are generated. The specific steps include:

[0109] (2-1) Determine the future t in advance based on load forecast, generator maintenance plan and other information s Hours to t e Boundary condition characteristic quantity of typical operation scenario of power system within one hour, t s With t e Manually determined by the power system dispatcher:

[0110] (2-1-1) Determine the future t based on load forecast information sHours to t e Active and reactive boundary condition characteristic quantities of each load in the power system within one hour;

[0111] (2-1-2) According to the load forecast and generator unit maintenance plan information, the active and reactive output boundary condition characteristic quantities of each PQ node generator are determined through computer group combination and economic dispatch model, and the active output and terminal voltage boundary condition characteristic quantities of each PV node generator are determined;

[0112] (2-2) Based on the future t obtained in step (2-1) s Hours to t e The boundary condition characteristic quantities of the typical operation scenario of the power system within the hour are used to derive the new sample set T of the power system operation with section TTC labels under the new operation scenario:

[0113] (2-2-1) The power system dispatcher manually sets the number of samples n contained in the sample set T, and the value of n is generally small relative to N;

[0114] (2-2-2) Perform a random perturbation within ±20% on the active and reactive boundary condition characteristic quantities of each load in step (2-1-1);

[0115] (2-2-3) Perform a random perturbation within ±20% on the active and reactive outputs of each PQ node generator and the active output boundary condition characteristic quantity of each PV node generator in step (2-1-2), and perform a random perturbation within ±5% on the terminal voltage boundary condition characteristic quantity of each PV node generator;

[0116] (2-2-4) Based on the power system boundary condition characteristic quantities obtained in steps (2-2-2) and (2-2-3), a power flow calculation is performed to obtain the remaining power flow state variables including voltage, reactive power, and phase angle of each node in the power system, as well as the active power flow characteristic quantities of each AC line;

[0117] (2-2-5) Combine the characteristic quantities obtained in steps (2-2-2), (2-2-3) and (2-2-4) to obtain the characteristic vector of the power system operation state, and standardize it according to the characteristic standardization process of steps (1-2-3) to (1-2-7), where the mean absolute error of the active power flow characteristic quantity of the sth power grid AC line is And the mean absolute error of the power flow state characteristic quantity corresponding to other equipment in the fth power grid The values ​​are based on the values ​​of step (1-2-1) and step (1-2-2) respectively;

[0118] (2-2-6) Based on the repeated power flow method, the limit transmission capacity P of the corresponding section under the boundary conditions of the power system obtained in (2-2-4) is calculated. TTC , the limit transmission capacity P TTC as a label corresponding to the feature vector of the operating state of the power system;

[0119] (2-2-7) Based on the characteristic vector obtained in step (2-2-5) and the limit transmission capacity P obtained in step (2-2-6) TTC , forming a power system operation sample with section TTC label under a new operation scenario, and incorporating it into the new sample set T;

[0120] (2-2-8) Repeat steps (2-2-2) to (2-2-7) until the new sample set T contains n samples.

[0121] Step S3, based on the power system operation sample set, construct a deep neural network model for power system transmission section limit assessment.

[0122] Specifically, a deep neural network model ξ is constructed for power system transmission section limit assessment d , the specific steps include:

[0123] (3-1) Constructing a deep neural network model d The input layer is:

[0124] The pre-processed power system operation characteristic data is input into the deep neural network model ξ d , becoming a deep uncertainty neural network model ξ d The input layer is used to receive data input;

[0125] (3-2) Constructing a deep neural network model d The s hidden layers of:

[0126] Deep neural network modelξ d It contains s hidden layers. In this patent, s is taken as 4. The data obtained from the input layer is subjected to layer-by-layer data dimension reduction and high-order feature extraction using s hidden layers. The input of the first hidden layer h1 is the input layer x′ of the entire model, and the input of the wth hidden layer h w The input is h w-1 The output of the layer, w = 2,…,s, the number of hidden layers s and the number of neurons in each hidden layer are set according to the prediction accuracy requirements, and the number of neurons in each layer gradually decreases;

[0127] (3-3) Constructing a deep neural network model d The output layer is:

[0128] There is a fully connected relationship between the output layer and the last hidden layer. This layer connects the previous layer (h s ) and output the TTC prediction value of each transmission section.

[0129] Step S4: According to transfer learning, the parameters to be determined of the deep neural network model are trained to obtain a trained deep neural network model.

[0130] Specifically, based on the transfer learning method, a deep neural network model ξ for power system transmission section limit assessment is trained. d The parameters to be determined are used to obtain the deep neural network model ξ for power system transmission section limit assessment d , the specific steps are as follows:

[0131] (4-1) Determine the parameter set to be trained as B, which specifically includes:

[0132] The connection weight w between the jth layer neuron and the j+1th layer neuron j ;

[0133] The bias vector b from the jth layer neuron to the j+1th layer neuron j ;

[0134] (4-2) According to the sample size N of the historical sample set S and the sample size n of the new sample set T, determine the weight α=n / N of the new sample experience error in the training process in the optimization objective function;

[0135] (4-3) Construct a deep neural network model ξ based on the weight α calculated in step (4-2) d The optimization objective function for training is:

[0136]

[0137] in, is the deep neural network model ξ d The empirical error on the historical sample set S is: is the deep neural network model ξ d Empirical error on the new sample set T;

[0138] (4-4) Based on the back propagation algorithm, the optimization objective function in step (4-3) is used as the target on the training sample set composed of the historical sample set S and the new sample set T to train the parameter set B to obtain the trained deep neural network model ξ for power system transmission section limit assessment d .

[0139] Step S5, using the trained deep neural network model to predict the TTC of a given transmission section of the power system.

[0140] Specifically, the trained deep neural network model ξ for power system transmission section limit assessment is used. d To predict the TTC of a given transmission section of the power system, the specific steps are as follows:

[0141] (5-1) collecting the current operating status of the power system from the power system monitoring device, and forming a feature vector in the manner of (1-1), and preprocessing the power system feature vector using the data preprocessing method in step (1-2);

[0142] (5-2) Input the preprocessed data into the trained deep neural network model ξ d In the output, the TTC prediction value of a given transmission section of the power system is given.

[0143] According to the power system transmission section limit assessment method based on transfer learning proposed in the embodiment of the present invention, a deep neural network model for power system transmission section limit assessment is established, which can output the predicted value of the power system transmission section TTC. The present invention effectively compensates for this defect by introducing the transfer learning method, and can also be applied to the field of power system security analysis, which helps to improve the safety of power system dispatching.

[0144] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0145] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0146] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0147] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0148] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0149] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0150] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0151] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention without departing from the principles and purpose of the present invention.

Claims

1. A power system transmission section limit assessment method based on transfer learning, characterized in that: The following steps are involved: S1, determine the historical sample set used to characterize the historical operating state of the power system and the limit transmission capacity label of a given transmission section; S2, generating a preset number of power system operation sample sets with section TTC labels under a new operation scenario; S3, constructing a deep neural network model for power system transmission section limit assessment based on the power system operation sample set; S4, training the required parameters of the deep neural network model according to transfer learning and obtaining a trained deep neural network model; S5, using the trained deep neural network model to perform TTC prediction for a given transmission section of the power system; The S2 includes: S2.1, determine the future in advance based on load forecast and generator maintenance plan information Hours to The boundary condition characteristic quantities of the typical operation scenario of the power system within one hour, and Manually determined by the power system dispatcher; S2.2, the future based on S2.1 Hours to The boundary condition characteristic quantities of the typical operation scenario of the power system within the hour are used to derive a new sample set of power system operation with section TTC labels under the new operation scenario. T ; The S2.1 includes: S2.11, based on load forecast information, determine the future Hours to Active and reactive boundary condition characteristic quantities of each load in the power system within one hour; S2.12, according to the load forecast and generator maintenance plan information, determine the active and reactive output boundary condition characteristic quantities of each PQ node generator through computer group combination and economic dispatch model, and determine the active output and terminal voltage boundary condition characteristic quantities of each PV node generator; The S2.2 includes: S2.21, preset sample set T Number of samples included n ; S2.22, make a random disturbance within ±20% on the active and reactive boundary condition characteristic quantities of each load in S2.21; S2.23, perform a random perturbation within ±20% on the active and reactive outputs of each PQ node generator and the active output boundary condition characteristic quantity of each PV node generator in S2.12, and perform a random perturbation within ±5% on the terminal voltage boundary condition characteristic quantity of each PV node generator; S2.24, based on the power system boundary condition characteristic quantities obtained in S2.22 and S2.23, a power flow calculation is performed to obtain the remaining power flow state variables including voltage, reactive power, phase angle of each node in the power system, as well as the active power flow characteristic quantities of each AC line; S2.25, combining the characteristic quantities obtained in S2.22, S2.23 and S2.24 to obtain the characteristic vector of the power system operation state, and standardizing it according to the characteristic standardization process from S1.23 to S1.27, wherein the first s The mean absolute error of the active power flow characteristic of the AC line of the power grid and f The average absolute error of the power flow state characteristic quantity corresponding to other power grid equipment The values ​​are based on those of S1.21 and S1.22 respectively; S2.26, based on the repeated power flow method, the limit transmission capacity of the corresponding section under the power system boundary conditions obtained in S2.24 is calculated , the limit transmission capacity as a label corresponding to the feature vector of the operating state of the power system; S2.27, based on the characteristic vector obtained in S2.25 and the limit transmission capacity obtained in S2.26 , forming a power system operation sample with section TTC label under a new operation scenario, and incorporating it into the new sample set T ; S2.28, repeat S2.22 to S2.27 until the new sample set T Contains n Samples.

2. The method according to claim 1, characterized in that The S1 includes: S1.1, collect the historical operation status data of the power system from the power system monitoring device to form the characteristic data vector used to characterize the operation status of the power system ,in, represents the AC line active power flow characteristic vector in the power grid, Represents the power flow state characteristic vector corresponding to other devices in the power grid, x is the feature vector; S1.2, yes and To standardize.

3. The method according to claim 2, characterized in that The S1.1 includes: S1.11, active power flow characteristic vector of AC line of power grid The composition is: in, Representative s Active power flow index of AC lines m is the total number of AC lines in the power system; S1.12, the power flow state characteristic vector corresponding to other power grid equipment The composition is: in, The first f The power grid flow state characteristic quantity is composed of the generator active power, generator reactive power, generator terminal voltage amplitude, load node active power, load node reactive power and bus phase angle. p is the total number of characteristic quantities of the system power flow state.

4. The method according to claim 2, characterized in that: The S1.2 includes: S1.21, for s The average absolute error is calculated for all samples. : Where N is the number of samples of power system operation status collected in S1.1, is the first power system data collected in S1.1 i The running status sample s The active power flow characteristic quantity of the AC line of the power system, m s For the s The average value of the active power flow characteristic quantity of the AC line of the power system; S1.22, for f The power flow state characteristic quantity corresponding to other power grid equipment is used to calculate the mean absolute error for all samples. : in, is the first power system data collected in S1.1 i The running status sample f The power flow state characteristic quantity corresponding to other equipment in the power system, m f For the f The average value of the power flow state characteristic quantity corresponding to other equipment in the power system; S1.23, yes Standardize it, and record it as : S1.24, yes Standardize it, and record it as : S1.25, based on the sample mean absolute error calculation in S1.21 and the normalization method in S1.23, for i The normalized grid AC line active power flow characteristic vector is obtained. : S1.26, based on the sample mean absolute error calculation in S1.22 and the normalization method in S1.24, for i The power grid operation state is obtained, and the power flow state vector corresponding to other devices in the standardized power grid is obtained. : S1.27, combine the normalized grid AC line active power flow characteristic vector in S1.25 with the normalized power flow state vector corresponding to other grid devices in S1.26 to form a normalized grid operation state characteristic vector ; S1.28, calculated based on the repeated power flow method i The maximum transmission capacity of the section corresponding to the operating state of the power system , the limit transmission capacity As the i The labels corresponding to the feature vectors of the power system operation status; S1.29, according to S1.27 and the maximum transmission capacity of S1.28 , forming and i The samples corresponding to the power system operation status ; S1.30 repeats the operations from S1.23 to S1.29 for all samples collected in S1.1, and forms a historical sample set with all samples that have passed through S1.23 to S1.29 S .

5. The method according to claim 1, characterized in that: The S3 includes: S3.1, build a deep neural network model Input layer: input the preprocessed power system operation characteristic data into the deep neural network model , and obtain the deep uncertainty neural network model An input layer, wherein the input layer is used to receive data input; S3.2, build a deep neural network model of s Hidden layers: Deep neural network model contain s hidden layers, s The value is 4, using s The hidden layer performs layer-by-layer data dimension reduction and high-order feature extraction on the data obtained from the input layer; S3.3, build a deep neural network model Output layer: The output layer and the last hidden layer are fully connected. h s The regression analysis is performed to output the TTC prediction value of each transmission section.

6. The method according to claim 5, characterized in that The S4 includes: S4.1, determining that the parameter set to be trained is B, including: j Layer neurons and j +1 layer of connection weights between neurons , No. j Layer neurons to j+ Bias vector of neurons in layer 1 ; S4.2, based on historical sample sets S The number of samples N and the new sample set T The number of samples n , determine the weight of the new sample experience error in the training process in the optimization objective function α = n / N ; S4.3, based on the weights calculated in S4.2 α Building a deep neural network model The optimization objective function for training is: in, For deep neural network models In the historical sample set S The empirical error on For deep neural network models In the new sample set T Empirical error on S4.4, based on the back propagation algorithm, based on the historical sample set S With new sample set T The training sample set is composed of the optimization objective function in S4.3, and the parameter set B to be determined is obtained by training, and the trained deep neural network model for power system transmission section limit assessment is obtained. .

7. The method according to claim 4, characterized in that The S5 includes: S5.1, collecting the current operating state of the power system from the power system monitoring device, and forming a feature vector in the manner of S1.1, and preprocessing the power system feature vector using the data preprocessing method in S1.2; S5.2, input the preprocessed data into the trained deep neural network model In the output, the TTC prediction value of a given transmission section of the power system is given.