KKT solution discrimination method for AC optimal power flow problem based on dynamic system

By introducing a slack variable and a feasible domain-cut space projection system, the problem of KKT resolution and discrimination in the AC optimal current algorithm is solved, efficient and accurate optimal current solution judgment is achieved, and the waste of computing resources is reduced, and it is suitable for complex power systems.

CN118885718APending Publication Date: 2024-11-01NANJING NORMAL UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410906722.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing AC optimal current algorithms are difficult to efficiently distinguish whether the KKT solution is a local minimum value or saddle point, resulting in the accuracy of waste and reconciliation of computational resources, especially in complex power systems, which is difficult to achieve efficient operation.

Method used

By introducing slack variables, the AC optimal current problem is converted into unconstrained optimization problem, and the equivalent relationship between the KKT point and the equilibrium point is established using the feasible domain tangent space projection system to directly test and judge the optimality of the KKT solution.

Benefits of technology

The calculation complexity is reduced, the calculation speed is improved, and the optimization of KKT solution can be efficiently and accurately judged. There is no need to solve the Heisen matrix, and the local optimal solution is directly found.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118885718A_ABST
    Figure CN118885718A_ABST
Patent Text Reader

Abstract

The invention discloses a KKT solution discrimination method for an AC optimal power flow problem based on a dynamic system, and the method comprises the steps: introducing a slack variable into an AC optimal power flow problem model, and obtaining an AC optimal power flow constraint set containing the slack variable; establishing formal expression of an alternating current optimal power flow problem model; the optimal power flow problem is converted into an unconstrained optimization problem, and KKT condition expression of the optimal power flow problem is obtained; obtaining a KKT point of the AC optimal power flow problem according to the KKT condition; and introducing a feasible region tangent space projection system, establishing an equivalence relation between a KKT point of the optimal power flow problem and a conventional balance point of the feasible region tangent space projection system, and checking and judging a KKT solution. According to the method, a Hessian matrix does not need to be solved, the calculation complexity is reduced, and the calculation speed is increased; the calculated solution is a saddle point, a corresponding local optimal solution can be found, and the problem that an existing method can only judge the type of the KKT solution is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of electric power, relates to the solution and optimization of an AC optimal power flow problem, and specifically relates to a KKT solution determination method for an AC optimal power flow problem based on a nonlinear dynamic system. Background Art

[0002] Efficiently solving the AC Optimal Power Flow (AC OPF) problem is one of the core issues in the current safe operation of power systems, economic dispatch and power markets. According to a report by the US Federal Energy Regulatory Commission, an efficient AC optimal power flow algorithm will save tens of billions of dollars each year. Especially in the process of building a new power system today, more and more uncertain new energy, flexible resources and dispatchable resources are connected to the power grid. The operation of the power system faces a large number of flexible operation modes, making the optimal power flow problem more and more complicated. Building a solid theoretical foundation for optimal power flow and developing advanced optimal power flow methods will be crucial to the efficient and low-carbon operation of the power system.

[0003] Although the optimal power flow problem has been proposed for nearly 60 years, a large number of studies have been conducted, mostly oriented towards practical problems, and a large number of optimal power flow algorithms have been developed to solve practical needs and engineering applications. As a nonlinear constrained optimization problem, constrained optimization theory occupies an important position in the optimal power flow theory. A large number of optimal power flow algorithms are proposed based on the Karush-Kuhn-Tucker first-order necessary conditions (KKT first-order conditions for short). However, this condition only provides a necessary condition for the optimality of the optimal solution, resulting in many optimal power flow solutions being only KKT solutions (including optimal solutions and saddle points), which still need to be verified by second-order sufficient conditions. For example, the MIPS solver in MATPOWER[6] uses the interior point method as the core, and the optimal power flow solutions often contain a large number of saddle points. Although the second-order sufficient conditions can be used to exclude non-optimal solutions, it requires solving the Hessian matrix, which will consume a lot of additional computing resources. Therefore, how to efficiently distinguish whether the solution calculated by the method based on the first-order KKT condition is a local minimum or a saddle point is crucial for practical applications and subsequent escape from the saddle point to search for other local optimal solutions. Summary of the invention

[0004] Purpose of the invention: In order to overcome the deficiencies in the prior art, a KKT solution determination method for an AC optimal power flow problem based on a nonlinear dynamic system is provided.

[0005] Technical solution: To achieve the above purpose, the present invention provides a KKT solution determination method for an AC optimal power flow problem based on a dynamic system, comprising the following steps:

[0006] S1: Introduce slack variables into the AC optimal power flow problem model to obtain the AC optimal power flow constraint set containing slack variables;

[0007] S2: Based on the AC optimal power flow constraint set in step S1, a formal expression of the AC optimal power flow problem model is established;

[0008] S3: Convert the optimal power flow problem into an unconstrained optimization problem and obtain the KKT conditional expression of the optimal power flow problem;

[0009] S4: Obtain the KKT point of the AC optimal power flow problem according to the KKT condition;

[0010] S5: Introduce the feasible domain tangent space projection system, establish the equivalence relationship between the KKT points of the optimal power flow problem and the conventional equilibrium points of the feasible domain tangent space projection system, and test and judge the KKT solution.

[0011] Furthermore, the optimal power flow problem can be equivalent to or approximated by a variety of models, which can be divided into nonlinear models, linear models, and semi-linear models according to the degree of nonlinearity of the constraints in the model. Among them, the AC optimal power flow model uses a nonlinear AC power flow equation and is considered to be an accurate static model of the power system. The expression of the AC optimal power flow problem model in step S1 is as follows:

[0012] The objective function is:

[0013] min.f (1)

[0014] Among them, f is a continuously differentiable function;

[0015] The constraint set is:

[0016]

[0017] i∈{1,2,...,N B}

[0018]

[0019] V i min ≤V i ≤V i max i∈{1,2,...,N B} (4)

[0020]

[0021] Among them, N B ,N L ,N G Respectively represent the number of busbar nodes, transmission lines and generators in the power system; the constant Gij and B ij are the equivalent conductance and equivalent susceptance of the line from node i to node j, respectively, Li and Q Li are the active load value and reactive load value of node i respectively; variable θ i is the voltage phase angle of node i, and θ ij =θ i -θ j , where the voltage phase angle of the balance node is set to a constant; the variable V i is the voltage amplitude of node i, P Gi and Q Gi are respectively the active output power value and reactive output power value of the generator connected to node i; the expression S fl and S tl are the apparent powers at the beginning and end of line l respectively.

[0022] In the AC optimal power flow models (1)-(5), all variables can be divided into control variables u AC and the state variable y AC Among them, the control variable refers to the state that can be directly adjusted by the corresponding control device in the power grid, generally including the voltage amplitude of the balancing node, the active output power and voltage amplitude of the PV node, the transformer tap, the topological switch, the parallel capacitor bank, the phase shifter, etc. In this invention, only continuous control variables are considered, and discrete control variables are not considered for the time being. Excluding the control variables, the remaining variables are called state variables, which can be obtained through the power flow equation and the control variables.

[0023] Furthermore, the relaxation variable technique is used in step S1 to change the relaxation variable SL AC Add to the inequality constraint set (3)-(5), convert the inequality constraint into an equivalent form of an equality constraint, add slack variables to the inequality constraint, the slack variables are usually added in square form, so that the slack variable term in the new constraint is always non-negative, and the inequality constraint can be turned into an equality by taking the value of the slack variable. Since the slack variable term itself is positive, there is no need to add additional inequality constraints.

[0024] It should be noted that the inequality constraints are not relaxed, and the feasible domain of the transformed constraint set is equivalent to the feasible domain of the original constraint set. To simplify the representation, the AC optimal power flow constraint set with slack variables is expressed in the following compact form:

[0025]

[0026] in, is the set of equality constraints, is the set of inequality constraints, variable x=[u AC ,y AC (uAC ),SL AC (u AC ,y(u AC ))].

[0027] Furthermore, the AC optimal power flow problem model in step S2 is expressed as:

[0028] Minimize f(x)(7)

[0029] st H(x)=0 (8)

[0030] in, is the objective function; is a constraint set. The inequality constraints have been converted into equality constraints by adding slack variables, where n is the number of variables, including all variables (2N) in formulas (1)-(5). G +2N B -1) and slack variables (4N G +3N B +2N L ), so n = 6N G +5N B +2N L -1; m is the number of constraints, m = 4N G +5N B +2N L .

[0031] Furthermore, in step S3, the optimal power flow problem is converted into an unconstrained optimization problem by constructing a Lagrangian function. The Lagrangian function of the optimal power flow problem is expressed as:

[0032] L(x,λ)=f(x)+H(x) T λ (9)

[0033] in, is the Lagrange multiplier.

[0034] Furthermore, the KKT condition of the optimal power flow problem in step S3 is expressed as:

[0035]

[0036] Where DH(x) represents the Jacobian matrix of H(x), Represents the gradient vector of f(x).

