Abnormal moment power restoration method and system based on multiple photovoltaic stations

By improving the similarity clustering algorithm and deep neural network, similar power stations are determined and the measured power of the photovoltaic power station is corrected, which solves the problem of unstable power output of photovoltaic power stations under abnormal weather conditions and improves the security of the power grid and the safety of the photovoltaic power generation system. reliability.

CN118690892APending Publication Date: 2024-09-24NANJING GUODIAN NANZI WEIMEIDE AUTOMATION CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The instability and unreliability of the power output of photovoltaic power stations under abnormal weather conditions threatens the security of the power grid. It is difficult for existing technologies to effectively repair the power prediction accuracy of photovoltaic power generation systems.

Method used

By obtaining the geographical coordinates of each photovoltaic power station, the fuzzy clustering algorithm with improved similarity is used to determine similar power stations, and the distance of the station group and the similarity of the power generation curve are calculated using the Manhattan distance and Pearson correlation coefficient analysis methods, and a deep neural network is established. The data prediction model is used to correct the measured power.

Benefits of technology

It improves the output stability and reliability of the photovoltaic power generation system at abnormal times, enhances the accuracy and efficiency of power prediction, and ensures the safe operation of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690892A
    Figure CN118690892A
Patent Text Reader

Abstract

The invention belongs to the technical field of electric power energy, and the method comprises the steps: collecting the data of similar power stations at a to-be-repaired moment, and obtaining the geographic coordinates of each photovoltaic power station; photovoltaic power stations under similar weather conditions are determined, and similar power stations are determined by adopting a fuzzy clustering algorithm with improved similarity; and establishing an offline data correction model, taking the clustering result data of the similar power stations as training samples, inputting the training samples into the data correction model for correction, and obtaining an actually measured power data correction result at the to-be-repaired moment. According to the invention, through a similarity identification method which comprehensively considers the distance correlation degree and the curve shape correlation degree, the accuracy of similar power station identification is improved; meanwhile, by constructing the data prediction model based on the deep neural network, accurate correction of the actually measured power at the to-be-repaired moment is realized, and the output stability and reliability of the photovoltaic power generation system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electric energy, and in particular relates to a method and system for repairing power at abnormal times based on multiple photovoltaic stations. Background Art

[0002] In recent years, with the base-based and large-scale development of photovoltaic power stations, photovoltaic installed capacity has increased significantly, and photovoltaic power generation technology has also developed rapidly. Photovoltaic power generation technology has become a mature new energy power generation technology with large-scale and commercial development prospects among renewable energy.

[0003] The prediction of power generation of new energy stations is the core technology to ensure the safe and reliable operation of high-proportion new energy power systems. The grid dispatching department makes dispatching plans for various power sources based on the predicted new energy power generation, that is, to incorporate new energy power generation into the conventional power generation plan in order to better manage and utilize new energy power generation. Therefore, the prediction accuracy of new energy power generation is directly related to problems such as grid peak regulation, unit combination, and unit economic operation. The output power of photovoltaic power stations is affected by the characteristics of solar irradiance, temperature, humidity, wind speed, wind direction, and air pressure, which will produce random and volatile abnormal data. If these abnormal data are not corrected, it will seriously affect the accuracy of photovoltaic power prediction, and in the worst case, it will cause the safety and reliability of the power grid to be destroyed. Existing technologies select similar meteorological days by considering the influence of weather characteristics such as irradiance, temperature, and humidity, and repair the abnormal data generated by photovoltaic power stations.

[0004] The patent of the present invention proposes a method for repairing power at abnormal times based on multiple photovoltaic stations. The latitude and longitude coordinates of each photovoltaic station are obtained, and the multiple station groups composed of these coordinates are regarded as an irregular polygonal figure. The polygon is then divided into finite triangles, and the center coordinates and area of ​​each triangle are calculated respectively. Then, the weighted average position of the centers of these triangles is the center of the polygon. Finally, the distance between each photovoltaic station and the center point is calculated and compared with the distance similarity threshold. The two photovoltaic stations with similarity within the threshold are selected as similar power stations. At the same time, the distances of multiple photovoltaic station groups in an area and the similarity of the shapes of power generation curves are comprehensively considered, and similar power stations are extracted by clustering. Finally, a data correction model is established, and the meteorological data, measured power, and startup capacity of similar stations at the time of repair are used as inputs. Through the deployed prediction model, the correction result of the measured power data at that moment is obtained. Summary of the invention

[0005] In view of the above existing problems, the present invention is proposed. The purpose of the present invention is to solve the problem of abnormal power output of photovoltaic stations under abnormal weather conditions and improve the stability and reliability of photovoltaic power generation systems; first, collect data of similar stations at the time of repair, including meteorological data, power data, startup capacity and longitude and latitude information, and then determine similar power stations through a fuzzy clustering algorithm with improved similarity, and use the clustering result data of similar power stations as training samples to input the data correction model for correction, and obtain the correction result of the measured power data at the time of repair; the present invention improves the accuracy of similar power station identification by comprehensively considering the similarity recognition method of distance correlation and curve shape correlation; at the same time, by constructing a data prediction model based on a deep neural network, it realizes the accurate correction of the measured power at the time of repair, and improves the output stability and reliability of the photovoltaic power generation system.

