A new probabilistic modeling method and sample expansion method for random variables in power systems

By using the Lagrange centroid interpolation method and the impulse probability model, the accuracy problem of probabilistic modeling of random variables in new power systems was solved, and higher accuracy of random variable distribution restoration and simulation scheduling results generation were achieved.

CN116757072BActive Publication Date: 2026-11-24NANJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310693242.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-12
Publication Date
2026-11-24
Estimated Expiration
2043-06-12

AI Technical Summary

Technical Problem

Existing probabilistic modeling methods for random variables in power systems suffer from discontinuities in the probability density function and cumulative distribution function when dealing with uncertainties in new energy generation in emerging power systems. This leads to reduced modeling accuracy and makes it difficult to accurately reflect the actual distribution characteristics of random variables.

Method used

The inverse cumulative distribution function of random variables is approximated by the Lagrange centroid interpolation method. Combined with the probability models of impact and non-impact quantities, highly similar random samples are generated by the Lagrange centroid interpolation method to establish a more accurate marginal distribution model of random variables.

Benefits of technology

It improves the accuracy of the probability density of random variables, can better reproduce the probability density of measured data, enhances the ability to analyze low-probability events in extreme scenarios, and provides more simulation scheduling results to cope with the uncertainty of power systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116757072B_ABST
    Figure CN116757072B_ABST
Patent Text Reader

Abstract

This invention provides a novel probabilistic modeling method and sample expansion method for random variables in power systems, including: S1, obtaining random variables in the new power system, and sorting historical samples in ascending order of value to obtain... H sort s; S2, with d As a criterion for the impulse quantity of a random variable, determine the random variable. H The impact magnitude is determined, and a discrete probability model for the impact magnitude is established. Simultaneously, the following is obtained: H The non-impact portion of sort s H sort s,~ d S3, Calculate the sorted historical samples for the non-impact portion. H sort s,~ d The cumulative distribution function value; S4, approximated by Lagrange barycenter interpolation. H sort s,~ d The inverse cumulative distribution function. S5, combined with the probability values ​​corresponding to the corresponding sample set, yields the probability distribution model of the random variable; under the background of high proportion of new energy grid connection in the new power system, the random samples generated by this invention can restore the probability density of the measured data with high similarity, thereby accurately representing the probability information in the actual data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of power system modeling, specifically to a novel probabilistic modeling method for random variables in power systems and a sample expansion method. Background Technology

[0002] With the energy crisis becoming increasingly prominent and public awareness of environmental protection growing, the development of renewable energy power generation worldwide has experienced rapid growth. Amidst this wave of renewable energy power generation capacity construction, according to data from 2021, my country's newly added renewable energy power generation capacity reached 136 GW, accounting for 43% of the global total that year. Among these, the development speed of new energy sources such as photovoltaic power generation and wind power is already among the world's leading levels, and my country continues to vigorously develop new energy power generation technologies.

[0003] Against this backdrop, my country has proposed building a new type of power system, with the construction of a high-proportion renewable energy supply and consumption system as its main task. In this new power system, the supply of renewable energy (such as wind and solar power) exhibits strong probabilistic uncertainty, leading to significant random fluctuations in the active power output of generating equipment. Simultaneously, due to technological advancements and improved living standards, electricity load types and user consumption patterns are becoming increasingly diversified, resulting in increasingly significant uncertainties. Therefore, in the new power system, both the generation and load sides introduce numerous sources of uncertainty, posing substantial safety risks to its operation. Thus, the impact of these uncertainties must be considered when analyzing the new power system.

[0004] In numerous existing studies, the uncertainties of power system uncertainties (such as wind power, solar power, and load) are generally described using probabilistic characteristics. In probabilistic analysis applications, the process of characterizing the probabilistic characteristics of random variables is called probabilistic modeling. Probabilistic modeling typically involves three methods: establishing the moment properties of random variables; establishing the joint distribution properties of multidimensional random variables; and establishing the marginal distribution properties of each random variable while simultaneously establishing the correlation coefficient between any two variables.

