Photovoltaic power generation power prediction method and device and photovoltaic power generation model construction method and device

By adjusting and clustering environmental monitoring data, constructing an environmental status queue and inputting into the prediction model, the problem of large data volume and over-fitting in the construction of photovoltaic power prediction model is solved, and the prediction accuracy and model stability are improved.

CN118568528AInactive Publication Date: 2024-08-30HENGSHUI ELECTRIC POWER DESIGN CO LTD +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410440764.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The construction of existing photovoltaic power generation power prediction models requires a large amount of sample data and highly skilled personnel, and is prone to overfitting, resulting in inaccurate prediction results.

Method used

By acquiring multiple environmental monitoring data sets, adjusting the data according to the degree of influence of influencing factors, finding the closest standard data set, building an environmental status queue, and inputting the prediction model to obtain the photovoltaic power generation prediction value, reducing noise data and abnormal data influence and improve prediction accuracy.

Benefits of technology

The accuracy of photovoltaic power generation prediction is significantly improved, the initial investment and skill requirements are reduced, and the risk of over-fitting is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568528A
    Figure CN118568528A
Patent Text Reader

Abstract

The invention provides a photovoltaic power generation power prediction method and device and a photovoltaic power generation model construction method and device, and relates to the technical field of new energy power generation prediction. According to the photovoltaic power generation power prediction implementation mode, after environment monitoring data is processed according to the influence of factors on power generation power, the identification of the closest standard environment monitoring data set is found, and fusion data containing time-varying characteristics are constructed; the photovoltaic power generation power is predicted according to the environment shape queue, the influence of noise data and abnormal data on power generation power prediction can be remarkably reduced, and the accuracy of a prediction result is improved. According to the model construction implementation mode, the number of sample data used in the earlier stage is small, excessive parameter setting is not needed, therefore, earlier-stage investment is small, the requirement for the skill of personnel is low, and meanwhile, due to the fact that noise weakening processing is conducted on the data, the over-fitting risk is small.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of renewable energy power generation prediction, and in particular to a photovoltaic power generation power prediction and model building method and device. Background Art

[0002] Photovoltaic power generation prediction is a technology based on data analysis and model prediction. It predicts the power generation of photovoltaic power stations in the future through comprehensive analysis of historical data, weather data, power station parameters and other information. Accurate power generation prediction data can provide an important basis for the optimized operation of power stations.

[0003] The related art provides a variety of photovoltaic power prediction methods, for example, a photovoltaic power prediction method based on artificial neural network, which uses a large amount of sample data to train the artificial neural network so that the artificial neural network can more accurately fit the relationship between factor data and power generation, thereby establishing a photovoltaic power prediction model. When this model is used, as long as the environmental monitoring data is input into the model, the photovoltaic power prediction value can be obtained.

[0004] The photovoltaic power prediction model constructed by artificial neural network needs to obtain a large number of samples at the beginning of construction, and also needs to reasonably set multiple parameters of artificial neural network, such as the number of hidden layers, the number of nodes, and the initial values ​​of parameters. The initial investment of model construction is large, and the skills of relevant technical personnel are high. This prediction model is also prone to the risk of overfitting. In other words, although it is proved that the prediction of samples will get good prediction results, once it is put into practice, it will be found that the model cannot achieve the accuracy of sample testing.

[0005] Based on this, it is necessary to develop a method for photovoltaic power generation prediction and prediction model construction. Summary of the invention

[0006] The embodiments of the present invention provide a photovoltaic power generation power prediction and model building method and device to solve the problem of inaccurate photovoltaic power generation power prediction results in the prior art.

[0007] In a first aspect, an embodiment of the present invention provides a photovoltaic power generation power prediction method, comprising:

[0008] Acquire multiple first environmental monitoring data sets, wherein the first environmental monitoring data sets include multiple factor data affecting photovoltaic power generation;

[0009] According to the degree of influence of the influencing factors on the photovoltaic power generation, the factor data in each first environmental monitoring data set is adjusted to obtain a plurality of second environmental monitoring data sets;

[0010] For each of the plurality of second environment monitoring data sets, find the closest data set from the plurality of standard environment monitoring data sets as the first target data set, and arrange the identifiers of the plurality of first target data sets to obtain a first environment state queue;

[0011] The first environmental state queue is input into a photovoltaic power generation power prediction model to obtain a photovoltaic power generation power prediction value.

[0012] In a second aspect, an embodiment of the present invention provides a method for constructing a photovoltaic power generation power prediction model, comprising:

[0013] Acquire a photovoltaic power generation queue and a plurality of first environment monitoring data queues, wherein the photovoltaic power generation queue and the first environment monitoring data queue are respectively acquired according to predetermined time nodes;

[0014] Determine a plurality of influence coefficients according to the plurality of first environmental monitoring data queues and the photovoltaic power generation queue, and adjust the distribution intervals of the plurality of first environmental monitoring data queues according to the first preset interval and the plurality of influence coefficients, so as to obtain a plurality of second environmental monitoring data queues, wherein the influence coefficient represents the degree of influence of environmental factors on photovoltaic power generation;

[0015] Constructing a first environmental monitoring data sample set according to the data belonging to the same time node extracted from the plurality of second environmental monitoring data queues, thereby obtaining a plurality of first environmental monitoring data sample sets, clustering the plurality of first environmental monitoring data sample sets to obtain a plurality of sample classes, constructing a plurality of standard environmental monitoring data sets according to the class centers of the plurality of sample classes, and assigning identifiers to the plurality of standard environmental monitoring data sets respectively;

