CN111711186B - Power system PQ decomposition state estimation method based on GPU parallel computing - Google Patents

Power system PQ decomposition state estimation method based on GPU parallel computing Download PDF

Info

Publication number
CN111711186B
CN111711186B CN202010470768.0A CN202010470768A CN111711186B CN 111711186 B CN111711186 B CN 111711186B CN 202010470768 A CN202010470768 A CN 202010470768A CN 111711186 B CN111711186 B CN 111711186B
Authority
CN
China
Prior art keywords
node
branch
active
matrix
est
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
CN202010470768.0A
Other languages
Chinese (zh)
Other versions
CN111711186A (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.)
China Southern Power Grid Co Ltd
Original Assignee
China Southern 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 China Southern Power Grid Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN202010470768.0A priority Critical patent/CN111711186B/en
Publication of CN111711186A publication Critical patent/CN111711186A/en
Application granted granted Critical
Publication of CN111711186B publication Critical patent/CN111711186B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/15Correlation function computation including computation of convolution operations
    • 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/30Reactive power compensation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention provides a power system PQ decomposition state estimation method based on GPU parallel computing, which comprises the following steps: collecting measurement parameters and network parameters of a power system; generating a node admittance matrix and a branch admittance list; initializing state variable vectors, calculating an active jacobian matrix, a reactive jacobian matrix, an active residual equation matrix and a reactive residual equation matrix, and respectively performing LLT decomposition on the active residual equation matrix and the reactive residual equation matrix; copying an active jacobian matrix, a reactive jacobian matrix, an active lower triangular matrix, a reactive lower triangular matrix and a branch admittance list into a main memory of the GPU; and (3) performing iterative computation in the GPU, returning to obtain a converged state estimation value, and returning to an error if iteration is not converged. The method provided by the invention can improve the speed of power system state estimation, ensure that the power dispatching system timely reflects the real running state of the power grid, and ensure the safe and efficient running of the power system.

Description

