Probabilistic load flow calculation method based on Gaussian mixture model and unscented transformation

By combining the Gaussian mixture model and the unscented transformation method, it solves the problems of huge time consumption and reduced accuracy of the existing probabilistic power flow calculation methods, achieves efficient calculation of the complete probability distribution of the output variables, and improves the efficiency of power grid risk analysis.

CN118611028APending Publication Date: 2024-09-06SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410548267.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-06
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing probabilistic power flow calculation methods are time-consuming and wasteful of computing resources while ensuring calculation accuracy. Especially when the random input variables obey non-Gaussian distribution, the accuracy is reduced and the complete probability characteristics of the output variables cannot be effectively characterized.

Method used

Using the probabilistic power flow calculation method based on Gaussian mixture model and unscented transformation, by establishing a Gaussian mixture model, obtaining the sampling point set and sample weight of the Gaussian component, performing deterministic AC power flow calculation, and generating the Gaussian mixture model expression of the output variable, we get Probabilistic power flow results.

Benefits of technology

The calculation cost is significantly reduced, the complete probability distribution of the output variable can be obtained with higher accuracy, the number of power flow calculations is reduced, the calculation efficiency is improved, and more effective information is provided for power grid risk analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611028A
    Figure CN118611028A
Patent Text Reader

Abstract

The invention discloses a probabilistic load flow calculation method based on a Gaussian mixture model and unscented transformation, and relates to the technical field of power grid probabilistic load flow calculation, and the method comprises the following steps: S1, inputting basic parameters of a power system and probability distribution information of random input variables in the system; s2, establishing a Gaussian mixture model of random input variables; s3, for each Gaussian component of the input variable, adopting unscented transformation to obtain a group of corresponding sampling point sets and sample weights; s4, obtaining a sample point set corresponding to the output variable through deterministic alternating current load flow calculation, and obtaining a mean value and a covariance of the group of sample point sets through weighted calculation; and S5, generating a Gaussian mixture model expression of the output variable, and obtaining a probabilistic load flow result. According to the method provided by the invention, the balance between the probabilistic load flow calculation efficiency and the calculation precision is realized, and an efficient calculation tool is provided for safety analysis of a power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of probabilistic power flow of power systems, in particular to a probabilistic power flow calculation method based on a Gaussian mixture model and traceless transformation. Background Art

[0002] In view of the increasingly prominent dual challenges of tight power supply and environmental pollution, in recent years, countries around the world have accelerated the development and access of non-fossil energy represented by solar energy, and vigorously promoted the rapid development of new energy and made it the main body of energy supply growth, which has become a consensus of the whole society. Large-scale new energy such as photovoltaics generally has the problem of insufficient energy supply stability due to its inherent volatility and uncertainty, which brings severe challenges to the safe and stable operation of the power grid.

[0003] Probabilistic power flow calculation is a common technique for quantitatively analyzing the random characteristics of power system state variables (such as line apparent power, node voltage amplitude, etc.) under the condition of uncertainty in renewable energy output. At present, the most accurate probabilistic power flow algorithm is a simulation algorithm based on the AC power flow model and the Monte Carlo (MC) sampling method. This method requires AC power flow calculation for each random input variable sample and summarizes the probability distribution of the output variable, which is very time-consuming. In order to improve the calculation efficiency, relevant literature has proposed efficient alternative algorithms such as analytical method and approximate method.

[0004] The analytical method relies on the linearization of the AC power flow equation, and the calculation accuracy is insufficient. The traceless transformation method in the approximate method efficiently calculates the mean and variance information of the output variable by optimizing the sample points while retaining the AC power flow equation. However, the first two order statistics alone cannot characterize the complete probabilistic characteristics of the output variable. In addition, when the random input variables follow a non-Gaussian distribution, the accuracy of the traceless transformation method will inevitably decrease. Therefore, how to ensure the high calculation accuracy of the probabilistic power flow while using as few computing resources as possible is a difficult problem that needs to be solved urgently in engineering applications. Summary of the invention

[0005] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art and provide a probability power flow calculation method based on a Gaussian mixture model and an untraceable transformation. The present invention combines the Gaussian mixture model with the untraceable transformation method, which significantly reduces the calculation cost while ensuring the accuracy of the probability density characterization of the output variable.

[0006] The present invention adopts the following technical solutions to solve the above technical problems:

[0007] A probabilistic power flow calculation method based on a Gaussian mixture model and unscented transformation proposed in the present invention comprises the following steps:

[0008] Step S1, inputting basic parameters of the power system and probability distribution information of random input variables in the power system;

[0009] Step S2, establishing a Gaussian mixture model of random input variables according to the probability distribution information of the random input variables;

[0010] Step S3: for each Gaussian component of the input variable, an untraceable transformation is used to obtain a set of sampling points and sample weights corresponding to each Gaussian component of the input variable;

[0011] Step S4: for each set of sampling points, a deterministic AC power flow calculation is performed according to the basic parameters of the input power system to obtain the output variables of the power system, and then a sample point set corresponding to the output variables of the power system is obtained, and a mean and a covariance matrix of the set of sample points are obtained by weighted calculation according to the sample weights;

[0012] Step S5: Generate a Gaussian mixture model expression of the output variable according to the mean and covariance matrix obtained in step S4, thereby obtaining a probability power flow result.

[0013] As a further optimization scheme of the probabilistic power flow calculation method based on Gaussian mixture model and untraceable transformation described in the present invention, in step S1, the basic parameters of the input power system include the system dispatching operation point, network topology, line impedance parameters and node load data, and the probability distribution information of the random input variables in the power system refers to the probability distribution of the active power of the photovoltaic power station.

[0014] As a further optimization scheme of the probabilistic power flow calculation method based on Gaussian mixture model and unscented transformation described in the present invention, step S2 of establishing a Gaussian mixture model of random input variables includes:

[0015] S21, selecting the number M of Gaussian components;

[0016] S22. Construct the joint probability density function of the active output of the photovoltaic power station, which is expressed as a multi-dimensional Gaussian mixture model:

[0017]

[0018]

[0019] Where x is an N-dimensional random vector consisting of the active output of all photovoltaic power stations, is an N-dimensional vector space, is the i-th Gaussian component, ω i is the weight corresponding to the i-th Gaussian component, μ i is the mean vector corresponding to the i-th Gaussian component, P iis the covariance matrix corresponding to the i-th Gaussian component, and f(x) is the joint probability density function of the active output of the photovoltaic power station.

[0020] As a further optimization scheme of the probabilistic power flow calculation method based on Gaussian mixture model and unscented transformation described in the present invention, step S3 is specifically as follows:

[0021] S31. For each Gaussian component of the input variable, perform the following operations: for the i-th Gaussian component According to the symmetric sampling strategy, the i-th Gaussian component of the unscented transform is obtained The sampling point set A total of 2N+1 sampling points are included:

[0022]

[0023]

[0024]

[0025] in, is the k+1th sampling point of the i-th Gaussian component, Representation Matrix The kNth column vector of is the covariance matrix P of the i-th Gaussian component i The square root of Representation Matrix The kth column vector of , λ is an adjustable parameter;

[0026] S32, for the i-th Gaussian component The 2N+1 sample points, the weight corresponding to the k+1th sample point as follows:

[0027]

[0028]

[0029] in, is the weight corresponding to the first sample point.

[0030] As a further optimization scheme of the probabilistic power flow calculation method based on Gaussian mixture model and unscented transformation described in the present invention, when N>3, it is set to λ=0, otherwise it is set to λ=3-N.

[0031] As a further optimization scheme of the probabilistic power flow calculation method based on Gaussian mixture model and untraceable transformation described in the present invention, in step S4, the output variable y includes the reactive power output, node voltage amplitude and phase angle and line apparent power of each controllable generator set in the power system.

[0032] As a further optimization scheme of the probabilistic power flow calculation method based on Gaussian mixture model and unscented transformation described in the present invention, step S4 is specifically as follows:

[0033] S41. For each Gaussian component of the input variable, perform the following operations: for the i-th Gaussian component The sampling point set Input it into the deterministic AC power flow equation, use the Newton-Raphson method to solve the nonlinear equations, and get the i-th set of sample points corresponding to the output variable

[0034] S42. For each set of sample points of the output variable, perform the following operations: Obtained through weighted calculation The corresponding mean and covariance matrix:

[0035]

[0036]

[0037] in, is the k+1th sample point in the i-th sample point set of the output variable, is the mean vector of the i-th Gaussian component of the output variable, is the covariance matrix of the i-th Gaussian component of the output variable, and the superscript T is the transpose.

[0038] As a further optimization scheme of the probabilistic power flow calculation method based on Gaussian mixture model and unscented transformation described in the present invention, step S5 is specifically as follows:

[0039] S51. For each set of sample points of the output variable, perform the following operations: Generate a Gaussian distribution corresponding to the i-th group of sample points based on its mean and covariance matrix

[0040] S52. Based on the total probability formula, the probability density function of the output variable expressed in the form of a Gaussian mixture model is as follows:

[0041]

[0042] Where f(y) is the probability density function of the output variable;

[0043] The probability density result is obtained according to the probability density function, and the probability density result is the probability flow result.

[0044] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:

[0045] Compared with the prior art, the probability power flow calculation method based on Gaussian mixture model and untraceable transformation provided by the present invention can obtain the probability density function of the output variable with higher accuracy without simplifying the AC power flow model. Compared with the traditional untraceable transformation method that can only obtain the first two order statistics of the output variable, the present invention can obtain the complete probability distribution of the output variable and provide more effective information for power grid risk analysis. Moreover, compared with the traditional MC simulation calculation method, the present invention greatly reduces the number of required power flow calculations and has higher computing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a schematic flow chart of a power flow calculation method based on a Gaussian mixture model and traceless transformation according to the present invention;

[0047] Figure 2 is a system structure diagram of an embodiment of the present invention;

[0048] Figure 3 is a cumulative probability density diagram of the voltage amplitude of node 5 according to an embodiment of the present invention;

[0049] Figure 4 is a cumulative probability density diagram of the reactive power output of the generator 5 according to the embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0051] like Figure 1 As shown, a probability power flow calculation method based on Gaussian mixture model and unscented transformation includes the following steps:

[0052] S1. Input the basic parameters of the power system and the probability distribution information of random input variables in the power system.

[0053] The basic parameters of the input power system include the system dispatching operation point, network topology, line impedance parameters and node load data. The probability distribution information of the random input variables in the power system refers to the probability distribution of the active power of the photovoltaic power station.

[0054] In this embodiment, a data-driven approach is adopted to obtain probability distribution information of input variables, that is, historical output sample data of a photovoltaic power station is input.

[0055] S2. Establishing a Gaussian mixture model of random input variables according to the probability distribution information of the random input variables;

[0056] S21. Select the number M of Gaussian components.

[0057] In this embodiment, M is determined based on the Akaike information criterion (AIC), that is, the selected M should make the AIC value small enough and the effect of increasing or decreasing M on the AIC value small enough.

[0058] S22. Construct the joint probability density function of the active output of the photovoltaic power station, which is expressed as a multi-dimensional Gaussian mixture model:

[0059]

[0060]

[0061] Where x is an N-dimensional random vector consisting of the active output of all photovoltaic power stations, is an N-dimensional vector space, is the i-th Gaussian component, ω i is the weight corresponding to the i-th Gaussian component, μ i is the mean vector corresponding to the i-th Gaussian component, P i is the covariance matrix corresponding to the i-th Gaussian component, and f(x) is the joint probability density function of the active output of the photovoltaic power station.

[0062] In this embodiment, based on the input random variable historical samples, the maximum expectation algorithm (ExpectationMaximization) is used to estimate the parameter ω in the above formula i , μ i and P i .

[0063] S3, for each Gaussian component of the input variable, using an untraceable transformation to obtain a set of sampling points and sample weights corresponding to each Gaussian component of the input variable;

[0064] S31. For each Gaussian component of the input variable, perform the following operations: for the i-th Gaussian component According to the symmetric sampling strategy, the i-th Gaussian component of the unscented transform is obtained The sampling point set A total of 2N+1 sampling points are included:

[0065]

[0066]

[0067]

[0068] in, is the k+1th sampling point of the i-th Gaussian component, Representation Matrix The kNth column vector of is the covariance matrix P of the i-th Gaussian component i The square root of Representation Matrix is the kth column vector of , and λ is an adjustable parameter.

[0069] In this embodiment, when N>3, λ is set to 0, otherwise, λ is set to 3-N.

[0070] In this embodiment, Cholesky decomposition (also known as square root method) is used to obtain

[0071] S32, for the i-th Gaussian component The 2N+1 sample points, the weight corresponding to the k+1th sample point as follows:

[0072]

[0073]

[0074] in, is the weight corresponding to the first sample point.

[0075] S4. For each set of sampling points, a deterministic AC power flow calculation is performed according to the basic parameters of the input power system to obtain the output variables of the power system, and then the sample point set corresponding to the output variables of the power system is obtained, and the mean and covariance matrix of the set of sample points are obtained by weighted calculation according to the sample weights.

[0076] In this embodiment, the deterministic AC power flow equation is as follows:

[0077]

[0078]

[0079] Among them, m is the total number of nodes in the system, G ij With B ij Respectively represent the conductance and susceptance of the line between node i and node j, V i represents the voltage amplitude at node i, δ ij represents the phase angle difference between node i and node j, P Gi and Q Gi They represent the active and reactive power injection at node i, including the active and reactive output of the controllable generator set and the photovoltaic power station, P Di and Q Di represent the active and reactive loads at node i respectively.

[0080] In this embodiment, the output variable y includes the reactive power output of each controllable generator set in the power system, the node voltage amplitude and phase angle, and the line apparent power.

[0081] S41. For each Gaussian component of the input variable, perform the following operations: for the i-th Gaussian component The sampling point set Input it into the deterministic AC power flow equation, use the Newton-Raphson method to solve the nonlinear equations, and get the i-th set of sample points corresponding to the output variable

[0082] S42,

[0083] For each set of sample points of the output variable, perform the following operations: For the i-th set of sample points Obtained through weighted calculation The corresponding mean and covariance matrix:

[0084]

[0085]

[0086] in, is the k+1th sample point in the i-th sample point set of the output variable, is the mean vector of the i-th Gaussian component of the output variable, is the covariance matrix of the i-th Gaussian component of the output variable, and the superscript T is the transpose.

[0087] S5. Generate a Gaussian mixture model expression of the output variable according to the mean and covariance matrix obtained in step S4, thereby obtaining a probability power flow result.

[0088] S51. For each set of sample points of the output variable, perform the following operations: Generate a Gaussian distribution corresponding to the i-th group of sample points based on its mean and covariance matrix

[0089] S52,

[0090] Based on the total probability formula, the probability density function of the output variable expressed in the form of a Gaussian mixture model is as follows:

[0091]

[0092] Where f(y) is the probability density function of the output variable;

[0093] The probability density result is obtained according to the probability density function, and the probability density result is the probability flow result.

[0094] Embodiment 1:

[0095] The system of this embodiment is composed of IEEE14 node system and 3 photovoltaic generators. Figure 2 As shown in the figure, 1-14 represent the 1st to 14th nodes in the system, and G is a controllable generator set. The capacity of the photovoltaic generator sets is 60MW, and a total of 11,680 sets of historical output samples are obtained.

[0096] Based on the AIC criterion, the number of Gaussian components M is selected as 10. Then, the unscented transformation method is used to obtain a total of 10×(2×3+1)=70 input variable sampling points, and 70 power flow calculations are required.

[0097] Using the results of 11680 MC simulation calculation methods as a benchmark, the cumulative probability density functions of some output variables obtained by the traditional untraceable transformation method (denoted as UT) and the method proposed in this invention (denoted as GMM-UT) are shown as follows: Figure 3 and Figure 4 shown.

[0098] The calculation time of the MC simulation method and the GMM-UT method is shown in Table 1.

[0099] Calculation method Calculation time / second MC 19.6 GMM-UT 0.12

[0100] Table 1 Comparison of calculation time

[0101] Obviously, the method proposed in the present invention has higher calculation accuracy than the traditional untraceable transformation method, and has better calculation efficiency than the MC simulation calculation method, which is of great significance for the safety risk analysis of new power systems.

[0102] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0103] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.

Claims

