Multi-wind power plant short-term output probability scene generation method and system

Wind power scenarios are generated through clustering and prediction error probability distribution characteristics, and the Kantorovich distance reduction is used to solve the problem of short-term output probability scenario modeling of multiple wind farms, improve the stability and economy of wind power consumption, and achieve a better Accurate wind power output forecast.

CN118691106APending Publication Date: 2024-09-24NARI TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410556253.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately model the short-term output probability scenarios of multiple wind farms, resulting in insufficient stability and economy of wind power consumption, large amount of calculation, and difficulty in achieving ideal results.

Method used

By obtaining historical wind power operation data, clustering wind farm stations, generating scenarios based on prediction error probability distribution characteristics, using the Kantorovich distance reduction scenario, allocating output prediction values ​​in proportion, and generating short-term output probability scenarios for multiple wind farms.

Benefits of technology

It effectively alleviates the difficulty of large calculations, generates wind power output scenarios that are closer to reality, reduces the number of scenarios, improves coverage and accuracy, and is suitable for dispatch optimization of power systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691106A
    Figure CN118691106A
Patent Text Reader

Abstract

The invention discloses a multi-wind power plant short-term output probability scene generation method and system, and the method comprises the steps: obtaining wind power historical operation data according to the day-ahead scheduling demands of a power system; the wind power stations are clustered according to the historical output measured data, and station classification is obtained; according to the field station classification, scene generation is carried out through prediction error probability distribution characteristics in combination with planned day wind power output prediction data, and a field station output scene is obtained; and carrying out permutation and combination on the station output scenes, carrying out reduction on the scenes through a Cantrovich distance, and distributing the scenes to each single wind power plant through a predicted value. According to the scheme, more real future day field station output can be obtained; the thought of clustering first and then combining and reducing effectively relieves the problem of large calculation amount; targeted and representative scenes can be generated, the number of the scenes is greatly reduced, and good coverage is achieved; the scene generation probability partition points can be adjusted according to a scheduling plan or electric power and electric quantity balance requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system dispatching automation, and in particular to a method and system for generating short-term output probability scenarios of multiple wind farms. Background Art

[0002] In recent years, China's wind power has developed rapidly, and the installed capacity and the proportion of wind power connected to the grid have continued to increase. Clean energy represented by wind power will be connected to the power grid in large quantities in various forms, which will become the core feature and development trend of the new generation of power systems. Therefore, the optimization and preparation of short-term (weekly, day-ahead, intraday) dispatch plans for new power systems with a high proportion of new energy sources needs to fully consider the volatility and randomness of wind and solar power output. The wind power probability scenario is added to the joint modeling of the unit combination. By modeling the random scenarios and related probabilities of wind power generation to characterize the uncertainty of wind power, more situations that may occur can be considered, and the uncertainty of wind power output can be better covered. Among them, predicting the probability scenario of wind power is the key input of the planning method. Accurate wind power uncertainty modeling is of great significance to the safety, stability and economy of power grid operation and the maximization of wind power consumption.

[0003] However, due to the complex volatility and randomness of wind and solar power output, it is currently difficult to accurately simplify and model a large number of wind farms. Traditional methods for generating scenarios for new energy output mostly generate probability scenarios for the output of the station based on the distribution characteristics of the prediction errors of the new energy station. The output scenarios of multiple stations are combined to generate a scenario set, and the combined scenarios are clustered and reduced to generate several typical scenarios. However, the actual number of provincial power grid new energy stations is large, and the spatiotemporal correlation of the output of widely distributed new energy sites is complex, making it difficult to accurately model; and there are many new energy stations, the scale of generated scenarios is large, and the amount of calculation for scenario generation and scenario reduction is huge, making it difficult to accurately simplify and model wind power, resulting in the inability to achieve the ideal level of wind power consumption, and insufficient stability and economy. Therefore, there is an urgent need for an optimized modeling method to accurately and effectively model the uncertainty of multiple wind farms. Summary of the invention

[0004] In view of the above existing problems, the present invention is proposed.

[0005] Therefore, the present invention provides a method and system for generating short-term output probability scenarios of multiple wind farms to solve the problems that the current large number of new energy stations, the complex spatiotemporal correlation of the output of new energy fields distributed over a wide area, are difficult to accurately model, and the scene generation and scenario reduction calculations are huge, resulting in the inability to achieve an ideal level of wind power consumption and insufficient stability and economy.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In a first aspect, the present invention provides a method for generating short-term output probability scenarios of multiple wind farms, comprising:

[0008] Obtain historical wind power operation data based on the day-ahead dispatching requirements of the power system;

[0009] Cluster the wind farms based on the historical output measured data to obtain clustered farm classification;

[0010] According to the station classification, combined with the planned day wind power output forecast data, and through the scenario generation method of the prediction error probability distribution characteristics, scenario generation is performed for each station classification to obtain the corresponding station output scenario;

[0011] The station output scenarios are arranged and combined, and the combined scenarios are reduced by using the Kantorovich distance;

[0012] The reduced full-scenario wind power output scenario is redistributed to each single wind farm in proportion based on the output forecast value of each wind farm station.

[0013] As a preferred solution of the method for generating short-term output probability scenarios of multiple wind farms described in the present invention, the historical wind power operation data includes historical output forecast data and historical output measured data of wind farm stations.

[0014] As a preferred solution of the method for generating short-term output probability scenarios of multiple wind farms described in the present invention, the wind farms are clustered according to the historical output measured data to obtain clustered farm classification, including:

[0015] According to the planned date, historical output measured data are selected and the historical output measured data series of each wind farm are normalized;

[0016] Set the number of clusters y and perform clustering on each cluster number y, including:

[0017] The k-Shape clustering algorithm is used to randomly assign the time series in the output curve set D to y clusters, and the maximum similarity optimization algorithm is used to find the centroid of each cluster so that the sum of the squares of the shape distances from each sequence in the cluster to the centroid is minimized;

[0018] Suppose there are two time series with length m and The possible positions of the two groups translated relative to each other are w, and the mutual correlation coefficient between the two groups is defined as:

[0019]

[0020] in, Obtained by the following formula:

[0021]

[0022] Where s is the relative displacement position, s = wm, and When aligned, it is 0; x l+s It is a time series Counting from right to left, the l+sth block in the sequence There are m small blocks in total; y l It is a time series The lth small block from right to left, the sequence There are m small blocks in total; is the sum of the dot products of the valid area.

[0023] Mutual Correlation Coefficient Normalization is performed again so that the morphological distance is defined as 1 minus the normalized maximum cross-correlation coefficient at the optimal position w;

[0024] After calculating the centroid of each cluster, the SBD distance of each wind power output time series from all centroids is calculated and assigned to the centroid with the smallest distance for updating cluster members;

[0025] Repeat the above clustering steps until the cluster membership no longer changes, and then output the clusters to which the wind power output time series is assigned and the centroid of each cluster.

[0026] As a preferred solution of the method for generating short-term output probability scenarios of multiple wind farms described in the present invention, the wind farms are clustered according to the historical output measured data to obtain clustered farm classifications, and further includes:

[0027] Calculate the sum of squared errors between all sequences and their cluster centroids under each cluster number y, expressed as:

[0028]

[0029] Where y is the number of clusters, C i is the i-th cluster when the number of clusters is y, and p is C i The wind farm output sequence in m i It is C i The centroid of

[0030] According to the relationship diagram between y and SSE, the y corresponding to the elbow is selected as the optimal clustering number Y through the elbow method. After the optimal clustering number Y is determined, the output curve set D is clustered for the second time using the Y value.

[0031] As a preferred solution of the method for generating short-term output probability scenarios of multiple wind farms described in the present invention, the scenario generation is performed for each site classification according to the site classification, combined with the planned day wind power output forecast data, and through the scenario generation method of the probability distribution characteristics of the forecast error, including:

[0032] All historical output forecast data and historical output measured data of wind farms are aggregated according to the second k-Shape clustering results. According to the data trend of the combined aggregated station daily forecast curve, the characteristic hour points for calculating the forecast error density are selected, expressed as {t1,…,t k …,t K}, where t k represents the kth characteristic hour point of wind power;

[0033] For each characteristic hour t k , based on the historical wind power forecast and measured data of the aggregated station at that moment, calculate the cumulative probability density distribution function of the power forecast error x at that characteristic hour;

[0034] The cumulative probability distribution of the error at each characteristic hour point is cut into partitions to obtain a set of ordered values

[0035]

[0036] At each characteristic hour t k Each cut partition takes a representative point The representative value of the representative point error is added to the wind force forecast value to obtain the scenario output value W(n) of the representative point at the characteristic hour, which is expressed as:

[0037]

[0038] Among them, W Ob is the wind speed forecast value, is the partition error probability density function, is the inverse function of the cumulative distribution function of the partition error probability, and is the probability;

[0039] Each characteristic hour point t k Representative points on Arrange, combine and connect to form scenes;