[0006] In order to solve the above technical problems, a power repair method based on multiple photovoltaic stations at abnormal times is proposed, including:

[0007] The data of similar stations at the time of repair are collected and the geographical coordinates of each photovoltaic power station are obtained; the photovoltaic power stations with similar weather conditions are determined, and the fuzzy clustering algorithm with improved similarity is used to determine the similar power stations; an offline data correction model is established, and the clustering result data of similar power stations are input into the data correction model as training samples for correction, so as to obtain the correction result of the measured power data at the time of repair.

[0008] As a preferred solution of the method for power repair at abnormal times based on multiple photovoltaic stations described in the present invention, the data collected from similar stations at the time of repair includes meteorological data, power data, startup capacity, and longitude and latitude information.

[0009] The meteorological data include total horizontal radiation ES, ambient temperature TS, and ambient humidity RHS.

[0010] The power data includes the measured power PS, the historical power output data of each photovoltaic power station, and the real-time and historical load data.

[0011] The startup capacity includes the number and model of photovoltaic modules, the actual operating capacity and the actual startup capacity CS.

[0012] As a preferred solution of the abnormal moment power repair method based on multiple photovoltaic stations described in the present invention, wherein: the photovoltaic power stations with similar weather conditions are determined by obtaining the geographical location coordinates of each photovoltaic power station, using the stations A1 (x1, y1), A2 (x2, y2), A3 (x3, y3), ..., A n (x n ,y n) are marked, and the single stations with marked coordinates are organized into an irregular polygonal station group, and the polygon is divided into A1A2A3, A1A2A4, A2A3A4, …, A n+1 A n-1 A n The calculation formula of the triangle center point G(x, y) is:

[0013] G(x,y)=((x a +x b +x c ) / 3,(y a +y b +y c ) / 3)

[0014] Among them, x a 、x b 、x c are the longitude coordinates of the x-axis of the three stations, and y a ,y b ,y c are the latitude coordinates of the y-axis of the three stations.

[0015] Solve the area of ​​each triangle figure, the calculation formula of the triangle area S(x, y) is:

[0016]

[0017] Through the calculated triangle center point G and area S, the weighted average of the triangle center point is used to obtain the center coordinates of the entire photovoltaic station group. The center of the polygon is set to point P (x, y):

[0018]

[0019] Among them, n is the number of photovoltaic power stations in the station group.

[0020] Calculate the distance between each PV station and the center point of the station group, station A1 (x1, y1), A2 (x2, y2), A3 (x3, y3), ..., A n (x n ,y n ), respectively, the distance d i Solve, the calculation formula is:

[0021]

[0022] Calculate the relative distance error Δ between every two power stations:

[0023]

[0024] Among them, κ is the amplification coefficient, i and j are the indexes of the power station, representing different power stations respectively.

[0025] If Δ is less than or equal to 1%, the relative error of the distance between the power stations is small, and the weather conditions of the two power stations are considered to be similar, and they are determined to be power stations with similar weather conditions. If Δ is greater than 1%, the relative error of the distance between the power stations is large, and they are power stations with dissimilar weather conditions.

[0026] As a preferred solution of the abnormal moment power repair method based on multiple photovoltaic stations described in the present invention, the determination of similar power stations includes clustering multiple station groups in an area using a fuzzy clustering algorithm with improved similarity, and determining similar power stations by calculating the affinity through a similarity recognition method that comprehensively considers the distance correlation and the curve shape correlation.

[0027] Standardize the output power information of the power station to avoid the influence of different installed capacities on the processing process. The comprehensive consideration of the distance correlation degree includes using the Manhattan distance analysis method to calculate the distance similarity of the station group and calculate the distance d between two stations. ab :

[0028]

[0029] Among them, x a ,y b Represents two station objects, and the Manhattan distance D between all stations is:

[0030]

[0031] Normalized power information:

[0032]

[0033] Among them, P i represents the power output of the ith station, represents the average power output of the station, σ P Represents the standard deviation of power output and calculates the distance similarity S(i,j) of the station group:

[0034]

[0035] Among them, σ P is the standard deviation of power, P i (t) and P j (t) are the output power of stations i and j at time t, and are the average output powers of stations i and j respectively, and T is the length of the time series.

[0036] When 0.6≤S(i,j)≤1, it means that the similarity between the two stations is high.

[0037] When 0<S(i,j)<0.6, it means that the similarity between the two stations is low.

[0038] When S(i,j)=0, it means there is no similarity between the two sites.

[0039] The similarity identification of the curve shape correlation degree includes using an improved Pearson correlation coefficient analysis method to calculate the similarity of the power generation curve shapes of different stations:

[0040]

[0041] in, and are the average values ​​of f(x) and h(x), respectively. f(x) and h(x) are the power generation curve data of the two stations, respectively. Z is the set of data points.

