CN111313413A - Power system state estimation method based on parallel acceleration of graphics processor - Google Patents

Power system state estimation method based on parallel acceleration of graphics processor Download PDF

Info

Publication number
CN111313413A
CN111313413A CN202010201524.2A CN202010201524A CN111313413A CN 111313413 A CN111313413 A CN 111313413A CN 202010201524 A CN202010201524 A CN 202010201524A CN 111313413 A CN111313413 A CN 111313413A
Authority
CN
China
Prior art keywords
state estimation
jacobian matrix
thread
power system
correction
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.)
Pending
Application number
CN202010201524.2A
Other languages
Chinese (zh)
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.)
Zhejiang University ZJU
State Grid Zhejiang Electric Power Co Ltd
Original Assignee
Zhejiang University ZJU
State Grid Zhejiang Electric Power 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 Zhejiang University ZJU, State Grid Zhejiang Electric Power Co Ltd filed Critical Zhejiang University ZJU
Priority to CN202010201524.2A priority Critical patent/CN111313413A/en
Publication of CN111313413A publication Critical patent/CN111313413A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • 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/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
    • G06F17/12Simultaneous equations, e.g. systems of linear equations
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Operations Research (AREA)
  • Power Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a power system state estimation method based on parallel acceleration of a graphic processor, which aims at the problem that the prior method needs to generate a Jacobian matrix for many times in an iterative process during power system state estimation, particularly when the system scale is large, the traditional serial generation method is difficult to meet the real-time requirement; when the system scale is large, the method can obviously improve the calculation efficiency and meet the real-time requirement of state estimation. Meanwhile, the method is high in operability and easy to implement.

Description

Power system state estimation method based on parallel acceleration of graphics processor
Technical Field
The invention relates to power system state estimation, in particular to a power system state estimation method based on parallel acceleration of a graphics processor.
Background
The state estimation of the power system is the basis of power grid dispatching operation, and along with the continuous expansion of the scale of the power grid, the demand of improving the calculation efficiency of the state estimation of the power system is improved so as to meet the calculation real-time performance. The method for solving the least square model by the Newton method which is widely applied at present is simple to operate and high in convergence speed, but a Jacobian matrix needs to be generated for many times in the iteration process, and when the system scale is large, the traditional serial generation method cannot meet the real-time requirement easily.
Disclosure of Invention
Aiming at the defects of the prior art, the technical problem to be solved by the invention is to provide a power system state estimation method based on the parallel acceleration of a graphics processor so as to improve the overall convergence performance and the calculation efficiency.
The invention adopts the following technical scheme:
a power system state estimation method based on graphics processor parallel acceleration comprises the following steps:
(1) obtaining state estimation information, comprising: measuring information, namely node voltage, node injection power, line power flow and transformer power flow, line parameter information and a measurement error variance matrix R, forming a measurement vector z and a node admittance matrix Y, and determining a variable x and a measurement function h (x) which need to be subjected to state estimation;
(2) setting initial values of state estimation: setting an initial value x of a variable to be state-estimated0The convergence precision epsilon of the residual vector target; the current iteration step number k is set equal to 0.
(3) And (3) calculating a Jacobian matrix: jacobian matrix H (x) for parallel computing current iteration step based on graphics acceleratork)。
(4) Solving a correction equation set: the correction amount Deltax is obtained by solving a linear equation set expressed in the following formulak
Δxk=[HT(xk)R-1H(xk)]-1HT(xk)R-1[z-h(xk)]
(5) And (3) state variable correction: calculated by the following formula
xk+1=Δxk+xk
(6) And (3) convergence judgment: if the following formula is satisfied, namely the infinite norm of the correction is smaller than the target convergence precision epsilon of the residual vector, the algorithm converges and ends; otherwise, adding 1 to the current iteration step number k, and then returning to the step (3).
|Δxk|≤ε
In the above technical solution, further, the jacobian matrix calculation in step (3) includes the following three substeps:
(301) and (3) parallel threads are started: the graphics processor starts a thread grid, wherein the number of thread blocks is set as the number of rows of the Jacobian matrix, and the number of threads in each thread block is set as the number of columns of the Jacobian matrix.
(302) And (3) calculating elements of a Jacobian matrix: for the jth thread in the ith thread block, the elements of the ith row and the jth column of the Jacobian matrix are calculated. The computational expressions for the elements of the jacobi matrix are shown in the appendix (for e.electric power system state estimation [ M ]. beijing: hydropower press, 1985.).
(303) Thread synchronization: waiting for all threads to complete the jacobian element calculation.
The invention has the beneficial effects that:
according to the technical scheme, the Jacobian matrix generation in the state estimation of the power system is accelerated in parallel by using the graphic accelerator, so that the calculation efficiency can be obviously improved when the system scale is large, and the real-time requirement of the state estimation is met. Meanwhile, the method is high in operability and easy to implement.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention.
FIG. 2 is a schematic diagram of the mode of operation of the graphics accelerator in the method of the present invention.
FIG. 3 is a diagram illustrating the correspondence of a Jacobian matrix to a graphics accelerator thread block in the method of the present invention.
Detailed Description
The technical scheme of the invention is further explained in detail by combining the drawings in the specification.
As shown in FIG. 1, the method mainly comprises six steps of state estimation information import, state estimation initial value setting, Jacobian matrix calculation, correction equation set solution, state variable correction and convergence judgment.
Step S1: importing state estimation information: and importing measurement information, line parameter information and a weight matrix R, and determining variables needing state estimation.
Step 2: setting initial values of state estimation: setting an initial value x of a variable to be state-estimated0And residual vector target convergence accuracy epsilon. And setting the current iteration step number k of the algorithm to be equal to 0.
And step 3: and (3) calculating a Jacobian matrix: jacobian matrix H (x) for parallel computing current iteration step based on graphics acceleratork)。
And 4, step 4: solving a correction equation set: the correction amount Deltax is obtained by solving a linear equation set expressed in the following formulak
Δxk=[HT(xk)R-1H(xk)]-1HT(xk)R-1[z-h(xk)]
And 5: and (3) state variable correction: calculated by the following formula
xk+1=Δx+xk
Step S6: and (3) convergence judgment: if the following formula is satisfied (namely the infinite norm of the correction is smaller than the target convergence precision epsilon of the residual vector), the algorithm converges, and the operation is finished; otherwise, the current iteration step number k is added by 1, and then the process returns to step S3.
|Δxk|≤ε
As shown in fig. 1, step S3 includes three substeps:
step 301: and (3) parallel threads are started: as shown in FIG. 2, the graphics processor starts a thread grid, where the number of thread blocks is set as the number of rows of the Jacobian matrix and the number of threads in each thread block is set as the number of columns of the Jacobian matrix.
Step 302: and (3) calculating elements of a Jacobian matrix: for the jth thread in the ith thread block, the elements of the ith row and the jth column of the Jacobian matrix are calculated. The computational expressions for the elements of the jacobian matrix are shown in the appendix of the reference (for er. electric power system state estimation [ M ]. beijing: hydropower press, 1985.).
Step 303: thread synchronization: waiting for all threads to complete the jacobian element calculation.