[0040] The probability of each station output scenario is obtained by multiplying the probabilities of the representative points connected on the path, so as to obtain the curve trajectory and probability value of each scenario.

[0041] As a preferred solution of the method for generating short-term output probability scenarios of multiple wind farms described in the present invention, if there is no non-characteristic hour point with a representative point, the error linear distribution interpolation L is calculated. and In between, add the predicted value to form the scene between the characteristic hour points.

[0042] As a preferred solution of the method for generating short-term output probability scenarios of multiple wind farms according to the present invention, the station output scenarios are arranged and combined, and the combined scenarios are reduced by the Kantorovich distance, including:

[0043] Arrange and combine wind power scenarios of multiple stations into the original set C i , determine the original set C i The initial probability of each scene in , sets the final number of retained scenes F;

[0044] Delete each scene that meets the first condition. v ', so that the retained scene set after the scenes are eliminated is closest to the original scene set. The first condition is expressed as:

[0045]

[0046] Among them, i represents the number of loop deletions, d(s v ,s v ′) is the reserved scene s in the original scene set v and delete scenes v ′’s Euclidean distance; For scenes v and v ′, N i is the number of all scenes in the original scene set, D k (C i ,s v ′) is the KD distance between the removed scene and the original scene set;

[0047] Change the number of original scenes N i =N i -1 and the number of deleted scenes N i ′=N i ′+1, select the scene s in the original scene set whose distance is eliminated through the second condition v ′The scene with the closest probability distance s v , the second condition is expressed as:

[0048]

[0049] Among them, d(s v ,s v ′) is the scene s in the original scene set v and delete scenes v ′’s Euclidean distance; For scenes v andv ′, argmin represents the distance from the removed scene s v ′The scene with the closest probability distance s v ;

[0050] Changing and removing scenes v 'Recent scenes v Probability

[0051] Repeat the above reduction steps until the scene set C is retained. i Until the number of scenes meets the set number F.

[0052] In a second aspect, the present invention provides a system for generating short-term output probability scenarios of multiple wind farms, comprising:

[0053] An acquisition module is used to obtain historical wind power operation data based on the day-ahead dispatching requirements of the power system;

[0054] The clustering module clusters wind farms based on historical output measured data to obtain clustered farm classifications;

[0055] A scenario generation module is used to generate scenarios for each station classification based on the station classification, combined with the planned day wind power output forecast data, and through a scenario generation method based on the probability distribution characteristics of the forecast error, to obtain a corresponding station output scenario;

[0056] A reduction module, used for arranging and combining the station output scenarios, and reducing the combined scenarios by using the Kantorovich distance;

[0057] The full-scenario redistribution module is used to redistribute the reduced full-scenario wind power output scenario to each single wind farm in proportion based on the output forecast value of each wind farm station.

[0058] In a third aspect, the present invention provides a computing device, comprising:

[0059] Memory and processor;

[0060] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for generating short-term output probability scenarios of multiple wind farms are implemented.

[0061] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the method for generating short-term output probability scenarios of multiple wind farms.

[0062] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention clusters wind farms based on historical output data, aggregates farms with strong output correlation into a whole, and uses the wind power forecast total value and forecast error probability distribution characteristics of the whole to generate aggregated farm scene; clusters and reduces the output probability scenes of multiple aggregated farm clusters after free combination to obtain typical wind power aggregated output scenes; and then distributes the aggregated typical output scenes to each farm according to the forecast value, thereby obtaining the output scene of each farm. This scheme can well combine historical data errors and future wind power forecast values, effectively use wind power output forecast values ​​to generate scenes and distribute output, and obtain future daily aggregated farms and single farm outputs that are closer to reality. The idea of ​​clustering first and then combining and reducing scenes effectively alleviates the difficulty of large calculations caused by the curse of dimensionality; selects representative values ​​for the output error distribution partitions to generate a small number of targeted and representative scenes, which greatly reduces the number of scenes and has better coverage compared with random sampling; at the same time, the scene generation probability partition points can be adjusted according to the scheduling plan or power balance decision requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0064] Figure 1 It is a schematic diagram of the overall process of a method for generating short-term output probability scenarios of multiple wind farms according to an embodiment of the present invention;

[0065] Figure 2 A schematic diagram of historical output trends of each wind power cluster in a method for generating short-term output probability scenarios of multiple wind farms according to an embodiment of the present invention;

[0066] Figure 3 A wind power clustering generation scenario diagram in a method for generating short-term output probability scenarios of multiple wind farms according to an embodiment of the present invention;