[0042] When S(f,h)=-1, it means that the two curves are completely negatively correlated, and the two curves are in opposite directions but not similar.

[0043] When S(f,h)=0, it means that the two curves are completely unrelated and there is no relationship between the two curves.

[0044] When S(f,h)=1, it means that the two curves are completely positively correlated and the two curves are similar.

[0045] The Pearson correlation coefficient analysis result is used as a measure of the curve shape closeness, and then combined with the value closeness for comprehensive analysis, and the Manhattan distance principle is improved to obtain the final value similarity result:

[0046] S=e -S(i,j) ×S(f,h)

[0047] Among them, when 0.5<S≤1, as the value of S increases, the similarity between the two photovoltaic power stations is higher, and they are determined to be similar power stations. When 0<S≤0.5, as the value of S decreases, the similarity is lower, and they are determined to be dissimilar power stations.

[0048] As a preferred solution of the abnormal moment power repair method based on multiple photovoltaic stations described in the present invention, the calculation of affinity includes the distance similarity S(i, j) between two power stations and the close similarity S(f, h) of the power generation curve shapes of different stations to calculate the affinity D of the power station power data:

[0049]

[0050] Among them, p ik and pjk are the power data of power stations i and j at time point k, p i and p j Represent the power data of the two power stations respectively, and construct the overall data similarity matrix S':

[0051] S' ij =[S ij ] n×n =[D(p i ,p j )] n×n

[0052] Among them, S' ij It is a similarity matrix. The two categories with high similarity and the closest affinity are merged as a new category. The number of categories is updated and the average linkage method is used to analyze and obtain the clustering results.

[0053] As a preferred solution of the abnormal moment power repair method based on multiple photovoltaic stations described in the present invention, wherein: the average connection method analysis includes taking the average connection method to analyze the average distance between new classes, assuming that class D r It is composed of class D s and class D t The combined result is D r With another class D u The distance between s With D u The distance and D t With D u The average value of the distances is:

[0054]

[0055] Update the similarity matrix:

[0056]

[0057] When all categories are clustered into one category, the number of categories is determined and the clustering results of the similarity matrix are obtained. According to the clustering results of similar power stations, the meteorological data, measured power and startup capacity of similar stations at the time of repair are input as input values ​​into the offline data correction model.

[0058] As a preferred scheme of the power repair method at abnormal time based on multiple photovoltaic stations described in the present invention, wherein: the establishment of the offline data correction model includes selecting historical data of similar power stations as characteristic values, wherein the characteristic values ​​include historical meteorological data of similar power stations, historical measured power PS', and historical startup capacity CS', and performing data preprocessing, filling missing data with zeros, and obtaining the input characteristic value XT = [ES, TS, RHS, PS', CS'], and taking the measured power of the station to be predicted at the corresponding time as the output YT, the input characteristic value and the output constitute the training sample data C = (XT, YT).

[0059] The data prediction model F(XT) based on deep neural network is constructed as follows:

[0060]

[0061] Where N represents the dimension of different meteorological or power characteristics, λ i and represents the feature range after data preprocessing, g(XT,σ) is the Gaussian function for data smoothing and information filtering, and μ g and σ g are the mean and standard deviation of the Gaussian function, M represents the number of historical data of multiple similar power plants, and B m is the historical power data of the mth similar power station, K represents the number of hidden layer nodes of the neural network, where the hidden layer is 32 layers, and g k is the weight of the kth hidden layer node, XT k is the kth component of the input eigenvalue XT.

[0062] Bring the training sample data C into the model, perform offline model training, and continuously optimize to obtain the final offline data correction model

[0063]

[0064] According to the clustering results after determining the power stations with similar weather conditions and similar power stations, the meteorological data, measured power, and startup capacity of similar power stations at the time of repair are used as input values ​​for correction to obtain the correction result of the measured power at the time of repair, where B base is the base power, L represents the number of input eigenvalues, σ l represents the standard deviation of the lth component.

[0065] Another object of the present invention is to provide a power repair system for abnormal moments based on multiple photovoltaic stations. The system of the present invention collects data of similar stations at the time of repair through a data acquisition module, including meteorological data, power data, startup capacity and geographic coordinates. The similar power station determination module uses a similar weather condition power station determination unit, a similar power station determination unit and a clustering unit to calculate the similarity of the distance between the station groups and the similarity of the power generation curve shape through Manhattan distance analysis and Pearson correlation coefficient analysis, construct a similarity matrix and obtain clustering results. The data correction module establishes an offline data correction model, inputs the historical data of similar stations as feature values ​​into the data prediction model constructed by the deep neural network algorithm, completes model training, corrects the meteorological data, measured power and startup capacity of similar stations at the time of repair, and obtains the measured power data correction result at that moment.

[0066] Through the design of the system, the abnormal power output of the photovoltaic power station at the time of repair can be accurately corrected, the output stability and reliability of the photovoltaic power generation system can be improved, and the beneficial effect of improving the performance of the photovoltaic power generation system can be achieved.