[0016] For each sample set in the multiple first environmental monitoring data sample sets, find the closest data set from the multiple standard environmental monitoring data sets as the second target data set, and arrange the identifiers of the multiple second target data sets to obtain a second environmental state queue, and construct a photovoltaic power generation power prediction model based on the second environmental state queue and the photovoltaic power generation power queue.

[0017] In a possible implementation, the determining of multiple influence coefficients according to the multiple first environment monitoring data queues and the photovoltaic power generation power queue, and adjusting the distribution intervals of the multiple first environment monitoring data queues according to the first preset interval and the multiple influence coefficients, thereby obtaining multiple second environment monitoring data queues, includes:

[0018] For each first environment monitoring data queue in the plurality of first environment monitoring data pairs, the following steps are performed respectively:

[0019] Calculating a correlation coefficient between the first environmental monitoring data queue and the photovoltaic power generation power queue as an influence coefficient;

[0020] Obtain a target maximum value and a target minimum value, and perform interval processing on the first environment monitoring data queue according to the target maximum value and the target minimum value to obtain a third environment monitoring data queue, wherein the data in the third environment monitoring data queue are all within the first preset interval, and the target maximum value and the target minimum value are respectively the maximum value and the minimum value of the data in the multiple first environment monitoring data queues;

[0021] The products of the multiple data in the third environment monitoring data queue and the influence coefficient are calculated respectively, and a second environment monitoring data queue is constructed according to the obtained multiple products.

[0022] In a possible implementation, the calculating the correlation coefficient between the first environment monitoring data queue and the photovoltaic power generation power queue includes:

[0023] The correlation coefficient between the first environment monitoring data queue and the photovoltaic power generation power queue is calculated according to the first formula, wherein the first formula is:

[0024]

[0025] Wherein, Relation is the correlation coefficient, EQ1(qn) is the qnth data of the first environmental monitoring data queue, SGQ(qn) is the qnth data of the photovoltaic power generation queue, and qn_max is the total number of data in the first environmental monitoring data queue.

[0026] In a possible implementation, the performing interval processing on the first environment monitoring data queue according to the target maximum value and the target minimum value to obtain the third environment monitoring data queue includes:

[0027] The first environment monitoring data queue is processed into intervals using the second formula to obtain a third environment monitoring data queue, wherein the second formula is:

[0028]

[0029] Where, EQ3(qn) is the qnth data of the third environmental monitoring data queue, ITV max is the upper limit of the first preset interval, ITV min is the lower limit of the first preset interval, EQ1(qn) is the qnth data of the first environment monitoring data queue, DAT max is the target maximum value, DAT min is the target minimum value.

[0030] In a possible implementation, clustering the plurality of first environment monitoring data sample sets to obtain a plurality of sample classes includes:

[0031] Get the distance threshold;

[0032] A sample set is randomly extracted from the unclustered first environmental monitoring data sample set as the target data set;

[0033] Searching in the unclustered first environment monitoring data sample set for a first environment monitoring data sample set whose distance to the target data set is less than the distance threshold;

[0034] If there is a first environment monitoring data sample set whose distance from the target data set is less than the distance threshold, then the first environment monitoring data sample set whose distance from the target data set is less than the distance threshold is added to the class where the target data set is located, and the first environment monitoring data sample set whose distance from the target data set is less than the distance threshold is used as the target data set, and the process jumps to searching the first environment monitoring data sample set whose distance from the target data set is less than the distance threshold in the unclustered first environment monitoring data sample set;

[0035] Otherwise, if there is an unclustered first environment monitoring data sample set, the process jumps to the step of randomly extracting a sample set from the unclustered first environment monitoring data sample set as the target data set.

[0036] In a possible implementation, before constructing a plurality of standard environmental monitoring data sets according to the class centers of the plurality of sample classes, the method includes:

[0037] Get the noise class ratio value;

[0038] Extracting a target sample class from the multiple sample classes, wherein the target sample class is the class with the largest data set among the multiple sample classes;

[0039] From the multiple sample classes, sample classes whose number of data sets is less than a target number are eliminated, wherein the target number is a number determined by multiplying the total number of data sets of the target sample class by the noise class ratio value.

[0040] In a possible implementation, constructing a photovoltaic power generation prediction model according to the second environmental state queue and the photovoltaic power generation queue includes:

[0041] Get the segment length and predicted duration;

[0042] Cutting the second environment state queue according to the segment length to obtain a plurality of environment state vectors;

[0043] Extracting the power generation value corresponding to each of the multiple environmental state vectors according to the predicted duration and the photovoltaic power generation queue, thereby obtaining multiple power generation values, wherein the power generation value is the average value of multiple photovoltaic power generation data corresponding to the target time period in the photovoltaic power generation queue, and the target time period is a time period connected to the end time node of the environmental state vector and having a length of the predicted duration;

[0044] The photovoltaic power generation prediction model is constructed according to the multiple environmental state vectors and the multiple power generation values.

[0045] In a possible implementation, the multiple first environment monitoring data queues include: a light intensity data queue, a temperature data queue, and a wind speed data queue, and constructing the photovoltaic power generation prediction model according to the multiple environmental state vectors and the multiple power generation values ​​includes:

[0046] Solving multiple parameters of a photovoltaic power generation prediction basic model according to the multiple environmental state vectors and the multiple power generation values ​​to obtain the photovoltaic power generation prediction model, wherein the photovoltaic power generation prediction basic model is:

[0047]

