Summary of the invention
The purpose of the present invention is to provide a kind of Probabilistic Load calculation methods cut down based on scene, to reduce
Caused by data fluctuations are larger when enchancement factor ratio is higher in power grid the problem of probabilistic load flow accuracy decline.
In order to achieve the above objectives, the invention adopts the following technical scheme:
1.1) enchancement factor in electric system is sampled, obtains initial scene library;
1.2) initial scene library is cut down, obtains typical scene;According to typical scene to complete in initial scene library
Portion's scene is classified, and scene collection is obtained, and scene collection is calculated according to the scene classification of initial scene library and probability characteristics
Probability characteristics;
1.3) probabilistic load flow is carried out to each scene collection using the Probabilistic Load Flow algorithm based on Cumulants method respectively;
1.4) probability characteristics for combining scene collection carry out probability superposition to the characteristics of tidal flow of each scene collection, obtain power grid
Trend distribution character.
The step 1.1) is specifically includes the following steps: obtain the feature of enchancement factor according to the initial data of electric system
Then distribution carries out n times sampling to enchancement factor using Monte Carlo Method, every progress single sample just obtains an initial scene
And its probability characteristics.
The step 1.2) specifically includes the following steps:
1) initial scene is cut down with fast forword back-and-forth method, until the initial scene retained reaches the target of setting
Scene number n, using the n of reservation initial scenes as typical scene;
2) classified according to the probability metrics between initial scene and typical scene to initial scene, made just by classification
Beginning scene is converged according to typical scene, so that it is determined that the boundary between initial scene;
3) the probability q occurred for j-th of scene collectionjIt is obtained by following formula:
Wherein, i ∈ j indicates that i-th of scene will be divided into j-th of scene collection, p in initial scene libraryiFor initial scene
The probability that i-th of scene occurs in library.
To Mr. Yu's initial fields scape oi, calculate separately the initial scene and each typical scene sjBetween probability metrics;It should
Initial scene is divided into one kind with the minimum corresponding typical scene of probability metrics, i.e., i-th of scene will be divided in initial scene library
To scene collectionpic(oi,sj) it is scene oiAnd sjBetween probability metrics, c (oi,sj)
For scene oiAnd sjBetween Euclidean distance.
The step 1.3) specifically includes the following steps:
1) by electric system modal equation and branch equation Taylor expansion is carried out at typical scene, then pass through line
Property, obtain sensitivity matrix and transfer matrix;
2) all scenes are concentrated for scene, the L rank central moment of scene are calculated using the method for statistics, according to the L
Rank central moment calculates the L rank cumulant of power grid injection variable, and L rank cumulant, the sensitivity square of variable are injected according to power grid
The L rank cumulant of electric network state variable is calculated in battle array and transfer matrix;
3) utilize Gram-Charlier series expansion, by the Probability Characteristics of electric network state variable be expressed as normal state with
The series of machine variables L order derivative composition, series coefficients are determined according to the L rank of electric network state variable standardization cumulant.
The value of the L is 5~7.
The standardization cumulant is calculated according to the following formula:
Wherein, giFor standardization after the i-th rank cumulant,For the i power of electric network state variable standard deviation, χiFor electricity
I-th rank cumulant of netted state variable, i=1 ..., L.
The calculation method of the L rank central moment is as follows:
Wherein, E is scene desired value, λiFor i-th of scene that scene is concentrated, m is the number that scene concentrates scene, βlIt is
The l rank central moment of scene, l=1 ..., L.
The step 1.4) is folded specifically includes the following steps: the Probabilistic Load Flow characteristic of scene collection is carried out probability according to the following formula
Add, obtain the trend distribution character of power grid:
Wherein, f and F is respectively the probability density function vector sum cumulative distribution function vector of electric network swim, fjAnd FjRespectively
For the probability density function vector sum cumulative distribution function vector of electric network swim under j-th of scene collection, qjFor corresponding scene collection
Probability, n are the number of scene collection.
The beneficial effects of the present invention are embodied in:
The present invention cuts down initial scene, the typical scene for classification is formed, by dividing initial scene
Class and probability are reallocated, it is possible to reduce as data fluctuations it is big and caused by Cumulants method calculate error, by each field
The characteristics of tidal flow of Jing Ji is overlapped, to obtain the overall trend distribution character of power grid.The invention enables in face of structure is complicated,
Solution in large scale, containing the electric network swim there are many enchancement factor (high proportion renewable energy, energy storage, controllable burden etc.) is asked
Topic, also ensures computational accuracy while improving solution efficiency, calculated results can be used as the reference for Electric Power Network Planning according to
According to correlative study work can be unfolded in engineering actual person accordingly.
Specific embodiment
The present invention is described in further details with reference to the accompanying drawings and examples.
1. the formation of the generation of scene, reduction and scene collection
1) scene generates
Firstly the need of generation database.Optimization expectational model containing stochastic variable can be convex random excellent with following form
The model of expected value of change indicates:
Random vector parameter ω in the Expection optimal time of policymaker's function of pursuit of the objective according to the actual situation, formula (2)
Following (or observing) the Discrete Stochastic number in the cards, these following random numbers clothes in the cards will be converted into
From the probability distribution of random vector parameter ω, Discrete Stochastic number here is " scene ".
In Practical Project problem, original probability estimates P by continuously or by many discrete scenes forming, and is difficult to lead to
The method for crossing parsing acquires the optimal desired value of formula (2), needs originally discrete or continuous probability measure P is further discrete
Change, i.e., with limited huge sample approximate representation probability measure P.Limited substantial amounts are obtained according to probability-distribution function
Sample approximate representation probability measure P is exactly " scene generation ".Enchancement factor in each pair of electric system completes single sample, just gives birth to
At a scene.Multiple sampling is carried out, constructs initial scene library, number in initial scene library comprising scene (or sampling time
Number) depend on research needed for precision and scene dimension.
2) scene is cut down
The number comprising enchancement factor is more and higher to required precision in usual electric system, and initial scene library is often wrapped
Containing thousands of a scenes.Enchancement factor data fluctuations bring data error will affect the accuracy of subsequent calculated result,
It is therefore desirable to carry out scene reduction to initial scene library.But so-called scene abatement feature is in this patent: 1) using quick
Forward selection procedures select typical scene (target value number is generally between 5~10), using typical scene to initial scene library into
Row subregion (classifies to initial scene), forms scene collection;2) probability reallocation is carried out to the scene collection obtained after classification,
Obtain the corresponding probability of scene collection.Based on two above feature, the present invention obtains multiple scene collection and scene collection is corresponding
Probability helps to mention compared to the degree of fluctuation for equally reducing enchancement factor with initial scene library inside each scene collection
The computational accuracy of high Cumulants method.
The known approximate model and structure for some particular problem various for modelling shown in formula (2).Wherein ζ
The mathematical notation that structure probability is estimated is as follows:
The reality of formula (3) is meant that: " solving Stochastic Optimization Model ∫ in formula (2)ΩThe expectation optimal value of f (ω, x) Pd ω "
With " solution Stochastic Optimization Model ∫ΩThe expectation optimal value of f (ω, x) Qd ω " is of equal value.Therefore the P scale in formula (2) compared with
When greatly and being difficult to be fully described, probability measure Q solving model can be simplified using the approximation of P." how to obtain optimal letter
Changing scene collection Q " is exactly described " scene reduction ".It is inherently an optimization problem about Q that scene, which cuts down problem,.
The reduction fast speed of fast forword back-and-forth method is cut down the intuitive therefore of the invention scene of thought and is cut down in algorithm
Using the method.In order to illustrate fast forword back-and-forth method, need to introduce optimal reduction problem:
Wherein, N is initial scene number, and n is the target scene number after cutting down, c (ωi,ωj) it is scene ωiAnd ωjBetween
Euclidean distance, piFor scene ωiThe probability of generation.Formula (4) illustrates that initial scene set { 1,2 ..., N } is divided into
Two parts, a part are the scene number set J being cut in, another part be remain scene number set 1,
2 ..., N } J, in the optimization problem, objective function is the smallest DJValue, optimized variable is J.
There is no effective algorithms for the problems in usual situation following formula (4), but for the scene number #J=N-1 being cut in
This case, the solution of the problem become relatively easy.Fast forword back-and-forth method is to be equivalent to choosing at this time based on this case
A point u is selected, is cut in it not, formula (4) conversion are as follows:
Wherein, u is the point for not needing to delete, and in addition to this all points are all deleted, and just has selected one so least
Then the scene that can be cut in continues similarly with the selection for considering other scenes and probability redistribution problem again.Fast forword
The step of back-and-forth method, is as follows:
1. initial calculation
It enablesFirst is selected
The point for not needing to delete comeJ1={ 1,2 ..., N } { u1}。
2. cycle calculations
Determining i-th (i > 1) the point u for not needing to delete being selectediDuring,Calculation method it is different
In initial calculation, need to use the value in (i-1)-th calculating, i.e.,It is (i-1)-th
A point for not needing to delete chosen,I-th of point being selectedJi=Ji-1\{ui}。
3. probability is reallocated
It is substantially exactly to classify to N number of scene in initial scene library that probability, which is reallocated,.If oi(i=1 ..., N) be
Any scene in initial scene library, pi(i=1 ..., N) is the probability that any scene in initial scene library occurs, sj(j=
1 ..., n) it is any scene (typical scene) retained in scene library.The present invention is according between initial scene and typical scene
Probability metrics classify to initial scene, i.e., for any one initial scene, calculate separately the initial scene and each allusion quotation
Probability metrics between type scene;Corresponding typical scene is divided into one when by the initial scene and acquirement probability metrics minimum value
Class, i.e., i-th of scene will be divided into scene collection in initial scene libraryIt is denoted as i ∈ j,
pic(oi,sj) it is scene oiAnd sjBetween probability metrics.Any scene collection setjThe probability q of appearancejIt is obtained by following formula:
3) formation of scene collection
Present invention definition converges to typical scene sjAll initial scenes (including scene sjItself) constitute scene collection
setj, setjIn include initial scene number be numj, then have:
setj={ oi|i∈j} (7)
The classification to initial scene is completed in this way, that is, forms scene collection.
2. the probabilistic load flow cut down based on scene
Cumulants method is very sensitive to the fluctuation of data, therefore a high proportion of enchancement factor bring data in power grid
Biggish fluctuation and randomness will lead to error calculated increase.This is because carrying out Taylor expansion at benchmark operating point
2 times or more high-order terms are had ignored when linearisation, if enchancement factor fluctuation is larger, then the error linearized can also increase therewith
Greatly.The present invention has carried out division operation to initial scene library, and the boundary between scene sample has been determined using scene classification method,
The subregion fluctuation of enchancement factor being limited in where it, i.e., inside scene collection.This equally reduces the fluctuation of enchancement factor
Degree, to improve the computational accuracy of Cumulants method.The Cumulants method used below to the present invention is illustrated.
1) scene collection (node injection variable) cumulant calculates
The number of scenes for including in initial scene library is N, and scene integrates number as n, and the probability after fast forword selection divides again
The classification number to scene N number of in initial scene library is completed with process, forms multiple scene collection.Institute is concentrated for research scene
Some scene samples calculate each rank central moment for obtaining scene using the method for statistics:
Wherein, E is scene desired value, λiFor i-th of scene that research scene is concentrated, m is that research scene concentrates scene
Number, βlIt is the l rank central moment of scene.
Relationship between central moment and cumulant is shown below:
Wherein, γlFor l rank cumulant.The present invention takes preceding 7 rank cumulant, and precision is met the requirements.According to formula
(9)-(11) obtain the preceding 7 rank cumulant of research scene collection, are used for subsequent calculating.
2) Cumulants method
In order to which application of the Cumulants method in probabilistic load flow is better described, it is firstly introduced into electric system linearisation
Thought.The form of the modal equation of electric system and branch equation matrix is indicated, and in benchmark operating point (i.e. in scene collection
Typical scene) at Taylor series expansion is carried out to it, ignore 2 times or more high-order terms:
In view of meeting at benchmark operating point:
Benchmark operating point can be obtained to the lienarized equation of random perturbation Δ W:
In formula: subscript 0 indicates that benchmark operating point, W are that node injects variable, and X is node state variable, and Z is membership
Variable.S0For sensitivity matrix, T0For transfer matrix.
There are two critical natures for cumulant tool:
1. additive property: each rank cumulant of the sum of independent random variable be equal to each stochastic variable each rank cumulant it
With.
2. homogeneity: the r rank half that a times of stochastic variable of r (r >=1, r are integers) rank cumulant is equal to the variable is constant
The a of amountrTimes.
Utilize node injection rate shown in this two critical natures and formula (14) and node state amount and line status
Relationship between amount, can be obtained according to the cumulant of node injection rate node state amount and line status amount partly not
Variable.
The random change is determined by each rank cumulant of stochastic variable (such as the state variables such as node voltage, line power)
There are many kinds of the methods for measuring probability characteristics.Gram-Charlier series expansion has stronger representativeness, series expansion mode
It is as follows:
Wherein, N (t) is normpdf, and t is the stochastic variable after standardization, χiFor stochastic variable
I-th rank cumulant, giFor the i-th rank cumulant after standardization, HiIt (t) is the i-th rank Hermite multinomial, EX is random becomes
Measure the desired value of X, δXFor the standard deviation of stochastic variable X,For the i power of stochastic variable X standard deviation.
3) combination of scene reduction and Cumulants method
By scene reduction and probability reallocation link, multiple scene collection set are obtainedjAnd its corresponding probability qj;It is each
Cumulant inside scene collection can also be obtained by the method for statistics.Each scene collection has using Cumulants method
Carry out all key elements of probabilistic load flow.The Cumulants method key step cut down based on scene is as shown in Figure 3:
1. carrying out scene reduction, the probability that typical scene, corresponding scene collection and scene collection occur is obtained, using statistics
Method calculates each rank cumulant obtained under scene collection.
2. being directed to scene collection setj, since it has whole key elements needed for Cumulants method, using cumulant
Method carries out probabilistic load flow, obtains the Probability Characteristics of the scene collected state amount, the probability density letter comprising quantity of state
Number fj(x) and cumulative distribution function Fj(x)。
3. calculating the probability density function and probability-distribution function of certain quantity of state (i.e. state variable) under each scene collection, lead to
Cross the Probability Characteristics (Fig. 4) that probability principle of stacking obtains the quantity of state:
All quantity of states (including node voltage amplitude, the active power of phase angle and branch road, reactive power) are pressed
Illuminated (18) calculates, i.e., is overlapped to the characteristics of tidal flow of each scene collection, then obtains the overall trend distribution character of power grid.
Simulation example
1. generating database
Acquired initial data, such as main distribution network structure, enchancement factor characteristic, system initial parameter are arranged, and
Sliding-model control is carried out to data according to its probability-distribution function, according to the distribution characteristics of enchancement factor in electric system to wind
These enchancement factors such as machine, photovoltaic, energy storage device, controllable burden are sampled, and every completion single sample just obtains a scene.
Multiple sampling is carried out, great amount of samples is obtained, generates initial scene library.By taking number of scenes is 500 initial scene library as an example, initially
Scene distribution represents 500 initial scenes as shown in Figure 1, comprising 500 sample points in Fig. 1, for convenience on plan view
It is shown and is illustrated, each scene only includes 2 factors;The value range of each factor is that the integer between 0-100 (includes
0 and 100);The probability that each scene occurs is identical, is all 0.2%, and the sum of probability is 1.
2. pair initial scene library generated carries out scene reduction
A large amount of original scenes are cut down with quick former generation method.It is eliminated using quick former generation and field is carried out to initial scene library
Scape is cut down, and specific process of cutting down is referring to formula (2)-(6), and target scene number is 10, scene distribution such as Fig. 2 institute after reduction
Show, it can be seen that typical scene is multiple cluster centres of initial scene library, the field in initial scene library, around typical scene
Scape distribution is more intensive.
3. forming scene collection
Classified according to formula (7), (8) to initial scene, forms scene collection.
4. probabilistic load flow
In view of application background be containing blower, photovoltaic, energy storage device, controllable burden these enchancement factors power grid, this hair
The bright calculating for carrying out Probabilistic Load Flow to power grid using Cumulants method.
1) cumulant that scene collection is calculated according to formula (9)-(11), establishes the connection between scene collection and cumulant
System.
2) by electric system modal equation and branch equation Taylor expansion is carried out at typical scene, ignore it is secondary and
Above high-order term obtains the lienarized equation of formula (12), (14) form, to calculate the cumulant of state variable.
3) Gram-Charlier series is utilized, the Probability Characteristics of state variable are expressed as normal state according to formula (15)
The series of stochastic variable all-order derivative composition determines series coefficients according to each rank of state variable standardization cumulant.
5. scene is cut down and the combination of Cumulants method
By the Probabilistic Load Flow characteristic comprehensive analysis of the probability of scene collection and each scene collection, obtain being investigated according to formula (18)
The probability density characteristics of electric network state amount.
Simulation result shows using method of the invention, compared with conventional Cumulants method, realizes initial scene library
Division operation can equally reduce the degree of fluctuation of enchancement factor, to improve Cumulants method computational accuracy.
In short, the present invention proposes the concept of scene collection, after realizing that scene is cut down, the classification to initial scene is completed,
The determination sharpening for making boundary between scene in this way, helps to combine with cumulant calculating power system load flow, to larger
Initial scene library cut down and obtain scene collection on the basis of, carry out probability with Cumulants method inside each scene collection
While improving efficiency, computational accuracy can be effectively ensured in the calculating of trend.Method proposed in the present invention can be applied to
The Load flow calculation of the large-scale complex power grid of the renewable energy containing high proportion can be solved effectively due to electric system enchancement factor wave
Cumulants method calculation of tidal current accuracy decline problem caused by moving greatly, it is ensured that the height of the probabilistic load flow of power grid is quasi-
True property.