[0005] Furthermore, power generation equipment from random sources such as wind and solar power may operate at full capacity or at zero capacity for extended periods. Therefore, in the sample comprised of their historical data, the proportion of samples containing one (or several) values ​​of the random variable is relatively high. In this case, the probability density function will exhibit shocks, and the cumulative distribution function will show discontinuities. This will significantly reduce the accuracy of probability modeling based on specific distribution types. Summary of the Invention

[0006] This invention provides a novel probabilistic modeling method and sample expansion method for random variables in power systems, which can more accurately establish marginal distribution models of various unconventional distributions of random variables, and the generated random samples can restore the probability density of measured data with higher similarity.

[0007] In a first aspect, the present invention provides a novel probabilistic modeling method for random variables in power systems, comprising:

[0008] Step S1: Obtain historical samples H of random variables (such as new energy power generation) H in the new power system. s The historical samples are sorted in ascending order of value to obtain...

[0009] Step S2: Using δ (the impact criterion δ is user-defined; this criterion means that the value of a random variable with a probability greater than δ is considered the impact of that random variable) as the impact criterion for the random variable, determine the impact of the random variable H and establish a discrete probability model for the impact portion. Simultaneously, obtain... Non-impact portion

[0010] Step S3: Obtain the sorted historical samples of the non-impact quantity portion. The cumulative distribution function value;

[0011] Step S4: Approximate the value using the Lagrange centroid interpolation method. The inverse cumulative distribution function. The input variable interpolates within the range [0,1], and the values ​​of the random variable corresponding to the interpolation points are obtained using the linear continuity method;

[0012] Step S5: Based on the probability model of the impact / non-impact portion of the random variable established in steps S2 and S4, and combined with the probability values ​​corresponding to the sample set, the probability distribution model of the random variable is obtained.

[0013] Step S6: Based on the random variable probability distribution model established in step S5, generate the sample corresponding to the random variable by using a uniformly distributed sample in the interval [0, 1].

[0014] Furthermore, step S1 specifically involves: obtaining historical samples H of random variables (such as new energy power generation) H in the new power system. s The sample length is N s According to the principle of ascending numerical values, for H... s Sort the samples to obtain the sorted sample set. The kth sample after sorting is denoted as Perform the operation on the sample set as shown in equation (1) to obtain the sample numerical increment sequence.

[0015]

[0016] In the formula: for The kth element.

[0017] Furthermore, step S2 specifically involves: setting the random variable impact criterion δ according to equation (1) in step S1, when... The number of consecutive zero values ​​in the value is greater than δN s At this time, there is a shock of random variable H at the corresponding sample value. The probability of the random variable value corresponding to this shock occurring is calculated using equation (2):

[0018]

[0019] In the formula: P Prob {} represents the probability of the event occurring, H 0,r Let H be the value of the random variable corresponding to the r-th impulse: 0,1 <… <H 0,r <… <H 0,R Assume the number of consecutive zero values ​​of the impact at point r is incremented by 1 and denoted as N. 0,r The total impact amount at point R. Medium to small H 0,r The maximum value is denoted as and for The cth r There are elements. Then H ≤ H0 – ,r The probability (i.e., the probability that the random variable is less than the value of the r-th impact) can be calculated using equation (3):

[0020]

[0021] Meanwhile, let the sorted set of historical samples after excluding samples corresponding to the impact magnitude be: The probability corresponding to this sample set is calculated using equation (4):

[0022]

[0023] Where: N 0,~δ Indicates exclusion The number of remaining samples after the sample corresponding to the moderate impact.

[0024] Furthermore, step S3 specifically involves: setting... The c-th sample is denoted as The corresponding cumulative distribution function value is calculated using equation (5):

[0025]

[0026] In the formula: The value of the random variable is The corresponding cumulative distribution function value at that time. Clearly, The value divided by 0 (c=1) and 1 (c=N) 0,~δ Except for the fractions mentioned above, all others are rational proper fractions. The ranking of the non-impact fractions can be obtained using equation (5). The cumulative distribution function value.

[0027] Furthermore, step S4 specifically involves: approximating using the Lagrange centroid interpolation method. The inverse cumulative distribution function. First, a set of Chebyshev-Gauss-Lobatto (CGL) nodes is generated, and the number n of CGL nodes is determined by the following formula:

[0028]

[0029] In the formula: d is the interpolation level, which takes the value of a positive integer; n is the number of CGL nodes at the corresponding interpolation level. At interpolation level d, the number of CGL nodes can be obtained through equation (7):

[0030]

[0031] In the formula: This represents the j-th CGL node when the interpolation level is d.

[0032] Then, a set of CGL nodes (denoted as ) is obtained at interpolation level d. After that, the corresponding interpolation points are transformed using equation (8):

[0033]

[0034] In the formula: X up and X low These are the upper and lower bounds of the numerical values ​​of the input variable X of the interpolated model; x d The interpolation point is at the interpolation level d. For the interpolated model shown in equation (9), the n interpolation points x of the one-dimensional input variable X d Obtained from equation (8), the result of the one-dimensional output variable Y corresponding to the interpolation point is expressed as follows:

[0035] Y = G(X) (9)

[0036] In the formula: X and Y are one-dimensional input and output variables, respectively; G represents the mapping relationship from X to Y, i.e. the interpolated model.

[0037] The Lagrange barycentric interpolation method approximates the interpolated model G based on pairs of input and output variables. The specific Lagrange barycentric interpolation function is expressed as follows:

[0038]

[0039] In the formula: L d (x) is the interpolation function at interpolation level d, which is a univariate function of the input variable x. For the j-th interpolation point Center of gravity w j As shown in equation (11):

[0040]

[0041] The corresponding interpolation basis function a j As shown in equation (12):

[0042]

[0043] Within the numerical range of the interpolation point, L can be... d As an approximation of model G.

[0044] Finally, by applying linear continuity to a subset of sample points, we can approximate the numerical results of the random variables corresponding to the interpolation points. The set of interpolation points is still denoted as x. d The j-th interpolation point is denoted as exist Find the v-th element in the sequence (v ≠ N) 0,~δ ),satisfy at this time, The numerical values ​​of the corresponding random variable samples can be estimated using equation (13):

[0045]

[0046] In the formula: To obtain through linear continuity and The corresponding random variable value; and They are respectively and exist The corresponding random variable sample values ​​in each.

[0047] Furthermore, step S5 specifically involves: based on the probability model of the impact / non-impact portion of the random variable established in steps S2 and S4, and combining the probability results of equations (3) and (4), obtaining the probability distribution model of the random variable:

[0048]

[0049] In the formula: h and x are the functional variables of H and X, respectively; the summation of the numerator in the interpolation function represents the sum of the probabilities of all impacts whose cumulative probability is less than the current x.

[0050] In the sixth preferred embodiment provided by the present invention: step S6 specifically involves: based on the random variable probability distribution model established by formula (14) in step S5, by providing a uniformly distributed sample in the interval [0, 1], the sample generation of the random variable in the original distribution domain can be realized.

[0051] Secondly, the present invention provides a sample expansion method, comprising:

[0052] A probability distribution model for random variables is established using the method described in the first aspect;

[0053] Based on the established random variable probability distribution model, samples corresponding to the random variable are generated by using samples uniformly distributed in the interval [0, 1].

[0054] The wind power or photovoltaic power sample points are used to provide power dispatching and operation personnel with simulations to obtain a power grid dispatching plan that takes into account the uncertainties of wind power and photovoltaics.

[0055] Furthermore, based on the established random variable probability distribution model, samples corresponding to the random variable are generated using a uniformly distributed sample within the interval [0, 1], including:

[0056] The rand(n) function in MATLAB can be used to directly generate n uniformly distributed samples in the interval [0,1]. Then, the samples corresponding to the random variable can be mapped through equation (14).

[0057] Compared with existing technologies, the novel probabilistic modeling method and sample expansion method for power system random variables provided by this invention have the following advantages:

[0058] 1. The present invention provides a novel probabilistic modeling method and sample expansion method for random variables in power systems. Compared with specific probability distribution models, the method provided by the present invention can more accurately establish marginal distribution models of various unconventional distributions of random variables, and the generated random samples can restore the probability density of measured data with higher similarity.

[0059] 2. The method provided by this invention considers the impact of random variables, resulting in higher accuracy of the probability density of random samples when dealing with random variables with impact (such as wind power and photovoltaic output). However, specific distribution types have almost no universality for modeling the marginal distributions of different random variables (especially those with irregular distributions). Based on this, this invention, considering the needs of practical applications, proposes using the adaptive Lagrange centroid interpolation method to approximate the inverse cumulative distribution function of random variables as a marginal distribution model. The established marginal distribution model can be directly combined with the Nataf transform or copula function in applications to generate random samples while taking into account the correlation of random variables.

[0060] 3. In the marginal distribution modeling process, this invention separately considers the probabilistic model of the impulse magnitude of random variables, which further improves the accuracy of the marginal distribution model of random variables. From the perspective of the numerical characteristics of the probabilistic model, the probabilistic model established by the method of this invention can better reproduce the numerical distribution range, quantile interval, mean, standard deviation, skewness, kurtosis and other statistical indicators of the measured data of random variables. Based on this characteristic, the probabilistic model established by the method of this invention can be used more accurately to analyze low-probability events considering extreme scenarios of random variables.

[0061] 4. Traditional models are deterministic, taking a fixed value (such as load power or wind power) at a specific moment as input to dispatchers to calculate dispatch plans. However, historical data often fails to account for all scenarios. The actual probabilistic model established in this application generates a large number of possible samples. These samples are provided to dispatchers, enabling them to obtain simulation dispatch results that consider all scenarios (uncertainty). Attached Figure Description

[0062] like Figure 1 The flowchart shown is a process of the method of the present invention;

[0063] like Figure 2 The diagram shown is a schematic diagram of the impact and non-impact processing of random variables provided by the present invention.

[0064] like Figure 3 The figure shown is a probability density distribution diagram of random variables for different probability modeling methods in the embodiments of the present invention. Detailed Implementation

[0065] This invention provides a novel probabilistic modeling method for random variables in power systems and a sample expansion method, the process of which is as follows: Figure 1 As shown, by Figure 1 It can be seen that the method includes:

[0066] Step S1: Obtain historical samples H of random variables (such as new energy power generation) H in the new power system.s The historical samples are sorted in ascending order of value to obtain...

[0067] Step S2: Using δ (the impact criterion δ is user-defined; this criterion means that the value of a random variable with a probability greater than δ is considered the impact of that random variable) as the impact criterion for the random variable, determine the impact of the random variable H and establish a discrete probability model for the impact portion. Simultaneously, obtain... Non-impact portion

[0068] Step S3: Obtain the sorted historical samples of the non-impact quantity portion. The cumulative distribution function value;

[0069] Step S4: Approximate the value using the Lagrange centroid interpolation method. The inverse cumulative distribution function. The input variable interpolates within the range [0,1], and the values ​​of the random variable corresponding to the interpolation points are obtained using the linear continuity method;

[0070] Step S5: Based on the probability model of the impact / non-impact portion of the random variable established in steps S2 and S4, and combined with the probability values ​​corresponding to the sample set, the probability distribution model of the random variable is obtained.

[0071] Step S6: Based on the random variable probability distribution model established in step S5, generate the sample corresponding to the random variable by using a uniformly distributed sample in the interval [0, 1].