[0037] Furthermore, in step S4, if there is a solution pair (x * ,λ * ) satisfies KKT condition (10), then x *It is called a KKT point. It should be noted that KKT points include local minima, saddle points, and local maxima. In a minimization problem, a local maximum point is usually not solved. For an optimal power flow problem, a saddle point is just a feasible point, not a local optimal solution.

[0038] In the optimal power flow problem, in order to maintain a stable solution structure, the following setting conditions are included:

[0039] Set (a)-Regularity condition: For any feasible point x∈FR, are all linearly independent;

[0040] Setting (b)-non-degenerate condition: For each KKT solution For all satisfaction k=1,...,m all non-zero vectors d≠0 hold;

[0041] Setting (a) is also called the linear independence constraint regularity condition, which is valid in general optimization problems. Setting (a) ensures the uniqueness of the Lagrange multiplier at the KKT point. Setting (b) makes the second-order sufficient condition applicable, for any KKT condition All should satisfy setting (b). In addition, since the feasible domain is a compact set, the non-degenerate condition means that there are only a finite number of isolated KKT points in the feasible domain of the optimal power flow problem (7)-(8). The above assumptions apply to general AC optimal power flow problems and guarantee the stability of the solution, that is, the solution still exists under small perturbations of the variables;

[0042] The Hessian matrix of the Lagrangian function - formula (9) is:

[0043]

[0044] make where d is the basis of the tangent space of the constraint set at the KKT point; if And d≠0, then x * is a strict local minimum of the optimal power flow problem (7)-(8); otherwise, if Not true, x * is a saddle point in (7)-(8). The above conditions are called second-order sufficient conditions for optimality.

[0045] Second-order sufficient conditions usually require large-scale calculations. The general AC optimal power flow problem is non-convex and may contain many KKT solutions (i.e., local minima and saddle points), which require multiple tests. In addition, optimal power flow numerical algorithms and solvers based on first-order KKT conditions, such as the interior point method and MIPS solver, calculate KKT solutions instead of directly calculating local optimal solutions.

[0046] Furthermore, the feasible domain cut space projection system in step S5 is expressed as follows:

[0047]

[0048] in, yes The tangent space T of the feasible region FR at point x x Orthogonal projection on (FR);

[0049] For a point x∈FR on the feasible domain, DH(x) forms a linear space at x, called the normal space, denoted by N x (FR); N x The orthogonal complement space of (FR) is called the tangent space, denoted by T x (FR); a point If satisfied is called the equilibrium point of system (12); the Jacobian matrix of F(x) at x is restricted to the tangent space T x (FR) is called the restricted Jacobian of the system (12); the eigenvalues ​​of the restricted Jacobian matrix are DF(x) in T x The eigenvalue corresponding to the eigenvector in (FR) space.

[0050] Furthermore, the method for establishing the equivalent relationship between the KKT point of the optimal power flow problem in step S5 and the conventional equilibrium point of the feasible domain tangent space projection system is:

[0051] Establish the relationship between Theorem 1-KKT points and the conventional equilibrium points of the feasible domain tangent space projection system: a point is a KKT point of the optimal power flow problem (7)-(8) if and only if is the equilibrium point of the corresponding feasible domain tangent space projection system (12);

[0052] Establishing Theorem 2 - Relationship between local optimal solution and conventional stable equilibrium point: A point x * is a local minimum of the optimal power flow problem (7)-(8) if and only if x * ∈FR is the stable equilibrium point of the corresponding feasible domain tangent space projection system (12);

[0053] Theorem 2 gives a necessary and sufficient condition for the local optimal solution of the optimal power flow problem. From the perspective of numerical calculation, Theorem 2 points out that each local optimal solution of the optimal power flow problem can be verified by the proposed feasible domain tangent space projection system (12), and each local optimal solution is a regular stable equilibrium point of the feasible domain tangent space projection system, and vice versa. In addition, the local optimal solution of the optimal power flow can be directly solved by calculating the regular stable equilibrium point of the feasible domain tangent space projection system (12), rather than solving the KKT solution first and then judging it through the second-order conditions. It should be noted that Theorem 2 contains two conditions for the equilibrium point of the feasible domain tangent space projection system. First, it is a feasible point; second, it is a stable equilibrium point.

[0054] Establishing Theorem 3 - Relationship between saddle points and conventional unstable equilibrium points: a point is a saddle point of the optimal power flow problem (7)-(8) if and only if It is the unstable equilibrium point of the corresponding feasible domain tangent space projection system (12).