[0067] As a preferred solution of the abnormal moment power repair system based on multiple photovoltaic stations described in the present invention, it is characterized by including a data acquisition module, a similar power station determination module and a data correction module.

[0068] The data acquisition module collects data of similar stations at the time of repair, including meteorological data, power data, startup capacity, and obtains the geographical coordinates of each photovoltaic power station.

[0069] The similar power station determination module includes a similar weather condition power station determination unit, a similar power station determination unit and a clustering unit. The photovoltaic power stations with similar weather conditions are determined according to the similar weather condition power station determination unit. The Manhattan distance analysis method is used to calculate the similarity of the distances of the station groups according to the similar power station determination unit. The Pearson correlation coefficient analysis method is used to calculate the similarity of the shapes of power generation curves of different stations. The two analysis methods are integrated, and the affinity of the power station power data is calculated according to the clustering unit to construct a similarity matrix to obtain a clustering result.

[0070] The data correction module establishes an offline data correction model, selects historical data of similar stations as feature values ​​and inputs them into a data prediction model constructed by a deep neural network algorithm, brings in training sample data to complete model training, and inputs meteorological data, measured power, and startup capacity of similar stations at the time to be repaired as input values ​​into the offline data correction model to obtain the measured power data correction result at that moment.

[0071] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, the steps of a method for power repair at abnormal moments based on multiple photovoltaic stations are implemented.

[0072] A computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of a method for power repair at abnormal moments based on multiple photovoltaic stations are implemented.

[0073] Beneficial effects of the present invention: The present invention realizes accurate prediction and correction of the power of the photovoltaic power station to be repaired by adopting a fuzzy clustering algorithm with improved similarity, establishing an offline data correction model and a deep neural network.

[0074] By collecting data of similar stations at the time of repair and obtaining the geographic coordinates of each PV power station, the data source that can be used for comparison and correction can be quickly located at the abnormal time, thereby improving the accuracy and efficiency of repair; the algorithm is used to improve the ability to recognize the similarity of PV power stations, thereby improving the accuracy of power prediction and repair; an offline data correction model is established, and the clustering result data is used as a training sample, which can effectively correct the measured power data of the power station to be repaired, thereby improving the accuracy and reliability of power prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0076] Figure 1 An overall flow chart of an abnormal moment power repair method based on multiple photovoltaic stations is provided as an embodiment of the present invention.

[0077] Figure 2 A flow chart of a multi-station clustering algorithm for an abnormal moment power repair method based on multiple photovoltaic stations is provided as an embodiment of the present invention.

[0078] Figure 3 A flow chart of an offline training data correction model for an abnormal moment power repair method based on multiple photovoltaic stations is provided as an embodiment of the present invention.

[0079] Figure 4 A system functional architecture diagram of an abnormal moment power repair system based on multiple photovoltaic stations provided in accordance with an embodiment of the present invention. DETAILED DESCRIPTION

[0080] 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.

[0081] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0082] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it an embodiment that is mutually exclusive with other embodiments, either individually or selectively.

[0083] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0084] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0085] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0086] Example 1

[0087] Reference Figure 1-Figure 3, which is the first embodiment of the present invention, and provides a method for repairing power at abnormal times based on multiple photovoltaic stations, comprising:

[0088] S1: Collect data of similar stations at the time of repair and obtain the geographical coordinates of each PV power station.

[0089] Furthermore, data collected from similar stations at the time of repair include meteorological data, power data, startup capacity, and longitude and latitude information.

[0090] The meteorological data include total horizontal radiation ES, ambient temperature TS, and ambient humidity RHS.

[0091] The power data includes the measured power PS, the historical power output data of each photovoltaic power station, and the real-time and historical load data.

[0092] The startup capacity includes the number and model of photovoltaic modules, the actual operating capacity and the actual startup capacity CS.

[0093] S2: Determine the PV power plants with similar weather conditions and use the fuzzy clustering algorithm with improved similarity to determine similar power plants.

[0094] Furthermore, the geographical location coordinates of each photovoltaic power station are obtained, using the station A1 (x1, y1), A2 (x2, y2), A3 (x3, y3), ..., A n (x n ,y n ) are marked, and the single stations with marked coordinates are organized into an irregular polygonal station group, and the polygon is divided into A1A2A3, A1A2A4, A2A3A4, …, A n+1 A n-1 A n The calculation formula of the triangle center point G(x, y) is:

[0095] G(x,y)=((x a +x b +x c ) / 3,(y a +y b +y c ) / 3)

[0096] Among them, x a 、x b 、x c are the longitude coordinates of the x-axis of the three stations, and y a ,y b ,y c are the latitude coordinates of the y-axis of the three stations.

[0097] Solve the area of ​​each triangle figure, the calculation formula of the triangle area S(x,y) is:

[0098]

[0099] Through the calculated triangle center point G and area S, the weighted average of the triangle center point is used to obtain the center coordinates of the entire photovoltaic station group. The center of the polygon is set to point P (x, y):

[0100]