[0067] Figure 4 It is a schematic diagram of the scenarios in various dimensions (clusters) after the three wind power clustering scenarios are combined and reduced in the method for generating short-term output probability scenarios of multiple wind farms according to an embodiment of the present invention. DETAILED DESCRIPTION

[0068] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0069] Example 1

[0070] Reference Figure 1 , is an embodiment of the present invention, and provides a method for generating short-term output probability scenarios of multiple wind farms, comprising:

[0071] S100: Obtain historical wind power operation data based on the day-ahead dispatching requirements of the power system;

[0072] Furthermore, the wind power historical operation data includes the wind farm historical output forecast data and historical output measured data.

[0073] It should be noted that the historical operation data of wind power can be data at hourly intervals of no less than three months.

[0074] S200: clustering wind farms according to historical output measured data to obtain clustered farm classification;

[0075] Further, including:

[0076] S201: selecting historical output measured data according to the planned date, and normalizing the historical output measured data sequence of each wind farm;

[0077] Specifically, the normalized expression is:

[0078]

[0079] Among them, μ is is the mean value and σ is the variance.

[0080] S202: Setting the number of clusters y, and clustering each number of clusters y, specifically including:

[0081] S202-1: The time series in the output curve set D are randomly assigned to y clusters by using the k-Shape clustering algorithm, and the centroid of each cluster is found by using the maximum similarity optimization algorithm so that the sum of the squares of the shape distances from each sequence in the cluster to the centroid is minimized;

[0082] It should be noted that the advantage of the k-Shape clustering algorithm is that it supports time series amplitude scaling and translation invariance when comparing the similarity of time series. Considering the delay and translation of output between wind farm stations, this is also the reason why the present invention considers using this clustering method. Shape based distance (SBD) is used to determine the similarity of two time series while considering the displacement between time series.

[0083] S202-2: Assume two time series of length m and The possible positions of the two groups translated relative to each other are w, and the mutual correlation coefficient between the two groups is defined as:

[0084]

[0085] in, Obtained by the following formula:

[0086]

[0087] Where s is the relative displacement position, s = wm, and When aligned, it is 0; x l+s It is a time series Counting from right to left, the l+sth block in the sequence There are m small blocks in total; y l It is a time series The lth small block from right to left, the sequence There are m small blocks in total; is the sum of the dot products of the valid area.

[0088] Specifically, the above formula has the following meaning:

[0089] The time series and Move each other and calculate the In the right The dot product is calculated at the position where both exist in The larger the two sequences are, the more similar they are; translate the sequence, compare the similarity values ​​of all possible positions, and calculate the optimal position w so that Maximum; after obtaining w, based on the optimal position w, relatively The optimal displacement is wm, and the maximum correlation coefficient is Right now

[0090] Mutual Correlation Coefficient Normalization is performed again so that the morphological distance is defined as 1 minus the normalized maximum cross-correlation coefficient at the optimal position w;

[0091] It should be noted that normalization is required again when comparing to remove the influence of dimension. Therefore, it is divided by the geometric mean of the product of the cross-correlation coefficient of each time series relative to itself. This coefficient is the cross-correlation coefficient of the time series relative to itself when the displacement is 0, that is, w = m, that is, The morphological distance is defined as 1 minus the normalized maximum cross-correlation coefficient at the optimal position w, expressed as:

[0092]

[0093] in, It is a time series The mutual correlation coefficient relative to itself when the displacement is 0, that is, w = m, It is a time series The mutual correlation coefficient relative to itself when the displacement is 0, that is, w=m.

[0094] The more similar the shapes of two sequences are, the smaller the SBD distance is.

[0095] S202-3: After calculating the centroid of each cluster, calculate the SBD distance of each wind power output time series from all centroids and assign it to the centroid with the smallest distance for updating cluster members;

[0096] S202-4: Repeat the clustering steps from S202-1 to S202-3 until the cluster membership no longer changes, and output the clusters to which the wind power output time series is allocated and the centroid of each cluster.

[0097] Furthermore, it also includes:

[0098] S203: Calculate the sum of squared errors between all sequences and their cluster centroids under each cluster number y, expressed as:

[0099]

[0100] Where y is the number of clusters, C i is the i-th cluster when the number of clusters is y, and p is C i The wind farm output sequence in m i It is C i The centroid of

[0101] According to the relationship diagram between y and SSE, the y corresponding to the elbow is selected as the optimal clustering number Y through the elbow method. After the optimal clustering number Y is determined, the output curve set D is clustered for the second time using the Y value.