[0048] Where SF is the predicted value of photovoltaic power generation, indx_max is the total index number, W indx is the indxth first parameter, Factor is the joint factor, W fn is the fnth second parameter, fn_max is the total number of elements in the environment state vector, factor(fn) is the fnth element in the environment state vector, c1 is the first constant parameter, and c2 is the second constant parameter.

[0049] In a third aspect, an embodiment of the present invention provides a photovoltaic power generation prediction model construction device, which is used to implement the photovoltaic power generation prediction model construction method as described in the second aspect, and the photovoltaic power generation prediction model construction device includes:

[0050] A monitoring data acquisition module, used to acquire a photovoltaic power generation queue and a plurality of first environment monitoring data queues, wherein the photovoltaic power generation queue and the first environment monitoring data queue are respectively acquired according to predetermined time nodes;

[0051] A data preprocessing module, used to determine a plurality of influence coefficients according to the plurality of first environmental monitoring data queues and the photovoltaic power generation queue, and adjust the distribution intervals of the plurality of first environmental monitoring data queues according to a first preset interval and the plurality of influence coefficients, so as to obtain a plurality of second environmental monitoring data queues, wherein the influence coefficient represents the degree of influence of environmental factors on photovoltaic power generation;

[0052] A standard data construction module, configured to construct a first environment monitoring data sample set according to data belonging to the same time node extracted from the plurality of second environment monitoring data queues, thereby obtaining a plurality of first environment monitoring data sample sets, clustering the plurality of first environment monitoring data sample sets to obtain a plurality of sample classes, constructing a plurality of standard environment monitoring data sets according to class centers of the plurality of sample classes, and assigning identifiers to the plurality of standard environment monitoring data sets respectively;

[0053] as well as,

[0054] A model building module is used to find the closest data set from the multiple standard environmental monitoring data sets as the second target data set for each sample set in the multiple first environmental monitoring data sample sets, and arrange the identifiers of the multiple second target data sets to obtain a second environmental state queue, and build a photovoltaic power generation power prediction model based on the second environmental state queue and the photovoltaic power generation power queue.

[0055] The beneficial effects of the embodiments of the present invention compared with the prior art are as follows:

[0056] The present invention provides a photovoltaic power generation prediction and model construction method and device, which first obtains multiple first environmental monitoring data sets, wherein the first environmental monitoring data set includes multiple factor data affecting photovoltaic power generation; then, according to the degree of influence of the influencing factors on the photovoltaic power generation, the factor data in each first environmental monitoring data set is adjusted to obtain multiple second environmental monitoring data sets; then, for each data set in the multiple second environmental monitoring data sets, the closest data set is found from multiple standard environmental monitoring data sets as the first target data set, and the identifiers of the multiple first target data sets are arranged to obtain a first environmental state queue; finally, the first environmental state queue is input into a photovoltaic power generation prediction model to obtain a photovoltaic power generation prediction value. The embodiment of the present invention processes the environmental monitoring data according to the influence of the factors on the power generation, and finds the identifier of the closest standard environmental monitoring data set to construct a fusion data containing time-varying characteristics: an environmental state queue. The photovoltaic power generation is predicted according to the environmental state queue, which can significantly reduce the influence of noise data and abnormal data on the power generation prediction and improve the accuracy of the prediction result. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0058] Figure 1 is a flow chart of the photovoltaic power prediction method provided by the embodiment of the present invention;

[0059] Figure 2 It is a flow chart of the implementation of the photovoltaic power generation prediction model construction method provided by the embodiment of the present invention;

[0060] Figure 3 It is a principle diagram of a process for obtaining multiple power generation values ​​provided by an embodiment of the present invention;

[0061] Figure 4 It is a structural schematic diagram of a photovoltaic power generation power prediction model building device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0062] In the following description, specific details such as specific system structures and techniques are provided for the purpose of illustration rather than limitation so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary details.

[0063] In order to make the purpose, technical solutions and advantages of the present invention more clear, a specific implementation method will be described below in conjunction with the accompanying drawings.

[0064] Figure 1 The implementation flow chart of the photovoltaic power generation prediction method provided by the embodiment of the present invention is detailed as follows:

[0065] Step 101, obtaining a plurality of first environmental monitoring data sets, wherein the first environmental monitoring data sets include a plurality of factor data affecting photovoltaic power generation;

[0066] Step 102, adjusting the factor data in each first environmental monitoring data set according to the degree of influence of the influencing factor on the photovoltaic power generation, thereby obtaining a plurality of second environmental monitoring data sets;

[0067] Step 103, for each of the plurality of second environment monitoring data sets, find the closest data set from the plurality of standard environment monitoring data sets as the first target data set, and arrange the identifiers of the plurality of first target data sets to obtain a first environment state queue;

[0068] Step 104: input the first environmental state queue into a photovoltaic power generation prediction model to obtain a photovoltaic power generation prediction value.

[0069] Exemplarily, in an embodiment of the present invention, photovoltaic power generation prediction is achieved by processing the acquired monitoring data set and inputting it into a photovoltaic power generation prediction model. Among them, the monitoring data set is constructed based on multiple factor data acquired at the same time node. For example, in an application scenario, the first environmental monitoring data set includes light intensity data, temperature data, wind speed data, and light angle data. The first environmental monitoring data set is a plurality of first environmental monitoring data sets obtained in sequence according to the order of time nodes.