[0055] Furthermore, in step S5, for a KKT solution to an optimal power flow problem, denoted as x0, the method for testing and judging the KKT solution x0 comprises the following steps:

[0056] A1: Construct the feasible domain tangent space projection system (12) corresponding to the optimal power flow problem (7)-(8);

[0057] A2: Order is a random vector, and ||x # ||<ε, where ε is a very small positive scalar; let x p =x0+x # ;

[0058] A3: From x p Starting from, the integral system (12) for a period of time, ending at a point x q ;

[0059] A4: If || x q -x0||<||x # ||, then x0 is the local optimal solution to the optimal power flow problem; otherwise, x0 is just a feasible point, that is, a saddle point rather than a local minimum.

[0060] The optimality condition of the AC optimal power flow solution is still only a first-order necessary condition, which can only guide the optimal power flow method to solve the Karush-Kuhn-Tucker (KKT) solution, rather than directly solving the local optimal solution, making it impossible for modern power grids to achieve truly efficient operation. In this paper, a class of nonlinear dynamic systems is proposed to convert the optimal power flow problem into a feasible domain tangent space projection system, and it is proved that the following are derived: (1) necessary and sufficient conditions for the local optimal solution of the optimal power flow; (2) necessary and sufficient conditions for the KKT solution; (3) necessary and sufficient conditions for the saddle point; these conditions will constitute the optimality conditions of the optimal power flow problem.

[0061] Beneficial effects: Compared with the prior art, the present invention has the following advantages:

[0062] 1. The present invention solves the feasible domain and the spatial projection system integral. In the system, only the constrained Jacobian matrix calculation and projection need to be performed, and there is no need to solve the Hessian matrix, which reduces the calculation complexity and improves the calculation speed.

[0063] 2. If the solution calculated by the present invention or the input solution is a saddle point, the method of the present invention can find the corresponding local optimal solution by integrating the solution after applying a small perturbation, thereby solving the problem that the existing method can only judge the type of KKT solution.

[0064] 3. The method of the present invention can more efficiently and accurately determine the KKT solution without solving the Hessian matrix, which greatly reduces the amount of calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 is a flow chart of the method of the present invention;

[0066] Figure 2 is the KKT solution position diagram for verifying Theorem 1 in this embodiment;

[0067] Figure 3 is a conventional equilibrium point position diagram of the feasible domain tangent space projection system verified for Theorem 1 in this embodiment;

[0068] Figure 4 This is the trajectory diagram of the KKT solution being a saddle point in this embodiment;

[0069] Figure 5 It is a trajectory diagram of the KKT solution being the local optimal solution in this embodiment;

[0070] Figure 6 This is a complete trajectory diagram obtained in this embodiment. DETAILED DESCRIPTION

[0071] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.

[0072] The present invention provides a KKT solution identification method for the AC optimal power flow problem based on a dynamic system, such as Figure 1 As shown, it includes the following steps:

[0073] S1: Introduce slack variables into the AC optimal power flow problem model to obtain the AC optimal power flow constraint set containing slack variables;

[0074] S2: Based on the AC optimal power flow constraint set in step S1, a formal expression of the AC optimal power flow problem model is established;

[0075] S3: Convert the optimal power flow problem into an unconstrained optimization problem and obtain the KKT conditional expression of the optimal power flow problem;

[0076] S4: Obtain the KKT point of the AC optimal power flow problem according to the KKT condition;

[0077] S5: Introduce the feasible domain tangent space projection system, establish the equivalence relationship between the KKT points of the optimal power flow problem and the conventional equilibrium points of the feasible domain tangent space projection system, and test and judge the KKT solution.

[0078] The AC optimal power flow problem model in step S1 is expressed as follows:

[0079] The objective function is:

[0080] min.f(1)

[0081] Among them, f is a continuously differentiable function;

[0082] The constraint set is:

[0083]

[0084] i∈{1,2,...,N B}

[0085]

[0086] V i min ≤V i ≤V i max i∈{1,2,...,N B} (4)

[0087]

[0088] Among them, N B ,N L ,N G Respectively represent the number of busbar nodes, transmission lines and generators in the power system; the constant G ij and B ij are the equivalent conductance and equivalent susceptance of the line from node i to node j, respectively, Li and Q Li are the active load value and reactive load value of node i respectively; variable θ i is the voltage phase angle of node i, and θ ij =θ i -θ j , where the voltage phase angle of the balance node is set to a constant; the variable V i is the voltage amplitude of node i, P Gi and Q Gi are respectively the active output power value and reactive output power value of the generator connected to node i; the expression S fl and S tl are the apparent powers at the beginning and end of line l respectively.