[0102] It should be noted that in this step, SSE is the clustering error of all samples, which represents the quality of clustering effect. Regarding the elbow method, specifically: as the number of clusters y increases, the sample division will be more refined, the degree of aggregation of each cluster will gradually increase, and the error square sum SSE will gradually decrease. When y is less than the actual number of clusters, the increase in y will greatly increase the degree of aggregation of each cluster, and the decrease in SSE will be large. When y reaches the actual number of clusters, the return of the increase in the degree of aggregation obtained by increasing y will rapidly decrease, so the decrease in SSE will drop sharply and tend to be flat as the y value continues to increase. Therefore, the relationship between SSE and y is in the shape of an elbow, and the y value corresponding to this elbow is the actual number of clusters of the data.

[0103] S300: Based on the station classification, combined with the planned day wind power output forecast data, and through the scenario generation method of the prediction error probability distribution characteristics, scenario generation is performed for each station classification to obtain the corresponding station output scenario;

[0104] Further, including:

[0105] S301: Aggregate all historical output forecast data and historical output measured data of all wind farms according to the second k-Shape clustering result, and select characteristic hour points for calculating the forecast error density according to the data trend of the combined aggregated farm daily forecast curve, expressed as {t1,…,t k …,t K}, where t k represents the kth characteristic hour point of wind power;

[0106] S302: For each characteristic hour point t k , based on the historical wind power forecast and measured data of the aggregated station at that moment, calculate the cumulative probability density distribution function of the power forecast error x at that characteristic hour;

[0107] S303: Cut the error cumulative probability distribution at each characteristic hour point into partitions to obtain a set of ordered values

[0108] Specifically, for example, {0.0, 0.1, 0.9, 1.0} can be taken as the segmentation points, and a different number of cutting points can be set for each characteristic hour point.

[0109] S304: At each characteristic hour point t k Each cut partition takes a representative point The representative value of the representative point error is added to the wind force forecast value to obtain the scenario output value W(n) of the representative point at the characteristic hour, which is expressed as:

[0110]

[0111] Among them, W Ob is the wind speed forecast value, is the partition error probability density function, is the inverse function of the cumulative distribution function of the partition error probability, and is the probability;

[0112] It should be noted that the representative point are two adjacent cutting points M i-1 and M i The representative value is the integral of the product of the error probability density and the error output on the segment. The representative point also represents the cutting point M i-1 and M i The probability between P(S) = M i -M i-1 .

[0113] S305: Each characteristic hour point t k Representative points on Arrange, combine and connect to form scenes;

[0114] It should be noted that since the output error of wind power at each moment is relatively independent, the representative points at the characteristic hour points can be arranged and combined from left to right to form a path, that is, a scene.

[0115] Furthermore, in step S305, if there is no non-characteristic hour point of the representative point, the error linear distribution interpolation L is calculated. and In between, add the predicted value to form the scene between the characteristic hour points.

[0116] S306: The probability of each station output scenario is obtained by multiplying the probabilities of the representative points connected on the path, so as to obtain the curve trajectory and probability value of each scenario.

[0117] S400: Arrange and combine the station output scenarios, and reduce the combined scenarios using the Kantorovich distance;

[0118] Further, including:

[0119] S401: Arrange and combine multiple wind power scenarios into an original set C i , determine the original set C i The initial probability of each scene in , sets the final number of retained scenes F;

[0120] S402: Delete a scene s that meets the first condition each time v ′, so that the retained scene set after the scenes are eliminated is closest to the original scene set. The first condition is expressed as:

[0121]

[0122] Among them, i represents the number of loop deletions, d(s v ,s′ v ) is the scene s retained in the original scene set v and delete scene s′ v The Euclidean distance of For scenes v and s′ v The probability product, N i is the number of all scenes in the original scene set, D k (C i ,s′ v ) is the KD distance between the removed scene and the original scene set;

[0123] It should be noted that the scene s′ v The KD distance with all scenes in the original scene set is the smallest.

[0124] S403: Change the number of original scenes N i =N i -1 and the number of deleted scenes N′ i =N′ i +1, select the scene s′ from the original scene set to be eliminated through the second condition v The scenario with the closest probability distance s v , the second condition is expressed as:

[0125]

[0126] Among them, d(s v ,s′ v ) is the scene s in the original scene set v and delete scene s′ v The Euclidean distance of For scenes v and s′ v The probability product of argmin represents the distance from the removed scene s′ v The scenario with the closest probability distance s v ;

[0127] It should be noted that argmin also represents the parameter value when the function in the square brackets reaches the minimum value.