Power system PQ decomposition state estimation method based on GPU parallel computing
Technical Field
The invention relates to the technical field of power system state estimation, in particular to a power system PQ decomposition state estimation method based on GPU parallel computing.
Background
The power system state estimation function is to estimate the current running state of the power system according to various measurement information of the power system. The power system state estimation is the basis of each large-scale application in the power grid dispatching system, and is the basis of maintaining the stability of the power system and ensuring the safe and efficient operation of the power system, so that the calculation response speed of the power system state estimation determines whether the power grid dispatching system can timely reflect the real state of the power grid, and also influences the control effect of other power grid automatic control systems, and the stable operation of the whole power system is important.
At present, a power dispatching system often adopts a least square method and a PQ decomposition method to perform state estimation on the power system. In the calculation process of the two methods, a large number of mutually independent calculation processes and matrix operation exist, the capability of the power dispatching system for timely reflecting the real state of the power grid cannot be ensured, the parallelization processing is necessary in the calculation process of the state estimation for improving the real-time property of the power dispatching system for reflecting the real state of the power grid, the parallel calculation method for the state estimation of the power system is disclosed in the China patent No. CN1070696A in 2017 month 8, the two processes of state estimation parallel model establishment and parallel decomposition are integrated, the complexity of the state estimation by adopting an optimization algorithm is overcome, the parallelization processing is conveniently realized by combining the related parallel platform, and the calculation response speed of the state estimation can be improved.
Disclosure of Invention
In order to overcome the defect that the traditional power system state estimation method cannot guarantee that a power dispatching system timely reflects the real state of a power grid, the currently disclosed power system state estimation parallel calculation method is complex in related process and has the defect of non-uniform encapsulation integration improvement; the invention provides a power system PQ decomposition state estimation method based on GPU parallel computing, which improves the speed of power system state estimation, ensures that a power dispatching system timely reflects the real running state of a power grid, and ensures the safe and efficient running of the power system.
In order to achieve the technical effects, the technical scheme of the invention is as follows:
the invention provides a power system PQ decomposition state estimation method based on GPU parallel computing, which at least comprises the following steps:
s1, collecting measurement parameters of an electric power system and network parameters of the electric power system;
s2, generating a node admittance matrix and a branch admittance list according to network parameters of the power system;
s3, using node voltage amplitude and voltage phase angle of the power system as state variable vectors, initializing the node voltage amplitude to 1.0pu, and initializing the node voltage phase angle to 0rad;
s4, respectively calculating an active jacobian matrix H according to the measurement parameters of the power system and the network parameters of the power system P Reactive jacobian matrix H Q
S5, calculating an active residual equation matrix A P And reactive residual equation matrix A Q For the active residual equation matrix A P And reactive residual equation matrix A Q Respectively performing LLT decomposition to obtain an active lower triangular matrix A PL Reactive lower triangular matrix A QL
S6, an active jacobian matrix H P Reactive jacobian matrix H Q Triangle matrix A under active power PL Triangle matrix A under reactive power QL Copying the branch admittance list into a main memory of the GPU;
s7, based on GPU parallel calculation, carrying out active iteration in the GPU, judging whether an active iteration convergence condition is met, if yes, executing a step S8, otherwise, updating a node voltage phase angle, and executing the step S8;
s8, performing reactive iteration in the GPU, judging whether reactive iteration convergence conditions are met, and if yes, executing a step S9; otherwise, updating the node voltage amplitude, and executing step S9;
s9, judging whether the active iteration and the reactive iteration are converged or not, and if yes, outputting a state estimation result; otherwise, executing step S10;
s10, judging whether the iteration number kk is greater than the maximum iteration number k th If yes, the state estimation iteration is not converged; otherwise, the process returns to step S7.
The measurement parameters of the power system are collected through a data collection system, the network parameters of the power system are collected through an Energy Management System (EMS), and the node admittance matrix is generated according to the network parameters of the power system in step S2 according to a traditional calculation method; in addition, for the active residual equation matrix A P And reactive residual equation matrix A Q Respectively performing LLT decomposition is a relatively mature traditional technology; in the whole state estimation, if the current iteration times are compared with the set maximum iteration times when the active iteration convergence condition and the reactive iteration convergence condition are not met, if the current iteration times exceed the maximum iteration times, but the state estimation process still does not meet the active iteration convergence condition and the reactive iteration convergence condition, the state estimation process is not converged; when the active iteration convergence condition and the reactive iteration convergence condition are both satisfied, the output state estimation result is node voltage amplitude and voltage phase angle data of the power system, namely the current value of the state variable vector.
Preferably, the measurement parameters of the power system in step S1 include: node voltage U and node injection active power P inj_M Node injection reactive power Q inj_M Branch active power P ft_M 、P tf_M Branch reactive power Q ft_M 、Q tf_M A current magnitude; active value vector Z formed by measuring parameters P_M Vector Z of reactive power measurement values Q_M And a weight matrix R for measuring the power P And reactive power measurement weight matrix R Q The method comprises the steps of carrying out a first treatment on the surface of the The collected invalid or actually undelivered measurement parameters are set to 0, and the weight coefficient is also 0.
The network parameters of the power system include: node number nodeNum, branch number lnNum, branch head node number f, branch end node number t, branch resistance R, branch reactance X, branch nonstandard transformation ratio K, earth admittance B and node parallel conductance G sh Node parallel susceptance B sh Node parallel conductance G of non-parallel element node sh Node parallel susceptance B sh Is 0.
The node voltage U information in the acquired network parameters comprises the amplitude value and the voltage phase angle of the node voltage; in addition, in order to adapt to the subsequent parallel computation performed in the GPU, the CPU memory is considered to read the parameters in units of 128 floating point numbers or integers, so the parameter data collected in step S1 are all aligned to be processed: the length of the measurement vector is extended to an integer multiple of 128, and the node number nodeNum and the branch number lnNum are also extended to an integer multiple of 128.
The branch admittance list in step S2 sequentially comprises the following admittance storage structures from one side to the other side: branch admittance column: y is Y s [1]~Y s [lnNum]Branch f side-to-ground admittance column: y is Y f [1]~Y f [lnNum]Branch t side to ground admittance column: y is Y t [1]~Y t [lnNum];
Any branch k admittance Y in branch admittance column s (k) The solution formula of (2) is:
Figure BDA0002514228470000031
wherein ,Ys (k) Representing the branch admittance, R (k) representing the branch resistance, X (k) representing the branch reactance; k (K) represents the non-standard transformation ratio of the branch; g s (k) Conductance for the branch; b s (k) Is thatThe branch susceptance; j is the imaginary part mark in complex calculation;
the kth branch f side-to-ground admittance Y in the branch f side-to-ground admittance column f (k) The solution formula of (2) is:
Figure BDA0002514228470000032
wherein B (k) represents the capacitance to ground of the line, g f (k) Conducting ground for the branch f side; b f (k) A susceptance to ground for the branch f side;
the kth branch t side-to-ground admittance Y in the branch t side-to-ground admittance column t (k) The solution formula of (2) is:
Figure BDA0002514228470000041
wherein ,gt (k) Conducting electricity to the side t of the branch; b t (k) And susceptance is applied to the t side of the branch.
In order to improve the speed of acquiring parameter data by the GPU, prevent access conflict among threads of the GPU, ensure the speed of parallel computation of the GPU, store the branch admittance list in sequence according to the admittance storage structure from one side to the other side, and the admittance parameter of the branch which does not exist actually is 0.
Preferably, the length of the state variable vector in step S3 is: nodeNum x 2.
Preferably, the active jacobian matrix H described in step S4 P For a sparse matrix of nodenum+lnnum row by 2 nodeNum column, an active jacobian matrix H P The element calculation formula of (a) is as follows:
Figure BDA0002514228470000042
Figure BDA0002514228470000043
Figure BDA0002514228470000044
Figure BDA0002514228470000045
Figure BDA0002514228470000046
Figure BDA0002514228470000047
θ ft =θ f(k)t(k)
wherein ,Pinj (i) Injecting active power for point i; b (B) ij Representing the conductance of the branch between node i and node j, B ii Representing the self-conductance, θ, of node i i A voltage phase angle theta of the node i j The voltage phase angle of the node j; u (U) f(k) The voltage amplitude of the starting node of the branch k; u (U) t(k) The voltage amplitude of the k-terminal node of the branch is; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) Is the voltage phase angle of the last node of branch k. f (k) is the number of the starting node of the branch k, t (k) is the number of the last node of the branch k, and θ ft Representing the voltage phase angle difference between node i and node j.
Reactive jacobian matrix H Q A sparse matrix of nodeNum x 2+lnnum x 2 rows and nodeNum columns, and a reactive jacobian matrix H Q The element calculation formula of (a) is as follows:
Figure BDA0002514228470000051
Figure BDA0002514228470000052
Figure BDA0002514228470000053
Figure BDA0002514228470000054
Figure BDA0002514228470000055
Figure BDA0002514228470000056
Figure BDA0002514228470000057
θ ft =θ f(k)t(k)
wherein ,Qinj (i) Injecting reactive power for node i, B ij Representing the conductance of the branch between node i and node j, B ii Representing the self-conductance, U, of node i i Voltage amplitude, U, for node i j The voltage amplitude at node j; u (U) f(k) The voltage amplitude of the starting node of the branch k; u (U) t(k) The voltage amplitude of the k-terminal node of the branch is; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) Is the voltage phase angle of the last node of branch k. f (k) is the number of the starting node of the branch k, t (k) is the number of the last node of the branch k, and θ ft Representing the voltage phase angle difference between node i and node j.
Preferably, the active residual equation matrix A described in step S5 P The calculation formula of (2) is as follows:
Figure BDA0002514228470000058
wherein ,
Figure BDA0002514228470000059
as an active jacobian matrix H P Transpose of->
Figure BDA00025142284700000510
For measuring weight matrix R of active quantity P An inverse matrix of (a); reactive residual equation matrix A Q The calculation formula of (2) is as follows:
Figure BDA00025142284700000511
wherein ,
Figure BDA00025142284700000512
is a reactive jacobian matrix H Q Transpose of->
Figure BDA00025142284700000513
For measuring weight matrix R of reactive power Q Is a matrix of inverse of (a).
Here, due to the active weight matrix R P And reactive power measurement weight matrix R Q Are all diagonal arrays, and when the measurement parameters of the power system are collected, the collected invalid or actually undelivered measurement parameters are set to 0, so that the active measurement weight matrix R P And reactive power measurement weight matrix R Q In which a part of diagonal elements are set to 0, and there is a case of no inverse matrix, for the active weight matrix R P And reactive power measurement weight matrix R Q The non-zero elements in (1) are inverted to perform equivalent inversion.
Preferably, the active jacobian matrix H described in step S6 P Reactive jacobian matrix H Q Triangle matrix A under active power PL Triangle matrix A under reactive power QL When copying to the main memory of the GPU, adopting a column priority sparse matrix compression storage format; copying the branch admittance list into the main memory of the GPU, and adopting a column-priority storage format as an active jacobian matrix H P Reactive jacobian matrix H Q Triangle matrix A under active power PL Triangle matrix A under reactive power QL The number of lines of any one parameter column in the branch admittance list is unequalAnd when the number of the GPU threads is integer multiple, inserting all 0 parameter empty lines to complete, thereby ensuring the combined access of the triggering GPU to the parameters copied to the main memory.
Preferably, the active iteration process described in step S7 is:
s701, calculating an active power measurement estimated value;
firstly, calculating the branch active power measurement estimated value, wherein the calculation formula of the branch active power measurement estimated value is as follows:
Figure BDA0002514228470000061
Figure BDA0002514228470000062
θ ft =θ f(k)t(k)
wherein ,Pft_est (k) Measuring an estimated value for active power of the branch from the f side to the t side; p (P) tf_est (k) Measuring an estimated value for active power of the branch from the t side to the f side; u (U) f(k) Representing the node voltage magnitude on the branch f side; u (U) t(k) Representing the node voltage amplitude on the t side of the branch; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) For the voltage phase angle, θ, of the branch k-terminal node ft Representing the voltage phase angle difference between node i and node j.
S702, traversing all nodes, and setting an active injection measurement estimated value variable P for any point i inj_est (i) And initialized to 0.
S703, traversing all branches, and for any branch k, superposing the active power measurement estimated values on two sides of the branch to the injection active power measurement estimated value of the measurement node. For example, for the kth branch
P inj_est (f(k))=P inj_est (f(k))+P ft_est (k)
P inj_est (t(k))=P inj_est (t(k))+P tf_est (k)
wherein ,Pft_est (f) Injecting a power measurement estimated value, P, into the node of the branch f-side node tf_est And (t) injecting a useful measuring estimated value for the node of the node at the t side of the branch.
S704, traversing all nodes, superposing the node parallel admittance active power measurement estimation value to the node injection active power measurement estimation value, and for any node i:
Figure BDA0002514228470000063
wherein ,Gsh (i) Parallel conductance for node i
S705. P inj_est 、P ft_est 、P tf_est Sequentially arranged to form a vector z of the estimated value of the active power measurement P_est The method comprises the steps of carrying out a first treatment on the surface of the Using active measurement estimate vector z P_est And active measured value vector Z P_M Calculating an active measurement estimation error vector:
z P_err =z P_M -z P_est
wherein ,zP_err Representing a useful-quantity-measurement estimation error vector;
s706, according to an active residual equation matrix A P Error vector z of active measurement estimation P_err The change amount delta theta of the state variable theta is obtained, and the change amount delta theta of the state variable theta satisfies the following conditions:
Figure BDA0002514228470000071
preferably, the reactive iteration process described in step S7 is:
s711, calculating a reactive power measurement estimated value;
firstly, calculating a branch reactive power measurement estimated value, wherein the calculation formula of the branch reactive power measurement estimated value is as follows:
Figure BDA0002514228470000072
Figure BDA0002514228470000073
/>
θ ft =θ f(k)t(k)
wherein ,Qft_est (f) Injecting reactive power measurement estimated value, Q for the node of the branch f-side node tf_est And (t) injecting reactive power measurement estimated values into the node of the node at the t side of the branch. U (U) f(k) Representing the node voltage magnitude on the branch f side; u (U) t(k) Representing the node voltage amplitude on the t side of the branch; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) For the voltage phase angle, θ, of the branch k-terminal node ft Representing the voltage phase angle difference between node i and node j.
S712, traversing all nodes, and setting an active injection measurement estimated value variable Q for any point i inj_est (i) And initialized to 0.
S713, traversing all branches, and for any branch k, superposing reactive power measurement estimated values at two sides of the branch to the injection reactive power measurement estimated value of the measurement node. For example, for the kth branch
Q inj_est (f(k))=Qinj_est(f(k))+Q ft_est (k)
Q inj_est (t(k))=Qinj_est(t(k))+Q tf_est (k)
wherein ,Qft_est (f) Injecting reactive power measurement estimated value, Q for the node of the branch f-side node tf_est And (t) injecting reactive power measurement estimated values into the node of the node at the t side of the branch.
S714, traversing all nodes, superposing the node parallel admittance reactive power measurement estimation value to the node injection reactive power measurement estimation value, and for any node i:
Figure BDA0002514228470000074
wherein ,Bsh (i) And susceptance is connected in parallel for the node i.
S715. Will Q inj_est 、Q ft_est 、Q tf_est U is arranged in turnThe columns form a reactive power measurement estimate vector z Q_est The method comprises the steps of carrying out a first treatment on the surface of the Using active measurement estimate vector z Q_est And active measured value vector z Q_M Calculating an active measurement estimation error vector:
z P_err =z P_M -z P_est
wherein ,zP_err Representing a useful-quantity-measurement estimation error vector;
s716, according to an active residual equation matrix A Q Error vector z of active measurement estimation Q_err The change quantity delta U of the state variable U is obtained, and the change quantity delta U of the state variable U meets the following conditions:
Figure BDA0002514228470000081
in the process of active iteration or reactive iteration, as the parallel calculation is realized by each thread of the GPU in the form of single-instruction multi-data stream, the number of branches connected by each node is different, and the traditional method for calculating the active or reactive power measurement estimated value according to the nodes can cause waiting among the threads, so that the parallelism is seriously influenced, the active and reactive power measurement estimated values of the branches and the parallel admittance active and reactive power measurement estimated values of all the nodes are calculated at first, the power of the branches is summed to obtain the node injection power, and the calculated parallelism is improved; in addition, in the process of solving the change amount Δu of the state variable U or the change amount Δθ of the state variable θ, the state estimation is based on the PQ decomposition method, and the active residual equation matrix a is then P Reactive residual equation matrix A Q All are constant matrixes, and do not change in the iterative process, so that the lower triangular arrays APL and AQL respectively obtained by LLT decomposition are pushed forward for generation, and delta theta and delta U are further obtained, so that the solving process is simplified.
Preferably, the active iteration convergence condition is:
max(Δθ)<θ th
wherein Δθ represents the amount of change in the state variable θ; θ th Representing an active iteration convergence thresholdThe method comprises the steps of carrying out a first treatment on the surface of the When the active iteration convergence condition is not satisfied, updating a node voltage phase angle, wherein an updating formula of the node voltage phase angle is as follows:
θ (kk+1) =θ (kk) +Δθ
wherein ,θ(kk) Representing a node voltage phase angle state variable at a kth iteration; θ (kk+1) Representing the node voltage phase angle state variable at the kk+1th iteration; the reactive iteration convergence condition is:
max(ΔU)<U th
wherein DeltaU represents the variation of the voltage amplitude U of the state variable node; u (U) th Representing a reactive iteration convergence threshold; when the reactive iteration convergence condition is not satisfied, updating the node voltage amplitude, wherein the updating formula of the node voltage amplitude is as follows:
U( kk+1 )=U( kk )+ΔU
wherein ,U(kk) Representing a node voltage magnitude state variable at a kth iteration; u (U) (kk+1) Representing the node voltage magnitude state variable at the kk+1th iteration.
Compared with the prior art, the technical scheme of the invention has the beneficial effects that:
the invention provides a power system PQ decomposition state estimation method based on GPU parallel computing, which is based on state estimation of a traditional power system PQ decomposition method, uniformly copies and packages parameters related in the state estimation process into a main memory of a GPU, triggers the GPU to merge and access the parameters copied into the main memory, and then carries out parallel computing based on the GPU.
Drawings
FIG. 1 is a flow chart of a method for estimating the PQ decomposition state of a power system based on GPU parallel computing according to the present invention;
fig. 2 shows a branch admittance list encapsulation structure diagram proposed in an embodiment of the present invention.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the present patent;
for better illustration of the present embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent actual dimensions;
it will be appreciated by those skilled in the art that some well known descriptions in the figures may be omitted.
The technical scheme of the invention is further described below with reference to the accompanying drawings and examples.
Example 1
Fig. 1 is a flow chart of a power system PQ decomposition state estimation method based on GPU parallel computing according to the present invention, see fig. 1, wherein H in the illustration P Representing an active jacobian matrix; h Q Representing a reactive jacobian matrix; a is that P Representing an active residual equation matrix; a is that Q Representing a reactive residual equation matrix; a is that PL Representing an active lower triangular matrix; a is that QL Representing a reactive lower triangular matrix, the method comprising:
s1, collecting measurement parameters of an electric power system and network parameters of the electric power system; in specific implementation, measurement parameters of the power system are collected through a data collection system, and network parameters of the power system are collected through an Energy Management System (EMS);
the measurement parameters of the power system include: node voltage U and node injection active power P inj_M Node injection reactive power Q inj_M Active power P on both sides of branch ft_M 、P tf_M Reactive power Q at two sides of branch ft_M 、Q tf_M The current amplitude value, the collected invalid or actually undelivered measurement parameter is set to 0, and the weight coefficient is also 0; active value vector Z formed by measuring parameters P_M Vector Z of reactive power measurement values Q_M And a weight matrix R for measuring the power P And reactive power measurement weight matrix R Q The method comprises the steps of carrying out a first treatment on the surface of the The node voltage U information in the acquired network parameters comprises the amplitude value and the voltage phase angle of the node voltage;
network parameter packet of the power systemThe method comprises the following steps: node number nodeNum, branch number lnNum, branch head node number f, branch end node number t, branch resistance R, branch reactance X, branch nonstandard transformation ratio K, earth admittance B and node parallel conductance G sh Node parallel susceptance B sh Node parallel conductance G of non-parallel element node sh Node parallel susceptance B sh Is 0. In addition, in order to adapt to the parallel computation performed in the GPU in the subsequent implementation, the CPU memory is considered to read the parameters in units of 128 floating point numbers or integers, so the parameter data collected in step S1 are all aligned to be processed: the length of the measurement vector is extended to an integer multiple of 128, and the node number nodeNum and the branch number lnNum are also extended to an integer multiple of 128.
S2, generating a node admittance matrix and a branch admittance list according to network parameters of the power system; in this embodiment, the node admittance matrix is generated according to a conventional calculation method;
s3, using node voltage amplitude and voltage phase angle of the power system as state variable vectors, initializing the node voltage amplitude to 1.0pu, and initializing the node voltage phase angle to 0rad;
s4, respectively calculating an active jacobian matrix H according to the measurement parameters of the power system and the network parameters of the power system P Reactive jacobian matrix H Q
S5, calculating an active residual equation matrix A P And reactive residual equation matrix A Q For the active residual equation matrix A P And reactive residual equation matrix A Q Respectively performing LLT decomposition to obtain an active lower triangular matrix A PL Reactive lower triangular matrix A QL
S6, an active jacobian matrix H P Reactive jacobian matrix H Q Triangle matrix A under active power PL Triangle matrix A under reactive power QL Copying the branch admittance list into a main memory of the GPU;
s7, based on GPU parallel calculation, carrying out active iteration in the GPU, judging whether an active iteration convergence condition is met, if yes, executing a step S8, otherwise, updating a node voltage phase angle, and executing the step S8;
s8, performing reactive iteration in the GPU, judging whether reactive iteration convergence conditions are met, and if yes, executing a step S9; otherwise, updating the node voltage amplitude, and executing step S9;
s9, judging whether the active iteration and the reactive iteration are converged or not, and if yes, outputting a state estimation result; otherwise, executing step S10;
s10, judging whether the iteration number kk is greater than the maximum iteration number k th If yes, the state estimation iteration is not converged; otherwise, the process returns to step S7.
In the whole state estimation, if the current iteration times are compared with the set maximum iteration times when the active iteration convergence condition and the reactive iteration convergence condition are not met, if the current iteration times exceed the maximum iteration times, but the state estimation process still does not meet the active iteration convergence condition and the reactive iteration convergence condition, the state estimation process is not converged; when the active iteration convergence condition and the reactive iteration convergence condition are both satisfied, the output state estimation result, namely the current value of the state variable vector, is node voltage amplitude and voltage phase angle data of the power system.
In this embodiment, as shown in fig. 2, in order to increase the speed of the GPU obtaining parameter data, access conflict between threads of the GPU is prevented, the speed of GPU parallel computing is ensured, and the admittance storage structure of the branch admittance list from one side to the other side is as follows: branch admittance column: y is Y s [1]~Y s [lnNum]Branch f side-to-ground admittance column: y is Y f [1]~Y f [lnNum]Branch t side to ground admittance column: y is Y t [1]~Y t [lnNum]The method comprises the steps of carrying out a first treatment on the surface of the The admittance parameter of the branch that is not actually present is 0.
Any branch k admittance Y in branch admittance column s (k) The solution formula of (2) is:
Figure BDA0002514228470000111
wherein ,Ys (k) Representing the branch admittance, R (k) represents the branchA path resistance, X (k) representing the path reactance; k (K) represents the non-standard transformation ratio of the branch; g s (k) Conductance for the branch; b s (k) Susceptance for the branch; j is the imaginary part mark in complex calculation;
the kth branch f side-to-ground admittance Y in the branch f side-to-ground admittance column f (k) The solution formula of (2) is:
Figure BDA0002514228470000112
wherein B (k) represents the capacitance to ground of the line, g f (k) Conducting ground for the branch f side; b f (k) A susceptance to ground for the branch f side;
the kth branch t side-to-ground admittance Y in the branch t side-to-ground admittance column t (k) The solution formula of (2) is:
Figure BDA0002514228470000113
wherein ,gt (k) Conducting electricity to the side t of the branch; b t (k) And susceptance is applied to the t side of the branch.
The length of the state variable vector in step S3 is as follows: nodeNum x 2.
In this embodiment, the active jacobian matrix H described in step S4 P As a sparse matrix of (nodenum+lnnum) row nodeNum columns, an active jacobian matrix H P The element calculation formula of (a) is as follows:
Figure BDA0002514228470000121
Figure BDA0002514228470000122
Figure BDA0002514228470000123
Figure BDA0002514228470000124
Figure BDA0002514228470000125
Figure BDA0002514228470000126
θ ft =θ f(k)t(k)
wherein ,Pinj (i) Injecting active power for point i; b (B) ij Representing the conductance of the branch between node i and node j, B ii Representing the self-conductance, θ, of node i i A voltage phase angle theta of the node i j The voltage phase angle of the node j; u (U) f(k) The voltage amplitude of the starting node of the branch k; u (U) t(k) The voltage amplitude of the k-terminal node of the branch is; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) Is the voltage phase angle of the last node of branch k. f (k) is the number of the starting node of the branch k, t (k) is the number of the last node of the branch k, and θ ft Representing the voltage phase angle difference between node i and node j.
Reactive jacobian matrix H Q Is a sparse matrix of (nodeNum x 2+lnnum x 2) row nodeNum columns, reactive jacobian matrix H Q The element calculation formula of (a) is as follows:
Figure BDA0002514228470000131
Figure BDA0002514228470000132
/>
Figure BDA0002514228470000133
Figure BDA0002514228470000134
Figure BDA0002514228470000135
Figure BDA0002514228470000136
Figure BDA0002514228470000137
θ ft =θ f(k)t(k)
wherein ,Qinj (i) Injecting reactive power for node i, B ij Representing the conductance of the branch between node i and node j, B ii Representing the self-conductance, U, of node i i Voltage amplitude, U, for node i j The voltage amplitude at node j; u (U) f(k) The voltage amplitude of the starting node of the branch k; u (U) t(k) The voltage amplitude of the k-terminal node of the branch is; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) Is the voltage phase angle of the last node of branch k. f (k) is the number of the starting node of the branch k, t (k) is the number of the last node of the branch k, and θ ft Representing the voltage phase angle difference between node i and node j.
In this embodiment, the active residual equation matrix A described in step S5 P The calculation formula of (2) is as follows:
Figure BDA0002514228470000138
wherein ,
Figure BDA0002514228470000139
as an active jacobian matrix H P Transpose of->
Figure BDA00025142284700001310
For measuring weight matrix R of active quantity P An inverse matrix of (a); reactive residual equation matrix A Q The calculation formula of (2) is as follows:
Figure BDA00025142284700001311
wherein ,
Figure BDA00025142284700001312
is a reactive jacobian matrix H Q Transpose of->
Figure BDA00025142284700001313
Weight matrix R for reactive power measurement Q Is a matrix of inverse of (a). In the concrete implementation, the weight matrix R is measured due to the active quantity P And reactive power measurement weight matrix R Q Are all diagonal arrays, and when the measurement parameters of the power system are collected, the collected invalid or actually undelivered measurement parameters are set to 0, so that the active measurement weight matrix R P And reactive power measurement weight matrix R Q In which a part of diagonal elements are set to 0, and there is a case of no inverse matrix, for the active weight matrix R P And reactive power measurement weight matrix R Q The non-zero elements in (1) are inverted to perform equivalent inversion.
In this embodiment, an active jacobian matrix H as described in step S6 P Reactive jacobian matrix H Q Triangle matrix A under active power PL Triangle matrix A under reactive power QL When copying to the main memory of the GPU, adopting a column priority sparse matrix compression storage format; copying the branch admittance list into the main memory of the GPU, and adopting a column-priority storage format as an active jacobian matrix H P Reactive jacobian matrix H Q Triangle matrix A under active power PL Triangle matrix A under reactive power QL And when the number of lines of any parameter column in the branch admittance list is not equal to the integer multiple of the number of GPU threads, inserting all 0 parameter blank lines to complete, thereby ensuring the combined access of triggering the GPU to the parameters copied to the main memory.
In this embodiment, the active iteration process described in step S7 is:
s701, calculating an active power measurement estimated value;
firstly, calculating the branch active power measurement estimated value, wherein the calculation formula of the branch k active power measurement estimated value is as follows:
Figure BDA0002514228470000141
Figure BDA0002514228470000142
θ ft =θ f(k)t(k)
wherein ,Pft_est (k) Measuring an estimated value for active power of the branch from the f side to the t side; p (P) tf_est (k) Measuring an estimated value for active power of the branch from the t side to the f side; u (U) f(k) Representing the node voltage magnitude on the branch f side; u (U) t(k) Representing the node voltage amplitude on the t side of the branch; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) For the voltage phase angle, θ, of the branch k-terminal node ft Representing the voltage phase angle difference between node i and node j.
S702, traversing all nodes, and setting an active injection measurement estimated value variable P for any point i inj_est (i) And initialized to 0.
S703, traversing all branches, and for any branch k, superposing the active power measurement estimated values on two sides of the branch to the injection active power measurement estimated value of the measurement node. For example, for the kth branch
P inj_est (f(k))=P inj_est (f(k))+P ft_est (k)
P inj_est (t(k))=P inj_est (t(k))+P tf_est (k)
wherein ,Pft_est (f) Injecting a power measurement estimated value, P, into the node of the branch f-side node tf_est And (t) injecting a useful measuring estimated value for the node of the node at the t side of the branch.
S704, traversing all nodes, superposing the node parallel admittance active power measurement estimation value to the node injection active power measurement estimation value, and for any node i:
Figure BDA0002514228470000143
wherein ,Gsh (i) Parallel conductance for node i
S705. P inj_est 、P ft_est 、P tf_est Sequentially arranged to form a vector z of the estimated value of the active power measurement P_est The method comprises the steps of carrying out a first treatment on the surface of the Using active measurement estimate vector z P_est And active measured value vector Z P_M Calculating an active measurement estimation error vector:
z P_err =z P_M -z P_est
wherein ,zP_err Representing a useful-quantity-measurement estimation error vector;
s706, according to an active residual equation matrix A P Error vector z of active measurement estimation P_err The change amount delta theta of the state variable theta is obtained, and the change amount delta theta of the state variable theta satisfies the following conditions:
Figure BDA0002514228470000151
will P i_est 、P ij_est 、P ji_est Sequentially arranged to form a vector z of the estimated value of the active power measurement P_est The method comprises the steps of carrying out a first treatment on the surface of the Using active measurement estimate vector z P_est And active measured value vector Z P_M Calculating an active measurement estimation error vector:
z P_err =z P_M -z P_est
wherein ,zP_err Representing a useful-quantity-measurement estimation error vector;
s706, according to an active residual equation matrix A P Error vector z of active measurement estimation P_err The change amount delta theta of the state variable theta is obtained, and the change amount delta theta of the state variable theta satisfies the following conditions:
Figure BDA0002514228470000152
preferably, the reactive iteration process described in step S7 is:
s711, calculating a reactive power measurement estimated value;
firstly, calculating a branch reactive power measurement estimated value, wherein the calculation formula of the branch reactive power measurement estimated value is as follows:
Figure BDA0002514228470000153
Figure BDA0002514228470000154
θ ft =θ f(k)t(k)
wherein ,Qft_est (f) Injecting reactive power measurement estimated value, Q for the node of the branch f-side node tf_est And (t) injecting reactive power measurement estimated values into the node of the node at the t side of the branch. U (U) f(k) Representing the node voltage magnitude on the branch f side; u (U) t(k) Representing the node voltage amplitude on the t side of the branch; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) For the voltage phase angle, θ, of the branch k-terminal node ft Representing the voltage phase angle difference between node i and node j.
S712, traversing all nodes, and setting an active injection measurement estimated value variable Q for any point i inj_est (i) And initialized to 0.
S713, traversing all branches, and for any branch k, superposing reactive power measurement estimated values at two sides of the branch to the injection reactive power measurement estimated value of the measurement node. For example, for the kth branch
Q inj_est (f(k))=Q inj_est (f(k))+Q ft_est (k)
Q inj_est (t(k))=Q inj_est (t(k))+Q tf_est (k)
wherein ,Qft_est (f) Injecting reactive power measurement estimated value, Q for the node of the branch f-side node tf_est And (t) injecting reactive power measurement estimated values into the node of the node at the t side of the branch.
S714, traversing all nodes, superposing the node parallel admittance reactive power measurement estimation value to the node injection reactive power measurement estimation value, and for any node i:
Figure BDA0002514228470000161
wherein ,Bsh (i) And susceptance is connected in parallel for the node i.
S715. Will Q i_est 、Q ij_est 、Q ji_est Sequentially arranged to form a reactive power measurement estimated value vector z Q_est The method comprises the steps of carrying out a first treatment on the surface of the Using the reactive power measurement estimate vector z Q_est And reactive power measurement vector z Q_M Calculating a reactive power measurement estimation error vector:
z Q_err =z Q_M -z Q_est
wherein ,zQ_err Representing a reactive power measurement estimation error vector;
s713, according to reactive residual equation matrix A Q Reactive power measurement estimation error vector z Q_err The change quantity delta U of the state variable U is obtained, and the change quantity delta U of the state variable U meets the following conditions:
Figure BDA0002514228470000162
in the process of active iteration or reactive iteration, when calculating the active or reactive power measurement estimated value, as each thread of the GPU realizes parallel calculation in the form of single-instruction multi-data stream, the number of branches connected by each node is different, and the traditional method for calculating the active or reactive power measurement estimated value by node can cause waiting among each thread and seriously affect the parallelism, firstly calculating the active and reactive power measurement estimated values of the branches and the parallel admittance active and reactive power measurement estimated values of all nodes, and solving the branch powerAnd obtaining node injection power, so as to improve the parallelism of calculation; in addition, in the process of solving the change amount Δu of the state variable U or the change amount Δθ of the state variable θ, the state estimation is based on the PQ decomposition method, and the active residual equation matrix a is then P Reactive residual equation matrix A Q All are constant matrixes, and do not change in the iterative process, so that the lower triangular arrays APL and AQL respectively obtained by LLT decomposition are pushed forward for generation, and delta theta and delta U are further obtained, so that the solving process is simplified.
The active iteration convergence condition is:
max(Δθ)<θ th
wherein Δθ represents the amount of change in the state variable θ; θ th Representing an active iteration convergence threshold; when the active iteration convergence condition is not satisfied, updating a node voltage phase angle, wherein an updating formula of the node voltage phase angle is as follows:
θ (kk+1) =θ (kk) +Δθ
wherein ,θ(kk) Representing a node voltage phase angle state variable at a kth iteration; θ (kk+1) Representing the node voltage phase angle state variable at the kk+1th iteration; the reactive iteration convergence condition is:
max(ΔU)<U th
wherein DeltaU represents the variation of the voltage amplitude U of the state variable node; u (U) th Representing a reactive iteration convergence threshold; when the reactive iteration convergence condition is not satisfied, updating the node voltage amplitude, wherein the updating formula of the node voltage amplitude is as follows:
U( kk+1 )=U( kk )+ΔU
wherein ,U(kk) Representing a node voltage magnitude state variable at a kth iteration; u (U) (kk+1) Representing the node voltage magnitude state variable at the kk+1th iteration.
The relationships depicted in the drawings are for illustrative purposes only and are not to be construed as limiting the present patent;
it is to be understood that the above examples of the present invention are provided by way of illustration only and are not intended to limit the scope of the invention. Other variations or modifications of the above teachings will be apparent to those of ordinary skill in the art. It is not necessary here nor is it exhaustive of all embodiments. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the invention are desired to be protected by the following claims.