[0070] Due to the fact that the factor data has various effects on photovoltaic power generation, for example, the cumulative amount, change amount and current amount of the factor data will all affect the photovoltaic power generation. If the effect of time is considered, multiple first monitoring data sets are input into the model to obtain the photovoltaic power generation prediction value, then the amount of data will be quite large, which brings great difficulties to the construction and use of the model. Therefore, in the implementation of the present invention, multiple environmental monitoring data sets are fused to form a fused data.

[0071] The embodiment of the present invention adjusts the data in the environmental monitoring data set according to the influence of different factor data on photovoltaic power generation power, so that the adjusted data distribution interval is proportional to the influence on photovoltaic power generation power, and the adjusted data set is used as the second environmental monitoring data set.

[0072] Each second environmental monitoring data set is compared with the standard environmental monitoring data set for similarity to find the closest standard environmental monitoring data set, and the identifier of the closest standard environmental monitoring data set is obtained, thus obtaining multiple identifiers. These identifiers are arranged in sequence according to the order of time nodes to obtain the environmental state queue (fused data). The queue is input into the model to obtain the predicted value of photovoltaic power generation.

[0073] This involves a standard environmental monitoring data set, as well as adjusting the first environmental monitoring data set so that the adjusted data distribution interval is proportional to the impact on photovoltaic power generation (see step 202 for the process), which is discussed in detail in the second aspect of the implementation of the present invention.

[0074] Figure 2This is a flow chart for implementing a photovoltaic power prediction model construction method provided in the second aspect of an implementation manner of the present invention.

[0075] Step 201 : obtaining a photovoltaic power generation queue and a plurality of first environment monitoring data queues, wherein the photovoltaic power generation queue and the first environment monitoring data queue are respectively collected and obtained according to predetermined time nodes.

[0076] Step 202, determine multiple influence coefficients based on the multiple first environmental monitoring data queues and the photovoltaic power generation power queue, and adjust the distribution intervals of the multiple first environmental monitoring data queues according to the first preset interval and the multiple influence coefficients, so as to obtain multiple second environmental monitoring data queues, wherein the influence coefficient characterizes the degree of influence of environmental factors on photovoltaic power generation power.

[0077] In some implementations, step 202 includes:

[0078] For each first environment monitoring data queue in the plurality of first environment monitoring data pairs, the following steps are performed respectively:

[0079] Calculating a correlation coefficient between the first environmental monitoring data queue and the photovoltaic power generation power queue as an influence coefficient;

[0080] Obtain a target maximum value and a target minimum value, and perform interval processing on the first environment monitoring data queue according to the target maximum value and the target minimum value to obtain a third environment monitoring data queue, wherein the data in the third environment monitoring data queue are all within the first preset interval, and the target maximum value and the target minimum value are respectively the maximum value and the minimum value of the data in the multiple first environment monitoring data queues;

[0081] The products of the multiple data in the third environment monitoring data queue and the influence coefficient are calculated respectively, and a second environment monitoring data queue is constructed according to the obtained multiple products.

[0082] The calculating of the correlation coefficient between the first environment monitoring data queue and the photovoltaic power generation power queue includes:

[0083] The correlation coefficient between the first environment monitoring data queue and the photovoltaic power generation power queue is calculated according to the first formula, wherein the first formula is:

[0084]

[0085] Wherein, Relation is the correlation coefficient, EQ1(qn) is the qnth data of the first environmental monitoring data queue, SGQ(qn) is the qnth data of the photovoltaic power generation queue, and qn_max is the total number of data in the first environmental monitoring data queue.

[0086] The step of performing interval processing on the first environment monitoring data queue according to the target maximum value and the target minimum value to obtain a third environment monitoring data queue includes:

[0087] The first environment monitoring data queue is processed into intervals using the second formula to obtain a third environment monitoring data queue, wherein the second formula is:

[0088]

[0089] Where, EQ3(qn) is the qnth data of the third environmental monitoring data queue, ITV max is the upper limit of the first preset interval, ITV min is the lower limit of the first preset interval, EQ1(qn) is the qnth data of the first environment monitoring data queue, DAT max is the target maximum value, DAT min is the target minimum value.

[0090] Exemplarily, in the embodiment of the present invention, the photovoltaic power generation queue and the multiple first environment monitoring data queues are obtained based on the same multiple time nodes, for example, the time interval from 14:00 to 16:00 is divided into 1000 time nodes. The power generation data obtained at each time node are arranged in sequence to form a power generation queue, the light intensity data obtained at each time node are arranged in sequence to form a light intensity monitoring data queue, and the temperature data obtained at each time node are arranged in sequence to form a temperature monitoring data queue.

[0091] As mentioned above, different monitoring factors have different influences on photovoltaic power generation, and the distribution intervals of monitoring data are also different. Adjusting the distribution intervals of monitoring data according to the influence will facilitate the subsequent data fusion process and improve the accuracy of the model. (This is because the implementation method of the present invention fuses data by clustering, identifying the class center, and using identification codes. If the influence preprocessing is not performed, data with different influences may be clustered into the same class, causing data deviation).

[0092] To achieve the above purpose, the implementation method of the present invention first determines the influence of the influencing factors on the photovoltaic power generation. In some use scenarios, the influence is determined according to the correlation coefficient between the environmental monitoring data queue and the photovoltaic power generation queue. The implementation method of this aspect uses the first formula to determine the correlation coefficient. The first formula is:

[0093]

[0094] Wherein, Relation is the correlation coefficient, EQ1(qn) is the qnth data of the first environmental monitoring data queue, SGQ(qn) is the qnth data of the photovoltaic power generation queue, and qn_max is the total number of data in the first environmental monitoring data queue.

[0095] Then, the distribution interval of the first environmental monitoring data queue is adjusted according to the correlation coefficient. Obviously, the greater the influence, the wider the distribution interval of the influencing factor, and vice versa. The distribution interval is narrower. The present invention also sets a standard distribution interval, that is, the first preset interval. The first environmental monitoring data is processed according to the first preset interval to obtain the third environmental monitoring data queue. In an application scenario, the second formula is used to obtain the third environmental monitoring data queue. The second formula is:

[0096]

[0097] Where, EQ3(qn) is the qnth data of the third environmental monitoring data queue, ITV max is the upper limit of the first preset interval, ITV min is the lower limit of the first preset interval, EQ1(qn) is the qnth data of the first environment monitoring data queue, DAT max is the target maximum value, DAT min is the target minimum value.

[0098] The data in the third environment monitoring data queue are multiplied by the correlation coefficients to obtain the second environment monitoring data queue.

[0099] Regarding the first aspect of adjusting the first environmental monitoring data set to generate the second environmental monitoring data set, the data in the first environmental monitoring data set can be input into the second formula as the data in the first environmental monitoring data queue in the second formula using the second formula as described above, and the result obtained is the data corresponding to the second environmental monitoring data set.

[0100] The implementation mode of the present invention processes the first environmental monitoring data queue according to the influence degree of the monitoring factors on the power generation power, so that during the subsequent clustering, the data sets with similar influence degree on the power generation power can be clustered into one class. That is to say, the clustering result reflects the influence degree on the power generation power, and the clustering data deviation is smaller, which is conducive to improving the accuracy of the model.

[0101] Step 203, constructing a first environmental monitoring data sample set based on the data belonging to the same time node extracted from the multiple second environmental monitoring data queues, thereby obtaining multiple first environmental monitoring data sample sets, clustering the multiple first environmental monitoring data sample sets to obtain multiple sample classes, constructing multiple standard environmental monitoring data sets based on the class centers of the multiple sample classes, and assigning identifiers to the multiple standard environmental monitoring data sets respectively.

[0102] In some implementations, clustering the plurality of first environment monitoring data sample sets to obtain a plurality of sample classes includes:

[0103] Get the distance threshold;

[0104] A sample set is randomly extracted from the unclustered first environmental monitoring data sample set as the target data set;

[0105] Searching in the unclustered first environment monitoring data sample set for a first environment monitoring data sample set whose distance to the target data set is less than the distance threshold;

[0106] If there is a first environment monitoring data sample set whose distance from the target data set is less than the distance threshold, then the first environment monitoring data sample set whose distance from the target data set is less than the distance threshold is added to the class where the target data set is located, and the first environment monitoring data sample set whose distance from the target data set is less than the distance threshold is used as the target data set, and the process jumps to searching the first environment monitoring data sample set whose distance from the target data set is less than the distance threshold in the unclustered first environment monitoring data sample set;

[0107] Otherwise, if there is an unclustered first environment monitoring data sample set, the process jumps to the step of randomly extracting a sample set from the unclustered first environment monitoring data sample set as the target data set.

[0108] In some embodiments, before constructing a plurality of standard environmental monitoring data sets according to the class centers of the plurality of sample classes, the method includes:

[0109] Get the noise class ratio value;

[0110] Extracting a target sample class from the multiple sample classes, wherein the target sample class is the class with the largest data set among the multiple sample classes;

[0111] From the multiple sample classes, sample classes whose number of data sets is less than a target number are eliminated, wherein the target number is a number determined by multiplying the total number of data sets of the target sample class by the noise class ratio value.

[0112] Exemplarily, with respect to the standard environmental monitoring data set and the identification of the standard environmental monitoring data set, the embodiment of the present invention extracts data from multiple second environmental monitoring data queues according to each time node to construct a first environmental monitoring data sample set. In other words, each first environmental monitoring data sample set includes multiple monitoring data at the same time node, such as light intensity data, temperature data, etc. These data are clustered to obtain multiple sample classes, the class center of the sample class is the standard environmental monitoring data set, and then a unique identification is assigned to each standard environmental monitoring data set.

[0113] There are many ways to implement clustering, for example, kmeans clustering or density-based clustering. The embodiments of the present invention adopt a density-based clustering method.

[0114] After clustering is completed, some classes may have less data, which is often closely related to data noise or data anomalies (areas with low-density data distribution often indicate that the data is significantly deviated from mainstream data). In the implementation manner of the present invention, the number of samples in the largest sample class is counted, and the number is multiplied by a coefficient, for example, by 0.1. If the number of data in the sample class is smaller than this number, it means that the sample class is more likely to be abnormal. In order to ensure the accuracy of model construction and prevent model overfitting, these sample classes are eliminated in the implementation manner of the present invention.

[0115] Step 204: for each sample set in the multiple first environmental monitoring data sample sets, find the closest data set from the multiple standard environmental monitoring data sets as the second target data set, and arrange the identifiers of the multiple second target data sets to obtain a second environmental state queue, and construct a photovoltaic power generation power prediction model based on the second environmental state queue and the photovoltaic power generation power queue.

[0116] In some implementations, constructing a photovoltaic power generation prediction model according to the second environmental state queue and the photovoltaic power generation queue includes:

[0117] Get the segment length and predicted duration;

[0118] Cutting the second environment state queue according to the segment length to obtain a plurality of environment state vectors;