[0089] In the AC optimal power flow models (1)-(5), all variables can be divided into control variables u AC and the state variable y AC Among them, the control variable refers to the state that can be directly adjusted by the corresponding control device in the power grid, generally including the voltage amplitude of the balancing node, the active output power and voltage amplitude of the PV node, the transformer tap, the topological switch, the parallel capacitor bank, the phase shifter, etc. In this invention, only continuous control variables are considered, and discrete control variables are not considered for the time being. Excluding the control variables, the remaining variables are called state variables, which can be obtained through the power flow equation and the control variables.

[0090] In step S1, the slack variable technique is used to set the slack variable SL AC Add to the inequality constraint set (3)-(5), and convert the inequality constraints into the equality constraint form. It should be noted that the inequality constraints are not relaxed. The feasible domain of the constraint set after the conversion is equivalent to the feasible domain of the original constraint set. In order to simplify the representation, the AC optimal power flow constraint set with slack variables is expressed in the following compact form:

[0091]

[0092] in, is the set of equality constraints, is the set of inequality constraints, variable x=[u AC ,y AC (u AC ),SLAC (u AC ,y(u AC ))].

[0093] The AC optimal power flow problem model in step S2 is expressed as:

[0094] Minimize f(x)(7)

[0095] st H(x)=0 (8)

[0096] in, is the objective function; is a constraint set. The inequality constraints have been converted into equality constraints by adding slack variables, where n is the number of variables, including all variables (2N) in formulas (1)-(5). G +2N B -1) and slack variables (4N G +3N B +2N L ), so n = 6N G +5N B +2N L -1; m is the number of constraints, m = 4N G +5N B +2N L .

[0097] In step S3, the optimal power flow problem is converted into an unconstrained optimization problem by constructing a Lagrangian function. The Lagrangian function of the optimal power flow problem is expressed as:

[0098] L(x,λ)=f(x)+H(x) T λ (9)

[0099] in, is the Lagrange multiplier.

[0100] The KKT condition of the optimal power flow problem in step S3 is expressed as:

[0101]

[0102] Where DH(x) represents the Jacobian matrix of H(x), Represents the gradient vector of f(x).

[0103] In step S4, if there is a solution pair (x * ,λ * ) satisfies KKT condition (10), then x *It is called a KKT point. It should be noted that KKT points include local minima, saddle points, and local maxima. In a minimization problem, a local maximum point is usually not solved. For an optimal power flow problem, a saddle point is just a feasible point, not a local optimal solution.

[0104] In the optimal power flow problem, in order to maintain a stable solution structure, the following setting conditions are included:

[0105] Set (a)-Regularity condition: For any feasible point x∈FR, are all linearly independent;

[0106] Setting (b)-non-degenerate condition: For each KKT solution For all satisfaction k=1,...,m all non-zero vectors d≠0 hold;

[0107] Setting (a) is also called the linear independence constraint regularity condition, which is valid in general optimization problems. Setting (a) ensures the uniqueness of the Lagrange multiplier at the KKT point. Setting (b) makes the second-order sufficient condition applicable, for any KKT condition All should satisfy setting (b). In addition, since the feasible domain is a compact set, the non-degenerate condition means that there are only a finite number of isolated KKT points in the feasible domain of the optimal power flow problem (7)-(8). The above assumptions apply to general AC optimal power flow problems and guarantee the stability of the solution, that is, the solution still exists under small perturbations of the variables;

[0108] The Hessian matrix of the Lagrangian function - formula (9) is:

[0109]

[0110] make where d is the basis of the tangent space of the constraint set at the KKT point; if And d≠0, then x * is a strict local minimum of the optimal power flow problem (7)-(8); otherwise, if Not true, x * is a saddle point in (7)-(8). The above conditions are called second-order sufficient conditions for optimality.

[0111] Second-order sufficient conditions usually require large-scale calculations. The general AC optimal power flow problem is non-convex and may contain many KKT solutions (i.e., local minima and saddle points), which require multiple tests. In addition, optimal power flow numerical algorithms and solvers based on first-order KKT conditions, such as the interior point method and MIPS solver, calculate KKT solutions instead of directly calculating local optimal solutions.

[0112] The representation of the feasible domain tangent space projection system in step S5 is as follows:

[0113]

[0114] in, yes The tangent space T of the feasible region FR at point x x Orthogonal projection on (FR);

