CN111695080B - Power grid state estimation method of GPU parallel acceleration preprocessing conjugate gradient iteration method - Google Patents

Power grid state estimation method of GPU parallel acceleration preprocessing conjugate gradient iteration method Download PDF

Info

Publication number
CN111695080B
CN111695080B CN202010394592.5A CN202010394592A CN111695080B CN 111695080 B CN111695080 B CN 111695080B CN 202010394592 A CN202010394592 A CN 202010394592A CN 111695080 B CN111695080 B CN 111695080B
Authority
CN
China
Prior art keywords
matrix
iteration
representing
conjugate gradient
preprocessing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010394592.5A
Other languages
Chinese (zh)
Other versions
CN111695080A (en
Inventor
杨亚洲
钱秋明
梁鸭红
胡霄
樊线
段彭圆
郭坤
杨成凡
潘飞飞
魏桥所
杨小景
王秋菊
尹昭舜
周欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Puer Supply Power Bureau of Yunnan Power Grid Co Ltd
Original Assignee
Puer Supply Power Bureau of Yunnan Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Puer Supply Power Bureau of Yunnan Power Grid Co Ltd filed Critical Puer Supply Power Bureau of Yunnan Power Grid Co Ltd
Priority to CN202010394592.5A priority Critical patent/CN111695080B/en
Publication of CN111695080A publication Critical patent/CN111695080A/en
Application granted granted Critical
Publication of CN111695080B publication Critical patent/CN111695080B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E40/00Technologies for an efficient electrical power generation, transmission or distribution
    • Y02E40/70Smart grids as climate change mitigation technology in the energy generation sector
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Abstract

The invention provides a power grid state estimation method of a GPU parallel acceleration preprocessing conjugate gradient iteration method, which adopts a preprocessing conjugate gradient iteration method by utilizing the symmetrical positive characteristic of a linear equation set coefficient matrix A in the state estimation of a weighted least square method, wherein the preprocessing conjugate gradient method is based on the conjugate gradient method, and the preprocessed coefficient matrix M is used for replacing the original coefficient matrix A so as to reduce the condition number of the coefficient matrix, accelerate the convergence rate of an algorithm, and meanwhile, an incomplete LU decomposition preprocessing method is adopted, so that the GPU parallel computing architecture is adopted, the computing speed and the computing efficiency of the state estimation of a power system are improved, the occupancy rate of a memory and a video memory are reduced, and the real-time requirement of the state estimation of the large-scale power system is met.

Description

Power grid state estimation method of GPU parallel acceleration preprocessing conjugate gradient iteration method
Technical Field
The invention relates to the field of power systems, in particular to a power grid state estimation method of a GPU parallel acceleration preprocessing conjugate gradient iteration method.
Background
Power system state estimation is the basis of modern energy management systems, providing the underlying support for advanced applications in modern energy management systems. Currently, the most widely used state estimation algorithm in power systems is the weighted least squares (Weighted Least Squares, WLS) method. The method assumes that the measurement of the quantity is subject to normal distribution, the mathematical model is simpler, the iteration number is less, the calculation speed is high, and the estimation effect is better when no bad data exists in the measuring point set. In the solving process of the WLS state estimating method, a large amount of time is consumed to solve the high-dimensional sparse matrix multiplication and the high-dimensional sparse linear equation set, and most of the computing time is occupied. The main method for solving the large-scale sparse linear equation set can be divided into a direct method and an iterative method. The direct method is to eliminate the original linear equation set by matrix decomposition and transformation technology, and the representative methods include Gaussian elimination method, LU decomposition method and the like. The method is characterized in that principal elements are selected more strictly, meanwhile, the direct method occupies more memory, parallel calculation is difficult, the solving efficiency is lower after the equation scale reaches a certain order of magnitude, and the method is not suitable for calculating a large sparse linear equation set. Compared with the direct method, the iterative method has great advantages for the calculation of a large sparse linear equation set. The iteration method has low memory occupation during each calculation, is very suitable for parallelism, and the calculation efficiency of the iteration method is not affected when the matrix scale is increased. But its convergence is greatly affected by the condition number of the matrix. With the development of power system province and ground integration and transmission and distribution integration, the calculation dimension of the power system is higher and higher, the calculation time is increased sharply, and the rapid increase of the calculation requirement is difficult to meet by the traditional state estimation algorithm.
Therefore, there is a need for a power system state estimation method that increases the calculation speed and calculation efficiency of power system state estimation, reduces the occupancy rate of memory and video memory, and meets the real-time requirement of large-scale power system state estimation.
Disclosure of Invention
In view of this, the present invention provides a method for estimating the state of a grid by using a GPU parallel acceleration preprocessing conjugate gradient iteration method, which is characterized in that: the method comprises the following steps:
s1: initializing to form a node admittance matrix, and endowing state variables with initial values to form
Figure BDA0002487109680000021
S2: setting an iteration variable k=0 and a maximum iteration number k max
S3: according to the current state variable
Figure BDA0002487109680000022
Computing jacobian matrix->
Figure BDA0002487109680000023
S4: using a custarse library on the GPU, a matrix a and a vector b are calculated:
Figure BDA0002487109680000024
wherein A represents a matrix,
Figure BDA0002487109680000025
representing a measurement jacobian matrix under state variables, R representing a measurement variance matrix, b representing a vector, Z representing a system measurement vector,>
Figure BDA0002487109680000026
a measurement function representing a state variable;
s5: solving a system of linear equations on a GPU
Ax=b (2)
Wherein A represents a matrix, b represents a vector, and x represents a system state variable;
s6: determining cattle according to the x solved in the step S5Correction of iteration of the ton method
Figure BDA0002487109680000027
And determining state variables
Figure BDA0002487109680000028
wherein ,/>
Figure BDA0002487109680000029
Representing state variables +.>
Figure BDA00024871096800000210
Correction representing the kth iteration, +.>
Figure BDA00024871096800000213
A state variable representing the kth iteration;
s7: let k=k+1, determine whether or not the condition is satisfied
Figure BDA00024871096800000211
wherein ,/>
Figure BDA00024871096800000212
Represents the correction amount of the ith dimension state variable in the kth iteration, epsilon represents the iteration convergence precision value, K represents the iteration variable, and K max Representing the maximum iteration times, if not, turning to the step (3), and if so, exiting the state estimation process;
the step S5 specifically includes the following steps:
by utilizing the characteristic of symmetrical positive determination of the matrix A, the pretreatment conjugate gradient method is used for carrying out iterative solution, and the specific method is as follows:
s51: performing an ILU (0) decomposition on the matrix A, wherein the ILU (0) decomposition is a form of incomplete LU decomposition, and forms a preprocessing sub-of the matrix A:
M=LU (3)
wherein M represents the preprocessing factor of matrix A, L represents the upper triangular matrix decomposed by ILU (0), and U represents the lower triangular matrix decomposed by ILU (0);
s52: setting iterationsNumber i=0 and maximum number i of iterations max At the same time, let the initial guess of x be x 0 Calculating an initial residual r 0 And its 2-norm r 0 ||;
S53: solving the system of equations mz=r from L and U i Wherein M represents the preprocessing factor of matrix A, Z represents the system measurement vector, r i Representing a calculated residual;
s54: determining ρ i =(r i Z); wherein Z represents a system measurement vector, r i Representing a calculated residual;
s55: judging whether i is zero, if so, then p is the other i Let β=ρ if not, Z represents the system measurement vector ii-1
S56: determination of p i =z+βp i-1
S56: determining q=ap i 、α=ρ i /(p i ,q)、x i+1 =x i +αp i 、r i+1 =r i -αq;
S57: judging whether one of the following two conditions is satisfied i+1 ||/||r 0 ||≤εORi<i max If yes, exiting iteration; if not, let i=i+1 go to step S53.
Further, the jacobian matrix of step S3
Figure BDA0002487109680000031
The method is adopted for determination as follows:
Figure BDA0002487109680000032
wherein ,
Figure BDA0002487109680000033
representing a jacobian matrix, h (x) represents a measurement function of a state variable, and x represents a state variable.
The beneficial technical effects of the invention are as follows: the invention adopts the ILU (0) pretreatment method, and ensures that the residual error matrix meets the decomposition condition of the ILU (0). The pretreatment sub-generated by this pretreatment method does not inject non-zero elements. After pretreatment, the sparsity of the pretreatment sub can be ensured. In a large sparse matrix, the sparsity of the preprocessing sub is guaranteed, on one hand, the calculated amount and the memory can be saved in matrix operation, and meanwhile, the calculation of an iterative method is accelerated more quickly by utilizing the same sparsity of the preprocessing sub and the original matrix. The invention adopts the conjugate gradient method, and the characteristic that the linear equation set coefficient matrix A is symmetrically and positively determined in WLS state estimation enables the harsh adaptation condition of the conjugate gradient method to be satisfied. In the solving process of the large sparse linear equation set, the calculation efficiency of the iterative method is higher, and meanwhile, the conjugate gradient method is used as the method with the simplest calculation steps in the iterative method, so that the method has the least calculation amount and the highest calculation efficiency. The invention adopts a GPU parallel computing architecture, fully utilizes the high-performance matrix vector computing technology of CUDA, and accelerates the formation of matrix A and vector b by utilizing multiplication operation of a cuspark library. Meanwhile, in the iteration process of the conjugate gradient method, the GPU is used for rapidly calculating each intermediate variable, so that the rapid calculation of the iteration method is ensured.
Detailed Description
The invention is further illustrated below:
the State Estimation (SE) of the power system is to combine the equipment operation and the switching value change condition of the power grid according to the power grid model, remove bad data based on the quantity measurement acquired by the SCADA system in real time, and estimate the voltage amplitude and the phase angle of the system operation State, thereby obtaining the real-time quasi-steady State operation current situation of the power system.
The invention provides a power grid state estimation method of a GPU parallel acceleration preprocessing conjugate gradient iteration method, which is characterized by comprising the following steps of: the method comprises the following steps:
s1: initializing to form a node admittance matrix, and endowing state variables with initial values to form
Figure BDA0002487109680000041
Obtaining each node admittance value of a target power grid through a power grid SCADA system, and obtaining a node admittance matrix;
S2:setting an iteration variable k=0 and a maximum iteration number k max
S3: according to the current state variable
Figure BDA0002487109680000042
Computing jacobian matrix->
Figure BDA0002487109680000043
S4: using a custarse library on the GPU, a matrix a and a vector b are calculated:
Figure BDA0002487109680000051
wherein A represents a matrix,
Figure BDA0002487109680000052
representing a measurement jacobian matrix under state variables, R representing a measurement variance matrix, b representing a vector, Z representing a system measurement vector,>
Figure BDA0002487109680000053
a measurement function representing a state variable;
s5: solving a system of linear equations on a GPU
Ax=b (2)
Wherein A represents a matrix, b represents a vector, and x represents a system state variable;
the time-consuming part in WLS state estimation is mainly two steps of matrix multiplication and linear equation system solving. In each iteration of newton's method, a system of matrix multiplications and linear equations needs to be solved, which involves a large number of operations, taking up a significant portion of the time.
Due to the matrix
Figure BDA0002487109680000054
Is a high-dimensional sparse matrix, so that the matrix A is still a high-dimensional sparse matrix after matrix multiplication. In vector b, due to vector +.>
Figure BDA0002487109680000055
Is a dense vector and thus b is also a high-dimensional dense vector. The result of the matrix A and the vector b can be calculated in parallel and high efficiency by adopting an operation library cuSPARSE in the CUDA, and the calculation speed is 2-5 times faster than that of a pure CPU substitution product according to the description of the CUDA.
On the other hand, the matrix linear equation set calculation part is the most time-consuming part. As can be seen from equation (1), matrix a is the product of the matrix transpose, the identity matrix, and the matrix itself, and is a symmetric positive definite matrix. When the system scale is smaller, the matrix scale is smaller, and the linear equation set is suitable for calculation by using a direct method such as LU decomposition. The common high-performance linear equation system solving library SuperLU is highly optimized, belongs to a direct method, and has higher efficiency. However, for a large-scale sparse linear equation set, the number of matrix conditions is large, the calculation efficiency of a direct method is difficult to meet the requirement, and the method is suitable for parallel calculation on a GPU by using an iterative method. The invention adopts a GPU parallel computing architecture, fully utilizes the high-performance matrix vector computing technology of CUDA, and accelerates the formation of matrix A and vector b by utilizing multiplication operation of a cuspark library. Meanwhile, in the iteration process of the conjugate gradient method, the GPU is used for rapidly calculating each intermediate variable, so that the rapid calculation of the iteration method is guaranteed.
S6: determining the correction amount of Newton iteration according to the x solved in the step S5
Figure BDA0002487109680000056
And determining state variables
Figure BDA0002487109680000057
wherein ,/>
Figure BDA0002487109680000058
Representing state variables +.>
Figure BDA0002487109680000059
Correction representing the kth iteration, +.>
Figure BDA0002487109680000061
A state variable representing the kth iteration;
s7: let k=k+1, determine whether or not the condition is satisfied
Figure BDA0002487109680000062
wherein ,/>
Figure BDA0002487109680000063
Represents the correction amount of the ith dimension state variable in the kth iteration, epsilon represents the iteration convergence precision value, K represents the iteration variable, and K max Representing the maximum iteration times, if not, turning to the step (3), and if so, exiting the state estimation process;
the step S5 specifically includes the following steps:
by utilizing the characteristic of symmetrical positive determination of the matrix A, the pretreatment conjugate gradient method is used for carrying out iterative solution, and the specific method is as follows:
s51: performing an ILU (0) decomposition on the matrix A, wherein the ILU (0) decomposition is a form of incomplete LU decomposition, and forms a preprocessing sub-of the matrix A:
M=LU (3)
wherein M represents the preprocessing factor of matrix A, L represents the upper triangular matrix decomposed by ILU (0), and U represents the lower triangular matrix decomposed by ILU (0); the invention adopts the ILU (0) preprocessing method, and ensures that the residual matrix meets the decomposition condition of the ILU (0). The pretreatment sub-generated by this pretreatment method does not inject non-zero elements. After pretreatment, the sparsity of the pretreatment sub can be ensured. In a large sparse matrix, the sparsity of the preprocessing sub is guaranteed, on one hand, the calculated amount and the memory can be saved in matrix operation, and meanwhile, the calculation of an iterative method is accelerated more quickly by utilizing the same sparsity of the preprocessing sub and the original matrix.
S52: setting the iteration number i=0 and the maximum iteration number i max At the same time, let the initial guess of x be x 0 Calculating an initial residual r 0 And its 2-norm r 0 ||;
S53: solving the system of equations mz=r from L and U i Wherein M represents the preprocessing factor of matrix A, and Z represents the system quantity direction findingQuantity, r i Representing a calculated residual;
s54: determining ρ i =(r i Z); wherein Z represents a system measurement vector, r i Representing a calculated residual;
s55: judging whether i is zero, if so, then p is the other i Let β=ρ if not, Z represents the system measurement vector ii-1
S56: determination of p i =z+βp i-1
S56: determining q=ap i 、α=ρ i /(p i ,q)、x i+1 =x i +αp i 、r i+1 =r i -αq;
S57: judging whether one of the following two conditions is satisfied i+1 ||/||r 0 ||≤εORi<i max If yes, exiting iteration; if not, let i=i+1 go to step S53.
And solving by using a Krylov subspace method aiming at a large-scale sparse linear equation set. The Krylov sub-space method is a numerical iteration method proposed in the 90 th century of the 20 th century, is one of projection calculation methods, and has the advantages of less storage and calculation. Solving a general linear equation set:
Figure BDA0002487109680000071
where A represents a matrix, b represents a vector, x represents a system state variable,
the basic idea of the projection method is to extract a subspace K from a smaller dimension m An approximate solution is found inside. This subspace K m Referred to as a search space, which has a dimension m.
At this time, m constraints are set, and the residual vector r is required to satisfy m orthogonal conditions, namely, petrov-Galerkin conditions: r=b-Ax ζl m Wherein r represents a residual vector, b represents, A represents, x represents, L m Is another m-dimensional subspace, called constraint space, L is selected m =K m The method is orthogonal projection method, otherwise oblique projection method.
When given an iteration initial value x 0 When affine space x is adopted 0 +K m It is possible to obtain:
Figure BDA0002487109680000072
wherein: initial residual r 0 =b-Ax 0
In the Krylov subspace method, the search space K m The Krylov subspace, defined as:
Figure BDA0002487109680000073
wherein: r can be chosen as the initial residual r 0 The Krylov subspace method is to find an approximate solution in the Krylov subspace.
Selecting a different constraint space L m There is a relatively large impact on the iterative process. Considering that the matrix A is a symmetrical positive definite matrix, adopting a conjugate gradient method to select a constraint space L in a Krylove subspace method m
However, if the Krylov subspace method is directly used for iteration, the problems of poor convergence, multiple iterations and the like may occur if the condition number of the original matrix is too high. The proper preprocessing method can reduce the condition number of the matrix, reduce the iteration times and facilitate problem solving. The incomplete LU decomposition pretreatment method is wide in application range, and the invention adopts the incomplete LU decomposition pretreatment method and provides an electric power system state estimation algorithm based on a pretreatment conjugate gradient method iteration method. The invention adopts the conjugate gradient method, and the symmetrical positive characteristic of the linear equation set coefficient matrix A in WLS state estimation enables the harsh application conditions of the conjugate gradient method to be satisfied. In the solving process of the large sparse linear equation set, the calculation efficiency of the iterative method is higher, and meanwhile, the conjugate gradient method is used as the method with the simplest calculation steps in the iterative method, so that the method has the least calculation amount and the highest calculation efficiency.
In this embodiment, the steps ofJacobian matrix of step S3
Figure BDA0002487109680000081
The method is adopted for determination as follows:
Figure BDA0002487109680000082
wherein ,
Figure BDA0002487109680000083
representing a jacobian matrix, h (x) represents a measurement function of a state variable, and x represents a state variable.
The nonlinear metrology state estimation equation for a power system can be expressed as:
z=h (x) +v, where z represents a system measurement vector and x represents a system state variable; h (x) represents a measurement function in state x, v represents a measurement error; z=h (x) +v is the core of the state estimation and is a nonlinear equation, where the number of equations m is greater than the number of state variables n. Analyzing according to the meaning of whether the nonlinear equation is solved or not, if n equations in the measurement equations are independent, and assuming that the measurement is free of errors, namely v=o, then m-n equations in the m measurement equations are redundant equations, and if the equation set is solved, the redundant m-n equations are required to be compatible equations, namely x obtained by the n independent equations naturally meets the other m-n equations. In fact, since measurement errors always exist, a set of n equations in the formula of z=h (x) +v cannot be found, and another m-n redundant equations are also satisfied, which is a set of contradictory equations, and it is difficult to find a solution that strictly satisfies these equations, and an optimal estimated solution that satisfies the set of equations must be found by a special method.
Therefore, solving the state estimation problem becomes an extension of solving the power flow problem, converting into solving the problem of solving the overdetermined equation set, and expecting to obtain the state variable with the minimum weighted residual square sum
Figure BDA0002487109680000084
Thus, an optimization model can be built:
min J(x)=[z-h(x)] T R -1 [z-h(x)] (5)
wherein J (x) represents the sum of squares of residuals of system measurements, z represents a system measurement vector, and x represents a system state variable; h (x) represents the measurement function in state x, R represents the measurement error variance matrix, and represents the accuracy of each measurement.
In order to minimize the objective function value, equation (5) includes:
Figure BDA0002487109680000091
since h (x) is a nonlinear function related to the state variable x, the state variable x is linearly developed, and the iteration correction amount can be obtained by solving the state variable x by adopting the newton method:
Figure BDA0002487109680000092
in the formula :
Figure BDA0002487109680000093
is a state variable +.>
Figure BDA0002487109680000094
The underlying measured jacobian matrix is used,
Figure BDA0002487109680000095
thus, an iterative equation can be derived as:
Figure BDA0002487109680000096
in the formula :
Figure BDA0002487109680000097
and />
Figure BDA0002487109680000098
The state variable and the correction amount for the kth iteration, respectively.
Finally, it is noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made thereto without departing from the spirit and scope of the technical solution of the present invention, which is intended to be covered by the scope of the claims of the present invention.

Claims (2)

1. A power grid state estimation method of a GPU parallel acceleration preprocessing conjugate gradient iteration method is characterized by comprising the following steps of: the method comprises the following steps:
s1: initializing to form a node admittance matrix, and endowing state variables with initial values to form
Figure FDA0002487109670000011
S2: setting an iteration variable k=0 and a maximum iteration number k max
S3: according to the current state variable
Figure FDA0002487109670000012
Computing jacobian matrix->
Figure FDA0002487109670000013
S4: using a custarse library on the GPU, a matrix a and a vector b are calculated:
Figure FDA0002487109670000014
wherein A represents a matrix,
Figure FDA0002487109670000015
representing measurements under state variablesJacobian matrix, R represents a measurement variance matrix, b represents a vector, Z represents a system measurement vector,/->
Figure FDA0002487109670000016
A measurement function representing a state variable;
s5: solving a system of linear equations on a GPU
Ax=b (2)
Wherein A represents a matrix, b represents a vector, and x represents a system state variable;
s6: determining the correction amount of Newton iteration according to the x solved in the step S5
Figure FDA0002487109670000017
And determining state variables
Figure FDA0002487109670000018
wherein ,/>
Figure FDA0002487109670000019
Representing state variables +.>
Figure FDA00024871096700000110
Correction representing the kth iteration, +.>
Figure FDA00024871096700000111
A state variable representing the kth iteration;
s7: let k=k+1, determine whether or not the condition is satisfied
Figure FDA00024871096700000112
wherein ,/>
Figure FDA00024871096700000113
Represents the correction amount of the ith dimension state variable in the kth iteration, epsilon represents the iteration convergence precision value, K represents the iteration variable, and K max Indicating the maximum iteration number, if not, turning to the step (3), if so, exiting the state estimation processA program;
the step S5 specifically includes the following steps:
by utilizing the characteristic of symmetrical positive determination of the matrix A, the pretreatment conjugate gradient method is used for carrying out iterative solution, and the specific method is as follows:
s51: performing an ILU (0) decomposition on the matrix A, wherein the ILU (0) decomposition is a form of incomplete LU decomposition, and forms a preprocessing sub-of the matrix A:
M=LU (3)
wherein M represents the preprocessing factor of matrix A, L represents the upper triangular matrix decomposed by ILU (0), and U represents the lower triangular matrix decomposed by ILU (0);
s52: setting the iteration number i=0 and the maximum iteration number i max At the same time, let the initial guess of x be x 0 Calculating an initial residual r 0 And its 2-norm r 0 ||;
S53: solving the system of equations mz=r from L and U i Wherein M represents the preprocessing factor of matrix A, Z represents the system measurement vector, r i Representing a calculated residual;
s54: determining ρ i =(r i Z); wherein Z represents a system measurement vector, r i Representing a calculated residual;
s55: judging whether i is zero, if so, then p is the other i Let β=ρ if not, Z represents the system measurement vector ii-1
S56: determination of p i =z+βp i-1
S56: determining q=ap i 、α=ρ i /(p i ,q)、x i+1 =x i +αp i 、r i+1 =r i -αq;
S57: judging whether one of the following two conditions is satisfied i+1 ||/||r 0 ||≤εORi<i max If yes, exiting the iteration; if not, let i=i+1 go to step S53.
2. The power grid state estimation method based on the GPU parallel acceleration preprocessing conjugate gradient iteration method of claim 1, wherein the method is characterized by comprising the following steps of: the steps ofJacobian matrix of step S3
Figure FDA0002487109670000021
The method is adopted for determination as follows:
Figure FDA0002487109670000022
wherein ,
Figure FDA0002487109670000023
representing a jacobian matrix, h (x) represents a measurement function of a state variable, and x represents a state variable.
CN202010394592.5A 2020-05-11 2020-05-11 Power grid state estimation method of GPU parallel acceleration preprocessing conjugate gradient iteration method Active CN111695080B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010394592.5A CN111695080B (en) 2020-05-11 2020-05-11 Power grid state estimation method of GPU parallel acceleration preprocessing conjugate gradient iteration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010394592.5A CN111695080B (en) 2020-05-11 2020-05-11 Power grid state estimation method of GPU parallel acceleration preprocessing conjugate gradient iteration method

Publications (2)

Publication Number Publication Date
CN111695080A CN111695080A (en) 2020-09-22
CN111695080B true CN111695080B (en) 2023-06-16

Family

ID=72477709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010394592.5A Active CN111695080B (en) 2020-05-11 2020-05-11 Power grid state estimation method of GPU parallel acceleration preprocessing conjugate gradient iteration method

Country Status (1)

Country Link
CN (1) CN111695080B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296469A (en) * 2016-09-12 2017-01-04 东南大学 A kind of pretreatment sub-optimized choice method of N 1 Fault load flow update equation group
CN107069696A (en) * 2016-09-23 2017-08-18 四川大学 A kind of parallel calculating method of Power system state estimation
CN108804386A (en) * 2018-07-09 2018-11-13 东北电力大学 A kind of parallelization computational methods of power system load nargin

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296469A (en) * 2016-09-12 2017-01-04 东南大学 A kind of pretreatment sub-optimized choice method of N 1 Fault load flow update equation group
CN107069696A (en) * 2016-09-23 2017-08-18 四川大学 A kind of parallel calculating method of Power system state estimation
CN108804386A (en) * 2018-07-09 2018-11-13 东北电力大学 A kind of parallelization computational methods of power system load nargin

Also Published As

Publication number Publication date
CN111695080A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN112529193B (en) Data processing method based on quantum system and quantum device
CN108074015B (en) Ultra-short-term prediction method and system for wind power
CN111415379A (en) Three-dimensional point cloud data registration method based on cuckoo optimization
CN114462718A (en) CNN-GRU wind power prediction method based on time sliding window
CN110212592B (en) Thermal power generating unit load regulation maximum rate estimation method and system based on piecewise linear expression
CN111695080B (en) Power grid state estimation method of GPU parallel acceleration preprocessing conjugate gradient iteration method
CN113505477B (en) Process industry soft measurement data supplementing method based on SVAE-WGAN
CN112651500B (en) Method for generating quantization model and terminal
CN114186518A (en) Integrated circuit yield estimation method and memory
CN112328971A (en) Double-peak three-parameter Weibull distribution fitting method based on random number
CN110703038B (en) Harmonic impedance estimation method suitable for fan access power distribution network
CN111740425A (en) Improved continuous power flow method-based static voltage stability analysis method and system for power system
CN110751173B (en) Critical heat flux density prediction method based on deep learning support vector machine
CN111476402A (en) Wind power generation capacity prediction method coupling meteorological information and EMD technology
CN109490840A (en) Based on the noise reduction and reconstructing method for improving the sparse radar target HRRP from encoding model
CN114791994A (en) RANSAC point cloud plane fitting method introducing normal vector optimization
Cai et al. Low rank matrix completion for recovering missing load data in power system
CN113947237A (en) AMS-TCN-based wind power error correction method
CN113553538A (en) Recursive correction hybrid linear state estimation method
CN111460974A (en) Optimization-based global feature extraction method for scattered point cloud data
CN117494476B (en) Measuring point optimization method for improving pneumatic load identification stability of fan tower
CN114266103B (en) Online estimation method for aircraft parameters and noise characteristics and storage medium
CN111222250B (en) Method for improving parameter solving efficiency of geospatial coordinate transformation model
Li et al. Improving the robustness of isomap by de-noising
CN114326406A (en) Coordination control method based on vector machine online identification prediction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant