A method and device for phase shifter site selection based on PageRank algorithm

By calculating the mass distribution coefficient and constructing the matrix, the PageRank algorithm is used to optimize the phase shifter location, which solves the problems of low identification efficiency and difficulty in convergence in the existing technology, and achieves more accurate and efficient key line identification and phase shifter location selection. .

CN113887938BActive Publication Date: 2024-09-17GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111155675.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-29
Publication Date
2024-09-17
Estimated Expiration
2041-09-29

AI Technical Summary

Technical Problem

The existing PageRank algorithm is inefficient in identifying key lines in the power grid and selecting phase shifter locations, and it is difficult to identify lines with characteristics and is difficult to converge.

Method used

By calculating the mass distribution coefficient, the link matrix and the phase shifter sensitivity matrix are constructed, and the PageRank algorithm is used to identify key lines and phase shifter installation line screening and sorting, and optimize the phase shifter site selection.

Benefits of technology

The accuracy and efficiency of key line identification and phase shifter location selection are improved, and characteristic lines in the power grid can be identified more accurately and efficiently, and convergence is easier.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113887938B
    Figure CN113887938B
Patent Text Reader

Abstract

The present invention provides a method and device for phase shifter site selection based on PageRank algorithm, the method comprising: constructing a link matrix M1 of PageRank algorithm by using load rate and N-1 sensitivity as quality distribution coefficient to identify key lines with certain characteristics in the sorting power grid; using the phase shifter sensitivity of the key line as the quality distribution coefficient to form a new link matrix M2, and using PageRank algorithm to screen and sort the phase shifter installation lines; finally, using MATLAB and BPA software interaction, using genetic algorithm to optimize the phase shifter site selection of the power grid. The present invention uses a custom quality distribution coefficient to identify lines with certain characteristics in the power grid more accurately and efficiently, and is easier to converge. At the same time, the optimization method of the present invention can sort the importance of the lines according to the PR value, providing a new idea for key line identification and phase shifter site selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of phase shifter site selection, and in particular to a phase shifter site selection method and device based on PageRank algorithm. Background Art

[0002] At present, my country's ultra-high voltage power grid is in a stage of rapid development. The power flow in the line is naturally distributed due to the influence of the power supply and charge of the power grid. Therefore, there are often light and heavy loads in the line, which seriously restricts the line transportation capacity. Considering the serious problem of uneven power flow distribution in the 220kV ring network in some cities, the phase shifter, as a typical economic power flow control device, can adjust and optimize the system power flow and has the advantages of flexible control and fast response. Its application will improve the power grid power flow control level and improve the overall utilization efficiency of the power grid.

[0003] When configuring the phase shifter, in order to determine the optimal installation location of the phase shifter, it is necessary to first identify the "critical lines" in the power system that are prone to overload and congestion. The PageRank algorithm, as a new algorithm used to evaluate the importance of power grid lines and nodes, can better consider the global information of the network and the relationship between the importance of the node and the number and quality of its neighboring nodes. On the basis of fully considering the relevant factors of the power system, the PageRank algorithm can be used to identify the "critical lines" of the power grid and determine the optimal location of the phase shifter. However, the existing PageRank algorithm has a relatively low recognition efficiency, and it is difficult to identify lines with certain characteristics, and it is difficult to converge in some cases. Summary of the invention

[0004] The present invention provides a phase shifter site selection method and device based on PageRank algorithm to solve the problems of key line identification and phase shifter site selection, thereby improving the accuracy and efficiency of identification and site selection.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a phase shifter site selection method based on PageRank algorithm, comprising:

[0006] Obtaining a mass distribution coefficient according to the line parameters of the key line to be identified; wherein the mass distribution coefficient includes a load rate and an N-1 sensitivity;

[0007] constructing a first link matrix and a phase shifter sensitivity matrix according to the mass distribution coefficient;

[0008] According to the first link matrix, identifying and sorting key paths by using the PageRank algorithm to obtain a first path sequence set;

[0009] Optimizing the phase shifter sensitivity matrix according to the first line sequence set to obtain a second link matrix, and screening and sorting the phase shifter installation lines by the PageRank algorithm according to the second link matrix to obtain a second line sequence set;

[0010] optimizing the location of the phase shifter according to the first line sequence set and the second line sequence set;

[0011] The calculation formula of the load rate is:

[0012] ;

[0013] Among them, P0 is the active power transmitted by the line; P max is the maximum active power allowed to be transmitted by the line; η is the line load rate;

[0014] The calculation formula for N-1 sensitivity is:

[0015] ;

[0016] Where i and j are the line numbers. is the branch disconnection distribution coefficient on line i after line j is disconnected, P i0 is the active power transmitted by line i, P j0 is the active power transmitted by line j, P imax is the maximum active power allowed to be transmitted on line i, is the N-1 sensitivity on line i after line j is disconnected;

[0017] The first link matrix is ​​calculated according to the following formula:

[0018] ;

[0019] ;

[0020] ;

[0021] Where L is the number of branches in the power grid, is the matrix element of the first matrix, m ij is the matrix element of the first link matrix, is the first matrix, the first link matrix is ​​obtained by modifying the elements of the first matrix, α is the balance coefficient, η i is the load rate of line i;

[0022] The calculation formula of the phase shifter sensitivity matrix is:

[0023] ;

[0024] Where θ is the phase shifter sensitivity matrix, θ ij represents the sensitivity on line j when a phase shifter is installed on line i;

[0025] The sensitivity calculation formula of the phase shifter is:

[0026] ;

[0027] ;

[0028] ;

[0029] In the formula, mn and pq are nodes at both ends of the line; θ mn It represents the sensitivity of line mn after the phase shifter is installed on line mn; θ pq It represents the sensitivity of line pq after the phase shifter is installed on line mn; x mn and x pq are the reactances of line mn and line pq before the phase shifter is installed; x T is the equivalent reactance of the phase shifter; c' mn It represents the element in the mth row and nth column of the node susceptance matrix after the phase shifter is installed. A represents the equivalent susceptance after the phase shifter is installed on line mn.

[0030] Furthermore, the mass distribution coefficient is obtained according to the line parameters of the key line to be identified, specifically:

[0031] The load rate of the key line to be identified is obtained according to the active power and the maximum active power of the key line to be identified; the branch N-1 sensitivity of the key line to be identified is obtained according to the branch disconnection distribution coefficient, the initial value of the branch flow, and the maximum allowable transmission capacity of the branch of the key line to be identified; wherein the branch N-1 sensitivity is used to characterize the proportion of the flow change of the branch after the fault to the flow margin; the branch N-1 sensitivity complies with the N-1 principle.

[0032] Furthermore, the optimizing the location of the phase shifter according to the first line sequence set and the second line sequence set is specifically:

[0033] Two main objective functions, namely, a system power transmission capacity objective function and a phase shifter cost objective function, are obtained according to the first line sequence set and the second line sequence set, and a total objective function is obtained according to the main objective functions, so as to optimize the location of the phase shifter.

[0034] Furthermore, the identification and sorting of key paths by PageRank algorithm according to the first link matrix to obtain a first path sequence set is specifically as follows:

[0035] According to the first link matrix, the key paths are identified by PageRank algorithm to obtain a first identification result; in the first identification result, the paths within the first preset ranking are selected according to the ranking of the PR values ​​of the PageRank calculation results from large to small, and recorded as the first path sequence set.

[0036] Furthermore, the second link matrix is ​​used to screen and sort the phase shifter installation lines by the PageRank algorithm to obtain a second line sequence set, specifically:

[0037] The second link matrix is ​​used to screen the phase shifter installation lines using the PageRank algorithm to obtain a second identification result. In the second identification result, lines within a second preset ranking are selected according to the ranking of the PageRank calculation result PR value from large to small, and are recorded as a second line sequence set.

[0038] Furthermore, the formula for obtaining the total objective function according to the main objective function is:

[0039] ;

[0040] Among them, min f is the total objective function, F1 and C1 are the normalized forms of the system power transmission capacity objective function and the phase shifter cost objective function, respectively, and w1 and w2 are the weight coefficients corresponding to the system power transmission capacity and the phase shifter cost, respectively.

[0041] Accordingly, an embodiment of the present invention further provides a phase shifter site selection device based on PageRank algorithm, comprising a mass allocation coefficient module, a matrix construction module, a first line sequence set module, a second line sequence set module and an optimization module; wherein,

[0042] The mass distribution coefficient module is used to obtain the mass distribution coefficient according to the line parameters of the key line to be identified; wherein the mass distribution coefficient includes the load rate and the N-1 sensitivity;

[0043] The matrix construction module is used to construct a first link matrix and a phase shifter sensitivity matrix according to the mass distribution coefficient;

[0044] The first line sequence set module is used to identify and sort key lines according to the first link matrix by using the PageRank algorithm to obtain a first line sequence set;

[0045] The second line sequence set module is used to optimize the phase shifter sensitivity matrix according to the first line sequence set to obtain a second link matrix, and screen and sort the phase shifter installation lines according to the second link matrix by using the PageRank algorithm to obtain a second line sequence set;

[0046] The optimization module is used to optimize the location of the phase shifter according to the first line sequence set and the second line sequence set.

[0047] The calculation formula of the load rate is:

[0048] ;

[0049] Among them, P0 is the active power transmitted by the line; P max is the maximum active power allowed to be transmitted by the line; η is the line load rate;

[0050] The calculation formula for N-1 sensitivity is:

[0051] ;

[0052] Where i and j are the line numbers. is the branch disconnection distribution coefficient on line i after line j is disconnected, P i0 is the active power transmitted by line i, P j0 is the active power transmitted by line j, P imax is the maximum active power allowed to be transmitted on line i, is the N-1 sensitivity on line i after line j is disconnected;

[0053] The first link matrix is ​​calculated according to the following formula:

[0054] ;

[0055] ;

[0056] ;

[0057] Where L is the number of branches in the power grid, is the matrix element of the first matrix, m ij is the matrix element of the first link matrix, is the first matrix, the first link matrix is ​​obtained by modifying the elements of the first matrix, α is the balance coefficient, η i is the load rate of line i;

[0058] The calculation formula of the phase shifter sensitivity matrix is:

[0059] ;

[0060] Where θ is the phase shifter sensitivity matrix, θ ij represents the sensitivity on line j when a phase shifter is installed on line i;

[0061] The sensitivity calculation formula of the phase shifter is:

[0062] ;

[0063] ;

[0064] ;

[0065] In the formula, mn and pq are nodes at both ends of the line; θ mn It represents the sensitivity of line mn after the phase shifter is installed on line mn; θ pq It represents the sensitivity of line pq after the phase shifter is installed on line mn; x mn and x pq are the reactances of line mn and line pq before the phase shifter is installed; x T is the equivalent reactance of the phase shifter; c' mn It represents the element in the mth row and nth column of the node susceptance matrix after the phase shifter is installed. A represents the equivalent susceptance after the phase shifter is installed on line mn.

[0066] Furthermore, the mass distribution coefficient module obtains the mass distribution coefficient according to the line parameters of the key line to be identified, specifically:

[0067] The mass distribution coefficient module obtains the load rate of the key line to be identified according to the active power and the maximum active power of the key line to be identified; obtains the branch N-1 sensitivity of the key line to be identified according to the branch opening distribution coefficient, the initial value of the branch flow, and the maximum allowable transmission capacity of the branch of the key line to be identified; wherein the branch N-1 sensitivity is used to characterize the proportion of the flow change of the branch after the fault to the flow margin; the branch N-1 sensitivity complies with the N-1 principle.

[0068] Furthermore, the optimization module optimizes the location of the phase shifter according to the first line sequence set and the second line sequence set, specifically:

[0069] The optimization module obtains two main objective functions, namely, a system power transmission capacity objective function and a phase shifter cost objective function, according to the first line sequence set and the second line sequence set, and obtains a total objective function according to the main objective functions, thereby optimizing the location of the phase shifter.

[0070] Furthermore, the first line sequence set module identifies and sorts the key lines according to the first link matrix by using the PageRank algorithm to obtain the first line sequence set, which is specifically:

[0071] The first line sequence set module identifies key lines according to the first link matrix through the PageRank algorithm to obtain a first identification result; in the first identification result, lines within a first preset ranking are selected according to the ranking of the PageRank calculation result PR value from large to small, and recorded as the first line sequence set.

[0072] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0073] The present invention provides a phase shifter site selection method and device based on the PageRank algorithm, including: obtaining a quality distribution coefficient according to the line parameters of the key line to be identified; constructing a first link matrix and a phase shifter sensitivity matrix according to the quality distribution coefficient; identifying and sorting the key lines according to the first link matrix by the PageRank algorithm to obtain a first line sequence set; optimizing the phase shifter sensitivity matrix according to the first line sequence set to obtain a second link matrix, and screening and sorting the phase shifter installation lines according to the second link matrix by the PageRank algorithm to obtain a second line sequence set; optimizing the site selection of the phase shifter according to the first line sequence set and the second line sequence set. The lines with certain characteristics in the power grid can be identified more accurately and efficiently through the customized quality distribution coefficient, and are easier to converge. At the same time, the optimization method of the present invention can sort the importance of the lines according to the PR value, providing a new idea for key line identification and phase shifter site selection. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 : A flow chart of an embodiment of the phase shifter site selection method based on PageRank algorithm provided by the present invention.

[0075] Figure 2 : A structural schematic diagram of an embodiment of a phase shifter site selection device based on PageRank algorithm provided by the present invention.

[0076] Figure 3 : It is a geographical connection diagram of some cities in Guangdong Province according to an embodiment of the present invention.

[0077] Figure 4 : A flow chart of another embodiment of the present invention provided based on the PageRank phase shifter site selection method. DETAILED DESCRIPTION

[0078] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] Embodiment one:

[0080] Please refer to Figure 1 , Figure 1 A phase shifter site selection method based on PageRank algorithm provided in an embodiment of the present invention includes steps S1 to S5; wherein:

[0081] Step S1, obtaining a mass distribution coefficient according to the line parameters of the key line to be identified;

[0082] In this embodiment, what needs to be identified are the key lines that are prone to overload and blockage, and the mass distribution coefficient is the load rate and N-1 sensitivity. Among them, N-1 sensitivity complies with the N-1 principle (also known as the single fault safety test rule).

[0083] The calculation formula of load factor η is:

[0084] ;

[0085] Where P0 is the active power transmitted by the line; P max is the maximum active power allowed to be transmitted by the line; η is the line load rate.

[0086] The calculation formula for N-1 sensitivity is:

[0087] ;

[0088] Where i and j are the line numbers. is the branch disconnection distribution coefficient on line i after line j is disconnected; P i0 and P j0 are the active power transmitted by line i and line j respectively; P imax is the maximum active power allowed to be transmitted by line i; is the N-1 sensitivity of line i after line j is disconnected. The N-1 sensitivity of a branch is used to characterize the proportion of the power flow change of the branch after the fault to the power flow margin.

[0089] Step S2, constructing a first link matrix and a phase shifter sensitivity matrix according to the mass distribution coefficient;

[0090] In this embodiment, the first matrix is ​​obtained by comprehensively considering the load rate and N-1 sensitivity. :

[0091] ;

[0092] Where L is the number of branches in the power grid, and the matrix elements The calculation formula is:

[0093] ;

[0094] Among them, α is the balance coefficient; for the first matrix The elements of are modified according to the following formula to obtain the first link matrix M1:

[0095] ;

[0096] The calculation formula of the phase shifter sensitivity matrix θ of the power grid is:

[0097] ;

[0098] Among them, θ ij It represents the sensitivity on line j when a phase shifter is installed on line i.

[0099] The phase shifter sensitivity calculation formula is:

[0100] ;

[0101] ;

[0102] In the formula, mn and pq are nodes at both ends of the line; θ mn It represents the sensitivity of line mn after the phase shifter is installed on line mn; θ pq It represents the sensitivity of line pq after the phase shifter is installed on line mn; x mn and x pq are the reactances of line mn and line pq before the phase shifter is installed; x T is the equivalent reactance of the phase shifter; c' mn represents the element in the mth row and nth column of the node susceptance matrix after the phase shifter is installed; A represents the equivalent susceptance of the line after the phase shifter is installed on the line mn, and its calculation formula is:

[0103] ;

[0104] Step S3, identifying and sorting key paths using the PageRank algorithm according to the first link matrix to obtain a first path sequence set;

[0105] In this embodiment, specifically:

[0106] According to the first link matrix, the key paths are identified by PageRank algorithm to obtain a first identification result; in the first identification result, the paths within the first preset ranking are selected according to the ranking from large to small PR values, and recorded as the first path sequence set L1.

[0107] Furthermore, the first link matrix M1 is normalized by column and substituted into the iterative formula of the PageRank algorithm for iteration:

[0108] ;

[0109] Where P n represents the PR value after the nth iteration and is also a column vector of order L×1; P0 represents the initial PR value of each line in the power grid; M is the link matrix; β is the damping coefficient, which is generally 0.85. In this step, M1 is substituted into the position of M. The lines with larger PR values ​​in the results are taken, and the lines in the first preset ranking are recorded as the first line sequence set L1, and the power transmission sections where all lines are located in L1 are defined as sections 1 to n in sequence. Since the PageRank algorithm is an iterative algorithm, in order to ensure its convergence, the Markov process must be ensured to converge. Therefore, before performing iterative calculations, this embodiment performs column normalization on the link matrix M and ensures that all elements in the matrix M are greater than or equal to 0.

[0110] Step S4, optimizing the phase shifter sensitivity matrix according to the first line sequence set to obtain a second link matrix, and screening and sorting the phase shifter installation lines by the PageRank algorithm according to the second link matrix to obtain a second line sequence set;

[0111] In this embodiment, specifically:

[0112] The line sequence set L1 modifies the phase shifter sensitivity matrix θ, sets all column elements corresponding to the lines except the line sequence set L1 to 0, and takes the absolute value of the remaining elements, thereby obtaining the second link matrix M2.

[0113] After normalizing the second link matrix by column, substitute it into the iteration formula of PageRank algorithm for iteration. The formula used for iteration is the same as above:

[0114] ;

[0115] Where P n represents the PR value after the nth iteration and is also a column vector of order L×1; P0 represents the initial PR value of each line in the power grid; M is the link matrix; β is the damping coefficient, which is generally 0.85. In this step, M2 is substituted in place of M. The lines with larger PR values ​​in the results are selected, and the lines in the second preset ranking are recorded as the second line sequence set L2.

[0116] Step S5: optimizing the location of the phase shifter according to the first line sequence set and the second line sequence set.

[0117] In this embodiment, the lines are sorted according to the PR values ​​after convergence in step S4, and the optimal transport flow capacity of all sections of the first line sequence set L1 is taken as the goal. The second line sequence set L2 is used as the decision variable phase shifter installation address range to build an optimization model. The construction of the model mainly considers two main objective functions: the system transmission capacity objective function and the phase shifter cost objective function.

[0118] Under normal operation of the power grid, the system transmission capacity of this embodiment mainly considers the information of system section blocking and system power flow balance, which can be represented by the concept of section channel utilization. The section channel utilization of the vulnerable line obtained by the PageRank algorithm is used to define the system transmission capacity objective function:

[0119] ;

[0120] Where i is the number of the section; P i is the active power flow through section i; P imax is the maximum tidal limit of section i; n is the exponential coefficient, which should be taken as n>1 in the calculation; ε i is the weight coefficient of section i, and the weight coefficient of the section is determined by the PR value ranking result of step S3;

[0121] For the phase shifter cost objective function, the actual cost of the phase shifter is affected by many factors. This embodiment mainly considers the phase shift angle amplitude α, a coefficient that has a greater impact on the cost. max The relationship between the phase shifter capacity S and the phase shifter cost C(S,α) is defined as follows:

[0122] ;

[0123] Where S0, α0 are the reference capacity and reference phase shift angle amplitude, C0 = 30 million yuan.

[0124] According to the system transmission capacity objective function and the phase shifter cost objective function, the overall objective function is constructed:

[0125] ;

[0126] In the formula, the sub-objective functions F1 and C1 are substituted into the normalized properties of the system transmission capacity objective function and the phase shifter cost objective function respectively. The normalization of the two main objective functions uses the "min-max normalization" method. The formula used in this method is X1=(XX min ) / (X max -X min ); the maximum and minimum values ​​of the two main objective functions are obtained by single objective optimization; w1 and w2 are the weight coefficients of the two main objective functions.

[0127] Combined with the overall objective function, the interactive function of MATLAB and BPA is used, and the genetic algorithm is improved to solve the location optimization problem of phase shifters in actual large-scale power grids and optimize the location of phase shifters.

[0128] Correspondingly, this embodiment also provides a phase shifter site selection device based on PageRank algorithm, see Figure 2 The phase shifter site selection device includes a mass allocation coefficient module 101, a matrix construction module 102, a first line order set module 103, a second line order set module 104 and an optimization module 105; wherein,

[0129] The mass allocation coefficient module 101 is used to obtain the mass allocation coefficient according to the line parameters of the key line to be identified;

[0130] The matrix construction module 102 is used to construct a first link matrix and a phase shifter sensitivity matrix according to the mass distribution coefficient;

[0131] The first line sequence set module 103 is used to identify and sort key lines according to the first link matrix by using the PageRank algorithm to obtain a first line sequence set;

[0132] The second line sequence set module 104 is used to optimize the phase shifter sensitivity matrix according to the first line sequence set to obtain a second link matrix, and to screen and sort the phase shifter installation lines according to the second link matrix by using the PageRank algorithm to obtain a second line sequence set;

[0133] The optimization module 105 is used to optimize the location of the phase shifter according to the first line sequence set and the second line sequence set.

[0134] In this embodiment, the mass allocation coefficient module 101 obtains the mass allocation coefficient according to the line parameters of the key line to be identified, specifically:

[0135] The mass distribution coefficient module 101 obtains the load rate of the key line to be identified according to the active power and the maximum active power of the key line to be identified; obtains the branch N-1 sensitivity of the key line to be identified according to the branch disconnection distribution coefficient, the branch flow initial value, and the branch maximum allowable transmission capacity of the key line to be identified; wherein the branch N-1 sensitivity is used to characterize the proportion of the flow change of the branch after the fault to the flow margin; the branch N-1 sensitivity complies with the N-1 principle.

[0136] In this implementation, the optimization module 105 optimizes the location of the phase shifter according to the first line sequence set and the second line sequence set, specifically:

[0137] The optimization module 105 obtains two main objective functions, namely, a system transmission capacity objective function and a phase shifter cost objective function, according to the first line sequence set and the second line sequence set, and obtains a total objective function according to the main objective functions, so as to optimize the location of the phase shifter.

[0138] In this embodiment, the first line sequence set module 103 identifies and sorts the key lines according to the first link matrix by using the PageRank algorithm to obtain the first line sequence set, which is specifically:

[0139] The first line sequence set module 103 identifies key lines according to the first link matrix through the PageRank algorithm to obtain a first identification result; in the first identification result, lines within a first preset ranking are selected according to the ranking of the PageRank calculation result PR value from large to small, and recorded as the first line sequence set.

[0140] In this embodiment, the second line sequence set module 104 screens and sorts the phase shifter installation lines according to the second link matrix by using the PageRank algorithm to obtain a second line sequence set, which is specifically:

[0141] The second line sequence set module 104 uses the PageRank algorithm to screen the phase shifter installation lines according to the second link matrix to obtain a second identification result. In the second identification result, the lines within the second preset ranking are selected according to the ranking of the PR values ​​of the PageRank calculation results from large to small, and are recorded as the second line sequence set.

[0142] In this embodiment, the formula for obtaining the total objective function by the optimization module 105 according to the main objective function is:

[0143] ;

[0144] Among them, min f is the total objective function, F1 and C1 are the normalized forms of the system power transmission capability objective function and the phase shifter cost objective function, respectively, and w1 and w2 are the weight coefficients corresponding to the system power transmission capability objective function and the phase shifter cost objective function, respectively.

[0145] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0146] The present invention provides a phase shifter site selection method and device based on the PageRank algorithm, including: obtaining a quality distribution coefficient according to the line parameters of the key line to be identified; constructing a first link matrix and a phase shifter sensitivity matrix according to the quality distribution coefficient; identifying and sorting the key lines according to the first link matrix by the PageRank algorithm to obtain a first line sequence set; optimizing the phase shifter sensitivity matrix according to the first line sequence set to obtain a second link matrix, and screening and sorting the phase shifter installation lines according to the second link matrix by the PageRank algorithm to obtain a second line sequence set; optimizing the site selection of the phase shifter according to the first line sequence set and the second line sequence set. The lines with certain characteristics in the power grid can be identified more accurately and efficiently through the customized quality distribution coefficient, and are easier to converge. At the same time, the optimization method of the present invention can sort the importance of the lines according to the PR value, providing a new idea for key line identification and phase shifter site selection.

[0147] Embodiment 2:

[0148] The flowchart of this embodiment refers to Figure 4 , Figure 4 The phase shifter site selection method based on PageRank algorithm includes steps S01 to S06; wherein:

[0149] Step S01, obtaining a mass distribution coefficient according to the line parameters of the key line to be identified;

[0150] This embodiment takes the summer peak data of some cities in Guangdong Province in a certain year as an example (the geographical connection diagram is shown in Figure 3 ), what needs to be identified are the key lines that are prone to overload and congestion, and the mass distribution coefficient is the line load rate and N-1 sensitivity.

[0151] The parameters of each line in this example are shown in Table 1, and the load rate is shown in Table 2.

[0152] Table 1 Parameters of each line

[0153]

[0154] Table 2 Load rate of each line

[0155]

[0156] Step S02, constructing a first link matrix according to the mass distribution coefficient;

[0157] The influence of the load rate and the N-1 sensitivity on the line is balanced by the balance coefficient α, and in this embodiment, α=0.5. The required link matrix is ​​obtained by correcting the matrix according to the correction formula.

[0158] Step S03, identifying and ranking key links using the PageRank algorithm according to the first link matrix;

[0159] After normalizing the link matrix M1 by column, it is substituted into the iteration formula of the PageRank algorithm for iteration. The iteration results are shown in Table 3.

[0160] Table 3 Results of the first PageRank iteration

[0161]

[0162] Step S04, according to the line with the highest PR value in the iteration result of step S03, as the line sequence set L1, the corresponding phase shifter sensitivity is used as the quality allocation coefficient to form a new link matrix M2;

[0163] In this embodiment, the top 10 lines with the highest PR values ​​are selected as the line sequence set L1, namely: 21, 6, 2, 9, 20, 29, 8, 1, 42, 48. After calculating the phase shifter sensitivity matrix of the power grid, all the columns corresponding to the lines other than these 10 lines are set to 0, and the remaining elements are taken as absolute values ​​to obtain a new link matrix M2.

[0164] When phase shifters are installed on each line, the corresponding equivalent reactance of the phase shifters is shown in Table 4.

[0165] Table 4 Phase shifter equivalent reactance

[0166]

[0167] Step S05: According to the link matrix M2, the PageRank algorithm is used to screen and sort the phase shifter installation lines.

[0168] After normalizing the link matrix M2 by column, it is substituted into the iteration formula of the PageRank algorithm for iteration. The iteration results are shown in Table 5.

[0169] Table 5 Results of the second PageRank iteration

[0170]

[0171] Step S06, select the line with the highest PR value as the line sequence set L2, and optimize the grid phase shifter site selection by using the improved genetic algorithm through the interaction between MATLAB and BPA software. In this embodiment, the top 10 lines with the highest PR value, namely: 2, 1, 12, 6, 19, 9, 20, 11, 21, 8, are selected as the candidate installation lines for the phase shifter, and the installation site selection and phase shift angle of the phase shifter are used as decision variables to build an optimization model, and use MATLAB to interact with BPA and improve the genetic algorithm, where the weight coefficient of each section in the objective function is defined by the results in Table 3, where the weight coefficients of sections 1, 2, 3, and 4 are 0.4, 0.3, 0.1, and 0.2, respectively, and n=2, and the optimal site selection of the phase shifter is obtained as line 21, and the optimal phase shift angle is -3.13°.

[0172] A phase shifter is installed on line 21, and the phase shift angle is set to -3.13°. The power flow changes of the top 10 lines with the PR value are as follows:

[0173] Table 6 Line load rate before and after installation of phase shifter

[0174]

[0175] The results in Table 6 show that after the phase shifter is installed on line 21, the load rate of line 21 is reduced to 47.64%, balancing the power flow between parallel lines 20 and 21 with larger PR values, improving the internal power flow of ring network H1 composed of lines 19, 20, and 21, and having little impact on the power flow of the external lines of ring network H1. At the same time, the switching capacity of section D1 composed of lines 20 and 21 before and after the phase shifter is installed is analyzed. Under the premise of meeting N-1, the changes in the maximum power flow transport capacity of section D1 are as follows:

[0176] Table 7 Maximum transmission flow of the line before and after the phase shifter is installed in section D1

[0177]

[0178] Before the phase shifter is installed, the power flow transmission capacity of section D1 is restricted because line 21 is a key line that is prone to congestion and overload. After the phase shifter is installed, the parallel line power flows in section D1 can be balanced by adjusting the phase shift angle, thereby increasing the power flow transmission capacity of section D1 and fully tapping the power transmission capacity of the power grid.

[0179] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0180] The present invention provides a phase shifter site selection method based on the PageRank algorithm, including: obtaining a mass distribution coefficient according to the line parameters of the key line to be identified; constructing a first link matrix and a phase shifter sensitivity matrix according to the mass distribution coefficient; identifying and sorting the key lines according to the first link matrix by the PageRank algorithm to obtain a first line sequence set; optimizing the phase shifter sensitivity matrix according to the first line sequence set to obtain a second link matrix, and screening and sorting the phase shifter installation lines according to the second link matrix by the PageRank algorithm to obtain a second line sequence set; optimizing the site selection of the phase shifter according to the first line sequence set and the second line sequence set. The lines with certain characteristics in the power grid can be identified more accurately and efficiently through the customized mass distribution coefficient, and are easier to converge. At the same time, the optimization method of the present invention can sort the importance of the lines according to the PR value, providing a new idea for key line identification and phase shifter site selection.

[0181] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A phase shifter site selection method based on PageRank algorithm, characterized in that: include: Obtaining a mass distribution coefficient according to the line parameters of the key line to be identified; wherein the mass distribution coefficient includes a load rate and an N-1 sensitivity; constructing a first link matrix and a phase shifter sensitivity matrix according to the mass distribution coefficient; According to the first link matrix, identifying and sorting key paths by using the PageRank algorithm to obtain a first path sequence set; Optimizing the phase shifter sensitivity matrix according to the first line sequence set to obtain a second link matrix, and screening and sorting the phase shifter installation lines by the PageRank algorithm according to the second link matrix to obtain a second line sequence set; optimizing the location of the phase shifter according to the first line sequence set and the second line sequence set; The mass distribution coefficient is obtained according to the line parameters of the key line to be identified, specifically: The load rate of the key line to be identified is obtained according to the active power and the maximum active power of the key line to be identified; the branch N-1 sensitivity of the key line to be identified is obtained according to the branch disconnection distribution coefficient, the initial value of the branch flow, and the maximum allowable transmission capacity of the branch of the key line to be identified; wherein the branch N-1 sensitivity is used to characterize the proportion of the flow change of the branch after the fault to the flow margin; the branch N-1 sensitivity complies with the N-1 principle; The optimizing the location of the phase shifter according to the first line sequence set and the second line sequence set is specifically: According to the first line sequence set and the second line sequence set, two main objective functions, namely, a system transmission capacity objective function and a phase shifter cost objective function, are obtained, and a total objective function is obtained according to the two main objective functions, so as to optimize the location of the phase shifter; The calculation formula of the load rate is: ; Among them, P0 is the active power transmitted by the line; P max is the maximum active power allowed to be transmitted by the line; η is the line load rate; The calculation formula of the N-1 sensitivity is: ; Where i and j are the line numbers, is the branch disconnection distribution coefficient on line i after line j is disconnected, P i0 is the active power transmitted by line i, P j0 is the active power transmitted by line j, P imax is the maximum active power allowed to be transmitted on line i, is the N-1 sensitivity on line i after line j is disconnected; The first link matrix is ​​calculated according to the following formula: ; ; ; Where L is the number of branches in the power grid, is the matrix element of the first matrix, m ij is the matrix element of the first link matrix, is the first matrix, the first link matrix is ​​obtained by modifying the elements of the first matrix, α is the balance coefficient, η i is the load rate of line i; The calculation formula of the phase shifter sensitivity matrix is: ; Where θ is the phase shifter sensitivity matrix, θ ij represents the sensitivity on line j when a phase shifter is installed on line i; The phase shifter sensitivity calculation formula is: ; ; ; In the formula, mn and pq are nodes at both ends of the line; θ mn It represents the sensitivity of line mn after the phase shifter is installed on line mn; θ pq It represents the sensitivity of line pq after the phase shifter is installed on line mn; x mn and x pq are the reactances of line mn and line pq before the phase shifter is installed; x T is the equivalent reactance of the phase shifter; c' mn It represents the element in the mth row and nth column of the node susceptance matrix after the phase shifter is installed. A represents the equivalent susceptance after the phase shifter is installed on line mn.

2. A method for selecting a phase shifter site based on PageRank algorithm as claimed in claim 1, characterized in that: According to the first link matrix, the key paths are identified and sorted by PageRank algorithm to obtain a first path sequence set, specifically: According to the first link matrix, the key paths are identified by PageRank algorithm to obtain a first identification result; in the first identification result, the paths within the first preset ranking are selected according to the ranking of the PR values ​​of the PageRank calculation results from large to small, and recorded as the first path sequence set.