[0115] For a point x∈FR on the feasible domain, DH(x) forms a linear space at x, called the normal space, denoted by N x (FR); N x The orthogonal complement space of (FR) is called the tangent space, denoted by T x (FR); a point If satisfied is called the equilibrium point of system (12); the Jacobian matrix of F(x) at x is restricted to the tangent space T x (FR) is called the restricted Jacobian of the system (12); the eigenvalues ​​of the restricted Jacobian matrix are DF(x) in T x The eigenvalue corresponding to the eigenvector in (FR) space.

[0116] The method for establishing the equivalent relationship between the KKT point of the optimal power flow problem in step S5 and the conventional equilibrium point of the feasible domain tangent space projection system is:

[0117] Establish the relationship between Theorem 1-KKT points and the conventional equilibrium points of the feasible domain tangent space projection system: a point is a KKT point of the optimal power flow problem (7)-(8) if and only if is the equilibrium point of the corresponding feasible domain tangent space projection system (12);

[0118] Establishing Theorem 2 - Relationship between local optimal solution and conventional stable equilibrium point: A point x * is a local minimum of the optimal power flow problem (7)-(8) if and only if x * ∈FR is the stable equilibrium point of the corresponding feasible domain tangent space projection system (12);

[0119] Establishing Theorem 3 - Relationship between saddle points and conventional unstable equilibrium points: a point is a saddle point of the optimal power flow problem (7)-(8) if and only if It is the unstable equilibrium point of the corresponding feasible domain tangent space projection system (12).

[0120] In step S5, for a KKT solution of an optimal power flow problem, denoted as x0, the method for testing and judging the KKT solution x0 includes the following steps:

[0121] A1: Construct the feasible domain tangent space projection system (12) corresponding to the optimal power flow problem (7)-(8);

[0122] A2: Order is a random vector, and ||x # ||<ε, where ε is a very small positive scalar; let x p =x0+x # ;

[0123] A3: From x p Starting from, the integral system (12) for a period of time, ending at a point x q ;

[0124] A4: If || x q -x0||<||x # ||, then x0 is the local optimal solution to the optimal power flow problem; otherwise, x0 is just a feasible point, that is, a saddle point rather than a local minimum.

[0125] The state space of the feasible domain tangent space projection system (12) consists of the closure of the stable domain of its stable equilibrium point. The dimension of the stable domain of a stable equilibrium point is n, while the dimension of the stable manifold of a type-k unstable equilibrium point is nk. Therefore, the numerical error caused by truncation (or perturbation) of a saddle point (unstable equilibrium point) will cause the trajectory of the system (12) to converge to the local optimal solution (stable equilibrium point). Therefore, in the proposed method, if x0 is a saddle point, the trajectory after perturbation will leave x0.

[0126] Based on the above content, in order to verify Theorem 1, this embodiment takes a modified WB5 system as an example to illustrate Theorem 1. The lower and upper limits of the node voltage amplitude of the WB5 system are set to [0.87, 1.13] pu respectively. The modified WB5 system contains only one feasible part, which is in the active power space P G1 ×P G5 The projection on Figure 2 and Figure 3 As shown. The numerical calculation of the interior point method solver obtained Figure 2 The KKT solutions in include two local optimal solutions (red asterisks) and one saddle point (green asterisk). Each KKT solution satisfies the non-degenerate condition of setting (b), so each solution is a non-degenerate KKT point. By numerically integrating the feasible domain tangent space projection system (12), three conventional equilibrium points can also be obtained, such as Figure 3 As shown, it contains two conventional stable equilibrium points (red "×") and one conventional unstable equilibrium point (green "×"). In fact, Figure 2 The three KKT solutions and Figure 3The three conventional equilibrium points in correspond one to one, and this result verifies Theorem 1.

[0127] In order to verify the effectiveness of the method of the present invention, a 9-node system is used in this embodiment.

[12] The proposed method verifies that the system contains 1 saddle point and 4 local minima. Consider the case where the given KKT solution is a saddle point and a local optimal solution respectively:

[0128] Case 1: (The given KKT solution is a saddle point)

[0129] like Figure 4 As shown in the figure, the view is highly magnified. A very small perturbation is made from the saddle point (green ×) as the initial point. The trajectory (blue) of the feasible domain tangent space projection system (12) leaves the saddle point and converges to the local minimum point below (conventional stable equilibrium point). The complete trajectory is shown in Figure 6 As shown in . Therefore, it can be seen that after perturbing from a saddle point using the method of the present invention, the trajectory will leave the saddle point and converge to a local optimal solution. However, it should be noted that in the method of the present invention, it is not necessary to wait until the trajectory converges to an equilibrium point, and only a short period of time needs to be integrated to make an accurate judgment.