[0119] Extracting the power generation value corresponding to each of the multiple environmental state vectors according to the predicted duration and the photovoltaic power generation queue, thereby obtaining multiple power generation values, wherein the power generation value is the average value of multiple photovoltaic power generation data corresponding to the target time period in the photovoltaic power generation queue, and the target time period is a time period connected to the end time node of the environmental state vector and having a length of the predicted duration;

[0120] The photovoltaic power generation prediction model is constructed according to the multiple environmental state vectors and the multiple power generation values.

[0121] In some embodiments, the multiple first environment monitoring data queues include: a light intensity data queue, a temperature data queue, and a wind speed data queue, and constructing the photovoltaic power generation prediction model according to the multiple environmental state vectors and the multiple power generation values ​​includes:

[0122] Solving multiple parameters of a photovoltaic power generation prediction basic model according to the multiple environmental state vectors and the multiple power generation values ​​to obtain the photovoltaic power generation prediction model, wherein the photovoltaic power generation prediction basic model is:

[0123]

[0124] Where SF is the predicted value of photovoltaic power generation, indx_max is the total index number, W indx is the indxth first parameter, Factor is the joint factor, W fn is the fnth second parameter, fn_max is the total number of elements in the environment state vector, factor(fn) is the fnth element in the environment state vector, c1 is the first constant parameter, and c2 is the second constant parameter.

[0125] Exemplarily, in an embodiment of the present invention, in terms of constructing a model using the first environmental monitoring data sample set, an identifier is first assigned to each first environmental monitoring data sample set, and these identifiers are arranged according to the time nodes corresponding to the first environmental monitoring data sample set to construct a second environmental state queue. The second environmental state queue and the photovoltaic power generation queue are used to solve the parameters of the photovoltaic power generation power prediction basic model, thereby obtaining a photovoltaic power generation power prediction model.

[0126] To achieve the above purpose, in terms of assigning identifiers, each first environmental monitoring data sample set finds the most resolved data set from the standard environmental monitoring data set, and uses the identifier of this standard environmental monitoring data set as the identifier of the first environmental monitoring data sample set.

[0127] In terms of solving the parameters of the photovoltaic power generation prediction basic model using the second environmental state queue and the photovoltaic power generation queue, such as Figure 3 As shown, Figure 3It is a schematic diagram of the process of obtaining multiple power generation values ​​provided by the embodiment of the present invention. The second environment state queue 301 is divided into multiple data segments and constructed into vectors. The power value data segments of the predicted duration and connected to the time node at the end of the vector are cut from the volt power generation queue 302, and the average value of the power value data segments is calculated to obtain the power generation value 303. The above vector and the power generation value 303 are input into the basic model to form an equation with undetermined parameters. By combining multiple equations, the values ​​of multiple parameters can be determined to complete the construction of the model.

[0128] The photovoltaic power generation prediction basic model of the embodiment of the present invention is:

[0129]

[0130] Where SF is the predicted value of photovoltaic power generation, indx_max is the total index number, W indx is the indxth first parameter, Factor is the joint factor, W fn is the fnth second parameter, fn_max is the total number of elements in the environment state vector, factor(fn) is the fnth element in the environment state vector, c1 is the first constant parameter, and c2 is the second constant parameter.

[0131] The prediction method implementation method of the present invention first obtains multiple first environmental monitoring data sets, wherein the first environmental monitoring data set includes multiple factor data affecting photovoltaic power generation; then, according to the degree of influence of the influencing factors on the photovoltaic power generation, the factor data in each first environmental monitoring data set is adjusted to obtain multiple second environmental monitoring data sets; then, for each data set in the multiple second environmental monitoring data sets, the closest data set is found from multiple standard environmental monitoring data sets as the first target data set, and the identifiers of the multiple first target data sets are arranged to obtain a first environmental state queue; finally, the first environmental state queue is input into the photovoltaic power generation prediction model to obtain the photovoltaic power generation prediction value. The implementation method of the present invention processes the environmental monitoring data according to the influence of the factors on the power generation, and finds the identifier of the closest standard environmental monitoring data set to construct a fusion data containing time-varying characteristics: the environmental state queue. The photovoltaic power generation power is predicted according to the environmental state queue, which can significantly reduce the influence of noise data and abnormal data on the power generation prediction and improve the accuracy of the prediction result.

[0132] The embodiments of the present invention process the monitoring data queue according to the impact on the power generation result so that the data distribution interval is proportional to the impact on the power generation result. Finally, clustering is performed based on the processed data, and the center of the cluster is extracted as the standard environmental monitoring data set. This can make the monitoring data queues belonging to the same class have similar impacts on photovoltaic power generation power.

[0133] The number of sample data used in the early stage of the implementation mode of the present invention is small, and does not require too many parameter settings, so the initial investment is small and the requirements for personnel skills are low. At the same time, since the data is noise-weakened, the risk of overfitting is small.

[0134] It should be understood that the size of the serial numbers of the steps in the above implementation 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 implementation method of the present invention.

[0135] The following is an implementation of the device of the present invention. For details not described in detail, reference may be made to the corresponding method implementation described above.

[0136] Figure 4 The schematic diagram of the structure of the photovoltaic power generation prediction model building device provided by the embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:

[0137] like Figure 4 As shown, the photovoltaic power generation power prediction model construction device 4 includes: a monitoring data acquisition module 401, a data preprocessing module 402, a standard data construction module 403 and a model construction module 404, wherein:

[0138] The monitoring data acquisition module 401 is used to acquire a photovoltaic power generation queue and a plurality of first environment monitoring data queues, wherein the photovoltaic power generation queue and the first environment monitoring data queue are respectively acquired according to predetermined time nodes;