[0128] S404: Change and remove scene s′ v Recent scenes v Probability

[0129] It should be noted that step S404 is used to ensure that the scene set C is retained. iThe sum of all scenario probabilities is 1.

[0130] S405: Repeat the above reduction steps until the scene set C is retained. i Until the number of scenes meets the set number F.

[0131] It should be noted that the entire S400 step uses Kantorovich distance (KD) to reduce the scenarios. The reason is that after generating several scenario sets in each cluster, all clusters are combined to generate a global wind power probability scenario. Since the correlation between the cluster sites is weak, the present invention adopts a method of arranging and combining cluster scenarios to generate a global wind power output probability scenario. The number of scenarios after arrangement and combination is large, and the scenario set needs to be simplified to make it suitable for the unit combination calculation input.

[0132] KD is the probability distance between two different scenario sets, which can be used to quantify the closeness of different scenario sets. The KD distance can be used to select and generate the scenario with the smallest distance to the original set, and then recursively delete it to obtain a simplified scenario set close to the original scene. The algorithm assumes that the probability of all deleted scenes is zero, and adds the probability of the deleted scene to the closest retained scene.

[0133] S500: Redistribute the reduced full-scenario wind power output scenario to each single wind farm in proportion according to the output forecast value of each wind farm station.

[0134] It should be noted that after obtaining the combination of wind power scenarios after reduction, step S500 allocates the output scenarios to each wind farm in proportion according to the output forecast value of each wind farm, thereby obtaining the output of each wind farm. In this scheme, the scenario results can be used to randomly optimize the unit combination considering the uncertainty of the output of new energy sources, and can assist in verifying the existing scheduling plan, predicting and warning whether various scenarios are balanced, and assisting scheduling decisions. The advantage of such allocation is to maximize the use of the output forecast value for the output range constraints of each wind farm, and obtain a future day output distribution that is closer to reality.

[0135] The above is a schematic scheme of a method for generating short-term output probability scenarios of multiple wind farms in this embodiment. It should be noted that the technical scheme of the short-term output probability scenario generation system of multiple wind farms and the technical scheme of the short-term output probability scenario generation method of multiple wind farms mentioned above belong to the same concept. For details not described in detail in the technical scheme of the short-term output probability scenario generation system of multiple wind farms in this embodiment, please refer to the description of the technical scheme of the short-term output probability scenario generation method of multiple wind farms mentioned above.

[0136] In this embodiment, the short-term output probability scenario generation system of multiple wind farms includes:

[0137] An acquisition module is used to obtain historical wind power operation data based on the day-ahead dispatching requirements of the power system;

[0138] The clustering module clusters wind farms based on historical output measured data to obtain clustered farm classifications;

[0139] The scenario generation module is used to generate scenarios for each station classification based on the station classification, combined with the planned day wind power output forecast data, and through the scenario generation method of the prediction error probability distribution characteristics, to obtain the corresponding station output scenario;

[0140] The reduction module is used to arrange and combine the station output scenarios and reduce the combined scenarios through the Kantorovich distance;

[0141] The full-scenario redistribution module is used to redistribute the reduced full-scenario wind power output scenario to each single wind farm in proportion based on the output forecast value of each wind farm station.

[0142] This embodiment further provides a computing device, which is applicable to the case of generating short-term output probability scenarios of multiple wind farms, and includes:

[0143] Memory and processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the method for generating short-term output probability scenarios of multiple wind farms as proposed in the above embodiment.

[0144] This embodiment further provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for generating short-term output probability scenarios of multiple wind farms as proposed in the above embodiment is implemented.