[0101] Among them, n is the number of photovoltaic power stations in the station group.

[0102] Calculate the distance between each PV station and the center point of the station group, station A1 (x1, y1), A2 (x2, y2), A3 (x3, y3), ..., A n (x n ,y n ), respectively, the distance d i Solve, the calculation formula is:

[0103]

[0104] Calculate the relative distance error Δ between every two power stations:

[0105]

[0106] Among them, κ is the amplification coefficient, i and j are the indexes of the power station, representing different power stations respectively.

[0107] If Δ is less than or equal to 1%, the relative error of the distance between the power stations is small, and the weather conditions of the two power stations are considered to be similar, and they are determined to be power stations with similar weather conditions. If Δ is greater than 1%, the relative error of the distance between the power stations is large, and they are power stations with dissimilar weather conditions.

[0108] It should be noted that the power station information is collected at the same time, the data is standardized, and then the power stations are fuzzy clustered using value similarity and shape similarity to screen similar power stations. The algorithm flow for fuzzy clustering of multiple stations to screen similar power stations is as shown in the attached figure. Figure 2 As shown, firstly, the output power information of the power station is standardized to avoid the influence of different installed capacities on the processing process, and then the overall data matrix is ​​constructed; first, each power station is regarded as a category, the distance between each two power stations is calculated using the Manhattan distance method, and the Pearson correlation coefficient method is used to analyze the closeness of the curve shape, and a similarity matrix is ​​constructed; the two categories with the closest distance are merged as a new category, and the number of categories is updated.

[0109] Standardize the output power information of the power station to avoid the influence of different installed capacities on the processing process. The comprehensive consideration of the distance correlation degree includes using the Manhattan distance analysis method to calculate the distance similarity of the station group and calculate the distance d between two stations. ab :

[0110]

[0111] Among them, x a ,y b Represents two station objects, and the Manhattan distance D between all stations is:

[0112]

[0113] Normalized power information:

[0114]

[0115] Among them, P i represents the power output of the ith station, represents the average power output of the station, σ P Represents the standard deviation of power output and calculates the distance similarity S(i,j) of the station group:

[0116]

[0117] Among them, σ P is the standard deviation of power, P i (t) and P j (t) are the output power of stations i and j at time t, and are the average output powers of stations i and j respectively, and T is the length of the time series.

[0118] When 0.6≤S(i,j)≤1, it means that the similarity between the two stations is high.

[0119] When 0<S(i,j)<0.6, it means that the similarity between the two stations is low.

[0120] When S(i,j)=0, it means there is no similarity between the two sites.

[0121] The similarity identification of the curve shape correlation degree includes using an improved Pearson correlation coefficient analysis method to calculate the similarity of the power generation curve shapes of different stations:

[0122]

[0123] in, and are the average values ​​of f(x) and h(x), respectively. f(x) and h(x) are the power generation curve data of the two stations, respectively. Z is the set of data points.

[0124] When S(f,h)=-1, it means that the two curves are completely negatively correlated, and the two curves are in opposite directions but not similar.

[0125] When S(f,h)=0, it means that the two curves are completely unrelated and there is no relationship between the two curves.

[0126] When S(f,h)=1, it means that the two curves are completely positively correlated and the two curves are similar.

[0127] The Pearson correlation coefficient analysis result is used as a measure of the curve shape closeness, and then combined with the value closeness for comprehensive analysis, and the Manhattan distance principle is improved to obtain the final value similarity result:

[0128] S=e -S(i,j) ×S(f,h)

[0129] Among them, when 0.5<S≤1, as the value of S increases, the similarity between the two photovoltaic power stations is higher, and they are determined to be similar power stations. When 0<S≤0.5, as the value of S decreases, the similarity is lower, and they are determined to be dissimilar power stations.

[0130] It should also be noted that the distance similarity S(i,j) between two power stations and the close similarity S(f,h) of the power generation curves of different stations are used to calculate the closeness D of the power station power data:

[0131]

[0132] Among them, p ik and p jk are the power data of power stations i and j at time point k, p i and p j Represent the power data of the two power stations respectively, and construct the overall data similarity matrix S':

[0133] S' ij =[S ij ] n×n =[D(p i ,p j )] n×n

[0134] Among them, S' ij It is a similarity matrix. The two categories with high similarity and the closest affinity are merged as a new category. The number of categories is updated and the average linkage method is used to analyze and obtain the clustering results.

[0135] In addition, the average connection method is used to analyze the average distance between new classes. Let class D r It is composed of class D s and class D t The combined result is D r With another class D u The distance between s With D u The distance and D t With D u The average value of the distances is:

[0136]

[0137] Update the similarity matrix:

[0138]

[0139] When all categories are clustered into one category, the number of categories is determined and the clustering results of the similarity matrix are obtained. According to the clustering results of similar power stations, the meteorological data, measured power and startup capacity of similar stations at the time of repair are input as input values ​​into the offline data correction model.

[0140] S3: Establish an offline data correction model, input the clustering result data of similar power stations as training samples into the data correction model for correction, and obtain the correction result of the actually measured power data at the time of repair.