[0130] Case 2: (The given KKT solution is a local minimum)

[0131] like Figure 5 As shown in the figure, which is also magnified to a certain extent, multiple random perturbations are made from the local minimum (red ×) as the initial point (red *), and each trajectory (purple) of the feasible domain tangent space projection system (12) converges back to the local minimum.

[0132] In addition, if the given KKT solution is a saddle point, the method based on the feasible domain tangent space projection system provides a simple solution to search for the local optimal solution, that is, continue to integrate the feasible domain tangent space projection system until it converges to a conventional stable equilibrium point (local optimal solution). Since the dimension of the stable domain of the stable equilibrium point is larger than the dimension of the stable manifold of the unstable equilibrium point, the trajectory of the feasible domain tangent space projection system after perturbation will generally no longer converge to the unstable equilibrium point. Figure 6 The enlarged part in the figure shows the process of escaping from the saddle point and finding the local optimal solution in the 9-node system. After perturbing the saddle point (green ×), the trajectory of the feasible domain tangent space projection system (blue) converges to a local optimal solution (red ×). In comparison, the second-order sufficient condition (SOSC) method can only judge the type of KKT solution, so the method of the present invention has more advantages.

[0133] In order to verify the effect of the method of the present invention, the calculation time of the SOSC method and the feasible domain tangent space projection system method of the present invention in several different scale examples are compared in this embodiment. In order to more intuitively compare and understand the calculation time, the time solved by the IPOPT solver is also shown. As shown in Table 1, the data is the average value of 100 solutions through random initial points on a desktop computer with an Intel Core i7-7700 CPU & 32GB RAM, and the KKT solution data used for the comparison of the two methods are the same.

[0134] Table 4 Comparison of calculation time between SOSC method and this method

[0135]

[0136] It can be seen that for small-scale optimal power flow problems, the method of the present invention does not have an advantage in speed, but in large-scale optimal power flow problems, the method of the present invention is faster than the SOSC method. This is because the calculation of the second-order conditions in the SOSC method requires solving the Hessian matrix, and its calculation time increases rapidly with the increase of the system scale, while the method of the present invention does not require it. In addition, if the calculated solution is a saddle point, the method of the present invention can find the corresponding local optimal solution, while the SOSC method cannot.

Claims

1. A KKT solution identification method for AC optimal power flow problem based on dynamic system, characterized in that: The steps include: S1: Introduce slack variables into the AC optimal power flow problem model to obtain the AC optimal power flow constraint set containing slack variables; S2: Based on the AC optimal power flow constraint set in step S1, a formal expression of the AC optimal power flow problem model is established; S3: Convert the optimal power flow problem into an unconstrained optimization problem and obtain the KKT conditional expression of the optimal power flow problem; S4: Obtain the KKT point of the AC optimal power flow problem according to the KKT condition; S5: Introduce the feasible domain tangent space projection system, establish the equivalence relationship between the KKT points of the optimal power flow problem and the conventional equilibrium points of the feasible domain tangent space projection system, and test and judge the KKT solution.

2. According to claim 1, a KKT solution determination method for AC optimal power flow problem based on dynamic system is characterized in that: The AC optimal power flow problem model in step S1 is expressed as follows: The objective function is: min.f(1) where f is a continuously differentiable function; The constraint set is: V i min ≤V i ≤V i max i∈{1,2,...,N B } (4) Among them, N B ,N L ,N G Respectively represent the number of busbar nodes, transmission lines and generators in the power system; the constant G ij and B ij are the equivalent conductance and equivalent susceptance of the line from node i to node j, respectively, Li and Q Li are the active load value and reactive load value of node i respectively; variable θ i is the voltage phase angle of node i, and θ ij =θ i -θ j , where the voltage phase angle of the balance node is set to a constant; the variable V i is the voltage amplitude of node i, P Gi and Q Gi are respectively the active output power value and reactive output power value of the generator connected to node i; the expression S fl and S tl are the apparent powers at the beginning and end of line l respectively.

3. The KKT solution identification method for the AC optimal power flow problem based on a dynamic system according to claim 2 is characterized in that: In step S1, the slack variable SL AC By adding the inequality constraints (3)-(5), the inequality constraints are equivalently converted into equality constraints. To simplify the representation, the AC optimal power flow constraint set with slack variables is expressed in the following compact form: in, is the set of equality constraints, is the set of inequality constraints, variable x=[u AC ,y AC (u AC ),SL AC (u AC ,y(u AC ))].

