A Chance-Constrained Optimal Power Flow Solution Method Based on Linearized Network Model

By establishing a linear power flow model based on loss factors and converting it into deterministic constraints, combined with the three-point estimation method and Cornish-Fisher series expansion, the non-convexity problem of the opportunity-constrained optimal power flow model is solved, and high accuracy and Fast power flow calculation ensures the safe and economical operation of the power system.

CN113162050BActive Publication Date: 2024-09-13CHONGQING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110361369.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-02
Publication Date
2024-09-13
Estimated Expiration
2041-04-02

AI Technical Summary

Technical Problem

The existing chance-constrained optimal power flow model is difficult to obtain feasible solutions due to its non-convexity, and the linearized model solution does not satisfy the AC power flow equation, making it difficult for the calculation to converge and obtain the global optimal solution.

Method used

By establishing a linear power flow model based on loss factors, approximately replacing variables, simplifying the power flow equation, introducing chance constraints, converting them into deterministic constraints, and using a combination of three-point estimation method and Cornish-Fisher series expansion to solve the optimal linear network Power flow model, which restores the optimal solution of the AC power flow model.

Benefits of technology

It achieves high-precision and fast calculation speed for AC optimal power flow calculation and analysis under the condition of chance constraints, provides results that can be directly used for dispatch, and ensures the safe and economical operation of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113162050B
    Figure CN113162050B
Patent Text Reader

Abstract

The present invention discloses a method for solving an opportunity-constrained optimal power flow based on a linearized network model, comprising the following steps: 1) establishing a linear power flow model based on a loss factor; 2) establishing an apparent power constraint; 3) establishing an optimal power flow model containing opportunity constraints; 4) reconstructing the opportunity constraints of the optimal power flow model to obtain a plurality of opportunity constraints; 5) converting all opportunity constraints into deterministic constraints, and establishing a deterministic linear network optimal power flow model; 6) solving the linear network optimal power flow model. The present invention solves the problem of calculating and analyzing an AC optimal power flow with high precision and fast calculation speed in the case of analyzing an opportunity constraint from the two perspectives of a linearized network model and an AC optimal power flow.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of optimal power flow solutions, in particular to a chance-constrained optimal power flow solution method based on a linearized network model. Background Art

[0002] In recent years, the integration of various renewable energy sources into power systems has become a major trend. However, uncontrollable renewable energy sources such as wind power have brought challenges to the safety and economic operation of power systems. As a basic power flow calculation, optimal power flow can reduce the power generation cost of the power system while meeting safety constraints and meet the economic operation of the power system.

[0003] Traditional optimal power flow calculation is a deterministic power flow calculation (i.e., power output and load are fixed). However, the introduction of renewable energy such as wind power makes this method no longer applicable. If the impact of uncontrollable power sources such as wind power on optimal power flow calculation is underestimated or ignored, it will affect the safety and economic operation of the power system. Therefore, it is necessary to construct an optimal power flow calculation model that reflects random scenarios and be able to solve it.

[0004] Therefore, research on optimal power flow considering uncertainty has emerged in recent years. There are mainly robust optimal power flow, probabilistic optimal power flow, and optimal power flow with chance-constrained models. Among them, robust optimal power flow takes all uncertainties into account at the same time, so the solution obtained is usually conservative. The result of probabilistic optimal power flow is usually the probability density function of the control variable, which cannot provide a single result that can be used directly for the dispatching department. The construction of the optimal power flow with chance constraints takes into account various random scenarios, ensures that the chance constraints meet a certain confidence level, and can provide the dispatching department with a direct and highly operational result.

[0005] However, it is difficult to obtain a feasible solution for the chance-constrained AC optimal power flow model (CC-ACOPF) due to the non-convexity of the problem. For the introduction of chance constraints, we can consider using the probability distribution of variables to obtain the margin conditions of variables that meet a certain confidence level, thereby converting the probability form of chance constraints into deterministic constraints and then solving them. However, this requires that the control variables of each node can find the distribution corresponding to the working point (feasible solution). At present, the chance-constrained AC optimal power flow is calculated by iteratively solving the deterministic optimal power flow (D-ACOPF) and determining the uncertainty margin by linear approximation of the operating point. This calculation decouples the calculation of the uncertainty margin from the deterministic optimal power flow solution, and requires repeated solution of the non-convex D-ACOPF. This algorithm is difficult to converge and it is difficult to obtain the global optimal solution. For AC optimal power flow, the currently available method is to linearize and obtain a convex optimization problem model, which can ensure the convergence of the problem. However, such a solution does not satisfy the AC power flow equation, so it is difficult to introduce and solve the chance constraint. Therefore, obtaining the optimal solution that comprehensively considers the opportunity constraints and satisfies the AC power flow equation, while requiring the program to converge and the solution to be feasible is a problem that has not yet been solved. Summary of the invention

[0006] The object of the present invention is to provide a method for solving the opportunity-constrained optimal power flow based on a linearized network model, comprising the following steps:

[0007] 1) Establish a linear power flow model based on loss factor;

[0008] The steps to establish a linear power flow model based on loss factors include:

[0009] 1.1) Establish the traditional AC power flow equation, namely:

[0010]

[0011]

[0012] In the formula, g ij and b ij is the conductance and susceptance of branch (i, j); V i and V j is the node voltage amplitude; θ ij is the node voltage phase angle difference; P ij and Q ij Respectively represent the active power and reactive power of branch (i, j);

[0013] 1.2) Approximately replace the variables in the traditional AC power flow equation. The replacement rules are as follows:

[0014]

[0015]

[0016] 1.3) According to equations (3) and (4), equations (1) and (2) are simplified to obtain the simplified power flow equation as follows:

[0017]

[0018]

[0019] 1.4) V 2 As an independent variable, establish the transformation equation, namely:

[0020]

[0021] Where, the voltage V of branch (i, j) is ij =V i -V j ;

[0022] 1.5) Substituting equation (7) into equations (5) and (6), we get the nonlinear power flow model, namely:

[0023]

[0024]

[0025] Among them, the active power loss of branch (i, j) and reactive power loss They are as follows:

[0026]

[0027]

[0028] 1.6) Update the active power loss of branch (i, j) and reactive power loss Right now:

[0029]

[0030]

[0031] Where θ and W are the phase angle and magnitude square vector of the voltage respectively; LF P,θ , LF P,W , LF Q,θ , LF Q,W Respectively represent the coefficient matrix related to active power and voltage phase angle, the coefficient matrix related to active power and voltage amplitude, the coefficient matrix related to reactive power and voltage phase angle, and the coefficient matrix related to reactive power and voltage amplitude; is the active power compensation vector; is the reactive power compensation vector.

[0032] 2) Establish apparent power constraints;