[0141] Furthermore, historical data of similar stations are selected as feature values, wherein the feature values ​​include historical meteorological data, historical measured power PS', and historical startup capacity CS' of similar power stations, and data preprocessing is performed, and missing data is filled with zeros to obtain the input feature value XT = [ES, TS, RHS, PS', CS'], and the measured power of the station to be predicted at the corresponding time is used as the output YT. The input feature values ​​and the output constitute the training sample data C = (XT, YT).

[0142] The data prediction model F(XT) based on deep neural network is constructed as follows:

[0143]

[0144] Where N represents the dimension of different meteorological or power characteristics, λ i and represents the feature range after data preprocessing, g(XT,σ) is the Gaussian function for data smoothing and information filtering, and μ g and σ g are the mean and standard deviation of the Gaussian function, M represents the number of historical data of multiple similar power plants, and B mis the historical power data of the mth similar power station, K represents the number of hidden layer nodes of the neural network, where the hidden layer is 32 layers, the input unit is 5, and g k is the weight of the kth hidden layer node, XT k is the kth component of the input eigenvalue XT.

[0145] Bring the training sample data C into the model, perform offline model training, and continuously optimize to obtain the final offline data correction model

[0146]

[0147] According to the clustering results after determining the power stations with similar weather conditions and similar power stations, the meteorological data, measured power, and startup capacity of similar power stations at the time of repair are used as input values ​​for correction to obtain the correction result of the measured power at the time of repair, where B base is the base power, L represents the number of input eigenvalues, σ l represents the standard deviation of the lth component.

[0148] 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.

[0149] Example 2

[0150] An embodiment of the present invention provides a method for repairing power at abnormal times based on multiple photovoltaic stations. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through experiments.

[0151] The experiment selected five photovoltaic power stations in different geographical locations as research objects, namely power stations A, B, C, D, and E. These power stations are located in different geographical environments and have different installed capacities and historical power output data.

[0152] The first step of the experiment is to collect meteorological data (total horizontal irradiation ES, ambient temperature TS, ambient humidity RHS), power data (measured power PS, historical power output data), and startup capacity (number and model of photovoltaic modules, actual operating capacity, actual startup capacity CS) of each power station. These data are used to build an offline data correction model.

[0153] Next, a fuzzy clustering algorithm with improved similarity was used to identify similar power stations. This involved calculating the distance between each power station and the center point of the station cluster, as well as calculating the relative error of the distance between two power stations. In this way, power stations with similar weather conditions to the power station to be repaired were identified.

[0154] Finally, a deep neural network is used to build an offline data correction model, which uses historical data of similar power plants as feature values ​​to correct the measured power of the power plant to be repaired.

[0155] Table 1

[0156]

[0157] It can be seen from the experimental results that the power repair method at abnormal moments based on multiple photovoltaic stations proposed in the present invention can effectively improve the estimation accuracy of the power output of photovoltaic power stations, especially when the abnormal moments include adverse meteorological conditions or equipment failures. The present invention is crucial to ensure the accuracy and reliability of power output; in the actual operation of photovoltaic power stations, due to the influence of various factors, the measured power may be lower than expected. Through the correction method, the estimated value of power output can be improved to be closer to the true value, thereby improving the operating efficiency and energy management of photovoltaic power stations; although the improvement of a single correction value may not seem large, in long-term operation, these small improvements will accumulate and bring significant benefits. More accurate power output estimates can help power stations better plan energy production, optimize grid operation, and reduce operating costs.

[0158] 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.

[0159] Example 3

[0160] The third embodiment of the present invention is different from the first two embodiments in that:

[0161] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0162] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0163] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0164] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0165] Example 4

[0166] Reference Figure 4 , which is the fourth embodiment of the present invention, provides an abnormal moment power repair system based on multiple photovoltaic stations, including a data acquisition module, a similar power station determination module and a data correction module.

[0167] The data acquisition module collects data of similar stations at the time of repair, including meteorological data, power data, startup capacity, and obtains the geographical coordinates of each photovoltaic power station.

[0168] The similar power station determination module includes a similar weather condition power station determination unit, a similar power station determination unit and a clustering unit.

[0169] The power station determination unit under similar weather conditions includes obtaining the longitude and latitude coordinates of each photovoltaic station, regarding the multiple station groups composed of these coordinates as an irregular polygonal figure, and then dividing the polygon into finite triangles, respectively calculating the center coordinates and area of ​​each triangle, and then the weighted average position of the centers of these triangles is the center of the polygon, and finally calculating the distance between each photovoltaic station and the center point, and comparing it with the distance similarity threshold, and two photovoltaic stations whose similarity is within the threshold are selected as similar power stations.

[0170] The similar power station determination unit includes using the Manhattan distance analysis method to calculate the similarity of the distance between the station groups, using the Pearson correlation coefficient analysis method to calculate the similarity of the shapes of power generation curves of different stations, integrating the two analysis methods, and calculating the affinity of the power station power data according to the clustering unit, constructing a similarity matrix, and obtaining a clustering result.