Claims (1)

1. A power system state estimation method based on graphics processor parallel acceleration is characterized by comprising the following steps:
1) obtaining state estimation information, comprising: measuring information, namely node voltage, node injection power, line power flow and transformer power flow, line parameter information and a measurement error variance matrix R, forming a measurement vector z and a node admittance matrix Y, and determining a variable x and a measurement function h (x) which need to be subjected to state estimation;
2) setting initial values of state estimation: setting an initial value x of a variable to be state-estimated0The convergence precision epsilon of the residual vector target; setting the current iteration step number k to be equal to 0;
3) and (3) calculating a Jacobian matrix: jacobian matrix H (x) for parallel computing current iteration step based on graphics acceleratork) (ii) a The method comprises the following steps:
① starting parallel threads, namely starting a thread grid by the graphics processor, wherein the number of thread blocks is set as the row number of a Jacobian matrix, and the number of threads in each thread block is set as the column number of the Jacobian matrix;
② calculation of Jacobian matrix elements, i, j, column elements of Jacobian matrix are calculated for j, th thread in i, th thread block;
③ thread synchronization, waiting for all threads to complete Jacobian matrix element calculation;
4) solving a correction equation set: the correction amount Deltax is obtained by solving a linear equation set expressed in the following formulak
Δxk=[HT(xk)R-1H(xk)]-1HT(xk)R-1[z-h(xk)]
5) And (3) state variable correction: calculated by the following formula
xk+1=Δx+xk
And (3) convergence judgment: if the following formula is satisfied, namely the infinite norm of the correction is smaller than the target convergence precision epsilon of the residual vector, the algorithm converges and ends; otherwise, the current iteration step number k is added with 1, and then the step (3) is returned to
|Δxk|≤ε。
CN202010201524.2A 2020-03-20 2020-03-20 Power system state estimation method based on parallel acceleration of graphics processor Pending CN111313413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010201524.2A CN111313413A (en) 2020-03-20 2020-03-20 Power system state estimation method based on parallel acceleration of graphics processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010201524.2A CN111313413A (en) 2020-03-20 2020-03-20 Power system state estimation method based on parallel acceleration of graphics processor

Publications (1)

