CN104714927B - Method for solving node impedance matrix of power system based on symmetric CU triangular decomposition - Google Patents

Method for solving node impedance matrix of power system based on symmetric CU triangular decomposition Download PDF

Info

Publication number
CN104714927B
CN104714927B CN201410787714.1A CN201410787714A CN104714927B CN 104714927 B CN104714927 B CN 104714927B CN 201410787714 A CN201410787714 A CN 201410787714A CN 104714927 B CN104714927 B CN 104714927B
Authority
CN
China
Prior art keywords
array
elements
diagonal
matrix
equation
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
CN201410787714.1A
Other languages
Chinese (zh)
Other versions
CN104714927A (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.)
Nanchang University
Original Assignee
Nanchang University
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 Nanchang University filed Critical Nanchang University
Priority to CN201410787714.1A priority Critical patent/CN104714927B/en
Publication of CN104714927A publication Critical patent/CN104714927A/en
Application granted granted Critical
Publication of CN104714927B publication Critical patent/CN104714927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Complex Calculations (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A method for solving a node impedance matrix Z of a power system based on symmetric CU triangular decomposition belongs to the field of analysis and calculation of the power system. The method comprises the following steps: forming a node admittance matrix Y, and carrying out CU triangular decomposition on the Y matrix according to symmetry; for CWk=EkEquation solving for w onlykkAn element; to UZk=WkFinding ZkArray diagonal element ZkkAnd off-diagonal elements above; finding the diagonal Z from symmetrykkOff-diagonal elements to the left; and writing the Z-array data to a data file. The method utilizes the symmetry of Y, C, U, Z array elements and E in an E array of an identity matrixkThe structural characteristics of the array are that CU triangular decomposition is carried out according to symmetry, and only the diagonal element C of the U array element and the C array is calculatediiObtaining the off-diagonal element C of the C array according to the symmetrical relationij(ii) a Pair equation CWk=EkIs simplified to find wkk=1/ckk(ii) a To ZkArray only computing ZkkAnd the above elements. Compared with the traditional CU triangular decomposition method, the method for checking the IEEE-30, -57, -118 node system has the advantage that the calculation speed can be improved by about 62 percent.

Description

Method for solving node impedance matrix of power system based on symmetric CU triangular decomposition
Technical Field
The invention belongs to the field of analysis and calculation of an electric power system, and relates to a method for solving a node impedance matrix of the electric power system.
Background
The node impedance matrix Z is widely applied and plays an important role in the power system. The traditional method for solving the Z matrix comprises a branch addition method, an admittance matrix Y elimination inversion method, an LDU triangular decomposition method and the like. In the traditional method, the LDU trigonometric decomposition method has the fastest calculation speed relatively, so the method is used most, and the method is characterized in that the trigonometric decomposition method suitable for solving constant coefficient linear equation is utilized, after the Y array is subjected to LDU trigonometric decomposition, the solution of the Z array elements of n multiplied by n orders can be divided into n array matrixes ZkAnd (5) solving the elements.
In general, when solving equations of the same kind, the calculation speed of the LDU triangulation method is slower than that of the LR or CU triangulation method. Therefore, the method of LDU trigonometric decomposition for obtaining Z array elements is not three to threeOptimal choice of angular decomposition application. On the other hand, the CU trigonometric solution has a calculation speed about 3% faster than that of the LR trigonometric solution when solving the equation of the same kind. Therefore, when the trigonometric decomposition method is used to obtain the Z-array elements, the CU trigonometric decomposition method should be the best choice. However, the traditional CU trigonometric decomposition method does not utilize the symmetry of Y, C, U array elements in the decomposition process, and does not consider utilizing Z array elements in the process of solving the Z array elementskCalculation order of array elements, symmetry of Z array elements and E in unit matrix EkThe structural characteristics of the array are such that the actual computation time is not ideal.
The conventional triangulation methods establish their respective factor arrays independently, and thus it is not easy to find and utilize the interrelations between the factor array elements. When the elements of each factor array are calculated, all the elements are calculated from the upper left corner to the lower right corner in a 'L' (inverse L) mode of figure 3 or from the top to the next one in a 'row' mode of figure 4, and the calculation modes of the 2 elements cannot utilize the symmetrical relation of the Y array and the elements of the factor array. The calculation of these 2 elements is completed by one calculation using a calculation formula for all the elements, which is herein referred to as a formula method. Through analysis, the formula method is not beneficial to improving the element calculation process. Therefore, the efficiency of computing the factor array formed by various traditional triangulation methods is low, and the computing time is not ideal.
The calculation sequence of the Z array elements by the traditional LDU triangular decomposition method is as follows: z1,…,Zk,…,ZnThe process is shown in fig. 5.
Disclosure of Invention
The invention aims to overcome the defects of the existing method and provides a method for rapidly solving an impedance matrix based on symmetric CU triangular decomposition.
The invention is realized by the following technical scheme.
The invention comprises the following steps:
a method for solving a node impedance matrix of a power system based on symmetric CU triangular decomposition is characterized by comprising the following steps:
step 1: reading each branch data file;
step 2: forming a node admittance matrix Y;
and step 3: rapidly forming a synthetic array of a C, U factor array by utilizing the symmetrical relation of the Y array and the C, U array elements;
the specific implementation process of the step 3 is as follows:
according to YZk=EkLet Y equal CU to obtain CUZk=Ek. CUZ will be replacedk=EkFurther decomposition into CWk=Ek,UZk=WkTwo equations.
When C, U two factor array synthesis array is formed, the element calculation mode has great influence on the speed of forming factor array, and the CU trigonometric decomposition method adopted by the invention fully utilizes the relationship among the elements to quickly form C, U factor array synthesis array, which is mainly characterized as follows:
(1) and for the lower left 4-order Y array, the lower right 4-order composite array can be obtained according to the characteristics of the C, U array structure.
Figure GDA0000693477120000021
Figure GDA0000693477120000022
The relationship between the C, U matrix elements and the Y matrix elements in the composite matrix is shown below.
Figure GDA0000693477120000023
(2) The symmetric relation of the elements of the Y array and the C, U array and the relation among the elements in the synthetic array are fully shown when the array is synthesized, which is beneficial to understanding and applying the process method provided by the method of the invention according to ' reverse L ' and ' Gamma
Figure GDA0000693477120000024
C, U array elements are computed in steps.
(3) The diagonal elements and the values of the right elements are determined according to a 'Gamma' mode, and then the values of the elements below the diagonal elements are determined according to the symmetry.
(4) The upper triangle in the whole rectangular frame contained in 'Gamma' is calculated step by step in a similar elimination way
Figure GDA0000693477120000025
All elements of (1), and a lower triangle
Figure GDA0000693477120000026
All elements of (a) are obtained according to symmetry. The step-by-step calculation mode is called a process method, and is completely different from the calculation of a formula method in the traditional trigonometric decomposition method.
(5) The above analysis shows that when C, U factor arrays are formed according to the process of the present invention, each c isij、uijThe elements being calculated not once, but several times, in steps, in particular uijAnd (4) calculating elements.
(6) The procedural calculation procedure is shown in fig. 6. If similar elimination calculation is performed on a certain element at the left of each row of diagonal elements, only the diagonal elements at the same row and the elements at the right of the diagonal elements at the same row are calculated, and all the elements (shaded parts) at the left of the diagonal elements at the same row are not calculated, all the elements are obtained through symmetry. E.g. for c respectivelyk1And ck2When class elimination calculation is carried out, all the calculation is carried out by only calculating the diagonal elements and c above the diagonal elements step by stepkk~u′knAll elements, and diagonal element ckkAll elements to the left are not calculated. C is calculatedkk~u′knAfter the elements, all u 'can be directly determined by symmetry'kjThe element gets all elements c under the diagonal elementjkU 'to the right of the diagonal element'kjElement divided by the row diagonal element ckkAll u are obtainedkjAnd (4) elements.
Then, the diagonal elements and the upper triangles to the right in the whole rectangular frame contained in the 'Gamma' are calculated step by step according to the elimination mode
Figure GDA0000693477120000031
All elements in (1), and the lower triangle
Figure GDA0000693477120000032
All elements in (a) are triangulated from top according to symmetry
Figure GDA0000693477120000033
Is obtained from the elements (1). And circulating in sequence.
And 4, step 4: according to equation CUZk=EkPair equation CWk=EkFinding WkArraying; by the equation UZk=WkFinding ZkArray diagonal element ZkkAnd off-diagonal elements above;
the specific implementation process of the step 4 is as follows:
(1) pair equation CWk=EkSolving for WkProcedure for array
Opposite direction CW in traditional CU trigonometric decomposition methodk=EkTo solve for the whole WkAnd (5) arraying.
The invention is due to the fact thatkThe array element only needs to solve the diagonal element ZkkAnd the way of calculation of the above elements, hence the equation CWk=EkCan be simplified to find only WkDiagonal element w in the matrixkkAnd above elements thereof without solving the whole WkArray, corresponding to using only EkThe k-th row of the array has diagonal elements and more. Due to EkThe array elements are characterized in that: the element in the k-th row is 1 and the remaining elements are all zeros. Thus, the equation CWk=EkW inkSimplifying the array solving into only solving WkDiagonal element w in the matrixkk=1/ckkIs calculated, and wkkThe above elements are still all 0, wkkThe following elements are not considered.
Thus in the method of the invention the equation CW isk=EkOnly need to solve for Ek Diagonal element 1 of the matrix divided by diagonal element C of the corresponding C-matrix positionkkAnd (4) finishing.
(2) Pair equation UZk=WkSolving for ZkProcedure for array
The traditional CU trigonometric decomposition method is to solve each column ZkAll elements of the matrix。
The method of the invention is to equation UZk=WkSolving for ZkThe calculation order of the array elements is: zn,…,Zk,…,Z1And in calculating each ZkIn the matrix process, only Z is calculatedkArray diagonal element ZkkAnd off-diagonal elements above it, i.e. Zkk,Zk,k-1,…,Zk1
And 5: finding the diagonal Z from symmetrykkOff-diagonal elements to the left;
since in step 4 each Z is calculatedkComputing only diagonal elements Z in time matrixkkAnd above elements, if necessary, the diagonal element Z can be obtained according to the symmetry of the Z array elementskkThe left element. This way of calculation can reduce the calculation of 50% off-diagonal elements.
The process of finding the Z-array elements in the method of the present invention is shown in fig. 7, where the elements with prime symbol indicate the off-diagonal elements obtained from symmetry.
Step 6: and writing the Z matrix into a data file for a subsequent program.
In view of the structuring of the program, the forming of the Z-matrix program ends here, and the calling of the formed Z-matrix data file is executed by the next program.
Compared with the traditional CU triangular decomposition method, the method disclosed by the invention has the following advantages:
(1) the use of the synthetic array not only saves memory cells, but also facilitates understanding and application of the computational process of the present invention.
(2) The symmetric relation of Y, C, U array elements is utilized to quickly form C, U factor array, and only the diagonal elements C of the U array element and the C array are calculatediiObtaining the off-diagonal element C of the C array according to the symmetrical relationijThe calculation of about 50% of the elements in the formation of the factor array can be reduced.
(3) The back substitution process utilizes EkThe structural characteristics of the array. Will be paired with equation CWk=EkIs simplified to directly pair the diagonal elements wkk=1/ckkThe calculation of the equation is greatly simplified.
(4) The back substitution process utilizes the symmetry of Z array elements to calculate only ZkArray diagonal element ZkkAnd the non-diagonal elements above the diagonal elements obtain the diagonal elements Z according to the symmetrykkBy the off-diagonal elements on the left, the Z is reduced by 50 percentkAnd calculating off-diagonal elements of the array. If necessary, the off-diagonal elements of the triangle under the Z matrix are not required, so as to further accelerate the calculation speed.
Therefore, when the Y array is used for solving the Z array element, the method of the invention is superior to the traditional CU trigonometric decomposition method.
Drawings
FIG. 1 is a flowchart of a conventional calculation for solving Z-matrix elements by CU trigonometric decomposition.
FIG. 2 is a flowchart of the calculation of the method of the present invention to obtain Z-array elements.
FIG. 3 shows a process of forming factor array elements in a "" trans-L "" manner in a conventional trigonometric decomposition method.
FIG. 4 is a process of forming factor array elements in a "row" manner in a conventional triangulation method.
FIG. 5 is a calculation sequence of Z-array elements in the conventional LDU triangulation method.
FIG. 6 is a process of forming factor array elements in a "symmetric elimination" manner by the process of the present invention.
FIG. 7 is a sequence of the Z-array elements calculated in the method of the present invention.
Detailed Description
The invention will be further illustrated by the following examples.
Example 1.
Taking an n × n-order node system as an example, the processes of solving the Z-array elements by the traditional CU trigonometric decomposition method and the method of the invention are respectively compared. The comparison results are shown in table 1.
TABLE 1 comparison of the conventional CU trigonometric decomposition method and the method of the present invention for solving the Z-array element
Figure GDA0000693477120000041
As can be seen from table 1:
(1) the traditional CU triangular decomposition method solves all elements of the C, U matrix according to a formula method, and the symmetry of the elements cannot be utilized; the method only solves the U array element U according to the process methodijAnd the diagonal element C of the C matrixiiObtaining the off-diagonal element C of the C array by using the symmetric relationjiThe calculated amount of elements in the triangular decomposition process is greatly reduced.
(2) The traditional CU trigonometric decomposition method is used for solving the Z-array elements: one row ZkAll the array elements are solved. Therefore, 2 equation sets each having n equations are solved, each equation is solved for n variables, and the total number of variable elements is 2n2One, the intermediate matrix variable is 1.
(3) The method for solving the Z array elements only needs to solve ZkArray diagonal element ZkkAnd the elements above. Solving equation CWk=EkOnly n simple intermediate variables need to be calculated, and the solution of the equation set can be omitted; solving equation UZk=WkThe number of variables to be calculated is n (n +1)/2 ≈ n 22, even if the lower triangular element of the Z matrix is obtained according to the symmetry, the total number of the calculated variables is n2
Therefore, the comparison between the triangular decomposition process and the back substitution process can show that the element calculation amount and the calculation process of the method are greatly simplified.
Example 2.
Respectively using the traditional CU trigonometric decomposition method (figure 1) and the method of the invention (figure 2) to obtain Z array elements for the Y array of the IEEE-30, -57 and-118 node system, and comparing the average calculation time in the processes of decomposition, retrogradation and decomposition and retrogradation. The calculation results are shown in table 2.
TABLE 2 comparison of the computation times of the conventional method and the method of the present invention in the decomposition, the back substitution and the decomposition and back substitution processes
Figure GDA0000693477120000051
(1) The "decomposition" process average iteration time:
T1: the traditional method does not utilize the relation characteristics of C array elements and U array elements to calculate all the elements;
T2: the method only calculates the U array element U by utilizing the relation characteristic of the C array and the U array elementijAnd the diagonal element C of the C matrixiiObtaining the off-diagonal element C of the C array according to the symmetrical relationji
(2) The "back substitution" process average iteration time:
T′1: the traditional method is replaced by the whole column;
T′2: the method of the invention is based on the symmetrical back substitution (Z is solved)kArray diagonal element ZkkAnd the above elements, and calculating the diagonal element Z according to the symmetrykkLeft element), consider E-matrix specificity;
(3) average iteration time of the "decomposition + back substitution" process:
T”1: the traditional method does not use the relation characteristics of C array elements and U array elements in the decomposition process to calculate all the elements; the process of 'back substitution' is back substitution according to the whole column;
T”2: the method utilizes the relation characteristic of elements of the C array and the U array in the decomposition process; the process of 'back substitution' is based on symmetric back substitution and considers the particularity of the E matrix.
Taking 118 nodes as an example, as can be seen from table 2, the method of the present invention has the following differences compared with the conventional CU triangulation method:
(1) the calculation time of the 'decomposition' process of the method is reduced by about 47 percent;
(2) the calculation time of the 'back substitution' process of the method is reduced by about 71 percent;
(3) the calculation time of the 'decomposition + back substitution' process of the method is reduced by about 62 percent;
(4) the advantages of the method of the invention increase slightly as the number of system nodes increases.
The points are enough to show that compared with the traditional CU triangular decomposition method, the method disclosed by the invention can greatly accelerate the calculation speed in the triangular decomposition process and the backward substitution process when the Z array element is solved, so that the speed of solving the Z array element of the power system is greatly accelerated.
The method can be realized by adopting any programming language and programming environment, wherein the C + + programming language is adopted, and the development environment is Visual C + +.

