A method for dividing renewable energy power generation clusters considering spatiotemporal correlation of resources
Through the combination of principal component analysis method and K-means algorithm, the spatio-temporal correlation of resources is taken into account, which solves the problem of inaccurate division of new energy power generation clusters and improves the management efficiency and the accuracy of operation coordination.
Patent Information
- Application Number
- CN202210230713.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-03-10
AI Technical Summary
Existing new energy power generation cluster division methods fail to effectively consider the spatiotemporal correlation of resources, resulting in inaccurate new energy power generation cluster division and affecting management efficiency and operational coordination.
The principal component analysis method is used to determine the resource principal component factors of the new energy station, and the historical output data is combined to generate a feature data set. The K-means algorithm is used to determine the initial clustering center based on the preset distance principle and the sum of squared errors within the cluster, and perform clustering. Analysis to segment new energy power generation clusters.
It improves the computing speed and accuracy of results of the clustering algorithm, takes into account the spatiotemporal correlation characteristics of new energy output and resource environment, and supports resource mining and operation coordination.
Smart Images

Figure CN114944645B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of renewable energy power generation cluster division, and in particular relates to a renewable energy power generation cluster division method taking into account the temporal and spatial correlation of resources. Background Art
[0002] Renewable energy generation has significant intermittent, random and volatile characteristics. The centralized or decentralized grid connection of large-scale renewable energy increases the difficulty of grid operation control and the difficulty of real-time power supply and demand balance. In order to improve the management efficiency of large-scale renewable energy units, it is usually adopted to divide renewable energy generation clusters for coordinated control to achieve renewable energy scheduling.
[0003] At present, there are three main methods for dividing new energy clusters: clustering, complex network community discovery, and intelligent optimization. The above division methods construct different new energy cluster units by establishing division indicators, but the established division indicators are based on the operation characteristics of new energy, and do not consider the impact of resource spatiotemporal correlation on the operation characteristics of new energy. However, new energy power generation is affected by the distribution of natural resource factors, and its operation characteristics are associated with natural resource factors, and natural resource factors show certain correlation and aggregation in time and space. Therefore, traditional methods do not take into account the impact of complex natural resource factors on the division results of new energy power generation clusters, resulting in inaccurate division of new energy power generation clusters. Summary of the invention
[0004] In order to solve the shortcomings and deficiencies in the prior art and solve the problem of inaccurate division of new energy power generation clusters caused by spatiotemporal uncertainty of large-scale new energy, the present invention proposes a new energy power generation cluster division method taking into account the spatiotemporal correlation of resources, including:
[0005] The principal component analysis method is used to analyze the resource monitoring data of new energy stations to determine the principal component factors of resources that affect the output of new energy stations;
[0006] Calculate the output characteristic index of new energy stations based on the historical output data of new energy stations;
[0007] Combine the resource principal component factors with the output characteristic index to generate a characteristic data set of new energy station resources and output;
[0008] The initial clustering center of the feature data set is determined by combining the preset distance principle with the sum of squared errors within the cluster. Cluster analysis is performed on the feature data set based on the initial clustering center based on the K-means algorithm, and the new energy power generation clusters are divided according to the clustering analysis results.
[0009] Optionally, the principal component analysis method is used to analyze the resource monitoring data of the new energy station to determine the principal component factors of the resources that affect the output of the new energy station, including:
[0010] Standardize the resource monitoring data to obtain a standardized matrix of resource monitoring data n is the number of samples, m is the number of features;
[0011] Calculate the correlation coefficient ρ between each feature in the standardized matrix ij , and the correlation coefficient matrix R = [ρ ij ] m×m ;
[0012] Calculate the eigenvalues and eigenvectors of the correlation coefficient matrix R, sort the eigenvectors in descending order according to the corresponding eigenvalues, and construct the principal component matrix F = [f i ] n×m ,in a i1 、a i2 , ..., a im are the elements of the i-th eigenvector, The standardized matrix The column vector of i represents the i-th principal component;
[0013] Based on the entropy weight method, The weights of F are replaced by the weights
[0014] Calculate the cumulative contribution rate a based on the eigenvalue of the correlation coefficient matrix R l for:
[0015]
[0016] Among them, λ i represents the i-th eigenvalue of the correlation coefficient matrix R;
[0017] Compare l and the preset cumulative contribution rate threshold, if a l When the preset cumulative contribution rate threshold is exceeded, the number of principal components is determined to be l, and the first to lth principal components in F after replacement are selected to constitute the resource principal component factors of the output of the new energy station.
[0018] Optionally, the standardization of resource monitoring data includes:
[0019] For resource monitoring data X = [x ij ] n×m Perform standardization processing, the calculation formula of the standardization processing is:
[0020]
[0021] x ij is the resource monitoring data before standardization, i represents the data sample number, j represents the feature number, n represents the total number of data samples, j represents the total number of features, The resource monitoring data is standardized. is the sample average of the jth feature of resource monitoring data before standardization, σ j is the sample standard deviation of the jth feature of resource monitoring data before standardization.
[0022] Optionally, the characteristics of the resource monitoring data include wind speed, wind direction, humidity, temperature and air pressure of the wind farm.
[0023] Optionally, the entropy weight method is used to determine The weights include:
[0024] Calculate the feature weight p of the i-th sample in the j-th feature ij for:
[0025]
[0026] Calculate the characteristic entropy value e j for:
[0027]
[0028] Calculate the coefficient of variation d j for:
[0029] d j =1-e j ;
[0030] Calculate the entropy weight ω of the jth feature j for:
[0031]
[0032] Optionally, the historical output data and the resource monitoring data have the same data granularity and collection time span.
[0033] Optionally, the output characteristic indicators include annual utilization hours, monthly average output, daily average output, and segmented utilization hours.
[0034] Optionally, the resource principal component factors are combined with the output characteristic index to generate a characteristic data set of new energy station resources and output, including:
[0035] After the output characteristic index is standardized, it is combined with the resource principal component factors to obtain the characteristic data set C = [c1, c2, ..., c n ] T, where C i =[g i , p i ].
[0036] Among them, g i is the resource principal component vector of the i-th new energy station, ρ i is the standardized vector of the output characteristic index of the i-th new energy station, C i is the characteristic data composed of the principal components of resources and output characteristic indicators of the i-th new energy station, and C is the characteristic data set of regional new energy stations.
[0037] Optionally, the determining of the initial cluster center of the feature data set by combining a preset distance principle with the sum of squared errors within a cluster includes:
[0038] Take the row vectors in the feature data set as clustering objects;
[0039] Select different numbers of cluster objects as candidate cluster centers according to the preset distance principle;
[0040] For different numbers of candidate cluster centers, the cluster objects are divided into the candidate cluster centers with the closest distance to form different numbers of clusters, and the sum of squared errors within the corresponding different numbers of clusters are calculated;
[0041] Generate a line graph of the sum of squared errors within a cluster based on the elbow method, and take the points where the slope of the line graph drops sharply as the optimal number of initial cluster centers;
[0042] Determine the candidate cluster centers corresponding to the optimal number as the initial cluster centers.
[0043] Optionally, performing cluster analysis on the feature data set according to the initial cluster center based on the K-means algorithm, and dividing the new energy power generation clusters according to the cluster analysis results, includes:
[0044] Divide the clustering objects into the nearest initial clustering centers to form clusters;
[0045] Calculate the cluster centroid of each cluster as the updated cluster center, iteratively adjust the cluster to which the cluster object belongs based on the updated cluster center, and stop the iteration when the Euclidean distance between the updated cluster centers of two consecutive iterations is less than the preset value;
[0046] The cluster formed in the last iteration is regarded as the new energy generation cluster.
[0047] The beneficial effects brought by the technical solution provided by the present invention are:
[0048] The present invention takes into account the temporal and spatial correlation between the output of new energy and its resource environment, and establishes a new energy power generation cluster with temporal and spatial correlation of resources, which plays a supporting role in the mining of new energy resources and coordinated operation control.
[0049] The cluster center selection stage of the traditional clustering algorithm is improved, which improves the calculation speed of the clustering algorithm and the accuracy of the clustering results. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solution 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 work.
[0051] Figure 1 A schematic diagram of a flow chart of a method for dividing a renewable energy power generation cluster taking into account the temporal and spatial correlation of resources proposed in an embodiment of the present invention;
[0052] Figure 2 It is the SSE line graph of different numbers of cluster centers;
[0053] Figure 3(a) shows the C1 clustering result of the typical daily output characteristics of wind farms in summer considering the spatiotemporal correlation of resources;
[0054] Figure 3(b) shows the C1 clustering result of the typical daily output characteristics of wind farms in summer considering the spatiotemporal correlation of resources;
[0055] Figure 3(c) shows the C3 clustering result of the typical daily output characteristics of wind farms in summer considering the spatiotemporal correlation of resources;
[0056] Figure 4(a) shows the C1 clustering result of the typical daily output characteristics of the wind farm in summer without considering the spatiotemporal correlation of resources;
[0057] Figure 4(b) shows the C1 clustering result of the typical daily output characteristics of the wind farm in summer without considering the spatiotemporal correlation of resources;
[0058] Figure 4(c) shows the C3 clustering result of the typical daily output characteristics of wind farms in summer without considering the spatiotemporal correlation of resources. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.
[0061] It should be understood that in various embodiments of the present invention, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0062] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0063] It should be understood that in the present invention, "plurality" refers to two or more than two. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated with each other are in an "or" relationship. "Contains A, B and C", "Contains A, B, C" means that A, B, and C are all included, "Contains A, B or C" means that one of A, B, and C is included, and "Contains A, B and / or C" means that any one, any two, or any three of A, B, and C are included.
[0064] It should be understood that in the present invention, "B corresponding to A", "B corresponding to A", "A corresponds to B" or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean determining B based only on A, but B can also be determined based on A and / or other information. A and B match when the similarity between A and B is greater than or equal to a preset threshold.
[0065] Depending on the context, "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting."
[0066] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0067] Embodiment 1
[0068] like Figure 1 As shown, this embodiment proposes a method for dividing a new energy power generation cluster taking into account the temporal and spatial correlation of resources, including:
[0069] S1: Analyze the resource monitoring data of new energy stations using principal component analysis to determine the principal component factors of resources that affect the output of new energy stations;
[0070] S2: Calculate the output characteristic index of the new energy station based on the historical output data of the new energy station;
[0071] S3: Combine the resource principal component factors with the output characteristic indicators to generate a characteristic data set of new energy station resources and output;
[0072] S4: Determine the initial clustering center of the feature data set through the preset distance principle combined with the sum of squared errors within the cluster, perform cluster analysis on the feature data set based on the initial clustering center based on the K-means algorithm, and divide the new energy power generation clusters according to the cluster analysis results.
[0073] Principal component analysis is a dimensionality reduction analysis algorithm that converts a set of possibly correlated variables into a set of linearly uncorrelated variables as principal components through orthogonal transformation. It is suitable for solving multivariate correlation problems where the analysis process is complicated due to too many variables. Through principal component analysis, several most relevant factors can be selected from complex related factors as principal components, which not only retains the main information of the original related factor variables and is uncorrelated with each other, but is also simpler than the original related factor variables.
[0074] In this embodiment, the principal component analysis method is used to analyze the resource monitoring data of the new energy station to determine the principal component factors of the resources that affect the output of the new energy station, including:
[0075] Standardize the resource monitoring data to obtain a standardized matrix of resource monitoring data n is the number of samples, and m is the number of features. In this embodiment, the features of the resource monitoring data include wind speed, wind direction, humidity, temperature and air pressure of the wind farm.
[0076] Specifically, the calculation formula for the standardization process is:
[0077]
[0078] x ij is the resource monitoring data before standardization, i represents the data sample number, j represents the feature number, n represents the total number of data samples, j represents the total number of features, The resource monitoring data is standardized. is the sample average of the jth feature of resource monitoring data before standardization, σ j is the sample standard deviation of the jth feature of resource monitoring data before standardization.
[0079] Then, the correlation coefficient ρ between each feature in the standardized matrix is calculated ij , and the correlation coefficient matrix R = [ρ ij ] m×m In this embodiment, the correlation coefficient ρ ij is the Spearman correlation coefficient, and its calculation formula is:
[0080]
[0081] Calculate the eigenvalues and eigenvectors of the correlation coefficient matrix R, that is, solve |λE-R|=0, where E is the unit matrix. Sort the eigenvectors in descending order according to the corresponding eigenvalues, and the corresponding eigenvectors are recorded as μ1, μ2, ..., μ m , where μ i =(a i1 , a i2 , ..., a im ) Based on the order of eigenvectors, the principal component matrix F = [f i ] n×m ,in are the elements of the i-th eigenvector, The standardized matrix The column vector of i represents the i-th principal component, that is, the principal component can be expressed as:
[0082]
[0083] In order to determine the objective weight of the feature and simplify the principal component, this embodiment determines the weight of the feature based on the entropy weight method. The weight of The importance of the indicators, including:
[0084] Calculate the feature weight p of the i-th sample in the j-th feature ij for:
[0085]
[0086] Calculate the characteristic entropy value e j for:
[0087]
[0088] Calculate the coefficient of variation d j for:
[0089] d j =1-e j ;
[0090] In this embodiment, d j The larger the value, the more information the corresponding j-th feature contains, and the larger the corresponding weight.
[0091] Calculate the entropy weight ω of the jth feature j for:
[0092]
[0093] Substitute the weights in F That is, the principal component is expressed as:
[0094]
[0095] In order to further simplify the data and include more original information, this embodiment calculates the cumulative contribution rate a according to the eigenvalue of the correlation coefficient matrix R l for:
[0096]
[0097] Among them, λ i represents the i-th eigenvalue of the correlation coefficient matrix R;
[0098] Compare l and the preset cumulative contribution rate threshold, if a l If the preset cumulative contribution rate threshold is exceeded, the number of principal components is determined to be l, and the first to l principal components in the replaced F are selected to form the resource principal component factors of the output of the new energy station. It can be seen that in this embodiment, l≤m. l ≥0.85 as the basis for selecting the number of principal components, and calculate the cumulative contribution rate of the eigenvalues of the correlation coefficient matrix in turn. l ≥0.85, select f1, f2, ..., f l As a standardized matrix describing raw resource monitoring data The main components of the original m features are replaced by the main components of the natural resource influencing factors of the new energy station. So far, the main components finally determined are g = (f1, f2, ..., f l ).
[0099] In this embodiment, the temporal and spatial correlation is introduced through the output characteristic indicators corresponding to the historical output data, and the output characteristic indicators include annual utilization hours, monthly average output, daily average output, and segmented utilization hours. The calculation formula of each output characteristic indicator is as follows:
[0100] (1) Annual utilization hours
[0101] The annual utilization hours are the ratio of the annual power generation of renewable energy to the installed capacity:
[0102]
[0103] Where T represents the annual utilization hours, W a Represents the annual power generation of new energy stations; p e Corresponding installed capacity of new energy stations; P ij It represents the unit value of renewable energy output at time j on day i.
[0104] (2) Monthly average output
[0105] The monthly average output is expressed as the ratio of the power generation of renewable energy in a certain month to the number of hours in that month:
[0106]
[0107] In the formula represents the average output of the new energy station in the mth month (m=1, 2, ..., 12), W m represents the total power generation of the new energy station in the mth month, S m Indicates the day of the mth month.
[0108] (3)Daily average output
[0109] Calculate the 24-hour average output of new energy stations:
[0110]
[0111] In the formula represents the average output of renewable energy at the jth hour of the day, represents the total amount of renewable energy power generation at j hours in a day, It is expressed as the number of statistical samples at time j in a day.
[0112] (4) Hours of use by time period
[0113] Calculate the utilization hours of new energy stations in each period of 24 hours throughout the year:
[0114]
[0115] Where T j represents the number of hours of renewable energy utilization in the period from j to j+1 throughout the year, W j It represents the renewable energy power generation in the period from j to j+1 throughout the year. The annual utilization hours and the time-divided utilization hours satisfy the relationship:
[0116]
[0117] The resource principal component factors are combined with the output characteristic index to generate characteristic data of new energy station resources and output to characterize the specific resources and output of new energy stations, including:
[0118] After the output characteristic index is standardized, it is combined with the resource principal component factors to obtain the characteristic data set C = [c1, c2, ..., c n ] T , where C i =[g i , p i ].
[0119] Among them, g i is the resource principal component vector of the i-th new energy station, ρ i is the standardized vector of the output characteristic index of the i-th new energy station, C i is the characteristic data composed of the principal components of resources and output characteristic indicators of the i-th new energy station, and C is the characteristic data set of regional new energy stations.
[0120] It should be noted that, in order to facilitate the subsequent combination and calculation of matrices, the historical output data and the resource monitoring data in this embodiment have the same data granularity and collection time span.
[0121] In this embodiment, the method of determining the initial cluster center of the feature data set by combining the preset distance principle with the sum of square errors within the cluster includes:
[0122] Take the row vectors in the feature data set as clustering objects;
[0123] Different numbers of cluster objects are selected as candidate cluster centers according to preset distance principles. Specifically, the preset distance principles include:
[0124] Calculate the Euclidean distance between each row vector in the feature data set and generate a distance distribution matrix, that is,
[0125]
[0126] D n×n={d(c i , c j )|1≤i,j≤n};
[0127] Use the sort function to sort the elements in the distance distribution matrix to generate a distance array, that is,
[0128] d(c i,j )=sort{d(c i , c j ), 1≤j≤n}
[0129] The sort function is used in C++ to sort all elements in a given interval. The default is ascending order, but it can also be sorted in descending order. The sort function is used to obtain the Euclidean distance sorting between each cluster object, and the distance is stored in ascending order to form a distance array D. m ={d(c i,j )|1≤i≤n}.
[0130] The cluster object corresponding to the minimum value in the distance array is used as the first initial cluster center y1, that is, the neighborhood density of the first initial cluster center y1 is the largest;
[0131] Select the cluster object with the largest Euclidean distance to the first initial cluster center as the second initial cluster center y2;
[0132] The sum of the Euclidean distances between the unselected cluster objects and the first initial cluster center y1 and the second initial cluster center y2 is calculated, and the cluster object with the largest sum of the Euclidean distances is selected as the third initial cluster center y3.
[0133] In this embodiment, the initial cluster centers may not be limited to the above three. Based on the same selection idea, multiple initial cluster centers may be selected from the unselected cluster objects in the order of the sum of the Euclidean distances with the selected cluster centers from large to small, so as to select different numbers of candidate cluster centers respectively. For example, continue to select the cluster object with the largest sum of the Euclidean distances from y1, y2, and y3 as the fourth initial cluster center y4, continue to select the cluster object with the largest sum of the Euclidean distances from y1, y2, y3, and y4 as the fifth initial cluster center y5, and so on.
[0134] For different numbers of candidate cluster centers, cluster objects are divided into candidate cluster centers with the closest distance to form different numbers of clusters. Taking the above selection process as an example, when y1 and y2 are determined, clustering is performed with these two candidate cluster centers; when y1, y2 and y3 are determined, clustering is performed with these three candidate cluster centers; when y1, y2, y3 and y4 are determined, clustering is performed with these four candidate cluster centers, and so on.
[0135] Then, the sum of squared errors (SSE) corresponding to different numbers of clusters are calculated. SSE is used to evaluate the size of the sample differences within the currently formed cluster. For a cluster, the smaller the sum of the distances from all sample points to the centroid, the more similar the samples in the cluster are, and the smaller the intra-cluster differences are. The calculation formula of SSE in this embodiment is:
[0136]
[0137] L represents the number of cluster centers, C i is the i-th cluster, c k C i The sample y i Represents the i-th cluster center.
[0138] Based on the elbow method, a line graph of the sum of squared errors within a cluster is generated, and the points where the slope of the line graph drops sharply are used as the optimal number of initial cluster centers. Figure 2 As shown, the horizontal axis of the line graph is the number of candidate cluster centers (L value), which can also be regarded as the number of classifications formed by clustering, and the vertical axis is the SSE corresponding to different numbers of clusters. In this embodiment, it can be seen that the slope of the line graph is the largest when the number of cluster centers is 3, so the optimal number is 3.
[0139] The candidate cluster centers corresponding to the optimal number are determined as the initial cluster centers, that is, in this embodiment, y1, y2 and y3 are determined as the initial cluster centers.
[0140] After the initial clustering center is selected, according to the conventional clustering algorithm idea, the clustering objects are divided into clusters with the nearest initial clustering center;
[0141] The cluster centroid of each cluster is iteratively calculated as the updated cluster center. In this embodiment, the updated cluster center is:
[0142]
[0143] Where C i 、N i They represent the set of the i-th cluster and the number of clustering objects respectively.
[0144] The cluster to which the cluster object belongs is adjusted based on the updated cluster center. When the Euclidean distance between the updated cluster centers of two adjacent iterations is less than a preset value, the iteration is stopped. In this embodiment, the condition for stopping the iteration is:
[0145]
[0146] In the formula They represent the two iterative clustering centroids of the i-th cluster, and the threshold ε is 0.1.
[0147] Finally, the cluster formed in the last iteration is used as the new energy power generation cluster.
[0148] In this embodiment, Figure 3(a)-3(c) The clustering results of the typical daily output characteristics of wind farms in summer are combined with principal component analysis to consider the spatiotemporal correlation of resources. Cluster C1 includes wind turbines WF2, WF4 and WF6, cluster C2 includes wind turbines WF1 and WF5, and cluster C3 includes wind turbines WF3 and WF7. Figure 4(a)-4(c) This is the clustering result of the typical daily output characteristics of wind farms in summer without considering the spatiotemporal correlation of resources, where cluster C1 includes wind turbines WF2 and WF4, cluster C2 includes wind turbines WF1, WF5 and WF7, and cluster C3 includes wind turbines WF3 and WF6.
[0149] The clustering results under the two conditions were subjected to clustering SSE analysis and correlation analysis, respectively, and the SSE calculation results shown in Table 1 and the Spearman correlation coefficient results of the wind power processing curve shown in Table 2 were obtained. Through the above analysis, the SSE value of the clustering result considering the spatiotemporal correlation of resources is larger than that of the clustering SSE value not considering the spatiotemporal correlation of resources, reflecting that the closeness between the new energy clusters considering the spatiotemporal correlation of resources is relatively loose. The Spearman coefficient of the output curve of the new energy power generation cluster considering the spatiotemporal correlation of resources is smaller than that of the clustering result not considering the spatiotemporal correlation of resources, reflecting that the output curve change trends of different capacity stations considering the relevance of resources are correlated, thereby avoiding the influence of the clustering method using output data as the single clustering data on the correlation of clustering results.
[0150] Table 1
[0151]
[0152]
[0153] Table 2
[0154]
[0155] The serial numbers in the above embodiments are for description only and do not represent the sequence of the components during assembly or use.
[0156] The above descriptions are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for dividing renewable energy power generation clusters taking into account the temporal and spatial correlation of resources. It is characterized in that The new energy power generation cluster division method includes: The principal component analysis method is used to analyze the resource monitoring data of new energy stations to determine the principal component factors of resources that affect the output of new energy stations; Calculate the output characteristic index of new energy stations based on the historical output data of new energy stations; Combine the resource principal component factors with the output characteristic index to generate a characteristic data set of new energy station resources and output; The initial clustering center of the feature data set is determined by combining the preset distance principle with the sum of squared errors within the cluster. The feature data set is clustered based on the initial clustering center using the K-means algorithm, and the new energy power generation clusters are divided according to the clustering analysis results. The principal component analysis method is used to analyze the resource monitoring data of the new energy station to determine the principal component factors of the resources that affect the output of the new energy station, including: standardizing the resource monitoring data to obtain a standardized matrix of the resource monitoring data , n is the number of samples, m is the number of features; Calculate the correlation coefficient between each feature in the standardized matrix , and get the correlation coefficient matrix ; Calculate the eigenvalues and eigenvectors of the correlation coefficient matrix R, sort the eigenvectors in descending order according to the corresponding eigenvalues, and construct the principal component matrix based on the order of the eigenvectors ,in , are the elements of the i-th eigenvector, The standardized matrix , represents the i-th principal component; Based on the entropy weight method, The weights of F are replaced by the weights , ; Calculate the cumulative contribution rate based on the eigenvalue of the correlation coefficient matrix R for: ; in, represents the i-th eigenvalue of the correlation coefficient matrix R; Compare and the preset cumulative contribution rate threshold, if Exceeding the preset cumulative contribution rate threshold, the number of principal components is determined to be l , select the first to the last l The principal components constitute the resource principal component factors of the output of new energy stations; The standardized processing of resource monitoring data includes: Resource monitoring data Perform standardization processing, the calculation formula of the standardization processing is: ; is the resource monitoring data before standardization, i represents the data sample number, j represents the feature number, n represents the total number of data samples, j represents the total number of features, The resource monitoring data is standardized. is the sample average of the jth feature of resource monitoring data before standardization, is the sample standard deviation of the jth feature of resource monitoring data before standardization.
2. According to claim 1, a method for dividing new energy power generation clusters taking into account the temporal and spatial correlation of resources, It is characterized in that The characteristics of the resource monitoring data include wind speed, wind direction, humidity, temperature and air pressure of the wind farm.
3. According to claim 1, a method for dividing new energy power generation clusters taking into account the temporal and spatial correlation of resources, It is characterized in that The entropy weight method is used to determine The weights include: Calculate the feature weight of the i-th sample in the j-th feature for: ; Calculate the characteristic entropy value for: ; Calculate the coefficient of variation for: ; Calculate the entropy weight of the jth feature for: 。 4. According to claim 1, a method for dividing new energy power generation clusters taking into account the temporal and spatial correlation of resources, It is characterized in that The historical output data and the resource monitoring data have the same data granularity and collection time span.
5. According to claim 1, a method for dividing new energy power generation clusters taking into account the temporal and spatial correlation of resources, It is characterized in that The output characteristic indicators include annual utilization hours, monthly average output, daily average output, and segmented utilization hours.
6. A method for dividing new energy power generation clusters taking into account the temporal and spatial correlation of resources according to claim 1, It is characterized in that The resource principal component factors are combined with the output characteristic index to generate a characteristic data set of new energy station resources and output, including: After the output characteristic index is standardized, it is combined with the resource principal component factors to obtain the characteristic data set ,in ; in, For the i The resource principal component vector of each new energy station, For the i The standardized vector of output characteristic indicators of each new energy station, For the i The characteristic data of the main components of resources and output characteristic indicators of new energy stations are as follows, and C is the characteristic data set of regional new energy stations.
7. A method for dividing new energy power generation clusters taking into account the temporal and spatial correlation of resources according to claim 1, It is characterized in that The method of determining the initial cluster center of the feature data set by combining the preset distance principle with the sum of square errors within the cluster includes: Take the row vectors in the feature data set as clustering objects; Select different numbers of cluster objects as candidate cluster centers according to the preset distance principle; For different numbers of candidate cluster centers, the cluster objects are divided into the candidate cluster centers with the closest distance to form different numbers of clusters, and the sum of squared errors within the corresponding different numbers of clusters are calculated; Generate a line graph of the sum of squared errors within a cluster based on the elbow method, and take the points where the slope of the line graph drops sharply as the optimal number of initial cluster centers; Determine the candidate cluster centers corresponding to the optimal number as the initial cluster centers.
8. A method for dividing new energy power generation clusters taking into account the temporal and spatial correlation of resources according to claim 1, It is characterized in that The method of performing cluster analysis on the feature data set based on the initial cluster center based on the K-means algorithm and dividing the new energy power generation clusters according to the cluster analysis results includes: Divide the clustering objects into the nearest initial clustering centers to form clusters; Iteratively calculate the cluster centroid of each cluster as the updated cluster center, adjust the cluster to which the cluster object belongs based on the updated cluster center, and stop the iteration when the Euclidean distance between the updated cluster centers of two consecutive iterations is less than the preset value; The cluster formed in the last iteration is regarded as the new energy generation cluster.