[0033] The apparent power constraints are as follows:

[0034]

[0035] In the formula, is the equivalent apparent power of branch (i, j); is the upper limit of the branch equivalent power; Indicates the value range of apparent power in the coordinate axis xoy; value range It is surrounded by n sector segments k; the vertices of all sector segments are the coordinate origin O;

[0036] Among them, the equivalent apparent power of branch (i, j) is As shown below:

[0037]

[0038] In the formula, β k represents the angle between the horizontal axis and the kth segment;

[0039] Upper limit of branch equivalent power As shown below:

[0040]

[0041] In the formula, is the upper margin of the nonlinear apparent power of branch (i, j);

[0042] The angle φ is given by:

[0043]

[0044] In the formula, n is the enclosed value area The number of fan-shaped segments.

[0045] 3) Establish an optimal power flow model with chance constraints;

[0046] The steps to build an optimal power flow model with chance constraints include:

[0047] 3.1) Establish the cumulative distribution function F of wind speed ξ v (ξ), that is:

[0048]

[0049] Where K and D are shape parameters and scale parameters respectively;

[0050] 3.2) Calculate the power P of wind power generation WF (ξ), that is:

[0051]

[0052] In the formula, v ci 、v rate 、v co They are cut-in wind speed, rated wind speed, and cut-out wind speed; P rate is the rated output power of the wind turbine;

[0053] 3.3) Establish the power expression of wind power generation, namely:

[0054]

[0055] In the formula, and ΔP WF (ξ) are wind power prediction value and deviation value respectively;

[0056] 3.4) Assuming that the power factor of the wind farm is constant, calculate the reactive power of the wind farm, that is:

[0057]

[0058] The parameter γ is as follows:

[0059]

[0060] 3.5) Establish the power balance equation of the node, namely:

[0061]

[0062]

[0063] In the formula, G ij and B ij It represents the real and imaginary parts of the admittance matrix; P G,i (ξ) and Q G,i (ξ) represents the active power and reactive power of the generator at node i; P D,i and Q D,i It represents the active load and reactive load of node i; W i (ξ) represents the voltage amplitude V i The square of ΔP WF,i (ξ) and ΔQ WF,i (ξ) represent the wind power active power deviation and reactive power deviation of node i respectively; P ij (ξ) and Q ij(ξ) respectively represent the active power and reactive power of branch (i, j) when the wind speed is ξ;

[0064] 3.6) Establish a linear network optimal power flow model with chance constraints;

[0065] The objective function of the linear network optimal power flow model with chance constraints is as follows:

[0066]

[0067] In the formula, c 1,i 、c 2,i 、c 0,i are the quadratic cost coefficient, the linear cost coefficient and the constant cost coefficient respectively; P G , Q G is the active power and reactive power of the generator;

[0068] The constraints of the linear network optimal power flow model with chance constraints are as follows:

[0069] st(23)-(24) (26)

[0070]

[0071]

[0072]

[0073]

[0074]

[0075]

[0076]

[0077]

[0078] θ ref =0 (35)

[0079] In the formula, P G,i , Q G,i , They are respectively the lower limit of active power, the upper limit of active power, the lower limit of reactive power and the upper limit of reactive power of the generator; and W i is the upper and lower limits of the square of the node voltage amplitude; θ refrepresents the phase angle of the reference node; ε is the independently set limit-crossing probability. For generator collection; The set of all nodes.

[0080] 4) Reconstruct the opportunity constraints of the optimal power flow model to obtain several opportunity constraints;

[0081] The steps to reconstruct the chance constraints of the optimal power flow model include:

[0082] 4.1) Establish the equation of the probability of voltage amplitude and the probability of voltage amplitude squared, that is:

[0083]

[0084]

[0085] In the formula, and V i is the upper and lower margin of the voltage amplitude;

[0086] 4.2) Calculate the opportunity constraint of the apparent power of branch (i, j), that is:

[0087]

[0088] In the formula, It means that for different k values, the equivalent apparent power does not exceed the upper margin of the maximum equivalent apparent power;

[0089] 4.3) Based on the probabilistic independence of chance constraints, update formula (38) to obtain the reconstructed chance constraints, namely:

[0090]

[0091] In the formula, A collection of branches.

[0092] 5) Convert all chance constraints into deterministic constraints and establish a deterministic linear network optimal power flow model;

[0093] The steps to convert all chance constraints into deterministic constraints include:

[0094] 5.1) Calculate the power change of the traditional generator to compensate for the wind power error, that is:

[0095]

[0096] In the formula, ΔP inj and ΔQ inj represents the change in active and reactive power injected into the node; Ψ is the power transfer factor matrix; ΛP WF(ξ), ΛQ WF (ξ) is the active power deviation value and reactive power deviation value of wind power;

[0097] 5.2) Calculate the recovery margin ρ, that is:

[0098] ρ=s AC -s L (41)

[0099] In the formula, s L is the deterministic linear constrained optimal power flow solution. AC For L Recovered AC power flow solution.

[0100] 5.3) Simplify the chance constraint involving the square of the voltage amplitude and obtain:

[0101]

[0102] In the formula, Expressed as the square of the voltage amplitude at node i, W i The cumulative probability distribution function of ;

[0103] 5.4) Establish deterministic constraints, namely:

[0104]

[0105]

[0106] In the formula, the uncertainty upper margin is is the uncertainty margin;

[0107] Upper limit of the square of the voltage amplitude at node i and lower limit W i Satisfy the following formulas respectively:

[0108]

[0109]

[0110] 5.5) Calculate the joint margin, that is:

[0111] τ u =λ u +ρ (47)

[0112] τ l =λ l -ρ (48)

[0113] In the formula, τ u , τ lThey represent the combined upper margin and the combined lower margin respectively; λ u , l They represent the uncertainty upper margin and uncertainty lower margin respectively;

[0114] 5.6) Establish a deterministic linear network optimal power flow model, and the objective function is as follows:

[0115]

[0116] The constraints of the linear network optimal power flow model are as follows:

[0117] st(23)-(24) (50)

[0118]

[0119]

[0120]

[0121]

[0122] θ ref =0 (55)

[0123] In the formula, They represent the upper and lower margins of the generator active power respectively; They represent the upper and lower margins of the generator reactive power respectively; They represent the upper and lower margins of the square of the voltage amplitude respectively; They respectively represent the upper and lower margins of apparent power. P G Indicates active power P G The upper and lower limits of Q G Reactive power Q G The upper and lower limits of W Represents the upper and lower limits of the voltage amplitude square W; θ ref Represents the phase angle of the reference node.

[0124] 6) Solve the optimal power flow model of linear networks.

[0125] The steps to solve the linear network optimal power flow model include:

[0126] 6.1) The voltage amplitude square W0 and the voltage phase angle θ0 are given initial values, and the uncertainty margin is set Uncertain upper margin and the recovery margin ρ0 is 0; the initial number of iterations h = 1;

[0127] 6.2) Using the uncertainty margin Uncertain upper margin Restoration Margin ρ h-1 Solve the deterministic linear network optimal power flow model and obtain the optimal solution under the linear network model

[0128] 6.3) Using the optimal solution Obtaining the Optimal Solution of the AC Power Flow Model And calculate the recovery margin ρ h ;

[0129] 6.4) Calculate the uncertainty margin using the combination of the three-point estimation method and the Cornish-Fisher series expansion method and uncertainty upper margin

[0130] The uncertainty lower margin is calculated by combining the three-point estimation method with the Cornish-Fisher series expansion method. and uncertainty upper margin The steps include:

[0131] 6.4.1) Define X = [x1, x2, ..., x p ] T is a p-dimensional input variable vector, G = [g1, g2, ..., g q ] T is a q-dimensional function vector, R = [r1, r2, ..., r q ] T To obtain the q-dimensional output variable vector, that is:

[0132] R=G(X)=G(x1,x2,...,x p ) (56)

[0133] 6.4.2) According to the three-point estimation method, for each input variable x h , calculate the corresponding position parameters and weight parameter w h,t ,Right now:

[0134]

[0135]

[0136] Where η h,t , μ h , σ h The input variables x are h The standard position, mean and standard deviation of b h and d h For xh skewness and kurtosis;

[0137] Among them, the standard position η h,t As shown below:

[0138]

[0139] 6.4.3) Transform formula (55) to obtain:

[0140] R(h, t) = G(μ1, ..., μ h-1 , x h,t , μ h+1 , μ p ) (60)

[0141] Wherein, h = 1, 2, ..., p; t = 1, 2, 3;

[0142] 6.4.4) Calculate the z-order origin moment of the output variable, that is:

[0143]

[0144] 6.4.5) Calculate the α quantile F of a non-Gaussian distribution -1 (α), that is:

[0145]

[0146] Where ζ(α) = Φ -1 (α) is the quantile of the standard normal distribution.

[0147] 6.4.6) The inverse function of the cumulative probability distribution function is solved by combining the three-point estimation method with the Cornish-Fisher series expansion method, thereby calculating the uncertainty upper margin and uncertainty lower margin of the linear network optimal power flow model, that is:

[0148] λ u =F -1 (α)-W h (63)

[0149] 6.5) Calculate the second norm of the uncertainty margin of the last iteration, that is:

[0150]

[0151] In the formula, Δλ W , Δλ S , are the second norms of the uncertainty margins corresponding to the square of the voltage amplitude, apparent power, generator active power, and generator reactive power, respectively;

[0152] 6.6) Determine whether the second norm of the uncertainty margin of the last iteration converges. If so, stop the calculation and output the optimal solution. Otherwise, set h=h+1 and return to step 2).

[0153] Convergence is judged as follows:

[0154] like If all are satisfied, it converges, otherwise, it does not converge; is the convergence threshold.

[0155] It is worth noting that the present invention discloses a method for solving the opportunity-constrained optimal power flow based on a linearized network model, which mainly includes the following steps: 1) constructing a linear network optimal power flow model CC-LOPF containing opportunity constraints. 2) converting the linear constraints into deterministic constraints to obtain a linear network optimal power flow model D-LOPF with deterministic constraints. 3) solving D-LOPF to obtain the optimal solution under the linear model. 4) restoring the obtained solution to obtain the optimal solution under the AC power flow model and a new uncertainty margin. 5) judging whether the second norm of the uncertainty margin change reaches the convergence criterion, if not, returning to step 2); if reached, stopping the calculation. From the two perspectives of linearized network model and AC optimal power flow, the present invention solves the problem of calculating and analyzing AC optimal power flow with high precision and fast calculation speed when analyzing the case of opportunity constraints.

[0156] The technical effect of the present invention is unquestionable. The calculation result of the optimal power flow obtained by the present invention through chance constraints is a clear numerical value, which can provide results with direct guiding significance for scheduling and planning related personnel; the present invention solves the problem of calculating and analyzing the optimal power flow of communication with high precision and fast calculation speed when analyzing the case of chance constraints from the two perspectives of linearized network model and optimal power flow of communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0157] Figure 1 Flowchart of the chance-constrained optimal power flow solution method based on the linearized network model.

[0158] Figure 2 is the apparent power value range. DETAILED DESCRIPTION

[0159] The present invention is further described below in conjunction with the embodiments, but it should not be understood that the above subject matter of the present invention is limited to the following embodiments. Without departing from the above technical ideas of the present invention, various substitutions and changes are made according to the common technical knowledge and customary means in the art, which should all be included in the protection scope of the present invention.

[0160] Embodiment 1:

[0161] See also Figure 1 to Figure 2 , a method for solving the chance-constrained optimal power flow based on a linearized network model, comprising the following steps:

[0162] 1) Establish a linear power flow model based on loss factor;

[0163] The steps to establish a linear power flow model based on loss factors include:

[0164] 1.1) Establish the traditional AC power flow equation, namely:

[0165]

[0166]

[0167] In the formula, g ij and b ij is the conductance and susceptance of branch (i, j); V i and V j is the node voltage amplitude; θ ij is the node voltage phase angle difference; P ij and Q ij Respectively represent the active power and reactive power of branch (i, j);

[0168] 1.2) Approximately replace the variables in the traditional AC power flow equation. The replacement rules are as follows:

[0169]

[0170]

[0171] 1.3) According to equations (3) and (4), equations (1) and (2) are simplified to obtain the simplified power flow equation as follows:

[0172]

[0173]

[0174] 1.4) V 2 As an independent variable, establish the transformation equation, namely:

[0175]

[0176] Where, the voltage V of branch (i, j) is ij =V i -V j ;

[0177] 1.5) Substituting equation (7) into equations (5) and (6), we get the nonlinear power flow model, namely:

[0178]

[0179]

[0180] Among them, the active power loss of branch (i, j) and reactive power loss They are as follows:

[0181]

[0182]

[0183] 1.6) Update the active power loss of branch (i, j) and reactive power loss Right now:

[0184]

[0185]

[0186] Where θ and W are the phase angle and magnitude square vector of the voltage respectively; LF P,θ , LF P,W , LF Q,θ , LF Q,W Respectively represent the coefficient matrix related to active power and voltage phase angle, the coefficient matrix related to active power and voltage amplitude, the coefficient matrix related to reactive power and voltage phase angle, and the coefficient matrix related to reactive power and voltage amplitude; is the active power compensation vector; is the reactive power compensation vector.

[0187] 2) Establish apparent power constraints;

[0188] The apparent power constraints are as follows:

[0189]

[0190] In the formula, is the equivalent apparent power of branch (i, j); is the upper limit of the branch equivalent power; Indicates the value range of apparent power in the coordinate axis xoy; value range It is surrounded by n sector segments k; the vertices of all sector segments are the coordinate origin O;

[0191] Among them, the equivalent apparent power of branch (i, j) is As shown below:

[0192]

[0193] In the formula, βk represents the angle between the horizontal axis and the kth segment;

[0194] Upper limit of branch equivalent power As shown below:

[0195]

[0196] In the formula, is the upper margin of the nonlinear apparent power of branch (i, j);

[0197] The angle φ is given by:

[0198]

[0199] In the formula, n is the enclosed value area The number of fan-shaped segments.

[0200] 3) Establish an optimal power flow model with chance constraints;

[0201] The steps to build an optimal power flow model with chance constraints include:

[0202] 3.1) Establish the cumulative distribution function F of wind speed ξ v (ξ), that is:

[0203]

[0204] Where K and D are shape parameters and scale parameters respectively;

[0205] 3.2) Calculate the power P of wind power generation WF (ξ), that is:

[0206]

[0207] In the formula, v ci 、v rate 、v co They are cut-in wind speed, rated wind speed, and cut-out wind speed; P rate is the rated output power of the wind turbine;

[0208] 3.3) Establish the power expression of wind power generation, namely:

[0209]

[0210] In the formula, and ΔP WF (ξ) are wind power prediction value and deviation value respectively;

[0211] 3.4) Assuming that the power factor of the wind farm is constant, calculate the reactive power Q of the wind farm WF (ξ), that is:

[0212]

[0213] The parameter γ is as follows:

[0214]

[0215] 3.5) Establish the power balance equation of the node, namely:

[0216]

[0217]

[0218] In the formula, G ij and B ij It represents the real and imaginary parts of the admittance matrix; P G,i (ξ) and Q G,i (ξ) represents the active power and reactive power of the generator at node i; F D,i and Q D,i It represents the active load and reactive load of node i; W i (ξ) represents the voltage amplitude V i The square of ΔP WF,i (ξ) and ΔQ WF,i (ξ) represent the wind power active power deviation and reactive power deviation of node i respectively; P ij (ξ) and Q ij (ξ) respectively represent the active power and reactive power of branch (i, j) when the wind speed is ξ; is the total number of nodes;

[0219] 3.6) Establish a linear network optimal power flow model with chance constraints;

[0220] The objective function of the linear network optimal power flow model with chance constraints is as follows:

[0221]

[0222] In the formula, c 1,i 、c 2,i 、c 0,i are the quadratic cost coefficient, the linear cost coefficient and the constant cost coefficient respectively; P G , Q G is the active power and reactive power of the generator; is the total number of nodes;

[0223] The constraints of the linear network optimal power flow model with chance constraints are as follows:

[0224] st(23)-(24) (26)

[0225]

[0226]

[0227]

[0228]

[0229]

[0230]

[0231]

[0232]

[0233] θ ref =0 (35)

[0234] In the formula, P G,i , Q G,i , They are respectively the lower limit of active power, the upper limit of active power, the lower limit of reactive power and the upper limit of reactive power of the generator; and W i is the upper and lower limits of the square of the node voltage amplitude; θ ref represents the phase angle of the reference node; ε is the independently set limit-crossing probability. For generator collection; The set of all nodes. Represents the probability of event* occurring.

[0235] 4) Reconstruct the opportunity constraints of the optimal power flow model to obtain several opportunity constraints;

[0236] The steps to reconstruct the chance constraints of the optimal power flow model include:

[0237] 4.1) Establish the equation of the probability of voltage amplitude and the probability of voltage amplitude squared, that is:

[0238]

[0239]

[0240] In the formula, and V i is the upper and lower margin of the voltage amplitude;

[0241] 4.2) Calculate the opportunity constraint of the apparent power of branch (i, j), that is:

[0242]

[0243] In the formula, It means that for different k values, the equivalent apparent power does not exceed the upper margin of the maximum equivalent apparent power;

[0244] 4.3) Based on the probabilistic independence of chance constraints, update formula (38) to obtain the reconstructed chance constraints, namely:

[0245]

[0246] In the formula, A collection of branches.

[0247] 5) Convert all chance constraints into deterministic constraints and establish a deterministic linear network optimal power flow model;

[0248] The steps to convert all chance constraints into deterministic constraints include:

[0249] 5.1) Calculate the power change of the traditional generator to compensate for the wind power error, that is:

[0250]

[0251] In the formula, ΔP inj and ΔQ inj represents the change in active and reactive power injected into the node; Ψ is the power transfer factor matrix; ΛP WF (ξ), ΛQ WF (ξ) is the active power deviation value and reactive power deviation value of wind power;

[0252] 5.2) Calculate the recovery margin ρ, that is:

[0253] ρ=s AC -s L (41)

[0254] In the formula, s L is the deterministic linear constrained optimal power flow solution; s AC For L Recovered AC power flow solution;

[0255] 5.3) Simplify the chance constraint involving the square of the voltage amplitude and obtain:

[0256]

[0257] In the formula, Expressed as the square of the voltage amplitude at node i, W i The cumulative probability distribution function of ;

[0258] 5.4) Establish deterministic constraints, namely:

[0259]

[0260]

[0261] In the formula, the uncertainty upper margin is is the uncertainty margin;

[0262] Upper limit of the square of the voltage amplitude at node i and lower limit W i Satisfy the following formulas respectively:

[0263]

[0264]

[0265] 5.5) Calculate the joint margin, that is:

[0266] τ u =λ u +ρ (47)

[0267] τ l =λ l -ρ (48)

[0268] In the formula, τ u , τ l They represent the combined upper margin and the combined lower margin respectively; λ u , l They represent the uncertainty upper margin and uncertainty lower margin respectively;

[0269] 5.6) Establish a deterministic linear network optimal power flow model, and the objective function is as follows:

[0270]

[0271] The constraints of the linear network optimal power flow model are as follows:

[0272] st(23)-(24) (50)

[0273]

[0274]

[0275]

[0276]

[0277] θ ref =0 (55)

[0278] In the formula, They represent the upper and lower margins of the generator active power respectively; They represent the upper and lower margins of the generator reactive power respectively; They represent the upper and lower margins of the square of the voltage amplitude respectively; They respectively represent the upper and lower margins of apparent power.

[0279] 6) Solve the optimal power flow model of linear networks.

[0280] The steps to solve the linear network optimal power flow model include:

[0281] 6.1) The voltage amplitude square W0 and the voltage phase angle θ0 are given initial values, and the uncertainty margin is set Uncertain upper margin and the recovery margin ρ0 is 0; the initial number of iterations h = 1;

[0282] 6.2) Using the uncertainty margin Uncertain upper margin Restoration Margin ρ h-1 Solve the deterministic linear network optimal power flow model and obtain the optimal solution under the linear network model

[0283] 6.3) Using the optimal solution Obtaining the Optimal Solution of the AC Power Flow Model And calculate the recovery margin ρ h ;

[0284] 6.4) Calculate the uncertainty margin using the combination of the three-point estimation method and the Cornish-Fisher series expansion method and uncertainty upper margin

[0285] The uncertainty lower margin is calculated by combining the three-point estimation method with the Cornish-Fisher series expansion method. and uncertainty upper margin The steps include:

[0286] 6.4.1) Define X = [x1, x2, ..., x p ] T is a p-dimensional input variable vector, G = [g1, g2, ..., g q ] T is a q-dimensional function vector, R = [r1, r2, ..., r q ] T To obtain the q-dimensional output variable vector, that is:

[0287] R=G(X)=G(x1,x2,...,x p ) (56)

[0288] 6.4.2) According to the three-point estimation method, for each input variable x h , calculate the corresponding position parameters and weight parameter w h,t ,Right now:

[0289]

[0290]

[0291] Where η h,t , μ h , σ h The input variables x are h The standard position, mean and standard deviation of b h and d h For x h skewness and kurtosis;

[0292] Among them, the standard position η h,t As shown below:

[0293]

[0294] 6.4.3) Transform formula (55) to obtain:

[0295] R(h, t) = G(μ1, ..., μ h-1 , x h,t , μ h+1 , μ p ) (60)

[0296] Wherein, h = 1, 2, ..., p; t = 1, 2, 3; R (h, t) is the q-dimensional output variable vector at the k-th iteration.

[0297] 6.4.4) Calculate the z-order origin moment of the output variable Right now:

[0298]

[0299] 6.4.5) Calculate the α quantile F of a non-Gaussian distribution -1 (α), that is:

[0300]

[0301] Where ζ(α) = Φ -1 (α) is the quantile of the standard normal distribution. κ3 and κ4 are coefficients.

[0302] 6.4.6) The inverse function of the cumulative probability distribution function is solved by combining the three-point estimation method with the Cornish-Fisher series expansion method, thereby calculating the uncertainty upper margin and uncertainty lower margin of the linear network optimal power flow model, that is:

[0303] λ u =F -1 (α)-W h (63)

[0304] 6.5) Calculate the second norm of the uncertainty margin of the last iteration, that is:

[0305]

[0306] In the formula, Δλ W , Δλ S , are the second norms of the uncertainty margins corresponding to the square of the voltage amplitude, apparent power, generator active power, and generator reactive power, respectively;

[0307] 6.6) Determine whether the second norm of the uncertainty margin of the last iteration converges. If so, stop the calculation and output the optimal solution. Otherwise, set h=h+1 and return to step 2).

[0308] Convergence is judged as follows:

[0309] like If all are satisfied, it converges, otherwise, it does not converge; is the convergence threshold.

[0310] Embodiment 2:

[0311] See also Figure 1 to Figure 2 Taking the IEEE 39-bus system as an example, wind turbines are added to nodes 2, 11, 17, and 22. The opportunity-constrained optimal power flow solution method based on the linearized network model mainly includes the following steps:

[0312] 1) Simplify the model of power system flow calculation, mainly including the following steps:

[0313] 1.1) The traditional AC power flow equation for the derived line (i, j) (i and j are both node numbers in the power flow calculation) is as follows:

[0314]

[0315]

[0316] In the formula, g ij and b ij is the conductance and susceptance of branch (i, j), V i and Vj is the node voltage amplitude, θ ij is the node voltage phase angle difference.

[0317] 1.2) According to the actual engineering practice, some variables in the above formula are approximated and replaced, where the voltage amplitude V is near 1, and the voltage phase angle difference θ ij is very small, so there are the following simplifications:

[0318]

[0319]

[0320] 1.3) According to equations (3) and (4), equations (1) and (2) are simplified to obtain the simplified power flow equation as follows:

[0321]

[0322]

[0323] 1.4) Set V 2 Treated as an independent variable, the following transformations are then performed:

[0324]

[0325] Where V ij =V i -V j Substituting equation (7) into equations (5) and (6), the nonlinear power flow model can be further transformed into the following equation:

[0326]

[0327]

[0328] in:

[0329]

[0330]

[0331] Equations (10) and (11) represent the active and reactive power losses of the branches.

[0332] 1.5) The complete linear power flow model based on the loss factor is obtained. According to the previous research on linearized power flow, the line loss of equations (10) and (11) can be expressed by the next equation:

[0333]

[0334]

[0335] In the above formula, θ and W are the square vectors of the phase angle and amplitude of the voltage respectively. The coefficient matrix LF P,θ , LF P,W , LF Q,θ , LF Q,W and the compensation vector is a linear expression that can be derived from the previous linearized power flow. Therefore, equations (8), (9), (12) and (13) constitute a complete linearized network model based on the loss factor.

[0336] 2) The steps to construct the apparent power constraint are as follows:

[0337] 2.1) In order to obtain safe power flow calculation results, in addition to constraining active and reactive power, the apparent power must also be safely limited. The apparent power can be constructed using the piecewise linearization method shown in the figure below to construct linear constraints:

[0338] See also Figure 2 The dotted circular area represents the range of apparent power, which can be approximated by an inscribed polygon, and the inscribed polygon can be represented by n fan-shaped segments.

[0339] 2.2) In the figure, β k represents the angle between the horizontal axis and the kth segment, is the upper limit of the branch equivalent power, which can be calculated by the following formula:

[0340]

[0341]

[0342] In the formula is the upper margin of the nonlinear apparent power of branch (i, j), represents the set of k.

[0343] 2.3) Combining the above-mentioned piecewise linearization method, the linear constraints after apparent power conversion can be obtained as follows:

[0344]

[0345]

[0346] In the formula, is the equivalent apparent power of branch (i, j).

[0347] 3) Construct an optimal power flow model with chance constraints. Since there are power generation units with uncertainties in the power system, such as wind power generation, chance constraints are used to consider this uncertainty. The optimal power flow model with chance constraints is as follows:

[0348] 3.1) Construct a wind power model, assuming that the wind speed ξ follows a Weibull distribution, and its cumulative distribution function F v (ξ) is as follows:

[0349]

[0350] In the formula, K and D are shape parameters and scale parameters, respectively, which can be obtained from the recorded historical data. Furthermore, the power P of wind power generation WF (ξ) can be obtained by the following formula:

[0351]

[0352] where v ci , v rate and v co They are cut-in wind speed, rated wind speed, cut-out wind speed, P rate is the rated output power of the wind turbine. In practical applications, the actual power generation value of wind power is usually expressed by the predicted value and the predicted error, and the formula is as follows:

[0353]

[0354] In the formula, and ΔP WF are the wind power prediction value and the deviation value respectively. Assuming that the power factor of the wind farm is constant, the reactive power Q of the wind farm is WF (ξ) can be expressed as follows:

[0355]

[0356]

[0357] 3.2) Introducing the power of wind power generation, the power balance equation of the node is obtained:

[0358]

[0359]

[0360] In the formula, G ij and B ij It represents the real and imaginary parts of the admittance matrix, P G,i (ξ) and Q G,i (ξ) represents the active and reactive power of the generator at node i, F D,i and Q D,i It represents the active and reactive load of node i, W i (ξ) represents the voltage amplitude V i The square of . Based on the linear network model, the linear network optimal power flow model with chance constraints is constructed as follows:

[0361]

[0362] st(23)-(24) (26)

[0363]

[0364]

[0365]

[0366]

[0367]

[0368]

[0369]

[0370]

[0371] θ ref =0 (35)

[0372] Formula (25) is the objective function, which represents the minimization of power generation cost, where c2, c1 and c0 are the quadratic cost coefficient, the linear cost coefficient and the constant cost coefficient respectively. Formula (26) is the formula (23) and (24) that constitute the power balance constraint. P G,i , Q G,i as well as They are respectively the lower limit of active power, the upper limit of active power, the lower limit of reactive power and the upper limit of reactive power of the generator. W i and is the upper and lower limits of the square of the node voltage amplitude. Equations (33) and (34) represent the branch apparent power Limited to the lower margin power of piecewise linearization and upper margin power Formula (35) represents the phase angle of the reference node, and ε is the independently set limit-crossing probability. is the total number of nodes;

[0373] 4) In view of the opportunity constraints of the above model, it is necessary to reconstruct it in the following two aspects:

[0374] 4.1) Equivalent transformation of voltage amplitude constraint: Since the voltage amplitude is greater than 0 and close to 1 during the actual operation of the power system, the following probability about the voltage amplitude is equal to the probability of the square of the voltage amplitude, that is, the following formula:

[0375]

[0376]

[0377] In the formula, V i and It is the upper and lower margin of voltage amplitude.

[0378] 4.2) Introduce the separation of the opportunity constraint formula. For branch (i, j), the opportunity constraint formula of its apparent power is as follows:

[0379]

[0380] In the formula It means that for different k values, the equivalent apparent power does not exceed the upper margin of the maximum equivalent apparent power. Based on its probabilistic independence, equation (38) can be further transformed into the following equation:

[0381]

[0382] This step splits the chance constraint introduced by branch (i, j) into n individual constraints.

[0383] 5) For each individual chance constraint, the steps to convert it into a deterministic constraint are as follows:

[0384] 5.1) For wind power error, its impact on the generator power change and system status should be considered. Here, the power transfer factor (GSF) is introduced to characterize the power change of the traditional generator to compensate for the error of wind power, as shown in the following formula:

[0385]

[0386] In the formula, ΔP inj and ΔQ inj The power transfer factor matrix defined by Ψ, which represents the change in active and reactive power injected into the node, can be obtained from previous studies. After statistical analysis of wind power errors, its probability density function and cumulative probability distribution function can be obtained. The probability density function and cumulative probability distribution function of the injected power change of each node can be further obtained from the above formula, which will be helpful for dealing with the opportunity constraint problem later.

[0387] 5.2) Introduce the restoration margin. Since the model in this paper is based on a linear network model, the solution to the problem is L The AC power flow equation is not satisfied, so the solution of the linear network model is restored to a solution that satisfies the AC power flow equation through a recovery program, and the recovery margin ρ is introduced as follows:

[0388] ρ=s AC -s L (41)

[0389] In the formula, s L is the deterministic linear constrained optimal power flow solution; s AC For L Recovered AC power flow solution;

[0390] The convergence value during the iteration process can be set smaller because the linear approximation is accurate enough.

[0391] 5.3) Convert the chance constraint into a deterministic constraint. For the chance constraint involving the square of the voltage amplitude, it can be further simplified as follows:

[0392]

[0393] In the formula, Represented as W i The cumulative probability distribution function of Equal to 0, the following formula can be obtained by monotonicity:

[0394]

[0395] Defining the upper uncertainty margin Then the deterministic constraint can be expressed as follows:

[0396]

[0397] Similarly, the uncertainty lower margin can be defined as have:

[0398]

[0399] It can be seen that in order to ensure the safety of the power system in random scenarios, the square of the voltage amplitude W i The original feasible domain is and Compressed.

[0400] 5.4) Considering the recovery process of the AC power flow solution, the joint margin can be expressed as follows:

[0401] τ u =λ u +ρ (46)

[0402] τ l =λ l -ρ (47)

[0403] After obtaining the joint margin, we can further obtain the deterministic linear network optimal power flow model:

[0404]

[0405] st(23)-(24) (49)

[0406]

[0407]

[0408]

[0409]

[0410] θ ref =0 (54)

[0411] P G Indicates active power P G The upper and lower limits of Q G Reactive power Q G The upper and lower limits of W Represents the upper and lower limits of the voltage amplitude square W; θ ref Represents the phase angle of the reference node.

[0412] 6) The idea of ​​the recovery procedure of the AC power flow solution is as follows: From the perspective of the objective function (optimal value), only the cost of active power generation is considered, and the corresponding optimal solution, that is, the value of {Q, V, θ}, can be combined in many ways, but not every combination is feasible. The judgment of whether it is a feasible working point is based on the AC power flow solution s AC Instead of s L , which will also affect whether it is within the acceptable violation probability. Therefore, it is very important to find the true AC power flow solution. The linear network optimal power flow model in this paper is an approximation of the AC power flow model, and its solution can be used as the hot start initial value of the AC optimal power flow.

[0413] 7) The steps for solving the inverse function of the cumulative probability distribution function using the three-point estimation method combined with the Cornish-Fisher series expansion method (TPE-CFE) are as follows:

[0414] 7.1) Assume X = [x1, x2, ..., x p ] T is a p-dimensional input variable vector, G = [g1, g2, ..., g q ] T is a q-dimensional function vector, R = [r1, r2, ..., r q ]T To obtain the q-dimensional output variable vector, that is:

[0415] R=G(X)=G(x1,x2,...,x p ) (55)