Claims (7)

1. The utility model provides a power system PQ decomposition state estimation method based on GPU parallel computing, which is characterized by at least comprising the following steps:
s1, collecting measurement parameters of an electric power system and network parameters of the electric power system;
the measurement parameters of the power system in step S1 include: node voltage U and node injection active power P inj_M Node injection reactive power Q inj_M Active power P on both sides of branch ft_M 、P tf_M Reactive power Q at two sides of branch ft_M 、Q tf_M A current magnitude; active value vector Z formed by measuring parameters P_M Vector Z of reactive power measurement values Q_M And a weight matrix R for measuring the power P And reactive power measurement weight matrix R Q The method comprises the steps of carrying out a first treatment on the surface of the The network parameters of the power system include: node number nodeNum, branch number lnNum, branch head node number f, branch end node number t, branch resistance R, branch reactance X, branch nonstandard transformation ratio K, earth admittance B and node parallel conductance G sh Node parallel susceptance B sh
S2, generating a node admittance matrix and a branch admittance list according to network parameters of the power system;
the branch admittance list in step S2 sequentially comprises the following admittance storage structures from one side to the other side: branch admittance column: y is Y s [1]~Y s [lnNum]Branch f side-to-ground admittance column: y is Y f [1]~Y f [lnNum]Branch t side to ground admittance column: y is Y t [1]~Y t [lnNum];
Any branch k admittance Y in branch admittance column s (k) The solution formula of (2) is:
Figure FDA0004038802670000011
wherein ,Ys (k) Representing the branch admittance, R (k) representing the branch resistance, X (k) representing the branch reactance; k (K) represents the non-standard transformation ratio of the branch; g s (k) Conductance for the branch; b s (k) Susceptance for the branch; j is the imaginary part mark in complex calculation;
the kth branch f side-to-ground admittance Y in the branch f side-to-ground admittance column f (k) The solution formula of (2) is:
Figure FDA0004038802670000012
wherein B (k) represents the capacitance of the branch to ground, g f (k) Conducting ground for the branch f side; b f (k) A susceptance to ground for the branch f side;
the kth branch t side-to-ground admittance Y in the branch t side-to-ground admittance column t (k) The solution formula of (2) is:
Figure FDA0004038802670000013
wherein ,gt (k) Conducting electricity to the side t of the branch; b t (k) A sodium is oppositely arranged for the t side of the branch;
s3, using node voltage amplitude and voltage phase angle of the power system as state variable vectors, initializing the node voltage amplitude to 1.0pu, and initializing the node voltage phase angle to 0.0rad;
s4, respectively calculating an active jacobian matrix H according to the measurement parameters of the power system and the network parameters of the power system P Reactive jacobian matrix H Q
An active jacobian matrix H as described in step S4 P For a sparse matrix of nodenum+lnnum row by 2 nodeNum column, an active jacobian matrix H P The element calculation formula of (a) is as follows:
Figure FDA0004038802670000021
Figure FDA0004038802670000022
/>
Figure FDA0004038802670000023
Figure FDA0004038802670000024
Figure FDA0004038802670000025
Figure FDA0004038802670000026
θ ft =θ f(k)t(k)
wherein ,Pinj (i) Injecting active power for point i; b (B) ij Representing the conductance of the branch between node i and node j, B ii Representing the self-conductance, θ, of node i i A voltage phase angle theta of the node i j The voltage phase angle of the node j; u (U) f(k) The voltage amplitude of the starting node of the branch k; u (U) t(k) The voltage amplitude of the k-terminal node of the branch is; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) The voltage phase angle of the k end node of the branch is; f (k) is the number of the starting node of the branch k, t (k) is the number of the last node of the branch k, and θ ft Representing the voltage phase angle difference between node i and node j;
reactive jacobian matrix H Q A sparse matrix of nodeNum, 3+lnnum, 2 rows and nodeNum columns, and a reactive jacobian matrix H Q In (a) elementsThe element calculation formula is:
Figure FDA0004038802670000031
Figure FDA0004038802670000032
Figure FDA0004038802670000033
Figure FDA0004038802670000034
Figure FDA0004038802670000035
Figure FDA0004038802670000036
Figure FDA0004038802670000037
θ ft =θ f(k)t(k)
wherein ,Qinj (i) Injecting reactive power for node i, B ij Representing the conductance of the branch between node i and node j, B ii Representing the self-conductance, U, of node i i Voltage amplitude, U, for node i j The voltage amplitude at node j; u (U) f(k) The voltage amplitude of the starting node of the branch k; u (U) t(k) The voltage amplitude of the k-terminal node of the branch is; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) For the voltage phase of the k-terminal node of the branchA corner; f (k) is the number of the starting node of the branch k, t (k) is the number of the last node of the branch k, and θ ft Representing the voltage phase angle difference between node i and node j;
s5, calculating an active residual equation matrix A P And reactive residual equation matrix A Q For the active residual equation matrix A P And reactive residual equation matrix A Q Respectively performing LLT decomposition to obtain an active lower triangular matrix A PL Reactive lower triangular matrix A QL
An active residual equation matrix A described in the step S5 P The calculation formula of (2) is as follows:
Figure FDA0004038802670000038
wherein ,
Figure FDA0004038802670000039
as an active jacobian matrix H P Transpose of->
Figure FDA00040388026700000310
For measuring weight matrix R of active quantity P An inverse matrix of (a);
reactive residual equation matrix A Q The calculation formula of (2) is as follows:
Figure FDA00040388026700000311
wherein ,
Figure FDA00040388026700000312
is a reactive jacobian matrix H Q Transpose of->
Figure FDA00040388026700000313
For reactive power measurement weight matrix R Q An inverse matrix of (a);
s6, an active jacobian matrix H P Reactive jacobian matrix H Q Active powerLower triangular matrix A PL Triangle matrix A under reactive power QL Copying the branch admittance list into a main memory of the GPU;
s7, based on GPU parallel calculation, carrying out active iteration in the GPU, judging whether an active iteration convergence condition is met, if yes, executing a step S8, otherwise, updating a node voltage phase angle, and executing the step S8;
s8, performing reactive iteration in the GPU, judging whether reactive iteration convergence conditions are met, and if yes, executing a step S9; otherwise, updating the node voltage amplitude, and executing step S9;
s9, judging whether the active iteration and the reactive iteration are converged or not, and if yes, outputting a state estimation result; otherwise, executing step S10;
s10, judging whether the iteration number kk is greater than the maximum iteration number k th If yes, the state estimation iteration is not converged; otherwise, the process returns to step S7.
2. The GPU-parallel computing-based power system PQ decomposition state estimation method according to claim 1, wherein the collected invalid or actually untransmitted measurement parameters are set to 0, and the weight coefficient is also 0; node parallel conductance G of non-parallel element node sh Node parallel susceptance B sh Is 0.
3. The GPU-parallel computing-based power system PQ decomposition state estimation method according to claim 1, wherein the length of the state variable vector in step S3 is: nodeNum x 2.
4. The method for estimating a state of power system PQ decomposition based on GPU parallel computing according to claim 1, wherein the active jacobian matrix H of step S6 P Reactive jacobian matrix H Q Triangle matrix A under active power PL Triangle matrix A under reactive power QL When copying to the main memory of the GPU, adopting a column priority sparse matrix compression storage format; copying the branch admittance list into the main memory of the GPU, and adopting a column-priority storage format as an active jacobian matrix H P Reactive jacobian matrix H Q Triangle matrix A under active power PL Triangle matrix A under reactive power QL And inserting all 0 parameter blank columns to complete when the number of lines of any parameter column in the branch admittance list is not equal to the integer multiple of the number of GPU threads.
5. The GPU-parallel computing-based power system PQ decomposition state estimation method according to claim 1, wherein the active iteration process of step S7 is:
s701, calculating an active power measurement estimated value;
firstly, calculating the branch active power measurement estimated value, wherein the calculation formula of the branch k active power measurement estimated value is as follows:
Figure FDA0004038802670000041
Figure FDA0004038802670000042
θ ft =θ f(k)t(k)
wherein ,Pft_est (k) Measuring an estimated value for active power of the branch from the f side to the t side; p (P) tf_est (k) Measuring an estimated value for active power of the branch from the t side to the f side; u (U) f(k) Representing the node voltage magnitude on the branch f side; u (U) t(k) Representing the node voltage amplitude on the t side of the branch; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) For the voltage phase angle, θ, of the branch k-terminal node ft Representing the voltage phase angle difference between node i and node j;
s702, traversing all nodes, and setting an active injection measurement estimated value variable P for any point i inj_est (i) And initialized to 0;
s703, traversing all branches, and for any branch k, superposing active power measurement estimated values on two sides of the branch to the injection active power measurement estimated value of the measurement node; for the kth branch
P inj_est (f(k))=P inj_est (f(k))+P ft_est (k)
P inj_est (t(k))=P inj_est (t(k))+P tf_est (k)
wherein ,Pft_est (f) Injecting a power measurement estimated value, P, into the node of the branch f-side node tf_est (t) injecting a useful-load measurement estimated value for a node of the node at the t side of the branch;
s704, traversing all nodes, superposing the node parallel admittance active power measurement estimation value to the node injection active power measurement estimation value, and for any node i:
Figure FDA0004038802670000051
wherein ,Gsh (i) Parallel conductance for node i
S705. P inj_est 、P ft_est 、P tf_est Sequentially arranged to form a vector z of the estimated value of the active power measurement P_est The method comprises the steps of carrying out a first treatment on the surface of the Using active measurement estimate vector z P_est And active measured value vector Z P_M Calculating an active measurement estimation error vector:
z P_err =z P_M -z P_est
wherein ,zP_err Representing a useful-quantity-measurement estimation error vector;
s706, according to an active residual equation matrix A P Error vector z of active measurement estimation P_err The change amount delta theta of the state variable theta is obtained, and the change amount delta theta of the state variable theta satisfies the following conditions:
Figure FDA0004038802670000052
6. the GPU-parallel computing-based power system PQ decomposition state estimation method according to claim 5, wherein the reactive iteration process of step S7 is:
s711, calculating a reactive power measurement estimated value;
firstly, calculating a branch reactive power measurement estimated value, wherein the calculation formula of the branch reactive power measurement estimated value is as follows:
Figure FDA0004038802670000053
Figure FDA0004038802670000054
θ ft =θ f(k)t(k)
wherein ,Qft_est (f) Injecting reactive power measurement estimated value, Q for the node of the branch f-side node tf_est (t) injecting a reactive power measurement estimated value for a node of the branch t-side node; u (U) f(k) Representing the node voltage magnitude on the branch f side; u (U) t(k) Representing the node voltage amplitude on the t side of the branch; θ f(k) The voltage phase angle of the starting node of branch k, theta t(k) For the voltage phase angle, θ, of the branch k-terminal node ft Representing the voltage phase angle difference between node i and node j;
s712, traversing all nodes, and setting an active injection measurement estimated value variable Q for any point i inj_est (i) And initialized to 0;
s713, traversing all branches, and for any branch k, superposing reactive power measurement estimated values at two sides of the branch to the injection reactive power measurement estimated value of the measurement node; for the kth branch
Q inj_est (f(k))=Q inj_est (f(k))+Q ft_est (k)
Q inj_est (t(k))=Q inj_est (t(k))+Q tf_est (k)
wherein ,Qft_est (f) Injecting reactive power measurement estimated value, Q for the node of the branch f-side node tf_est (t) injecting a reactive power measurement estimated value for a node of the branch t-side node;
s714, traversing all nodes, superposing the node parallel admittance reactive power measurement estimation value to the node injection reactive power measurement estimation value, and for any node i:
Figure FDA0004038802670000061
wherein ,Bsh (i) A susceptance is connected in parallel for the node i;
s715. Will Q inj_est 、Q ft_est 、Q tf_est U are sequentially arranged to form a reactive power measurement estimated value vector z Q_est The method comprises the steps of carrying out a first treatment on the surface of the Using active measurement estimate vector z Q_est And active measured value vector z Q_M Calculating an active measurement estimation error vector:
z P_err =z P_M -z P_est
wherein ,zP_err Representing a useful-quantity-measurement estimation error vector;
s716, according to an active residual equation matrix A Q Error vector z of active measurement estimation Q_err The change quantity delta U of the state variable U is obtained, and the change quantity delta U of the state variable U meets the following conditions:
Figure FDA0004038802670000062
7. the GPU-parallel computing-based power system PQ decomposition state estimation method of claim 6, wherein the active iteration convergence condition is:
max(Δθ)<θ th
wherein Δθ represents the amount of change in the state variable θ; θ th Representing an active iteration convergence threshold; when the active iteration convergence condition is not satisfied, updating a node voltage phase angle, wherein an updating formula of the node voltage phase angle is as follows:
θ (kk+1) =θ (kk) +Δθ
wherein ,θ(kk) Representing a node voltage phase angle state variable at a kth iteration; θ (kk+1) Representing node electricity at kk+1th iterationA phase angle state variable; the reactive iteration convergence condition is:
max(ΔU)<U th
wherein DeltaU represents the variation of the voltage amplitude U of the state variable node; u (U) th Representing a reactive iteration convergence threshold; when the reactive iteration convergence condition is not satisfied, updating the node voltage amplitude, wherein the updating formula of the node voltage amplitude is as follows:
U( kk+1 )=U( kk )+ΔU
wherein ,U(kk) Representing a node voltage magnitude state variable at a kth iteration; u (U) (kk+1) Representing the node voltage magnitude state variable at the kk+1th iteration.
CN202010470768.0A 2020-05-28 2020-05-28 Power system PQ decomposition state estimation method based on GPU parallel computing Active CN111711186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010470768.0A CN111711186B (en) 2020-05-28 2020-05-28 Power system PQ decomposition state estimation method based on GPU parallel computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010470768.0A CN111711186B (en) 2020-05-28 2020-05-28 Power system PQ decomposition state estimation method based on GPU parallel computing