Claims (1)

1. A method for solving a node impedance matrix of a power system based on symmetric CU triangular decomposition is characterized by comprising the following steps:
step 1: reading each branch data file;
step 2: forming a node admittance matrix Y;
and step 3: rapidly forming a synthetic array of a C, U factor array by utilizing the symmetrical relation of the Y array and the C, U array elements;
(1) establishing a CU synthetic array, and determining the relationship between elements c and u and elements of a Y array;
(2) according to the synthesis array, pair ckjThe element is subjected to quasi-elimination element calculation, and only the diagonal element c is calculated step by stepkkAnd all u's to the right'kjAn element;
(3) in calculating ukj=u′kj/ckkBefore elements, u 'is firstly prepared according to symmetry'kjDirect assignment of elements to corresponding cjkElement, recalculate ukj=u′kj/ckk
And 4, step 4: according to equation CUZk=EkPair equation CWk=EkFinding WkArraying; by the equation UZk=WkFinding ZkArray diagonal element ZkkAnd off-diagonal elements above;
(1) pair equation UZk=WkSolving for ZkThe calculation order of the array elements is: zn,…,Zk,…,Z1And in calculating each ZkIn the matrix process, only Z is calculatedkArray diagonal element ZkkAnd off-diagonal elements above;
(2) pair equation CWk=EkW inkThe array solution only needs to obtain WkDiagonal element w in the matrixkk=1/ckk
(3) Pair equation UZk=WkOnly computing ZkArray pairCorner element ZkkAnd off-diagonal elements above;
said EkThe matrix is a matrix with the k-th row having 1 element and all the other elements being zero;
and 5: finding the diagonal Z from symmetrykkOff-diagonal elements to the left;
the step 3 to the step 5 accelerate the speed of obtaining the Z array element of the power system;
step 6: and writing the Z matrix into a data file.
CN201410787714.1A 2014-12-17 2014-12-17 Method for solving node impedance matrix of power system based on symmetric CU triangular decomposition Active CN104714927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410787714.1A CN104714927B (en) 2014-12-17 2014-12-17 Method for solving node impedance matrix of power system based on symmetric CU triangular decomposition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410787714.1A CN104714927B (en) 2014-12-17 2014-12-17 Method for solving node impedance matrix of power system based on symmetric CU triangular decomposition