[0145] The storage medium proposed in this embodiment and the method for generating short-term output probability scenarios of multiple wind farms proposed in the above embodiment belong to the same inventive concept. The technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0146] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ReadOnly, Memory, ROM), random access memory (RandomAccess Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.

[0147] Example 2

[0148] Reference Figure 2-Figure 4 Based on the previous embodiment, this embodiment provides an application example of a method for generating a short-term output probability scenario of multiple wind farms.

[0149] Taking the generation of wind power scenarios in Gansu power grid on a certain day in 2022 as an example, it is verified that the present invention can generate probabilistic scenarios that can better capture the volatility and uncertainty of wind power. On that day, there were 121 grid-connected wind turbines in Gansu power grid.

[0150] The hourly measured output data of all wind turbines in Gansu Province on the plan day in 2022 and the previous 21 days were selected for cluster analysis. The k-Shape clustering method was used to cluster all the wind farms in the power grid for the wind farm output curve from the plan day to the previous 21 days in 2022. The cluster number y of the coordinated wind farm of the power grid is taken from 1 until the appropriate upper limit is reached (the upper limit is selected as 9 based on experience). All wind farms are k-Shape clustered according to each y value and the corresponding SSE is recorded. Then the relationship between y and SSE is drawn. The optimal number of clusters is 3 as judged by the elbow method. The wind farm output curve from the plan day to the previous 21 days in 2022 is k-Shape clustered using the optimal cluster number 3. The classified wind power output curve is shown in the figure. Figure 2 :

[0151] According to the three clusters of wind power, the scenario generation method based on the probability distribution characteristics of the prediction error is used to generate scenarios separately. Here, the predicted output and measured output data of 121 wind farms from March 23, 2020 to March 31, 2022 are merged into three groups according to the k-Shape wind farm clustering results. The three cluster stations are fitted with the prediction error probability density based on the three combined groups of predicted and measured historical data. The characteristic hour points (0, 11, 23) and the probability partition points (0.1, 0.9, 1.0) are taken to generate scenarios for the three wind power aggregation stations on the planned day, and 27 scenarios are generated for each cluster station. Generate scenarios on the planned day, and the prediction and measured curves are shown in Figure 3 :

[0152] After generating 27 scene sets for each of the three clusters, the scenes of the three clusters were arranged and combined to generate 27×27×27=19683 combined scenes. The scenes were reduced using the reduction method based on Kantorovich distance, and finally 50 scenes were generated. Figure 4 Schematic diagram showing the scenarios in each dimension (cluster) after the combination and reduction of the three wind power clustering scenarios.

[0153] As can be seen from the figure, although the reduction of scenes will cause some scenes to be lost, most of the characteristic scene distribution is still retained. It can be used as an approximate description of the output characteristics of the wind farm group.

[0154] After obtaining the combination of wind power scenarios after reduction, the output scenarios can be proportionally allocated to each wind farm according to the output forecast value of each wind farm, so as to obtain the output of each wind farm. In this way, the scenario results can be used in probabilistic unit combination planning or scheduling planning.

[0155] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for generating short-term output probability scenarios of multiple wind farms, characterized in that: include: Obtain historical wind power operation data based on the day-ahead dispatching requirements of the power system; Cluster the wind farms based on the historical output measured data to obtain the clustered farm classification; According to the station classification, combined with the planned day wind power output forecast data, and through the scenario generation method of the prediction error probability distribution characteristics, scenario generation is performed for each station classification to obtain the corresponding station output scenario; The station output scenarios are arranged and combined, and the combined scenarios are reduced by using the Kantorovich distance; The reduced full-scenario wind power output scenario is redistributed to each single wind farm in proportion based on the output forecast value of each wind farm station.

2. The method for generating short-term output probability scenarios of multiple wind farms according to claim 1, characterized in that: The wind power historical operation data includes historical output forecast data and historical output measured data of wind farms.

3. The method for generating short-term output probability scenarios of multiple wind farms according to claim 1 or 2, characterized in that: The wind farms are clustered based on the historical output measured data to obtain clustered farm classifications, including: According to the planned date, historical output measured data are selected and the historical output measured data series of each wind farm are normalized; Set the number of clusters y and perform clustering on each cluster number y, including: The k-Shape clustering algorithm is used to randomly assign the time series in the output curve set D to y clusters, and the maximum similarity optimization algorithm is used to find the centroid of each cluster so that the sum of the squares of the shape distances from each sequence in the cluster to the centroid is minimized; Suppose there are two time series with length m and The possible positions of the two groups translated relative to each other are w, and the mutual correlation coefficient between the two groups is defined as: in, Obtained by the following formula: Where s is the relative displacement position, s = wm, and When aligned, it is 0; x l+s It is a time series Counting from right to left, the l+sth block in the sequence There are m small blocks in total; y l It is a time series The lth small block from right to left, the sequence There are m small blocks in total; is the sum of the dot products of the effective area; Mutual Correlation Coefficient Normalization is performed again so that the morphological distance is defined as 1 minus the normalized maximum cross-correlation coefficient at the optimal position w; After calculating the centroid of each cluster, the SBD distance of each wind power output time series from all centroids is calculated and assigned to the centroid with the smallest distance for updating cluster members; Repeat the above clustering steps until the cluster membership no longer changes, and then output the clusters to which the wind power output time series is assigned and the centroid of each cluster.

4. The method for generating short-term output probability scenarios of multiple wind farms as claimed in claim 3, characterized in that: Clustering wind farms based on historical output measured data to obtain clustered farm classifications, including: Calculate the sum of squared errors between all sequences and their cluster centroids under each cluster number y, expressed as: Where y is the number of clusters, C i is the i-th cluster when the number of clusters is y, and p is C i The wind farm output sequence in m i It is C i The centroid of According to the relationship diagram between y and SSE, the y corresponding to the elbow is selected as the optimal clustering number Y through the elbow method. After the optimal clustering number Y is determined, the output curve set D is clustered for the second time using the Y value.

5. The method for generating short-term output probability scenarios of multiple wind farms according to claim 4, characterized in that: According to the station classification, combined with the planned day wind power output forecast data, and through the scenario generation method of the prediction error probability distribution characteristics, the scenario generation is performed for each station classification, including: All historical output forecast data and historical output measured data of wind farms are aggregated according to the second k-Shape clustering results. According to the data trend of the combined aggregated station daily forecast curve, the characteristic hour points for calculating the forecast error density are selected, expressed as {t1,…,t k …,t K }, where t k represents the kth characteristic hour point of wind power; For each characteristic hour t k , based on the historical wind power forecast and measured data of the aggregated station at that moment, calculate the cumulative probability density distribution function of the power forecast error x at that characteristic hour; The cumulative probability distribution of the error at each characteristic hour point is cut into partitions to obtain a set of ordered values At each characteristic hour t k Each cut partition takes a representative point The representative value of the representative point error is added to the wind force forecast value to obtain the scenario output value W(n) of the representative point at the characteristic hour, which is expressed as: Among them, W Ob is the wind speed forecast value, is the partition error probability density function, is the inverse function of the cumulative distribution function of the partition error probability, and is the probability; Each characteristic hour point t k Representative points on Arrange, combine and connect to form scenes; The probability of each station output scenario is obtained by multiplying the probabilities of the representative points connected on the path, so as to obtain the curve trajectory and probability value of each scenario.

6. The method for generating short-term output probability scenarios of multiple wind farms according to claim 5, characterized in that: If there is no representative point at a non-characteristic hour, the error linear distribution interpolation L is calculated. and In between, add the predicted value to form the scene between the characteristic hour points.

7. The method for generating short-term output probability scenarios of multiple wind farms according to claim 1 or 6, characterized in that: The station output scenarios are arranged and combined, and the combined scenarios are reduced by the Kantorovich distance, including: Arrange and combine wind power scenarios of multiple stations into the original set C i , determine the original set C i The initial probability of each scene in , sets the final number of retained scenes F; Delete a scene s′ that meets the first condition each time v , so that the retained scene set after the scenes are eliminated is closest to the original scene set. The first condition is expressed as: Among them, i represents the number of loop deletions, d(s v ,s′ v ) is the scene s retained in the original scene set v and delete scene s′ v The Euclidean distance of For scenes v and s′ v The probability product, N i is the number of all scenes in the original scene set, D k (C i ,s′ v ) is the KD distance between the removed scene and the original scene set; Change the original scene number N i =N i -1 and the number of deleted scenes N′ i =N′ i +1, select the scene s′ from the original scene set to be eliminated through the second condition v The scenario with the closest probability distance s v , the second condition is expressed as: Among them, d(s v ,s′ v ) is the scene s in the original scene set v and delete scene s′ v The Euclidean distance of For scenes v and s′ v The probability product of argmin represents the distance from the removed scene s′ v The scenario with the closest probability distance s v ; Change and remove scenes s′ v Recent scenes v Probability Repeat the above reduction steps until the scene set C is retained. i Until the number of scenes meets the set number F.

8. A system using the method for generating short-term output probability scenarios of multiple wind farms as claimed in claim 1, characterized in that: include: An acquisition module is used to obtain historical wind power operation data based on the day-ahead dispatching requirements of the power system; The clustering module clusters wind farms based on historical output measured data to obtain clustered farm classifications; A scenario generation module is used to generate scenarios for each station classification based on the station classification, combined with the planned day wind power output forecast data, and through a scenario generation method based on the probability distribution characteristics of the forecast error, to obtain a corresponding station output scenario; A reduction module, used for arranging and combining the station output scenarios, and reducing the combined scenarios by using the Kantorovich distance; The full-scenario redistribution module is used to redistribute the reduced full-scenario wind power output scenario to each single wind farm in proportion based on the output forecast value of each wind farm station.

9. An electronic device, comprising: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for generating short-term output probability scenarios of multiple wind farms as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the method for generating short-term output probability scenarios of multiple wind farms as described in any one of claims 1 to 7.