[0072] The generated random sample points are equivalent to the possible values ​​of random variables (wind power, solar power, load, etc.) at that moment, and are used as input samples for grid dispatchers to conduct simulations and obtain dispatch results that take uncertainty into account.

[0073] Implementation Case:

[0074] This invention uses publicly available measured data from PJM in the United States as an example. It includes one set each of wind power and load data for the RTO region, denoted as RTO_WP and RTO_Load respectively; and one set each of wind power and photovoltaic power generation data for the RFC region, denoted as RFC_WP and RFC_PV respectively. RTO and RFC are the regional designations within PJM's operating area. Each set of data represents hourly data from 00:00 on January 1, 2020 to 23:00 on December 31, 2021, with a length of 17544 bytes. The specific steps are as follows:

[0075] Step S1: Obtain historical samples H of random variables (such as new energy power generation) H in the new power system. sThis includes one set of wind power and load data for the RTO region, denoted as RTO_WP and RTO_Load respectively; and one set of wind power and photovoltaic power generation data for the RFC region, denoted as RFC_WP and RFC_PV respectively. These four sets of data correspond to four random variables. The historical samples are sorted in ascending order of value to obtain... The kth sample after sorting is denoted as The sample set is processed according to the following formula to obtain the sample value increment sequence.

[0076]

[0077] In the formula: for The kth element.

[0078] Step S2: Based on the increment sequence obtained in step S1 Define a criterion δ for the impulse quantity of a random variable, when The number of consecutive zero values ​​in the value is greater than δN s At a given time, there exists a shock value of random variable H at the corresponding sample value. The probability of the random variable value corresponding to this shock value occurring is calculated using the following formula:

[0079]

[0080] In the formula: P Prob {} represents the probability of the event occurring, H 0,r Let H be the value of the random variable corresponding to the r-th impulse: 0,1 <… <H 0,r <… <H 0,R Assume the number of consecutive zero values ​​of the impact at point r is incremented by 1 and denoted as N. 0,r The total impact amount at point R. Medium to small H 0,r The maximum value is denoted as and for The cth r There are one element. The probability (i.e., the probability that the random variable is less than the value of the r-th impact) can be calculated using the following formula:

[0081]

[0082] Meanwhile, let the sorted set of historical samples after excluding samples corresponding to the impact magnitude be: The probability corresponding to this sample set is calculated using the following formula:

[0083] N 0,~δ =N s -(N0,1 +...+N 0,r +...+N 0,R )

[0084]

[0085] Where: N 0,~δ Indicates exclusion The number of remaining samples after the sample corresponding to the moderate impact.

[0086] Step S3: Let The c-th sample is denoted as The corresponding cumulative distribution function value is calculated using the following formula:

[0087]

[0088] In the formula: The value of the random variable is The corresponding cumulative distribution function value at that time. Clearly, The value divided by 0 (c=1) and 1 (c=N) 0,~δ Except for the fractions mentioned above, all others are rational proper fractions. This formula can be used to obtain the ranked historical samples of the non-impact fraction portion. The cumulative distribution function value.

[0089] Step S4: Approximate using the Lagrange centroid interpolation method The inverse cumulative distribution function. First, a set of Chebyshev-Gauss-Lobatto (CGL) nodes is generated. The CGL nodes are shown in Table 1 under different interpolation levels.

[0090] Table 1 CGL nodes at different interpolation levels

[0091]

[0092] Then, a set of CGL nodes (denoted as ) is obtained at interpolation level d. After that, the corresponding interpolation points are transformed using the following formula:

[0093]

[0094] In the formula: X up and X low These are the upper and lower bounds of the numerical values ​​of the input variable X of the interpolated model; x d The interpolation point is at the interpolation level d. For the interpolated model represented by Y = G(X), the n interpolation points x of the one-dimensional input variable X d From the above equation, the result of the one-dimensional output variable Y corresponding to the interpolation point is expressed as follows:

[0095] Based on pairs of input and output variables, the interpolated model G is approximated using the Lagrange barycentric interpolation function, specifically expressed as:

[0096]

[0097] In the formula: L d (x) is the interpolation function at interpolation level d, which is a univariate function of the input variable x. For the j-th interpolation point Center of gravity w j As shown in the following formula:

[0098]

[0099] The corresponding interpolation basis function a j for:

[0100]

[0101] Finally, by applying linear continuity to a subset of sample points, we can approximate the numerical results of the random variables corresponding to the interpolation points. The set of interpolation points is still denoted as x. d The j-th interpolation point is denoted as exist Find the v-th element in the sequence (v ≠ N) 0,~δ ),satisfy at this time, The numerical value of the corresponding random variable sample can be estimated using the following formula:

[0102]

[0103] In the formula: To obtain through linear continuity and The corresponding random variable value; and They are respectively and exist The corresponding random variable sample values ​​in each.

[0104] Step S5: Based on the probability model of the impact / non-impact portion of the random variable established in steps S2 and S4, and combined with the probability values ​​corresponding to the relevant sample sets, obtain the probability distribution model of the random variable:

[0105]

[0106] In the formula: h and x are the functional variables of H and X, respectively; the summation of the numerator in the interpolation function represents the sum of the probabilities of all impacts whose cumulative probability is less than the current x. Figure 2The method of this invention is presented for processing the impulse and non-impulse components of a random variable. The random variable in the figure contains two impulses, represented by black bars in the probability density function, located at positions H... 0,1 and H 0,2 .

[0107] Step S6: Based on the random variable probability distribution model established in Step S5, samples of the original distribution domain random variables are generated by providing uniformly distributed samples within the interval [0, 1]. The marginal distribution model of the four random variables in the example is modeled using the method provided by this invention, the one-dimensional Gaussian Mixture Model (UGMM), the multivariate Gaussian Mixture Model (MGMM), and common distribution types (Normal distribution, Lognormal distribution, Weibull distribution, Kappa distribution). Based on the above models, 10 samples are generated for each. 5 For each random sample, a frequency histogram is plotted (represented by the lines connecting the tops of the bars in the frequency histogram) and compared with the frequency histogram of the reference method, as shown below. Figure 3 As shown. According to Figure 3 The curve results obtained by the method provided in this invention almost perfectly match the measured data for all random variables. Compared with other methods, it can more accurately approximate the probability density of random variables with various distribution shapes.

[0108] The application of this modeling method is as follows. Traditional models are deterministic, with a fixed value at a certain moment (such as load power, wind power, etc.). This value is input to the dispatcher to calculate the dispatch plan, but historical data is insufficient to cover all situations. However, the actual probabilistic model generates a large number of possible samples. These samples are provided to the dispatcher, enabling the acquisition of simulation dispatch results that consider all scenarios (uncertainty).

[0109] Example 2:

[0110] This embodiment provides a sample expansion method, including:

[0111] A probability distribution model for random variables is established using the method described in Example 1.

[0112] Based on the established random variable probability distribution model, samples corresponding to the random variable are generated by using samples uniformly distributed in the interval [0, 1].

[0113] The wind power or photovoltaic power sample points are used to provide power dispatching and operation personnel with simulations to obtain a power grid dispatching plan that takes into account the uncertainties of wind power and photovoltaics.

[0114] Specifically, based on the established probability distribution model of the random variable, samples corresponding to the random variable are generated from a given uniformly distributed sample within the interval [0, 1], including:

[0115] The rand(n) function in MATLAB can be used to directly generate n uniformly distributed samples in the interval [0,1]. Then, the samples corresponding to the random variable can be mapped through equation (14).