4. The KKT solution identification method for the AC optimal power flow problem based on a dynamic system according to claim 3 is characterized in that: The AC optimal power flow problem model in step S2 is expressed as: Minimize f(x)(7) stH(x)=0 (8) in, is the objective function; is a constraint set. The inequality constraints have been converted into equality constraints by adding slack variables, where n is the number of variables, including all variables (2N) in formulas (1)-(5). G +2N B -1) and slack variables (4N G +3N B +2N L ), so n = 6N G +5N B +2N L -1; m is the number of constraints, m = 4N G +5N B +2N L .

5. The KKT solution identification method for the AC optimal power flow problem based on a dynamic system according to claim 4 is characterized in that: In step S3, the optimal power flow problem is converted into an unconstrained optimization problem by constructing a Lagrangian function. The Lagrangian function of the optimal power flow problem is expressed as: L(x,λ)=f(x)+H(x) T l (9) in, is the Lagrange multiplier.

6. The KKT solution identification method for the AC optimal power flow problem based on a dynamic system according to claim 5, characterized in that: The KKT condition of the optimal power flow problem in step S3 is expressed as: Where DH(x) represents the Jacobian matrix of H(x), Represents the gradient vector of f(x).

7. The KKT solution identification method for AC optimal power flow problem based on dynamic system according to claim 6 is characterized in that: The step S4 includes the following setting conditions: Set (a)-Regularity condition: For any feasible point x∈FR, are all linearly independent; Setting (b)-non-degenerate condition: For each KKT solution For all satisfaction k=1,...,m all non-zero vectors d≠0 hold; The Hessian matrix of the Lagrangian function - formula (9) is: make where d is the basis of the tangent space of the constraint set at the KKT point; if And d≠0, then x * is a strict local minimum of the optimal power flow problem (7)-(8); otherwise, if Not true, x * It is a saddle point of (7)-(8).

8. The KKT solution identification method for AC optimal power flow problem based on dynamic system according to claim 6 is characterized in that: The representation of the feasible domain tangent space projection system in step S5 is as follows: in, yes The tangent space T of the feasible region FR at point x x Orthogonal projection on (FR); For a point x∈FR on the feasible domain, DH(x) forms a linear space at x, called the normal space, denoted by N x (FR); N x The orthogonal complement space of (FR) is called the tangent space, denoted by T x (FR); a point If satisfied is called the equilibrium point of system (12); the Jacobian matrix of F(x) at x is restricted to the tangent space T x (FR) is called the restricted Jacobian of the system (12); the eigenvalues ​​of the restricted Jacobian matrix are DF(x) in T x The eigenvalue corresponding to the eigenvector in (FR) space.

9. The KKT solution identification method for AC optimal power flow problem based on dynamic system according to claim 8, characterized in that: The method for establishing the equivalent relationship between the KKT point of the optimal power flow problem in step S5 and the conventional equilibrium point of the feasible domain tangent space projection system is: Establish the relationship between Theorem 1-KKT points and the conventional equilibrium points of the feasible domain tangent space projection system: a point is a KKT point of the optimal power flow problem (7)-(8) if and only if is the equilibrium point of the corresponding feasible domain tangent space projection system (12); Establishing Theorem 2 - Relationship between local optimal solution and conventional stable equilibrium point: A point x * is a local minimum of the optimal power flow problem (7)-(8) if and only if x * ∈FR is the stable equilibrium point of the corresponding feasible domain tangent space projection system (12); Establishment Theorem 3 - Relationship between saddle points and conventional unstable equilibrium points: A point x is a saddle point of the optimal power flow problem (7)-(8) if and only if It is the unstable equilibrium point of the corresponding feasible domain tangent space projection system (12).

10. The KKT solution identification method for AC optimal power flow problem based on dynamic system according to claim 8, characterized in that: In step S5, for a KKT solution of an optimal power flow problem, denoted as x0, the method for testing and judging the KKT solution x0 includes the following steps: A1: Construct the feasible domain tangent space projection system (12) corresponding to the optimal power flow problem (7)-(8); A2: Order is a random vector, and ||x # ||<ε, where ε is a very small positive scalar; let x p =x0+x # ; A3: From x p Starting from, the integral system (12) for a period of time, ending at a point x q ; A4: If || x q -x0||<||x # ||, then x0 is the local optimal solution to the optimal power flow problem; otherwise, x0 is just a feasible point, that is, a saddle point rather than a local minimum.

Citation Information

Cited By

  • AC / DC system load flow calculation method and device based on trajectory uniformity

    CN121211770A