[0416] According to the three-point estimation method (TPE), for each input variable x i , the corresponding position parameters and weight parameters should be calculated as follows:

[0417]

[0418]

[0419] Where η i,t , μ i , σ i The input variables x are i The standard position, mean and standard deviation of b i and d i For x i The skewness and kurtosis of the standard position η i,t The calculation formula is as follows:

[0420]

[0421] 7.2) From (7.1), it can be seen that the three-point estimation method only needs to input the information of the first four moments of the variable. Therefore, equation (55) can be transformed into the following equation:

[0422] R(i, t) = G(μ1, ..., μ i-1 , x i,t , μ i+1 ,…,μ p ) (59)

[0423] Where i = 1, ..., p; t = 1, 2, 3. Furthermore, the calculation formula of the z-order origin moment of the output variable is as follows:

[0424]

[0425] At the same time, the above three-point estimation method cannot handle non-Gaussian distributed variables with correlation, and it is necessary to use Nataf transformation.

[0426] 7.3) After obtaining the first four moments of the output random variable through equation (60), the first four cumulants κ can be further obtained: r (r = 1, 2, 3, 4), which will not be described in detail here. Therefore, the α quantile for solving non-Gaussian distribution can be obtained as follows:

[0427]

[0428] Where ζ(α) = Φ -1 (α) is the quantile of the standard normal distribution.

[0429] 8) The iterative process of solving the linear network optimal power flow model with chance constraints is as follows:

[0430] 8.1) Assign initial values ​​to W0 and θ0 and set uncertainty margins and And the recovery margin ρ0 is 0, and the initial iteration number i=1 is set;

[0431] 8.2) Using the uncertainty margin obtained in step i and the recovery margin ρ i-1 Solve the deterministic linear network optimal power flow model (48)-(54) and obtain the optimal solution under the linear network model

[0432] 8.3) Optimal solution obtained using the linear network model To obtain the optimal solution of the AC power flow model At the same time, the recovery margin ρ is calculated i .

[0433] 8.4) Obtaining uncertainty margins through the TPE-CFE method as well as The second norm of the uncertainty margin of the last iteration is calculated by the following formula:

[0434]

[0435] 8.5) Compare the calculated second norm with the set convergence value For comparison:

[0436]

[0437] If the convergence criteria are all met, the calculation is stopped and the optimal solution is obtained; if the convergence criteria are not met, i=i+1 is set and the process returns to step 8.2). After 6 iterations, the convergence criteria are met and the program calculation ends. The optimal value is shown in Table 1.

[0438] Table 1 Comparison of the solution time of the opportunity-constrained optimal power flow solution method based on the linearized network model proposed in this patent and the calculation time of the previous method when solving the variable statistical information based on the ARM method and the MCS method respectively

[0439]

Claims

1. A method for solving the chance-constrained optimal power flow based on a linearized network model. It is characterized in that The following steps are involved: 1) Establish a linear power flow model based on loss factor; 2) Establish apparent power constraints; 3) Establish an optimal power flow model with chance constraints; 4) Reconstruct the opportunity constraints of the optimal power flow model to obtain several opportunity constraints; 5) Convert all chance constraints into deterministic constraints and establish a deterministic linear network optimal power flow model; 6) Solve the optimal power flow model of linear network; The steps to convert all chance constraints into deterministic constraints include: 5.1) Calculate the power change of the traditional generator to compensate for the wind power error, that is: Where ΔP inj and ΔQ inj represents the change in active and reactive power injected into the node; Ψ is the power transfer factor matrix; ΔP WF (ξ), ΔQ WF (ξ) is the active power deviation value and reactive power deviation value of wind power; 5.2) Calculate the recovery margin ρ, that is: p=S AC -S L (2) In the formula, s L is the deterministic linear constrained optimal power flow solution; s AC For L Recovered AC power flow solution; 5.3) Simplify the chance constraint involving the square of the voltage amplitude and obtain: In the formula, Expressed as the square of the voltage amplitude at node i, W i The cumulative probability distribution function of ; 5.4) Establish deterministic constraints, namely: In the formula, the uncertainty upper margin is is the uncertainty margin; Upper limit of the square of the voltage amplitude at node i and lower limit W i Satisfy the following formulas respectively: 5.5) Calculate the joint margin, that is: t u =λ u +p (8) t l =λ l -r (9) In the formula, τ u , τ l They represent the combined upper margin and the combined lower margin respectively; λ u , l They represent the uncertainty upper margin and uncertainty lower margin respectively; 5.6) Establish a deterministic linear network optimal power flow model, and the objective function is as follows: The constraints of the linear network optimal power flow model are as follows: In the formula, They represent the upper and lower margins of the generator active power respectively; They represent the upper and lower margins of the generator reactive power respectively; They represent the upper and lower margins of the square of the voltage amplitude respectively; Respectively represent the upper and lower margins of apparent power; P G Indicates active power P G The upper and lower limits of Q G Reactive power Q G The upper and lower limits of W Represents the upper and lower limits of the voltage amplitude square W; θ ref represents the phase angle of the reference node; In the formula, G ij and B ij It represents the real and imaginary parts of the admittance matrix; P G,i (ξ) and Q G,i (ξ) represents the active power and reactive power of the generator at node i; P D,i and Q D,i It represents the active load and reactive load of node i; W i (ξ) represents the voltage amplitude V i The square of ΔP WF,i (ξ) and ΔQ WF,i (ξ) represent the wind power active power deviation and reactive power deviation of node i respectively; P ij (ξ) and Q ij (ξ) respectively represent the active power and reactive power of branch (i, j) when the wind speed is ξ; The steps to solve the linear network optimal power flow model include: 6.1) Voltage amplitude squared W 0 and voltage phase angle θ 0 Assign initial value and set uncertainty lower margin Uncertain upper margin and the recovery margin ρ 0 is 0; set the initial number of iterations h = 1; 6.2) Using the uncertainty margin Uncertain upper margin Restoration Margin ρ h-1 Solve the deterministic linear network optimal power flow model and obtain the optimal solution under the linear network model 6.3) Using the optimal solution Obtaining the Optimal Solution of the AC Power Flow Model And calculate the recovery margin ρ h ; 6.4) Calculate the uncertainty margin using the combination of the three-point estimation method and the Cornish-Fisher series expansion method and uncertainty upper margin 6.5) Calculate the second norm of the uncertainty margin of the last iteration, that is: In the formula, Δλ W , Δλ S , are the second norms of the uncertainty margins corresponding to the square of the voltage amplitude, apparent power, generator active power, and generator reactive power, respectively; 6.6) Determine whether the second norm of the uncertainty margin of the last iteration converges. If so, stop the calculation and output the optimal solution. Otherwise, set h = h + 1 and return to step 6.2); The uncertainty lower margin is calculated by combining the three-point estimation method with the Cornish-Fisher series expansion method. and uncertainty upper margin The steps include: 6.4.1) Define X = [x 1 , x 2 , ..., x p ] T is a p-dimensional input variable vector, G = [g 1 , g 2 , ..., g q ] T is a q-dimensional function vector, R = [r 1 , r 2 , ..., r q ] T To obtain the q-dimensional output variable vector, that is: R=G(X)=G(x 1 ,x 2 ,...,x p ) (20) 6.4.2) According to the three-point estimation method, for each input variable x h , calculate the corresponding position parameter l h,t and weight parameter w h,t ,Right now: l h,t =μ h +n h,t s h ,t=1,2,3 (21) Where η h,t , μ h , σ h The input variables x are h The standard position, mean and standard deviation of b h and d h For x h skewness and kurtosis; Among them, the standard position η h,t As shown below: 6.4.3) Transform formula (20) to obtain: Where, h = 1, 2, ..., p; t = 1, 2, 3; 6.4.4) Calculate the z-order origin moment of the output variable, that is: 6.4.5) Calculate the α quantile F of a non-Gaussian distribution -1 (α), that is: Where ζ(α) = Φ -1 (α) is the quantile of the standard normal distribution; 6.4.6) The inverse function of the cumulative probability distribution function is solved by combining the three-point estimation method with the Cornish-Fisher series expansion method, thereby calculating the uncertainty upper margin and uncertainty lower margin of the linear network optimal power flow model, that is: l u =F -1 (a)-W h (27)。 2. The method for solving the chance-constrained optimal power flow based on a linearized network model according to claim 1, It is characterized in that The steps to establish a linear power flow model based on loss factors include: 1) Establish the traditional AC power flow equation, namely: In the formula, g ij and b ij is the conductance and susceptance of branch (i, j); V i and V j is the node voltage amplitude; θ ij is the node voltage phase angle difference; P ij and Q ij Respectively represent the active power and reactive power of branch (i, j); 2) Approximately replace the variables in the traditional AC power flow equation. The replacement rules are as follows: 3) According to equations (30) and (31), equations (28) and (29) are simplified to obtain the simplified power flow equation as follows: 4) V 2 As an independent variable, establish the transformation equation, namely: Where, the voltage V of branch (i, j) is ij =V i -V j ; 5) Substituting equation (34) into equations (32) and (33), we get the nonlinear power flow model, namely: Among them, the active power loss of branch (i, j) and reactive power loss They are as follows: Where θ and W are the phase angle and magnitude square vector of the voltage respectively; LF P,θ , LF P,W , LF Q,θ , LF Q,W Respectively represent the coefficient matrix related to active power and voltage phase angle, the coefficient matrix related to active power and voltage amplitude, the coefficient matrix related to reactive power and voltage phase angle, and the coefficient matrix related to reactive power and voltage amplitude; is the active power compensation vector; is the reactive power compensation vector.