[0116] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0117] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0118] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0119] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0120] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A novel probabilistic modeling method for random variables in power systems, characterized in that, The method includes: Step S1: Obtain historical samples H of the random variable H in the new power system. s The historical samples are sorted in ascending order of their values ​​to obtain the sorted sample set Hsort s; Step S2: Using δ as the criterion for the impact of the random variable, determine the impact of the random variable H, establish a discrete probability model for the impact part, and obtain the non-impact part Hsort s,~δ in the ordered sample set Hsort s and the probability value corresponding to the sample set. Step S3: Calculate the cumulative distribution function value of the sorted historical samples Hsort s,~δ for the non-impact portion. Step S4: Based on the cumulative distribution function value, the inverse cumulative distribution function of Hsort s,~δ is approximated by the Lagrange centroid interpolation method to obtain the probability model of the non-impact part of the random variable, wherein the interpolation range of the input variable is [0,1], and the random variable value corresponding to the interpolation point is obtained by the linear continuity method. Step S5: Based on the established probability model of the impact or non-impact portion of the random variable, and combined with the probability values ​​corresponding to the sample set, the probability distribution model of the random variable is obtained. Using δ as the shock criterion for the random variable, the shock quantity of the random variable H is determined. A discrete probability model for the shock quantity part is established to obtain the non-shock quantity part Hsort s, ~δ in Hsort s and the probability values ​​corresponding to the sample sets, including: According to equation (1) in step S1, the criterion δ for the impact of the random variable is set. When the number of consecutive zero values ​​in ΔHsort s is greater than δN, the impact is determined. s At this time, there is a shock of random variable H at the corresponding sample value; at this time, the probability of the random variable value appearing corresponding to the shock is calculated by equation (2): (2) In the formula: P Prob {} represents the probability of the event occurring, H 0,r Let H be the value of the random variable corresponding to the r-th impulse: 0,1 <…< H 0,r <…< H 0,R Assume the number of consecutive zero values ​​of the impact at point r is incremented by 1 and denoted as . The total impact amount is R at each location; Hsorts will contain values ​​less than H. 0,r The maximum value is denoted as H – 0,r, and H – 0,r is the c-th value in Hsort s. r If there are 10 elements, then the probability that H ≤ H–0,r can be calculated using equation (3): (3) Where, N s Historical samples H of random variable H in a new power system s Given the sample length, and assuming that the sorted historical sample set after excluding the samples corresponding to the impact amount is Hsort s,~δ, the probability corresponding to this sample set is calculated using equation (4): (4) Where: N 0,~δ This represents the number of samples remaining after excluding the samples corresponding to the impact amount in Hsort s.

2. The method as described in claim 1, characterized in that, Obtain historical samples H of random variable H in a new power system s The historical samples are sorted in ascending order of value to obtain Hsorts, which include: Obtain historical samples H of random variable H in a new power system s, The sample length is N s According to the principle of ascending numerical values, for H... s Sort the samples to obtain the sorted sample set Hsort s, and denote the k-th sample after sorting as Hsort s,k; perform the operation on the sample set as shown in equation (1) to obtain the sample value increment sequence ΔHsort s: (1) In the formula: ΔHsort s,k is the kth element of ΔHsort s.

3. The method as described in claim 2, characterized in that, To obtain the cumulative distribution function values ​​of the non-impact portion of the sorted historical samples Hsort s,~δ, including: Let the c-th sample in Hsort s,~δ be denoted as Hsort,cs,~δ, and its corresponding cumulative distribution function value be calculated by equation (5): (5) In the formula: X cs,~δ is the cumulative distribution function value corresponding to the random variable Hsort,cs,~δ; obviously, the value of X cs,~δ is divided by 0 (c = 1) and 1 (c = N). 0,~δ Except for ), the rest are rational proper fractions; the cumulative distribution function of the sorted historical samples Hsort s,~δ of the non-impact part can be obtained by using equation (5).