3. A method for selecting a phase shifter site based on PageRank algorithm as claimed in claim 1, characterized in that: The second link matrix is ​​used to screen and sort the phase shifter installation lines by the PageRank algorithm to obtain a second line sequence set, specifically: The second link matrix is ​​used to screen the phase shifter installation lines using the PageRank algorithm to obtain a second identification result. In the second identification result, lines within a second preset ranking are selected according to the ranking of the PageRank calculation result PR value from large to small, and are recorded as a second line sequence set.

4. A method for selecting a phase shifter site based on PageRank algorithm as claimed in claim 1, characterized in that: The formula for obtaining the total objective function according to the two main objective functions is: ; Among them, min f is the total objective function, F1 and C1 are the normalized forms of the system power transmission capability objective function and the phase shifter cost objective function, respectively, and w1 and w2 are the weight coefficients corresponding to the system power transmission capability objective function and the phase shifter cost objective function, respectively.

5. A phase shifter site selection device based on PageRank algorithm, characterized in that: It includes a mass distribution coefficient module, a matrix construction module, a first line sequence set module, a second line sequence set module and an optimization module; wherein, The mass distribution coefficient module is used to obtain the mass distribution coefficient according to the line parameters of the key line to be identified; wherein the mass distribution coefficient includes the load rate and the N-1 sensitivity; The matrix construction module is used to construct a first link matrix and a phase shifter sensitivity matrix according to the mass distribution coefficient; The first line sequence set module is used to identify and sort key lines according to the first link matrix by using the PageRank algorithm to obtain a first line sequence set; The second line sequence set module is used to optimize the phase shifter sensitivity matrix according to the first line sequence set to obtain a second link matrix, and screen and sort the phase shifter installation lines according to the second link matrix by using the PageRank algorithm to obtain a second line sequence set; The optimization module is used to optimize the location of the phase shifter according to the first line sequence set and the second line sequence set; The mass distribution coefficient module obtains the mass distribution coefficient according to the line parameters of the key line to be identified, specifically: The mass distribution coefficient module obtains the load rate of the key line to be identified according to the active power and the maximum active power of the key line to be identified; obtains the branch N-1 sensitivity of the key line to be identified according to the branch breaking distribution coefficient, the initial value of the branch flow, and the maximum allowable transmission capacity of the branch of the key line to be identified; wherein the branch N-1 sensitivity is used to characterize the proportion of the flow change of the branch after the fault to the flow margin; the branch N-1 sensitivity complies with the N-1 principle; The optimization module optimizes the location of the phase shifter according to the first line sequence set and the second line sequence set, specifically: The optimization module obtains two main objective functions, namely, a system transmission capacity objective function and a phase shifter cost objective function, according to the first line sequence set and the second line sequence set, and obtains a total objective function according to the two main objective functions, thereby optimizing the location of the phase shifter; The calculation formula of the load rate is: ; Among them, P0 is the active power transmitted by the line; P max is the maximum active power allowed to be transmitted by the line; η is the line load rate; The calculation formula for N-1 sensitivity is: ; Where i and j are the line numbers, is the branch disconnection distribution coefficient on line i after line j is disconnected, P i0 is the active power transmitted by line i, P j0 is the active power transmitted by line j, P imax is the maximum active power allowed to be transmitted on line i, is the N-1 sensitivity on line i after line j is disconnected; The first link matrix is ​​calculated according to the following formula: ; ; ; Where L is the number of branches in the power grid, is the matrix element of the first matrix, m ij is the matrix element of the first link matrix, is the first matrix, the first link matrix is ​​obtained by modifying the elements of the first matrix, α is the balance coefficient, η i is the load rate of line i; The calculation formula of the phase shifter sensitivity matrix is: ; Where θ is the phase shifter sensitivity matrix, θ ij represents the sensitivity on line j when a phase shifter is installed on line i; The sensitivity calculation formula of the phase shifter is: ; ; ; In the formula, mn and pq are nodes at both ends of the line; θ mn It represents the sensitivity of line mn after the phase shifter is installed on line mn; θ pq It represents the sensitivity of line pq after the phase shifter is installed on line mn; x mn and x pq are the reactances of line mn and line pq before the phase shifter is installed; x T is the equivalent reactance of the phase shifter; c' mn It represents the element in the mth row and nth column of the node susceptance matrix after the phase shifter is installed. A represents the equivalent susceptance after the phase shifter is installed on line mn.

6. A phase shifter site selection device based on PageRank algorithm as claimed in claim 5, characterized in that: The first line sequence set module identifies and sorts the key lines according to the first link matrix using the PageRank algorithm to obtain a first line sequence set, specifically: The first line sequence set module identifies key lines according to the first link matrix through the PageRank algorithm to obtain a first identification result; in the first identification result, lines within a first preset ranking are selected according to the ranking of the PageRank calculation result PR value from large to small, and recorded as the first line sequence set.