3. The method for solving the chance-constrained optimal power flow based on a linearized network model according to claim 1, It is characterized in that The apparent power constraints are as follows: In the formula, is the equivalent apparent power of branch (i, j); is the upper limit of the branch equivalent power; Indicates the value range of apparent power in the coordinate axis xoy; value range It is surrounded by n sector segments k; the vertices of all sector segments are the coordinate origin O; Among them, the equivalent apparent power of branch (i, j) is As shown below: In the formula, β k represents the angle between the horizontal axis and the kth segment; Upper limit of branch equivalent power As shown below: In the formula, is the upper margin of the nonlinear apparent power of branch (i, j); The angle φ is given by: In the formula, n is the enclosed value area The number of fan-shaped segments.

4. The method for solving the chance-constrained optimal power flow based on a linearized network model according to claim 1, It is characterized in that The steps to build an optimal power flow model with chance constraints include: 1) Establish the cumulative distribution function F of wind speed ξ v (ξ), that is: Where K and D are shape parameters and scale parameters respectively; 2) Calculate the power P of wind power generation WF (ξ), that is: In the formula, v ci 、v rate 、v co They are cut-in wind speed, rated wind speed, and cut-out wind speed; P rate is the rated output power of the wind turbine; 3) Establish the power expression of wind power generation, namely: In the formula, and ΔP WF (ξ) are wind power prediction value and deviation value respectively; 4) Assuming that the power factor of the wind farm is constant, calculate the reactive power Q of the wind farm WF (ξ), that is: The parameter γ is as follows: 5) Establish the power balance equation of the node, namely: In the formula, G ij and B ij It represents the real and imaginary parts of the admittance matrix; P G,i (ξ) and Q G,i (ξ) represents the active power and reactive power of the generator at node i; P D,i and Q D,i It represents the active load and reactive load of node i; W i (ξ) represents the voltage amplitude V i The square of ΔP WF,i (ξ) and ΔQ WF,i (ξ) represent the wind power active power deviation and reactive power deviation of node i respectively; P ij (ξ) and Q ij (ξ) respectively represent the active power and reactive power of branch (i, j) when the wind speed is ξ; 6) Establish a linear network optimal power flow model with chance constraints; The objective function of the linear network optimal power flow model with chance constraints is as follows: In the formula, c 1,i 、c 2,i 、c 0,i are the quadratic cost coefficient, the linear cost coefficient and the constant cost coefficient respectively; P G , Q G is the active power and reactive power of the generator; For generator collection; The constraints of the linear network optimal power flow model with chance constraints are as follows: In the formula, P G,i , Q G,i , They are respectively the lower limit of active power, the upper limit of active power, the lower limit of reactive power and the upper limit of reactive power of the generator; and W i is the upper and lower limits of the square of the node voltage amplitude; θ ref represents the phase angle of the reference node; ε is the independently set limit-crossing probability; For generator collection; The set of all nodes.

5. The method for solving the chance-constrained optimal power flow based on a linearized network model according to claim 4, It is characterized in that The steps to reconstruct the chance constraints of the optimal power flow model include: 1) Establish an equation for the probability of voltage amplitude and the probability of voltage amplitude squared, namely: In the formula, and V i is the upper and lower margin of the voltage amplitude; 2) Calculate the opportunity constraint of the apparent power of branch (i, j), that is: In the formula, It means that for different k values, the equivalent apparent power does not exceed the upper margin of the maximum equivalent apparent power; 3) Based on the probability independence of the chance constraint, update formula (63) to obtain the reconstructed chance constraint, that is: In the formula, A collection of branches.

6. The method for solving the chance-constrained optimal power flow based on a linearized network model according to claim 1, It is characterized in that Convergence is judged as follows: like If all are satisfied, it converges, otherwise, it does not converge; is the convergence threshold.