Publications (2)

Publication Number Publication Date
CN104714927A CN104714927A (en) 2015-06-17
CN104714927B true CN104714927B (en) 2021-09-03

Family

ID=53414274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410787714.1A Active CN104714927B (en) 2014-12-17 2014-12-17 Method for solving node impedance matrix of power system based on symmetric CU triangular decomposition

Country Status (1)

Country Link
CN (1) CN104714927B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7401014B2 (en) * 2004-10-19 2008-07-15 International Business Machines Corporation Method for order selection in passive transmission line macromodels based on the lie criteria
CN103488610B (en) * 2013-09-06 2017-02-08 南方电网科学研究院有限责任公司 Sparse storage-based non-zero element traversal power grid network equation solving method
CN103683284B (en) * 2013-12-26 2016-08-17 国家电网公司 A kind of power distribution network three-phase unbalanced load flow computational methods containing distributed power source
CN103928925B (en) * 2014-04-17 2017-01-18 国家电网公司 Power distribution network load flow calculation method based on forward-backward sweep

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Crout方法解线性方程组的结构化程序设计";刘墨德;《三明高等专科学校学报》;20030630;第20卷(第2期);62-66 *
"一种形成节点阻抗矩阵的改进算法";乐全明 等;《中国电机工程学报》;20050131;第25卷(第2期);34-39 *