Publications (2)

Publication Number Publication Date
CN111711186A CN111711186A (en) 2020-09-25
CN111711186B true CN111711186B (en) 2023-05-02

Family

ID=72538687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010470768.0A Active CN111711186B (en) 2020-05-28 2020-05-28 Power system PQ decomposition state estimation method based on GPU parallel computing

Country Status (1)

Country Link
CN (1) CN111711186B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112749369A (en) * 2021-01-19 2021-05-04 东方电子股份有限公司 Power system state estimation method based on Givens orthogonal transformation
CN113315118B (en) * 2021-04-26 2022-12-30 中国南方电网有限责任公司 Power system state estimation method based on parallel computing and particle swarm optimization
CN114372235A (en) * 2021-12-30 2022-04-19 东方电子股份有限公司 Power system state estimation method for preventing singular transformation matrix
CN117060373B (en) * 2023-06-27 2024-03-26 国网信息通信产业集团有限公司 Active power distribution network state estimation method and device based on measurement and alignment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000059994A (en) * 1998-08-05 2000-02-25 Mitsubishi Electric Corp Optimum power flow calculation device
CN103902814A (en) * 2014-03-10 2014-07-02 中国南方电网有限责任公司 Electric power system operation state detecting method based on dynamic partitioning
CN107016489A (en) * 2017-03-09 2017-08-04 中国电力科学研究院 A kind of electric power system robust state estimation method and device
CN107196306A (en) * 2017-07-10 2017-09-22 大连海事大学 Algorithm quicksort tidal current computing method based on Matlab sparse matrixes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000059994A (en) * 1998-08-05 2000-02-25 Mitsubishi Electric Corp Optimum power flow calculation device
CN103902814A (en) * 2014-03-10 2014-07-02 中国南方电网有限责任公司 Electric power system operation state detecting method based on dynamic partitioning
CN107016489A (en) * 2017-03-09 2017-08-04 中国电力科学研究院 A kind of electric power system robust state estimation method and device
CN107196306A (en) * 2017-07-10 2017-09-22 大连海事大学 Algorithm quicksort tidal current computing method based on Matlab sparse matrixes