[0139] A data preprocessing module 402 is used to determine a plurality of influence coefficients according to the plurality of first environmental monitoring data queues and the photovoltaic power generation queue, and to adjust the distribution intervals of the plurality of first environmental monitoring data queues according to a first preset interval and the plurality of influence coefficients, so as to obtain a plurality of second environmental monitoring data queues, wherein the influence coefficient represents the degree of influence of environmental factors on photovoltaic power generation;

[0140] The standard data construction module 403 is used to construct a first environment monitoring data sample set according to the data belonging to the same time node extracted from the multiple second environment monitoring data queues, thereby obtaining multiple first environment monitoring data sample sets, clustering the multiple first environment monitoring data sample sets to obtain multiple sample classes, constructing multiple standard environment monitoring data sets according to the class centers of the multiple sample classes, and assigning identifiers to the multiple standard environment monitoring data sets respectively;

[0141] The model building module 404 is used to find the closest data set from the multiple standard environmental monitoring data sets as the second target data set for each sample set in the multiple first environmental monitoring data sample sets, and arrange the identifiers of the multiple second target data sets to obtain a second environmental state queue, and build a photovoltaic power generation power prediction model based on the second environmental state queue and the photovoltaic power generation power queue.

[0142] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0143] Those skilled in the art will appreciate that the templates, units, and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented by electronic hardware, or a combination of computer software and electronic hardware.

[0144] Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0145] If the module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned implementation method, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned photovoltaic power generation power prediction and model building method implementation methods. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium.

[0146] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A photovoltaic power generation power prediction method, It is characterized in that include: Acquire multiple first environmental monitoring data sets, wherein the first environmental monitoring data sets include multiple factor data affecting photovoltaic power generation; According to the degree of influence of the influencing factors on the photovoltaic power generation, the factor data in each first environmental monitoring data set is adjusted to obtain a plurality of second environmental monitoring data sets; For each of the plurality of second environment monitoring data sets, find the closest data set from the plurality of standard environment monitoring data sets as the first target data set, and arrange the identifiers of the plurality of first target data sets to obtain a first environment state queue; The first environmental state queue is input into a photovoltaic power generation power prediction model to obtain a photovoltaic power generation power prediction value.

2. A method for constructing a photovoltaic power generation prediction model, It is characterized in that include: Acquire a photovoltaic power generation queue and a plurality of first environment monitoring data queues, wherein the photovoltaic power generation queue and the first environment monitoring data queue are respectively acquired according to predetermined time nodes; Determine a plurality of influence coefficients according to the plurality of first environmental monitoring data queues and the photovoltaic power generation queue, and adjust the distribution intervals of the plurality of first environmental monitoring data queues according to the first preset interval and the plurality of influence coefficients, so as to obtain a plurality of second environmental monitoring data queues, wherein the influence coefficient represents the degree of influence of environmental factors on photovoltaic power generation; Constructing a first environmental monitoring data sample set according to the data belonging to the same time node extracted from the plurality of second environmental monitoring data queues, thereby obtaining a plurality of first environmental monitoring data sample sets, clustering the plurality of first environmental monitoring data sample sets to obtain a plurality of sample classes, constructing a plurality of standard environmental monitoring data sets according to the class centers of the plurality of sample classes, and assigning identifiers to the plurality of standard environmental monitoring data sets respectively; For each sample set in the multiple first environmental monitoring data sample sets, find the closest data set from the multiple standard environmental monitoring data sets as the second target data set, and arrange the identifiers of the multiple second target data sets to obtain a second environmental state queue, and construct a photovoltaic power generation power prediction model based on the second environmental state queue and the photovoltaic power generation power queue.

3. The photovoltaic power generation prediction model construction method according to claim 2, It is characterized in that The method of determining a plurality of influence coefficients according to the plurality of first environment monitoring data queues and the photovoltaic power generation queue, and adjusting the distribution intervals of the plurality of first environment monitoring data queues according to the first preset interval and the plurality of influence coefficients to obtain a plurality of second environment monitoring data queues includes: For each first environment monitoring data queue in the plurality of first environment monitoring data pairs, the following steps are performed respectively: Calculating a correlation coefficient between the first environmental monitoring data queue and the photovoltaic power generation power queue as an influence coefficient; Obtain a target maximum value and a target minimum value, and perform interval processing on the first environment monitoring data queue according to the target maximum value and the target minimum value to obtain a third environment monitoring data queue, wherein the data in the third environment monitoring data queue are all within the first preset interval, and the target maximum value and the target minimum value are respectively the maximum value and the minimum value of the data in the multiple first environment monitoring data queues; The products of the multiple data in the third environment monitoring data queue and the influence coefficient are calculated respectively, and a second environment monitoring data queue is constructed according to the obtained multiple products.

4. The photovoltaic power generation prediction model construction method according to claim 3, It is characterized in that The calculating of the correlation coefficient between the first environment monitoring data queue and the photovoltaic power generation power queue includes: The correlation coefficient between the first environment monitoring data queue and the photovoltaic power generation power queue is calculated according to the first formula, wherein the first formula is: In the formula, Relation is the correlation coefficient, EQ 1 (qn) is the qnth data in the first environment monitoring data queue, SGQ(qn) is the qnth data in the photovoltaic power generation queue, and qn_max is the total number of data in the first environment monitoring data queue.