[0171] The data correction module establishes an offline data correction model, selects historical data of similar stations as feature values ​​and inputs them into the data prediction model constructed by the deep neural network algorithm, brings in training sample data to complete model training, and inputs the meteorological data, measured power, and startup capacity of similar stations at the time of repair as input values ​​into the offline data correction model to obtain the measured power data correction result at that moment.

[0172] 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 repairing power at abnormal times based on multiple photovoltaic stations, characterized in that: include, Collect data of similar stations at the time of repair and obtain the geographical coordinates of each PV plant; Identify PV plants with similar weather conditions and use a fuzzy clustering algorithm with improved similarity to identify similar plants; An offline data correction model is established, and the clustering result data of similar power stations are used as training samples to input the data correction model for correction, so as to obtain the correction result of the actually measured power data at the time of repair.

2. The method for repairing power at abnormal times based on multiple photovoltaic stations according to claim 1, characterized in that: The data collected from similar stations at the time of repair include meteorological data, power data, startup capacity, and longitude and latitude information; The meteorological data include total horizontal radiation ES, ambient temperature TS, and ambient humidity RHS; The power data includes the measured power PS, the historical power output data of each photovoltaic power station, and the real-time and historical load data; The startup capacity includes the number and model of photovoltaic modules, the actual operating capacity and the actual startup capacity CS.

3. A method for repairing power at abnormal times based on multiple photovoltaic stations as claimed in claim 2, characterized in that: The method of determining the photovoltaic power plants with similar weather conditions includes obtaining the geographical location coordinates of each photovoltaic power plant, using the station A1 (x1, y1), A2 (x2, y2), A3 (x3, y3), ..., A n (x n ,y n ) are marked, and the single stations with marked coordinates are organized into an irregular polygonal station group, and the polygon is divided into A1A2A3, A1A2A4, A2A3A4, ..., A n+1 A n-1 A n The calculation formula of the triangle center point G(x,y) is: G(x,y)=((x a +x b +x c ) / 3,(and a +y b +y c ) / 3) Among them, x a 、x b 、x c are the longitude coordinates of the x-axis of the three stations, and y a ,y b ,y c are the latitude coordinates of the y-axis of the three stations; Solve the area of ​​each triangle figure, the calculation formula of the triangle area S(x,y) is: Through the calculated triangle center point G and area S, the weighted average of the triangle center point is used to obtain the center coordinates of the entire photovoltaic station group. The center of the polygon is set to point P (x, y): Where n is the number of photovoltaic power stations in the station group; Calculate the distance between each PV station and the center point of the station group, station A1 (x1, y1), A2 (x2, y2), A3 (x3, y3), ..., A n (x n ,y n ), respectively, the distance d i Solve, the calculation formula is: Calculate the relative distance error Δ between every two power stations: Among them, κ is the amplification factor, i and j are the indices of the power station, representing different power stations respectively; If Δ is less than or equal to 1%, the relative error of the distance between the power stations is small, and the weather conditions of the two power stations are considered to be similar, and they are determined to be power stations with similar weather conditions. If Δ is greater than 1%, the relative error of the distance between the power stations is large, and they are power stations with dissimilar weather conditions.

4. A method for repairing power at abnormal times based on multiple photovoltaic stations as claimed in claim 3, characterized in that: The determining of similar power stations includes clustering multiple power stations in a region using a fuzzy clustering algorithm with improved similarity, and determining similar power stations by calculating affinity through a similarity recognition method that comprehensively considers the distance correlation degree and the curve shape correlation degree; Standardize the output power information of the power station to avoid the influence of different installed capacities on the processing process. The comprehensive consideration of the distance correlation degree includes using the Manhattan distance analysis method to calculate the distance similarity of the station group and calculate the distance d between two stations. ab : Among them, x a ,y b Represents two station objects, and the Manhattan distance D between all stations is: Normalized power information: Among them, P i represents the power output of the ith station, represents the average power output of the station, σ P Represents the standard deviation of power output and calculates the distance similarity S(i,j) of the station group: Among them, σ P is the standard deviation of power, P i (t) and P j (t) are the output power of stations i and j at time t, and are the average output powers of stations i and j respectively, and T is the length of the time series; When 0.6≤S(i,j)≤1, it means that the similarity between the two stations is high; When 0<S(i,j)<0.6, it means that the similarity between the two stations is low; When S(i,j) = 0, it means that there is no similarity between the two sites; The similarity identification of the curve shape correlation degree includes using an improved Pearson correlation coefficient analysis method to calculate the similarity of the power generation curve shapes of different stations: in, and are the average values ​​of f(x) and h(x), respectively. f(x) and h(x) are the power generation curve data of the two stations, respectively. Z is the set of data points. When S(f,h) = -1, it means that the two curves are completely negatively correlated, and the two curves are in opposite directions but not similar; When S(f,h)=0, it means that the two curves are completely unrelated and there is no relationship between the two curves; When S(f,h)=1, it means that the two curves are completely positively correlated and the two curves are similar; The Pearson correlation coefficient analysis result is used as a measure of the curve shape closeness, and then combined with the value closeness for comprehensive analysis, and the Manhattan distance principle is improved to obtain the final value similarity result: S=e -S(i,j) ×S(f,h) Among them, when 0.5<S≤1, as the value of S increases, the similarity between the two photovoltaic power stations is higher, and they are determined to be similar power stations. When 0<S≤0.5, as the value of S decreases, the similarity is lower, and they are determined to be dissimilar power stations.