Also Published As

Publication number Publication date
CN111711186A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN111711186B (en) Power system PQ decomposition state estimation method based on GPU parallel computing
CN110110413B (en) Structural topology optimization method based on material field reduction progression expansion
CN105449675B (en) The electric power networks reconstructing method of Optimum distribution formula energy access point and access ratio
CN104933528B (en) A kind of method that Jacobian matrix during electric power system tide calculates quickly is formed based on sparse matrix technology
CN107591807B (en) Optimization method for power transmission network planning under new energy access
CN113420401A (en) Optimal arrangement method for bias current blocking devices of power system
CN107171365A (en) Multiple target stochastic and dynamic economic load dispatching method with asynchronous iteration is decoupled based on scene
CN113191105A (en) Electrical simulation method based on distributed parallel operation method
CN113659604A (en) Electromechanical transient simulation method and device for LCC-VSC hybrid direct-current power grid and storage medium
CN114336635B (en) Full-pure embedded power flow calculation method and device based on constant term value and priori node
CN111327048A (en) Robust operation optimization method for power distribution network containing three-terminal SNOP
CN113051796B (en) Structural topology optimization design method applied to additive manufacturing
CN107959287B (en) Method for constructing two-voltage-level power grid growth evolution model
CN109830987A (en) The active distribution network Probabilistic Stability method of meter and distributed photovoltaic randomness
CN116578830A (en) Photovoltaic array reconstruction method based on improved marine predator algorithm
CN111371125B (en) Splitting and grouping optimization method for improving system coherence under condition of considering fan access
CN113315118B (en) Power system state estimation method based on parallel computing and particle swarm optimization
CN108649585A (en) Direct method for quickly searching static voltage stability domain boundary of power system
CN111697607A (en) Multi-terminal flexible direct-current transmission receiving-end power grid access method and system
CN110930263B (en) Medium-voltage distribution network short-circuit current calculation method containing photovoltaic power supply and induction motor based on black hole particle swarm algorithm
CN114389261A (en) Distributed photovoltaic power cluster division method considering grid-connected management mode
CN114204613A (en) Reactive compensation method and system for offshore wind farm access power system
CN116341394B (en) Hybrid driving model training method, device, computer equipment and storage medium
CN115642597B (en) Distributed photovoltaic bearing capacity calculation method and device
CN113033024B (en) Fine-grained parallel electromagnetic transient simulation method, system, terminal and medium for power transmission 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
GR01 Patent grant
GR01 Patent grant