4. The method as described in claim 3, characterized in that, The inverse cumulative distribution function of Hsort s,~δ is approximated using the Lagrange barycentric interpolation method, including: Generate a set of Chebyshev-Gauss-Lobart CGL nodes. The number of CGL nodes, n, is determined by the following formula: (6) In the formula: d is the interpolation level, which takes the value of a positive integer; n is the number of CGL nodes at the corresponding interpolation level; at the interpolation level d, the number of CGL nodes can be obtained through formula (7): (7) In the formula: xd CGL,j represents the j-th CGL node when the interpolation level is d; After obtaining a set of CGL nodes at interpolation level d, denoted as xd CGL, the corresponding interpolation points are transformed by equation (8); (8) In the formula: X up and X low These are the upper and lower bounds of the numerical values ​​of the input variable X of the interpolated model; x d x is the interpolation point at interpolation level d. d = [xd1, …, xdn]; For the interpolated model shown in equation (9), the n interpolation points x of the one-dimensional input variable X. d Obtained from equation (8), the result of the one-dimensional output variable Y corresponding to the interpolation point is expressed as y d = [yd1, …, yd n]; (9) In the formula: X and Y are one-dimensional input and output variables, respectively; G represents the mapping relationship from X to Y, i.e., the interpolated model; The Lagrange barycentric interpolation method approximates the interpolated model G based on pairs of input and output variables. The specific Lagrange barycentric interpolation function is expressed as follows: (10) In the formula: L d (x) is the interpolation function at interpolation level d, which is a univariate function of the input variable x; for the j-th interpolation point xdj, the centroid weight w j As shown in equation (11): (11) The corresponding interpolation basis function a j As shown in equation (12): (12) Within the numerical range of the interpolation point, L can be... d As an approximation of model G; By applying linear continuity to a subset of sample points, we can approximate the numerical results of the random variables corresponding to the interpolation points; the set of interpolation points is still denoted as x. d Let the j-th interpolation point be denoted as xdj; find the v-th element in the sequence Xcs,~δ, where v ≠ N. 0,~δ , satisfying X vs,~δ≤ xd j≤ X v+1 s,~δ; at this time, the value of the random variable sample corresponding to xd j can be estimated by equation (13): (13) In the formula: Hdj is the value of the random variable corresponding to xdj obtained through linear continuity; Hvs,~δ and Hv+1s,~δ are the sample values ​​of the random variables corresponding to Xvs,~δ and Xv+1s,~δ in Hsorts,~δ, respectively.

5. The method as described in claim 4, characterized in that, Based on the probability model of the impact or non-impact portion of the random variable established in steps S2 and S4, and combined with the probability values ​​corresponding to the relevant sample sets, the probability distribution model of the random variable is obtained, including: Based on the probability model of the impact / non-impact portion of the random variable established in steps S2 and S4, and combined with the probability results of equations (3) and (4), the probability distribution model of the random variable is obtained: (14) In the formula: h and x are the functional variables of H and X, respectively; the summation of the numerator in the interpolation function represents the sum of the probabilities of all impacts whose cumulative probability is less than the current x.

6. The method as described in claim 1, characterized in that, The random variables include the power generation capacity of new energy sources.

7. A sample expansion method, characterized in that, Includes the following steps: A probability distribution model for random variables is established using the method described in any one of claims 1-6; Based on the established probability distribution model of the random variable, the sample corresponding to the random variable is generated by giving a uniformly distributed sample in the interval [0, 1]. The samples are provided to power dispatching and operation personnel for simulation to obtain power grid dispatching plans that take uncertainty into account.

8. The method as described in claim 7, characterized in that, Based on the established probability distribution model of the random variable, and given a uniformly distributed sample within the interval [0, 1], samples corresponding to the random variable are generated, including: The rand(n) function in MATLAB can be used to directly generate n uniformly distributed samples in the interval [0,1]. Then, the samples corresponding to the random variable can be obtained by mapping the random variable through the probability distribution model of the random variable.

Citation Information

Patent Citations

  • Improved Nataf transform-based probabilistic load flow efficient calculation method containing high-dimensional correlation uncertainty source

    CN110707703A

  • Random variable probability analysis method, system and equipment of power system and storage medium

    CN114117349A