5. The method for repairing power at abnormal times based on multiple photovoltaic stations according to claim 4, characterized in that: The calculation of affinity includes calculating the distance similarity S(i, j) between two power stations and the close similarity S(f, h) of the power generation curve shapes of different stations to calculate the affinity D of the power station power data: Among them, p ik and p jk are the power data of power stations i and j at time point k, p i and p j Represent the power data of the two power stations respectively, and construct the overall data similarity matrix S': S' ij =[S ij ] n×n =[D(p i ,p j )] n×n Among them, S' ij It is a similarity matrix. The two categories with high similarity and the closest affinity are merged as a new category. The number of categories is updated and the average linkage method is used to analyze and obtain the clustering results.

6. A method for repairing power at abnormal times based on multiple photovoltaic stations as claimed in claim 5, characterized in that: The average linkage method analysis includes analyzing the average distance between new classes by using the average linkage method. Let class D r It is composed of class D s and class D t The combined result is D r With another class D u The distance between s With D u The distance and D t With D u The average value of the distances is: Update the similarity matrix: When all categories are clustered into one category, the number of categories is determined and the clustering results of the similarity matrix are obtained. According to the clustering results of similar power stations, the meteorological data, measured power and startup capacity of similar stations at the time of repair are input as input values ​​into the offline data correction model.

7. A method for repairing power at abnormal times based on multiple photovoltaic stations as claimed in claim 6, characterized in that: The establishment of the offline data correction model includes selecting historical data of similar stations as characteristic values, wherein the characteristic values ​​include historical meteorological data of similar power stations, historical measured power PS', and historical startup capacity CS', and performing data preprocessing, filling missing data with zeros, and obtaining input characteristic values ​​XT = [ES, TS, RHS, PS', CS'], and taking the measured power of the station to be predicted at the corresponding time as the output quantity YT, and the input characteristic values ​​and the output quantity constitute training sample data C = (XT, YT); The data prediction model F(XT) based on deep neural network is constructed as follows: Where N represents the dimension of different meteorological or power characteristics, λ i and represents the feature range after data preprocessing, g(XT,σ) is the Gaussian function for data smoothing and information filtering, and μ g and σ g are the mean and standard deviation of the Gaussian function, M represents the number of historical data of multiple similar power plants, and B m is the historical power data of the mth similar power station, K represents the number of hidden layer nodes of the neural network, where the hidden layer is 32 layers, and g k is the weight of the kth hidden layer node, XT k is the kth component of the input eigenvalue XT; Bring the training sample data C into the model, perform offline model training, and continuously optimize to obtain the final offline data correction model According to the clustering results after determining the power stations with similar weather conditions and similar power stations, the meteorological data, measured power, and startup capacity of similar power stations at the time of repair are used as input values ​​for correction to obtain the correction result of the measured power at the time of repair, where B base is the base power, L represents the number of input eigenvalues, σ l represents the standard deviation of the lth component.

8. A system using a method for repairing power at abnormal times based on multiple photovoltaic stations as claimed in any one of claims 1 to 7, characterized in that: It includes a data acquisition module, a similar power station determination module and a data correction module; The data acquisition module collects data of similar stations at the time of repair, including meteorological data, power data, startup capacity, and obtains the geographical coordinates of each photovoltaic power station; The similar power station determination module includes a similar weather condition power station determination unit, a similar power station determination unit and a clustering unit. The photovoltaic power stations with similar weather conditions are determined according to the similar weather condition power station determination unit. The Manhattan distance analysis method is used to calculate the similarity of the distance of the station group according to the similar power station determination unit. The similarity of the shapes of power generation curves of different stations is calculated using the Pearson correlation coefficient analysis method. The two analysis methods are integrated, and the affinity of the power station power data is calculated according to the clustering unit to construct a similarity matrix to obtain a clustering result. The data correction module establishes an offline data correction model, selects historical data of similar stations as feature values ​​and inputs them into a data prediction model constructed by a deep neural network algorithm, brings in training sample data to complete model training, and inputs meteorological data, measured power, and startup capacity of similar stations at the time to be repaired as input values ​​into the offline data correction model to obtain the measured power data correction result at that moment.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Photovoltaic module ash deposition grade evaluation method

    CN119647787A

  • A method for evaluating the dust accumulation level of a photovoltaic module

    CN119647787B

  • New energy power station intelligent operation and maintenance scheduling and resource optimization method and system

    CN120764969A

  • A new energy power station intelligent operation and maintenance scheduling and resource optimization method and system

    CN120764969B