Publication Number Publication Date
CN111313413A true CN111313413A (en) 2020-06-19

Family

ID=71162298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010201524.2A Pending CN111313413A (en) 2020-03-20 2020-03-20 Power system state estimation method based on parallel acceleration of graphics processor

Country Status (1)

Country Link
CN (1) CN111313413A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115718986A (en) * 2022-10-31 2023-02-28 南方电网数字电网研究院有限公司 Multi-core parallel time domain simulation method based on distributed memory architecture
CN115758784A (en) * 2022-11-30 2023-03-07 南方电网数字电网研究院有限公司 Large-scale Jacobian matrix low-time-consumption iteration method for supporting time domain simulation of power system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624000A (en) * 2012-04-12 2012-08-01 河海大学 Power system harmonic state estimation method based on automatic differentiation
CN106026107A (en) * 2016-07-26 2016-10-12 东南大学 QR decomposition method of power flow Jacobian matrix for GPU acceleration
CN110175775A (en) * 2019-05-24 2019-08-27 浙江大学 Extensive Abnormal Load Flow of Power Systems calculation method based on graphics processor and central processing unit co-architecture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624000A (en) * 2012-04-12 2012-08-01 河海大学 Power system harmonic state estimation method based on automatic differentiation
CN106026107A (en) * 2016-07-26 2016-10-12 东南大学 QR decomposition method of power flow Jacobian matrix for GPU acceleration
CN110175775A (en) * 2019-05-24 2019-08-27 浙江大学 Extensive Abnormal Load Flow of Power Systems calculation method based on graphics processor and central processing unit co-architecture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐坤杰;董树锋;宋永华;: "一种GPU-CPU异构运算框架加速的实时N-1交流潮流计算方法" *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115718986A (en) * 2022-10-31 2023-02-28 南方电网数字电网研究院有限公司 Multi-core parallel time domain simulation method based on distributed memory architecture
CN115718986B (en) * 2022-10-31 2023-12-12 南方电网数字电网研究院有限公司 Multi-core parallel time domain simulation method based on distributed memory architecture
CN115758784A (en) * 2022-11-30 2023-03-07 南方电网数字电网研究院有限公司 Large-scale Jacobian matrix low-time-consumption iteration method for supporting time domain simulation of power system
CN115758784B (en) * 2022-11-30 2023-12-12 南方电网数字电网研究院有限公司 Large jacobian matrix low-time-consumption iteration method for supporting power system time domain simulation

Similar Documents

Publication Publication Date Title
CN111313413A (en) Power system state estimation method based on parallel acceleration of graphics processor
CN102709908B (en) Loss prediction method for large-scale wind power-accessed power grid
CN107204617B (en) Linear programming based interval power flow calculation method in rectangular coordinate form
CN110826791A (en) Hybrid wind power prediction method based on long-time and short-time memory neural network
CN109784480A (en) A kind of power system state estimation method based on convolutional neural networks
CN107529644B (en) Linear approximation method for static voltage stability domain boundary of power system
CN103915840B (en) A kind of bulk power grid method for estimating state based on the line translation of Givens orthogonal increment
CN111443599A (en) Nuclear power station steam turbine rotating speed control method for optimizing PID (proportion integration differentiation) parameters
CN110866633A (en) Micro-grid ultra-short term load prediction method based on SVR support vector regression
CN103632046A (en) Power grid load flow calculation method
CN112669168A (en) Short-term wind power prediction method
CN112712215A (en) Wind power plant power prediction method
CN111740424A (en) Power system load flow calculation method based on operation tree GPU parallel acceleration model
CN109149584B (en) Method for improving convergence of IPFC power injection model in load flow calculation
CN105529736B (en) Crow bar puts into double-fed fan motor group of planes fault current Equivalent Model computational methods
CN112651153B (en) Method for determining material parameters of crystal plasticity finite element model
CN111539138B (en) Method for solving time domain response sensitivity of structural dynamics peak based on step function
CN107579516B (en) Method for improving state estimation calculation speed of power system
CN111740425A (en) Improved continuous power flow method-based static voltage stability analysis method and system for power system
CN111444619A (en) Online analysis method and equipment for injection mold cooling system
CN114510677B (en) Neutron transport equation processing method based on intermittent finite element and computer program product
CN114744631A (en) Data driving voltage estimation method based on non-PMU power distribution network
CN112632825B (en) Electrostatic field smooth finite element numerical algorithm based on finite element super-convergence
Li et al. A closed-form formulation of eigenvalue sensitivity based on matrix calculus for small-signal stability analysis in power system
CN110889218A (en) Water turbine nonlinear modeling method based on neural network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200619

RJ01 Rejection of invention patent application after publication