5. The photovoltaic power generation prediction model construction method according to claim 3, It is characterized in that The step of performing interval processing on the first environment monitoring data queue according to the target maximum value and the target minimum value to obtain a third environment monitoring data queue includes: The first environment monitoring data queue is processed into intervals using the second formula to obtain a third environment monitoring data queue, wherein the second formula is: In the formula, EQ 3 (qn) is the qnth data of the third environmental monitoring data queue, ITV max is the upper limit of the first preset interval, ITV min is the lower limit of the first preset interval, EQ 1 (qn) is the qnth data in the first environment monitoring data queue, DAT max is the target maximum value, DAT min is the target minimum value.

6. The photovoltaic power generation prediction model construction method according to claim 2, It is characterized in that The clustering of the plurality of first environment monitoring data sample sets to obtain a plurality of sample classes comprises: Get the distance threshold; A sample set is randomly extracted from the unclustered first environmental monitoring data sample set as the target data set; Searching in the unclustered first environment monitoring data sample set for a first environment monitoring data sample set whose distance to the target data set is less than the distance threshold; If there is a first environment monitoring data sample set whose distance from the target data set is less than the distance threshold, then the first environment monitoring data sample set whose distance from the target data set is less than the distance threshold is added to the class where the target data set is located, and the first environment monitoring data sample set whose distance from the target data set is less than the distance threshold is used as the target data set, and the process jumps to searching the first environment monitoring data sample set whose distance from the target data set is less than the distance threshold in the unclustered first environment monitoring data sample set; Otherwise, if there is an unclustered first environment monitoring data sample set, the process jumps to the step of randomly extracting a sample set from the unclustered first environment monitoring data sample set as the target data set.

7. The photovoltaic power generation prediction model construction method according to claim 2, It is characterized in that Before constructing a plurality of standard environmental monitoring data sets according to the class centers of the plurality of sample classes, the method includes: Get the noise class ratio value; Extracting a target sample class from the multiple sample classes, wherein the target sample class is the class with the largest data set among the multiple sample classes; From the multiple sample classes, sample classes whose number of data sets is less than a target number are eliminated, wherein the target number is a number determined by multiplying the total number of data sets of the target sample class by the noise class ratio value.

8. The photovoltaic power generation prediction model construction method according to any one of claims 2 to 7, It is characterized in that The step of constructing a photovoltaic power generation prediction model according to the second environmental state queue and the photovoltaic power generation queue includes: Get the segment length and predicted duration; Cutting the second environment state queue according to the segment length to obtain a plurality of environment state vectors; Extracting the power generation value corresponding to each of the multiple environmental state vectors according to the predicted duration and the photovoltaic power generation queue, thereby obtaining multiple power generation values, wherein the power generation value is the average value of multiple photovoltaic power generation data corresponding to the target time period in the photovoltaic power generation queue, and the target time period is a time period connected to the end time node of the environmental state vector and having a length of the predicted duration; The photovoltaic power generation prediction model is constructed according to the multiple environmental state vectors and the multiple power generation values.

9. The photovoltaic power generation prediction model construction method according to claim 8, It is characterized in that The multiple first environment monitoring data queues include: a light intensity data queue, a temperature data queue, and a wind speed data queue. The photovoltaic power generation prediction model is constructed according to the multiple environment state vectors and the multiple power generation values, including: Solving multiple parameters of a photovoltaic power generation prediction basic model according to the multiple environmental state vectors and the multiple power generation values ​​to obtain the photovoltaic power generation prediction model, wherein the photovoltaic power generation prediction basic model is: Where SF is the predicted value of photovoltaic power generation, indx_max is the total index number, W indx is the indxth first parameter, Factor is the joint factor, W fn is the fnth second parameter, fn_max is the total number of elements in the environment state vector, factor(fn) is the fnth element in the environment state vector, c1 is the first constant parameter, and c2 is the second constant parameter.

10. A photovoltaic power generation power prediction model construction device, It is characterized in that Used to implement the photovoltaic power generation power prediction model construction method as claimed in claim 2, the photovoltaic power generation power prediction model construction device comprises: A monitoring data acquisition module, used to acquire a photovoltaic power generation queue and a plurality of first environment monitoring data queues, wherein the photovoltaic power generation queue and the first environment monitoring data queue are respectively acquired according to predetermined time nodes; A data preprocessing module, used to determine a plurality of influence coefficients according to the plurality of first environmental monitoring data queues and the photovoltaic power generation queue, and adjust the distribution intervals of the plurality of first environmental monitoring data queues according to a first preset interval and the plurality of influence coefficients, so as to obtain a plurality of second environmental monitoring data queues, wherein the influence coefficient represents the degree of influence of environmental factors on photovoltaic power generation; A standard data construction module, configured to construct a first environment monitoring data sample set according to data belonging to the same time node extracted from the plurality of second environment monitoring data queues, thereby obtaining a plurality of first environment monitoring data sample sets, clustering the plurality of first environment monitoring data sample sets to obtain a plurality of sample classes, constructing a plurality of standard environment monitoring data sets according to class centers of the plurality of sample classes, and assigning identifiers to the plurality of standard environment monitoring data sets respectively; as well as, A model building module is used to find the closest data set from the multiple standard environmental monitoring data sets as the second target data set for each sample set in the multiple first environmental monitoring data sample sets, and arrange the identifiers of the multiple second target data sets to obtain a second environmental state queue, and build a photovoltaic power generation power prediction model based on the second environmental state queue and the photovoltaic power generation power queue.

Citation Information

Cited By

  • Data fusion transmission method and device, electronic equipment and storage medium

    CN119276429A