1. A probabilistic power flow calculation method based on Gaussian mixture model and unscented transformation, characterized in that: The following steps are involved: Step S1, inputting basic parameters of the power system and probability distribution information of random input variables in the power system; Step S2, establishing a Gaussian mixture model of random input variables according to the probability distribution information of the random input variables; Step S3: for each Gaussian component of the input variable, an untraceable transformation is used to obtain a set of sampling points and sample weights corresponding to each Gaussian component of the input variable; Step S4: for each set of sampling points, a deterministic AC power flow calculation is performed according to the basic parameters of the input power system to obtain the output variables of the power system, and then a sample point set corresponding to the output variables of the power system is obtained, and a mean and a covariance matrix of the set of sample points are obtained by weighted calculation according to the sample weights; Step S5: Generate a Gaussian mixture model expression of the output variable according to the mean and covariance matrix obtained in step S4, thereby obtaining a probability power flow result.

2. The method for calculating a probabilistic power flow based on a Gaussian mixture model and unscented transformation according to claim 1, characterized in that: In step S1, basic parameters of the power system are input, including system dispatching operation point, network topology, line impedance parameters and node load data. The probability distribution information of random input variables in the power system refers to the probability distribution of active power of the photovoltaic power station.

3. The method for calculating a probabilistic power flow based on a Gaussian mixture model and unscented transformation according to claim 1, characterized in that: Step S2 establishes a Gaussian mixture model of random input variables including: S21, selecting the number M of Gaussian components; S22. Construct the joint probability density function of the active output of the photovoltaic power station, which is expressed as a multi-dimensional Gaussian mixture model: Where x is an N-dimensional random vector consisting of the active output of all photovoltaic power stations, is an N-dimensional vector space, is the i-th Gaussian component, ω i is the weight corresponding to the i-th Gaussian component, μ i is the mean vector corresponding to the i-th Gaussian component, P i is the covariance matrix corresponding to the i-th Gaussian component, and f(x) is the joint probability density function of the active output of the photovoltaic power station.

4. The method for calculating a probabilistic power flow based on a Gaussian mixture model and unscented transformation according to claim 3, characterized in that: Step S3 is as follows: S31. For each Gaussian component of the input variable, perform the following operations: for the i-th Gaussian component According to the symmetric sampling strategy, the i-th Gaussian component of the unscented transform is obtained The sampling point set A total of 2N+1 sampling points are included: in, is the k+1th sampling point of the i-th Gaussian component, Representation Matrix The kNth column vector of is the covariance matrix P of the i-th Gaussian component i The square root of Representation Matrix The kth column vector of , λ is an adjustable parameter; S32, for the i-th Gaussian component The 2N+1 sample points, the weight corresponding to the k+1th sample point as follows: in, is the weight corresponding to the first sample point.

5. The method for calculating a probabilistic power flow based on a Gaussian mixture model and unscented transformation according to claim 4, characterized in that: When N>3, it is set to λ=0, otherwise it is set to λ=3-N.

6. The method for calculating a probabilistic power flow based on a Gaussian mixture model and unscented transformation according to claim 1, characterized in that: In step S4, the output variable y includes the reactive power output of each controllable generator set in the power system, the node voltage amplitude and phase angle, and the line apparent power.

7. The method for calculating a probabilistic power flow based on a Gaussian mixture model and unscented transformation according to claim 6, characterized in that: Step S4 is specifically as follows: S41. For each Gaussian component of the input variable, perform the following operations: for the i-th Gaussian component The sampling point set Input it into the deterministic AC power flow equation, use the Newton-Raphson method to solve the nonlinear equations, and get the i-th set of sample points corresponding to the output variable S42. For each set of sample points of the output variable, perform the following operations: Obtained through weighted calculation The corresponding mean and covariance matrix: in, is the k+1th sample point in the i-th sample point set of the output variable, is the mean vector of the i-th Gaussian component of the output variable, is the covariance matrix of the i-th Gaussian component of the output variable, and the superscript T is the transpose.

8. The method for calculating a probabilistic power flow based on a Gaussian mixture model and unscented transformation according to claim 3, characterized in that: Step S5 is specifically as follows: S51. For each set of sample points of the output variable, perform the following operations: Generate a Gaussian distribution corresponding to the i-th group of sample points based on its mean and covariance matrix S52. Based on the total probability formula, the probability density function of the output variable expressed in the form of a Gaussian mixture model is as follows: Where f(y) is the probability density function of the output variable; The probability density result is obtained according to the probability density function, and the probability density result is the probability flow result.