Also Published As

Publication number Publication date
CN104714927A (en) 2015-06-17

Similar Documents

Publication Publication Date Title
Wei et al. Aa-rmvsnet: Adaptive aggregation recurrent multi-view stereo network
Behjati et al. Single image super-resolution based on directional variance attention network
CN103941220B (en) The outer target Wave arrival direction estimating method of a kind of grid based on sparse reconstruct
CN111192211B (en) Multi-noise type blind denoising method based on single deep neural network
Wang et al. A hybridized weak Galerkin finite element method for the biharmonic equation
CN104242306B (en) Power system self-adaption partition method based on principal component analysis method
CN104317776A (en) Sparse matrix technology-based method for solving node impedance matrix of electric power system
WO2016119519A1 (en) Method and apparatus for parallelized qrd-based operations over multiple execution unit processing system
JP5971670B2 (en) Error correction decoding device
CN104714928B (en) A method of the Gaussian elimination method based on symmetrical and sparse technology seeks power system nodal impedance matrix
CN104714927B (en) Method for solving node impedance matrix of power system based on symmetric CU triangular decomposition
Monard On reconstruction formulas for the ray transform acting on symmetric differentials on surfaces
CN109191016B (en) Gauss-Jordan factor table method for fast solving node impedance matrix of power system
El Hadri et al. Simple and fast convergent procedure to estimate recursive path analysis model
CN104572584B (en) LR decomposition power system node impedance matrix solving method based on sparse technology
CN109241492B (en) Novel Gaussian-approximately-equivalent elimination method for rapidly solving node impedance matrix of power system
CN104572586B (en) Sparse technology-based CU decomposition power system node impedance matrix solving method
CN112578458B (en) Pre-stack elastic impedance random inversion method and device, storage medium and processor
Kanal et al. Theory and algorithm of the inversion method for pentadiagonal matrices
CN104391823A (en) Method for solving nodal impedance matrix of electric system on basis of triangular decomposition method of A=LDU
Shao et al. Polynomial spline confidence bands for time series trend
CN106844295A (en) A kind of reconstruction of quantum states method and system based on compression sensing
CN104657337A (en) Electric power system node impedance matrix Z solving method based on CU triangular decomposition
CN104572585B (en) LDU decomposition power system node impedance matrix solving method based on sparse technology
Chen et al. An occupation time related potential measure for diffusion processes

Legal Events

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