Power generation prediction method and system for new energy power plants based on deep reinforcement learning

The deep reinforcement learning method is used to perform straight line fitting on the power generation influencing factors of new energy power stations, obtain centralized and discrete influencing factors, build a power prediction model and perform feedback compensation, which solves the problem of insufficient prediction accuracy under the influence of multi-source heterogeneous data and improves The prediction accuracy and model convergence speed are improved.

CN118199030BActive Publication Date: 2024-10-22GUANGXI JINYUAN SOUTHERN NEW ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410227517.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-29
Publication Date
2024-10-22
Estimated Expiration
2044-02-29

AI Technical Summary

Technical Problem

Existing new energy power station power generation prediction methods have insufficient prediction accuracy due to the different effects of multi-source heterogeneous data on the fitting accuracy of the prediction model.

Method used

A method based on deep reinforcement learning is used to obtain a set of centralized and discrete influencing factors through straight-line fitting of power generation influencing factors, and a power prediction model is constructed, and the convergence speed and accuracy of the model are improved through the feedback compensation network layer.

Benefits of technology

It improves the accuracy of power generation prediction and the convergence speed of the model, and solves the problem of insufficient prediction accuracy under the influence of multi-source heterogeneous data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118199030B_ABST
    Figure CN118199030B_ABST
Patent Text Reader

Abstract

The present application provides a method and system for predicting the power generation of a new energy power station based on deep reinforcement learning, which relates to the field of power generation technology. The method includes: obtaining a set of power generation influencing factors; obtaining a first factor sample data set; obtaining a first fitting result, performing discrete distribution probability calculation, and obtaining a first discrete distribution fitting probability; if the first discrete distribution fitting probability is greater than or equal to a predetermined discrete probability threshold, adding the first power generation influencing factor to the discrete influencing factor set, and obtaining a concentrated influencing factor set; constructing an electric power prediction model; constructing a feedback compensation network layer and embedding the electric power prediction model; and performing power generation prediction. The present application can solve the technical problem in the prior art that the multi-source heterogeneous data used in the training model has different effects on the fitting accuracy of the prediction model, resulting in insufficient prediction accuracy, and achieve the technical effect of improving the convergence speed of the prediction model and improving the accuracy of power generation prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power generation technology, and in particular to a method and system for predicting power generation of a new energy power station based on deep reinforcement learning. Background Art

[0002] With the rapid development of renewable energy power generation technology, how to accurately predict the power generation of renewable energy power stations has become a key issue. The accuracy of the prediction results is of great significance to the operation and maintenance management of power stations, power dispatching, and market transactions. Traditional methods for predicting the power generation of renewable energy power stations are mainly based on statistical analysis and physical models.

[0003] With the rapid development of artificial intelligence technology, model prediction based on machine learning models has become an important method for power generation prediction. Existing prediction methods often automatically learn and extract features related to power generation based on multi-source heterogeneous data such as historical power generation data, weather information, and equipment status, and then use machine learning algorithms to train prediction models. However, multi-source heterogeneous data such as historical power generation data, weather information, and equipment status have different effects on the fitting accuracy of the prediction model. If all the data are used directly for model training, it is easy to lead to insufficient prediction accuracy.

[0004] In summary, the prior art has a technical problem in which the prediction accuracy is insufficient due to the different effects of multi-source heterogeneous data used in the training model on the fitting accuracy of the prediction model. Summary of the invention

[0005] The purpose of this application is to provide a method and system for predicting the power generation of a new energy power station based on deep reinforcement learning, so as to solve the technical problem in the prior art that the prediction accuracy is insufficient due to the different effects of the multi-source heterogeneous data used in the training model on the fitting accuracy of the prediction model.

[0006] In view of the above problems, the present application provides a method and system for predicting power generation of new energy power plants based on deep reinforcement learning.

[0007] In a first aspect, the present application provides a method for predicting power generation of a new energy power station based on deep reinforcement learning, wherein the method is implemented by a new energy power station power generation prediction system based on deep reinforcement learning, wherein the method comprises: obtaining historical power generation log data of a target new energy power station, and performing power generation influencing factor identification on the historical power generation log data to obtain a power generation influencing factor set; extracting a first power generation influencing factor from the power generation influencing factor set, and performing factor data and power generation data extraction on the first power generation influencing factor based on the historical power generation log data to obtain a first factor sample data set; performing straight line fitting on the first factor sample data set to obtain a first fitting result, and based on the first fitting result The discrete distribution probability calculation is performed to obtain the first discrete distribution fitting probability; if the first discrete distribution fitting probability is greater than or equal to the predetermined discrete probability threshold, the first power generation influencing factor is added to the discrete influencing factor set, and the difference between the discrete influencing factor set and the power generation influencing factor set is obtained as the concentrated influencing factor set; an electricity forecasting model is constructed according to the concentrated influencing factor set training; the discrete influencing factor set is evaluated for the electricity impact mean to obtain a discrete influencing indicator set, a feedback compensation network layer of the electricity forecasting model is constructed and embedded in the electricity forecasting model; the electricity forecasting model embedded in the feedback compensation network layer is deployed to the target new energy power station for power generation forecasting.

[0008] In the second aspect, the present application also provides a new energy power station power generation prediction system based on deep reinforcement learning, which is used to execute the new energy power station power generation prediction method based on deep reinforcement learning as described in the first aspect, wherein the system includes: a factor identification module, the factor identification module is used to obtain the historical power generation log data of the target new energy power station, and perform power generation influencing factor identification on the historical power generation log data to obtain a power generation influencing factor set; a factor sample data extraction module, the factor sample data extraction module is used to extract the first power generation influencing factor in the power generation influencing factor set, and perform factor data and power generation data extraction on the first power generation influencing factor based on the historical power generation log data to obtain a first factor sample data set; a discrete distribution probability calculation module, the discrete distribution probability calculation module is used to perform a straight line fitting on the first factor sample data set to obtain a first fitting result, and based on the first fitting The result is to perform discrete distribution probability calculation to obtain a first discrete distribution fitting probability; a probability comparison module, wherein the probability comparison module is used to add the first power generation influencing factor to the discrete influencing factor set if the first discrete distribution fitting probability is greater than or equal to a predetermined discrete probability threshold, and obtain the difference between the discrete influencing factor set and the power generation influencing factor set as a concentrated influencing factor set; a model construction module, wherein the model construction module is used to train and construct an electricity prediction model according to the concentrated influencing factor set; a feedback compensation module, wherein the feedback compensation module is used to evaluate the electricity impact mean of the discrete influencing factor set, obtain a discrete influencing indicator set, construct a feedback compensation network layer of the electricity prediction model and embed it into the electricity prediction model; a power generation prediction module, wherein the power generation prediction module is used to deploy the electricity prediction model embedded in the feedback compensation network layer to the target new energy power station for power generation prediction.

[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0010] The historical power generation log data of the target new energy power station is obtained, and the power generation influencing factors are identified on the historical power generation log data to obtain a power generation influencing factor set; the first power generation influencing factor in the power generation influencing factor set is extracted, and the factor data and power generation data of the first power generation influencing factor are extracted based on the historical power generation log data to obtain a first factor sample data set; a straight line fitting is performed on the first factor sample data set to obtain a first fitting result, and a discrete distribution probability calculation is performed based on the first fitting result to obtain a first discrete distribution fitting probability; if the first discrete distribution fitting probability is greater than or equal to a predetermined discrete probability threshold, the first power generation influencing factor is added to the discrete influencing factor set, and the difference between the discrete influencing factor set and the power generation influencing factor set is obtained as a concentrated influencing factor set; an electric quantity prediction model is constructed according to the concentrated influencing factor set training; the electric quantity influence mean value of the discrete influencing factor set is evaluated to obtain a discrete influencing indicator set, a feedback compensation network layer of the electric quantity prediction model is constructed and embedded in the electric quantity prediction model; the electric quantity prediction model embedded in the feedback compensation network layer is deployed to the target new energy power station for power generation prediction. By performing linear fitting on the power generation influencing factors to obtain a concentrated influencing factor set and a discrete influencing factor set, the electricity forecasting model is trained, constructed, and feedback compensated, thereby achieving the technical effect of improving the convergence speed of the forecasting model and the accuracy of power generation forecasting.

[0011] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0013] Figure 1 This is a flow chart of a method for predicting power generation of a new energy power station based on deep reinforcement learning in this application;

[0014] Figure 2 This is a structural diagram of the new energy power station power generation prediction system based on deep reinforcement learning in this application.

[0015] Explanation of the reference numerals: factor identification module 11 , factor sample data extraction module 12 , discrete distribution probability calculation module 13 , probability comparison module 14 , model construction module 15 , feedback compensation module 16 , power generation prediction module 17 . DETAILED DESCRIPTION

[0016] This application solves the technical problem in the prior art that the multi-source heterogeneous data used in the training model has different effects on the fitting accuracy of the prediction model, resulting in insufficient prediction accuracy, by providing a method and system for predicting the power generation of a new energy power station based on deep reinforcement learning. By performing linear fitting on the power generation influencing factors to obtain a concentrated influencing factor set and a discrete influencing factor set to train and construct the power prediction model, and feedback compensation, the convergence speed of the prediction model is improved, and the accuracy of power generation prediction is improved.

[0017] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them.

[0018] Embodiment 1

[0019] Please see attached Figure 1 The present application provides a method for predicting the power generation of a new energy power station based on deep reinforcement learning, wherein the method is applied to a new energy power station power generation prediction system based on deep reinforcement learning, and the method specifically comprises the following steps:

[0020] Step 1: Acquire historical power generation log data of the target new energy power station, and perform power generation influencing factor identification on the historical power generation log data to obtain a power generation influencing factor set;

[0021] Specifically, the target new energy power station is any new energy power station for which power generation forecasting is to be performed, and the historical power generation log data refers to the power generation record data of the target new energy power station in historical time, including weather conditions, such as wind speed and solar radiation; equipment performance parameters, such as battery efficiency and inverter efficiency; operation and maintenance activity records, such as fault repair components and frequency, etc. Further, the power generation influencing factors are identified on the historical power generation log data to obtain a set of power generation influencing factors, that is, to obtain indicators that affect power generation. Specifically, the historical power generation log data can be analyzed through existing correlation analysis methods, such as gray correlation, to obtain multiple indicators that are associated with power generation, such as wind speed, solar radiation, inverter power, etc. as a set of power generation influencing factors.

[0022] Step 2: extracting a first power generation influencing factor from the power generation influencing factor set, and extracting factor data and power generation data for the first power generation influencing factor based on the historical power generation log data to obtain a first factor sample data set;

[0023] Specifically, any one power generation influence factor in the power generation influence factor set is extracted as the first power generation influence factor, and factor data and power generation data extraction are performed on the first power generation influence factor based on the historical power generation log data, that is, the data and power generation corresponding to the first power generation influence factor are extracted. For example, if the first power generation influence factor is wind speed, it is only necessary to extract the wind speed record value and the power generation record value in the historical power generation log data as the first factor sample data set.

[0024] Step 3: performing a straight line fitting on the first factor sample data set to obtain a first fitting result, and performing a discrete distribution probability calculation based on the first fitting result to obtain a first discrete distribution fitting probability;

[0025] Specifically, performing straight-line fitting on the first factor sample data set is to fit a correlation straight line between the power generation and the first power generation influencing factor as the first fitting result, and performing discrete distribution probability calculation based on the first fitting result is to analyze the sample distribution probability of the first factor sample data set other than the first fitting result to obtain the first discrete distribution fitting probability. It can be understood that the greater the first discrete distribution fitting probability, the worse the fitting effect between the power generation and the first power generation influencing factor. Therefore, if the first power generation influencing factor is still used as a feature of the training model, it is easy to make the model difficult to train to converge, the convergence speed is slow, and the prediction accuracy is poor. Therefore, discrete distribution probability calculation is needed to lay the foundation for subsequent model training.

[0026] Step 4: If the first discrete distribution fitting probability is greater than or equal to a predetermined discrete probability threshold, the first power generation influencing factor is added to the discrete influencing factor set, and the difference between the discrete influencing factor set and the power generation influencing factor set is obtained as the concentrated influencing factor set;

[0027] Specifically, the predetermined discrete probability threshold is set by professional and technical personnel in this field. That is to say, when the fitting probability of the first discrete distribution is greater than or equal to the predetermined discrete probability threshold, it means that in the result of straight-line fitting of the first factor sample data set, there are more data distributed in a range far from the first fitting result, that is, the first fitting result is not representative enough and it is difficult to truly reflect the relationship between the power generation and the first power generation influencing factor. Therefore, the first power generation influencing factor is added to the discrete influencing factor set. When the model is subsequently trained, the indicators in the discrete influencing factor set are not used as features to extract training samples. The difference between the discrete influencing factor set and the power generation influencing factor set is obtained as the concentrated influencing factor set, and the model is trained with the indicators in the concentrated influencing factor set, so as to improve the model training speed and prediction accuracy.

[0028] Step 5: constructing a power prediction model based on the centralized influencing factor set training;

[0029] Specifically, according to the concentrated influencing factor set, the record values ​​corresponding to the indicators in the concentrated influencing factor set and the corresponding power generation record values ​​are extracted from the historical power generation log data to form a training data set, and then based on the existing deep learning model, for example, a power prediction model is constructed based on a neural network model. The input of the power prediction model is the data corresponding to the concentrated influencing factor set, and the output is the predicted power generation. The recorded values ​​of the indicators corresponding to the training data set are input into the power prediction model, and the output of the power prediction model is supervised and adjusted with the corresponding power generation. During the training process, the prediction accuracy of the power prediction model can be tested, and then the model parameters of the power prediction model can be adjusted, thereby training the power prediction model to convergence. The training of the deep learning model is a common technical means used by those skilled in the art, and will not be elaborated here.

[0030] Step 6: Evaluate the power impact mean value of the discrete impact factor set to obtain a discrete impact indicator set, construct a feedback compensation network layer of the power forecast model and embed it into the power forecast model;

[0031] Specifically, in step five, the electricity forecasting model is constructed based on the concentrated influencing factor set training, which can improve the convergence speed and accuracy of the model. However, the indicators in the discrete influencing factor set will still play an auxiliary role in the prediction of power generation. Therefore, the influence of the indicators in the discrete influencing factor set on power generation can be analyzed, and the influence degree of each indicator in the discrete influencing factor set can be obtained after mean evaluation, and a discrete influencing indicator set can be constructed. The feedback compensation network layer of the electricity forecasting model is constructed with a discrete influencing indicator set, and embedded in the electricity forecasting model. It can be understood that the feedback compensation network layer is used to compensate for power generation based on the discrete influencing indicator set, that is, after collecting the real-time change data corresponding to the indicators in the discrete influencing indicator set, it is multiplied by the indicators in the discrete influencing indicator set, and then superimposed with the output result of the electricity forecasting model, and the result is the electricity forecast result.

[0032] Step seven: deploying the power prediction model embedded in the feedback compensation network layer to the target new energy power station to perform power generation prediction.

[0033] Specifically, the power prediction model embedded in the feedback compensation network layer is deployed on the server or cloud environment of the target new energy power station, and the power generation prediction can be started when needed.

[0034] Furthermore, step three of this application also includes:

[0035] Perform coordinate transformation on the first factor sample data set to obtain a first factor point data set; perform straight line fitting optimization on the first factor point data set to obtain a first optimal fitting straight line; and perform factor distribution analysis on the first factor point data set and the first optimal fitting straight line to obtain the first discrete distribution fitting probability.

[0036] Furthermore, the present application also includes the following steps:

[0037] Randomly select two points in the first factor point data set to connect and obtain a first fitting straight line; perform fitting fitness calculation on the first fitting straight line to obtain a first fitting fitness; continue to randomly select two points in the first factor point data set to connect and obtain a second fitting straight line according to a predetermined fitting constraint, wherein the predetermined fitting constraint is that at most one of the two selected points belongs to a fitted straight line; perform fitting fitness calculation on the second fitting straight line to obtain a second fitting fitness; determine whether the second fitting fitness is greater than the first fitting fitness, and if so, identify the moving directions of the first fitting straight line and the second fitting straight line to obtain a first moving direction; take the first moving direction as the optimization direction constraint, randomly select two points in the first factor point data set to connect and obtain a third fitting straight line according to the predetermined fitting constraint, perform fitness calculation on the third fitting straight line to obtain a third fitting fitness; and so on, continue to optimize until a maximum fitting fitness is obtained, and the maximum fitting fitness does not change in a preset number of fitting times, and output a fitting straight line corresponding to the maximum fitting fitness as the first optimal fitting straight line.

[0038] Furthermore, the present application also includes the following steps:

[0039] Traversing all points in the first factor point data set and calculating the vertical distance with the first fitting straight line to obtain multiple distance values; extracting points less than or equal to a predetermined distance threshold based on the multiple distance values ​​to obtain a first fitting point set; calculating the ratio of the number of data in the first fitting point set to the total amount of data in the first factor point data set as the first fitting fitness.

[0040] Furthermore, the present application also includes the following steps:

[0041] Taking the first optimal fitting straight line as the center, obtain a predetermined distribution area according to the predetermined distance threshold; traverse the first factor point data set for probability distribution, and obtain the preset distribution probability falling into the predetermined distribution area; construct a discrete distribution fitting probability calculation formula to calculate and obtain the first discrete distribution fitting probability: P = 1-t n ; Wherein, P is the first discrete distribution fitting probability, t is the preset distribution probability, and n is the preset extraction number.

[0042] Specifically, a method of performing a straight line fitting on the first factor sample data set to obtain a first fitting result, and performing a discrete distribution probability calculation based on the first fitting result to obtain a first discrete distribution fitting probability is described in detail as follows.

[0043] First, coordinate transformation is performed on the first factor sample data set, that is, a coordinate system is established with the first power generation influencing factor and the power generation as two coordinate axes, and the first factor sample data set is placed in the coordinate system to obtain the corresponding point coordinates, so as to obtain the first factor point data set.

[0044] The first factor point data set is subjected to straight line fitting optimization to obtain a first optimal fitting straight line. The specific method is as follows: first, two points are randomly selected in the first factor point data set to be connected, and the straight line obtained by the connection is the first fitting straight line. The first fitting fitness is further calculated for the first fitting straight line to obtain a first fitting fitness. The first fitting fitness characterizes the fitting effect of the first fitting straight line, which is convenient for optimizing and determining the first optimal fitting straight line. The larger the first fitting fitness is, the better the fitting effect of the first fitting straight line is.

[0045] Specifically, the first fitting straight line is fitted with fitness calculation, and the method for obtaining the first fitting fitness is as follows: traverse all points in the first factor point data set and calculate the vertical distance with the first fitting straight line. The vertical distance calculation from the point to the straight line is a common technical means used by those skilled in the art, and will not be expanded here, and multiple distance values ​​are obtained. Points less than or equal to a predetermined distance threshold are further extracted based on the multiple distance values, wherein the predetermined distance threshold is set by professionals in the field in combination with actual conditions. That is, the more points whose vertical distances with the first fitting straight line are less than or equal to the predetermined distance threshold, the more points are gathered in a small range of points less than or equal to the predetermined distance threshold, and the better the fitting effect of the first fitting straight line, and a large number of data variation rules can be fitted, thereby obtaining a set of points whose vertical distances with the first fitting straight line are less than or equal to the predetermined distance threshold as the first fitting point set. Further calculate the ratio of the number of data in the first fitting point set to the total amount of data in the first factor point data set as the first fitting fitness, realize the fitting effect analysis of the first fitting straight line, and provide support for the optimization of straight line fitting.

[0046] Further, two points are randomly selected from the first factor point data set according to the predetermined fitting constraint condition to connect and obtain a second fitting line, wherein the predetermined fitting constraint condition is that at most one of the two selected points belongs to a fitted line, that is, if both selected points are located on the first fitting line, then there is no difference between the second fitting line and the first fitting line, therefore, at most one of the two selected points can be located on the first fitting line. Then, the same method as the first fitting fitness is used to calculate the fitting fitness of the second fitting line to obtain the second fitting fitness. The first fitting fitness is compared with the second fitting fitness. If the second fitting fitness is greater than the first fitting fitness, the moving direction of the first fitting line and the second fitting line is identified, that is, the moving direction of the second fitting line relative to the first fitting line is obtained as the first moving direction. With the first moving direction as the optimization direction constraint, according to the predetermined fitting constraint condition, with the first moving direction as the point selection direction, two points are randomly selected from the first factor point data set to connect and obtain a third fitting line. Similarly, the two selected points cannot be both on the first fitting line or the second fitting line. The method for calculating the first fitting fitness is further adopted to perform fitness calculation on the third fitting straight line to obtain a third fitting fitness.

[0047] By analogy, continue to search for the best, that is, compare the third fitness with the second fitness, determine the new moving direction for straight line fitting, repeat these steps for iterative search for the best, until the maximum fitting fitness is obtained, and the maximum fitting fitness does not change in the preset number of fittings, where the preset number of fittings is set by professional and technical personnel in this field, such as 10 times. It should be noted that the preset number of fittings does not refer to the number of optimization iterations. Only when the maximum fitting fitness is obtained and the maximum fitting fitness no longer changes, the search for the best is stopped, and the fitting line corresponding to the maximum fitting fitness is output as the first optimal fitting line. In this way, the linear fitting search is realized, which provides support for the subsequent calculation of the discrete distribution fitting probability, and facilitates the selection of the best fitting index for model training, thereby improving the model convergence speed and prediction accuracy.

[0048] Further, the first factor point data set is combined with the first best fitting straight line to perform factor distribution analysis to obtain the first discrete distribution fitting probability. The specific method is: taking the first best fitting straight line as the center, obtaining the predetermined distribution area according to the predetermined distance threshold, that is, drawing two straight lines parallel to the first best fitting straight line based on the predetermined distance threshold, and the distance between the two straight lines and the first best fitting straight line is the predetermined distance threshold, and taking the area between the two straight lines as the predetermined distribution area. Further traverse the first factor point data set for probability distribution, and obtain the proportion of the number of points falling into the predetermined distribution area to the total amount of data in the first factor point data set as the preset distribution probability.

[0049] Then, a discrete distribution fitting probability calculation formula is constructed to calculate and obtain the first discrete distribution fitting probability. The discrete distribution fitting probability calculation formula is: P = 1-t n ; Wherein, P is the fitting probability of the first discrete distribution, t is the preset distribution probability, and n is the preset extraction number, which is set by professional and technical personnel in this field. That is to say, assuming that n points are selected for each training model, the probability that at least one of the selected points does not belong to the preset distribution area is the fitting probability of the first discrete distribution. The greater the fitting probability of the first discrete distribution, the greater the probability of selecting a point that does not belong to the preset distribution area, the worse the model training effect and the worse the prediction accuracy, which lays the foundation for subsequent model construction and facilitates the selection of factors with lower fitting probability of the first discrete distribution for model construction, so as to improve the convergence speed and prediction accuracy.

[0050] Furthermore, step six of this application also includes:

[0051] Extract the first discrete influencing factor from the discrete influencing factor set, take the first discrete influencing factor as a variable and other factors as quantitative, perform factor data and power generation data extraction on the first discrete influencing factor based on the historical power generation log data, and obtain a second factor sample data set; perform power generation change degree-factor change degree fitting based on the second factor sample data set to obtain a first discrete influencing indicator; add the first discrete influencing indicator to the discrete influencing indicator set.

[0052] Furthermore, the present application also includes the following steps:

[0053] The second factor sample data set is serialized in the order of factor data from small to large to obtain a sample data sequence; the sample data sequence is fitted with the power generation change degree-unit factor change between adjacent data to obtain multiple fitting results; cluster analysis is performed on the multiple fitting results according to a predetermined clustering distance, clustering results with the number of clusters within the class greater than or equal to a preset threshold are obtained and mean calculation is performed to obtain the first discrete influence indicator.

[0054] Specifically, the method of evaluating the power impact mean value of the discrete impact factor set to obtain the discrete impact index set is as follows:

[0055] Extract any discrete influencing factor from the discrete influencing factor set as the first discrete influencing factor, take the first discrete influencing factor as a variable and other factors as quantitative, perform factor data and power generation data extraction on the first discrete influencing factor based on the historical power generation log data, that is, in the extracted data, the values ​​of other power generation influencing factors except the first discrete influencing factor are fixed values, and use this as a constraint condition to extract the index record value of the first discrete influencing factor and the corresponding power generation data from the historical power generation log data, and use the extraction result as the second factor sample data set. Further, based on the second factor sample data set, perform power generation change degree-factor change degree fitting to obtain the first discrete influencing index, that is, analyze the degree of influence of the first discrete influencing factor on power generation after a certain change as the first discrete influencing index, and add the first discrete influencing index to the discrete influencing index set.

[0056] Among them, the specific method of fitting the power generation change degree-factor change degree based on the second factor sample data set to obtain the first discrete influence index is: sort the second factor sample data set in the order of factor data from small to large, and use the sorting result as the sample data sequence. Then, the power generation change degree-unit factor change amount between adjacent data is fitted for the sample data sequence. In simple terms, first, the professional and technical personnel in this field set the unit factor change amount based on actual experience, which is the minimum value for factor change analysis, and then the power generation change degree-unit factor change amount is performed between adjacent data in the sample data sequence, that is, the power generation change amount corresponding to the unit factor change amount is calculated as multiple fitting results. Finally, the multiple fitting results are clustered according to the predetermined clustering distance. The predetermined clustering distance is set by the professional and technical personnel in this field. It can be simply understood as the error allowed when it is considered that two fitting results can be regarded as consistent. In this way, the Euclidean distance is calculated for any two fitting results in the multiple fitting results, and the fitting results with a distance less than or equal to the predetermined clustering distance are divided into one category to obtain multiple clustering results. Each clustering result has a number of clusters within the class, which is the number of fitting results included. Then, clustering results with a number of clusters within the class greater than or equal to a preset threshold are obtained. The preset threshold is set by a person skilled in the art. The clustering results with a number of clusters within the class greater than or equal to the preset threshold are averaged, and the average calculation result is used as the first discrete impact indicator. This facilitates the subsequent feedback compensation of the power forecasting model based on the discrete impact indicator set to improve the accuracy of power generation forecasting.

[0057] In summary, the method for predicting power generation of new energy power plants based on deep reinforcement learning provided by this application has the following technical effects:

[0058] The historical power generation log data of the target new energy power station is obtained, and the power generation influencing factors are identified on the historical power generation log data to obtain a power generation influencing factor set; the first power generation influencing factor in the power generation influencing factor set is extracted, and the factor data and power generation data of the first power generation influencing factor are extracted based on the historical power generation log data to obtain a first factor sample data set; a straight line fitting is performed on the first factor sample data set to obtain a first fitting result, and a discrete distribution probability calculation is performed based on the first fitting result to obtain a first discrete distribution fitting probability; if the first discrete distribution fitting probability is greater than or equal to a predetermined discrete probability threshold, the first power generation influencing factor is added to the discrete influencing factor set, and the difference between the discrete influencing factor set and the power generation influencing factor set is obtained as a concentrated influencing factor set; an electric quantity prediction model is constructed according to the concentrated influencing factor set training; the electric quantity influence mean value of the discrete influencing factor set is evaluated to obtain a discrete influencing indicator set, a feedback compensation network layer of the electric quantity prediction model is constructed and embedded in the electric quantity prediction model; the electric quantity prediction model embedded in the feedback compensation network layer is deployed to the target new energy power station for power generation prediction. By performing linear fitting on the power generation influencing factors to obtain a concentrated influencing factor set and a discrete influencing factor set, the electricity forecasting model is trained, constructed, and feedback compensated, thereby achieving the technical effect of improving the convergence speed of the forecasting model and the accuracy of power generation forecasting.

[0059] Embodiment 2

[0060] Based on the same inventive concept as the method for predicting the power generation of a new energy power station based on deep reinforcement learning in the aforementioned embodiment, the present application also provides a system for predicting the power generation of a new energy power station based on deep reinforcement learning, please refer to the attached Figure 2 , the system comprising:

[0061] A factor identification module 11, the factor identification module 11 is used to obtain historical power generation log data of the target new energy power station, and perform power generation influencing factor identification on the historical power generation log data to obtain a power generation influencing factor set;

[0062] A factor sample data extraction module 12, the factor sample data extraction module 12 is used to extract a first power generation influencing factor from the power generation influencing factor set, and perform factor data and power generation data extraction on the first power generation influencing factor based on the historical power generation log data to obtain a first factor sample data set;

[0063] A discrete distribution probability calculation module 13, the discrete distribution probability calculation module 13 is used to perform a straight line fitting on the first factor sample data set to obtain a first fitting result, and perform a discrete distribution probability calculation based on the first fitting result to obtain a first discrete distribution fitting probability;

[0064] A probability comparison module 14, wherein the probability comparison module 14 is used to add the first power generation influencing factor to a discrete influencing factor set if the first discrete distribution fitting probability is greater than or equal to a predetermined discrete probability threshold, and obtain a difference between the discrete influencing factor set and the power generation influencing factor set as a concentrated influencing factor set;

[0065] A model building module 15, the model building module 15 is used to train and build a power prediction model according to the concentrated influencing factor set;

[0066] A feedback compensation module 16, the feedback compensation module 16 is used to evaluate the power impact mean of the discrete impact factor set, obtain a discrete impact indicator set, construct a feedback compensation network layer of the power prediction model and embed it into the power prediction model;

[0067] The power generation prediction module 17 is used to deploy the power generation prediction model embedded in the feedback compensation network layer to the target new energy power station to perform power generation prediction.

[0068] Furthermore, the discrete distribution probability calculation module 13 in the system is also used for:

[0069] Performing coordinate transformation on the first factor sample data set to obtain a first factor point data set;

[0070] Performing straight line fitting optimization on the first factor point data set to obtain a first optimal fitting straight line;

[0071] The first factor point data set is combined with the first optimal fitting straight line to perform factor distribution analysis to obtain the first discrete distribution fitting probability.

[0072] Furthermore, the discrete distribution probability calculation module 13 in the system is also used for:

[0073] Randomly select two points in the first factor point data set and connect them to obtain a first fitting straight line;

[0074] Performing fitting fitness calculation on the first fitting straight line to obtain a first fitting fitness;

[0075] According to a predetermined fitting constraint condition, two points are randomly selected from the first factor point data set to connect and obtain a second fitting straight line, wherein the predetermined fitting constraint condition is that at most one of the two selected points belongs to the fitted straight line;

[0076] Performing fitting fitness calculation on the second fitting straight line to obtain a second fitting fitness;

[0077] determining whether the second fitting fitness is greater than the first fitting fitness, and if so, identifying the moving directions of the first fitting straight line and the second fitting straight line to obtain a first moving direction;

[0078] Taking the first moving direction as the optimization direction constraint, randomly selecting two points in the first factor point data set according to the predetermined fitting constraint condition to connect and obtain a third fitting straight line, and performing fitness calculation on the third fitting straight line to obtain a third fitting fitness;

[0079] By analogy, the optimization is continued until the maximum fitting fitness is obtained, and the maximum fitting fitness does not change within the preset number of fitting times, and the fitting straight line corresponding to the maximum fitting fitness is output as the first optimal fitting straight line.

[0080] Furthermore, the discrete distribution probability calculation module 13 in the system is also used for:

[0081] Traversing all points in the first factor point data set and calculating the vertical distances with the first fitting straight line to obtain a plurality of distance values;

[0082] Extracting points less than or equal to a predetermined distance threshold based on the multiple distance values ​​to obtain a first fitting point set;

[0083] The ratio of the amount of data in the first fitting point set to the total amount of data in the first factor point data set is calculated as the first fitting fitness.

[0084] Furthermore, the discrete distribution probability calculation module 13 in the system is also used for:

[0085] Taking the first best fitting straight line as the center, obtaining a predetermined distribution area according to the predetermined distance threshold;

[0086] Traversing the first factor point data set for probability distribution, and obtaining a preset distribution probability falling into the predetermined distribution area;

[0087] Construct a discrete distribution fitting probability calculation formula to calculate and obtain the first discrete distribution fitting probability:

[0088] P=1-t n ;

[0089] Among them, P is the first discrete distribution fitting probability, t is the preset distribution probability, and n is the preset extraction number.

[0090] Furthermore, the feedback compensation module 16 in the system is also used for:

[0091] Extracting a first discrete influencing factor from the discrete influencing factor set, taking the first discrete influencing factor as a variable and other factors as quantitative factors, extracting factor data and power generation data for the first discrete influencing factor based on the historical power generation log data, and obtaining a second factor sample data set;

[0092] Performing power generation variation degree-factor variation degree fitting based on the second factor sample data set to obtain a first discrete impact index;

[0093] The first discrete impact indicator is added to the discrete impact indicator set.

[0094] Furthermore, the feedback compensation module 16 in the system is also used for:

[0095] Serializing the second factor sample data set in the order of factor data from small to large to obtain a sample data sequence;

[0096] Fitting the power generation variation degree-unit factor variation between adjacent data to the sample data sequence to obtain multiple fitting results;

[0097] Cluster analysis is performed on the multiple fitting results according to a predetermined cluster distance, clustering results with a number of clusters within the class greater than or equal to a preset threshold are obtained, and mean calculation is performed to obtain the first discrete influence index.

[0098] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. Figure 1 The method and specific examples of the new energy power station power generation prediction based on deep reinforcement learning in Example 1 are also applicable to the new energy power station power generation prediction system based on deep reinforcement learning in this embodiment. Through the above detailed description of the new energy power station power generation prediction method based on deep reinforcement learning, those skilled in the art can clearly know the new energy power station power generation prediction system based on deep reinforcement learning in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0099] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0100] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.

Claims

1. A method for predicting power generation of new energy power plants based on deep reinforcement learning, characterized in that: include: Acquire historical power generation log data of the target new energy power station, and perform power generation influencing factor identification on the historical power generation log data to obtain a power generation influencing factor set; Extracting a first power generation influencing factor from the power generation influencing factor set, and extracting factor data and power generation data for the first power generation influencing factor based on the historical power generation log data to obtain a first factor sample data set; Performing straight line fitting on the first factor sample data set to obtain a first fitting result, and performing discrete distribution probability calculation based on the first fitting result to obtain a first discrete distribution fitting probability; If the first discrete distribution fitting probability is greater than or equal to a predetermined discrete probability threshold, the first power generation influencing factor is added to the discrete influencing factor set, and a difference between the discrete influencing factor set and the power generation influencing factor set is obtained as a concentrated influencing factor set; Building a power forecasting model based on the centralized influencing factor set training; Performing an electricity impact mean evaluation on the discrete impact factor set to obtain a discrete impact indicator set, constructing a feedback compensation network layer of the electricity prediction model and embedding it into the electricity prediction model; Deploying the power prediction model embedded in the feedback compensation network layer to the target new energy power station to perform power generation prediction; The performing straight line fitting on the first factor sample data set to obtain a first fitting result, and performing discrete distribution probability calculation based on the first fitting result to obtain a first discrete distribution fitting probability, includes: Performing coordinate transformation on the first factor sample data set to obtain a first factor point data set; Performing straight line fitting optimization on the first factor point data set to obtain a first optimal fitting straight line; Performing factor distribution analysis on the first factor point data set and the first optimal fitting straight line to obtain the first discrete distribution fitting probability; The step of performing power impact mean evaluation on the discrete impact factor set to obtain a discrete impact index set includes: Extracting a first discrete influencing factor from the discrete influencing factor set, taking the first discrete influencing factor as a variable and other factors as quantitative factors, extracting factor data and power generation data for the first discrete influencing factor based on the historical power generation log data, and obtaining a second factor sample data set; Performing power generation variation degree-factor variation degree fitting based on the second factor sample data set to obtain a first discrete impact index; The first discrete impact indicator is added to the discrete impact indicator set.

2. The method according to claim 1, characterized in that The performing straight line fitting optimization on the first factor point data set to obtain a first optimal fitting straight line includes: Randomly select two points in the first factor point data set and connect them to obtain a first fitting straight line; Performing fitting fitness calculation on the first fitting straight line to obtain a first fitting fitness; According to a predetermined fitting constraint condition, two points are randomly selected from the first factor point data set to connect and obtain a second fitting straight line, wherein the predetermined fitting constraint condition is that at most one of the two selected points belongs to the fitted straight line; Performing fitting fitness calculation on the second fitting straight line to obtain a second fitting fitness; determining whether the second fitting fitness is greater than the first fitting fitness, and if so, identifying the moving directions of the first fitting straight line and the second fitting straight line to obtain a first moving direction; Taking the first moving direction as the optimization direction constraint, randomly selecting two points in the first factor point data set according to the predetermined fitting constraint condition to connect and obtain a third fitting straight line, and performing fitness calculation on the third fitting straight line to obtain a third fitting fitness; By analogy, the optimization is continued until the maximum fitting fitness is obtained, and the maximum fitting fitness does not change within the preset number of fitting times, and the fitting straight line corresponding to the maximum fitting fitness is output as the first optimal fitting straight line.

3. The method according to claim 2, characterized in that The step of calculating the fitting fitness of the first fitting straight line to obtain the first fitting fitness includes: Traversing all points in the first factor point data set and calculating the vertical distances with the first fitting straight line to obtain a plurality of distance values; Extracting points less than or equal to a predetermined distance threshold based on the multiple distance values ​​to obtain a first fitting point set; The ratio of the amount of data in the first fitting point set to the total amount of data in the first factor point data set is calculated as the first fitting fitness.

4. The method according to claim 3, characterized in that The step of performing factor distribution analysis on the first factor point data set and the first optimal fitting straight line to obtain the first discrete distribution fitting probability includes: Taking the first best fitting straight line as the center, obtaining a predetermined distribution area according to the predetermined distance threshold; Traversing the first factor point data set for probability distribution, and obtaining a preset distribution probability falling into the predetermined distribution area; Construct a discrete distribution fitting probability calculation formula to calculate and obtain the first discrete distribution fitting probability: P=1-t n ; Among them, P is the first discrete distribution fitting probability, t is the preset distribution probability, and n is the preset extraction number.

5. The method according to claim 1, characterized in that The step of performing power generation variation degree-factor variation degree fitting based on the second factor sample data set to obtain a first discrete impact index includes: Serializing the second factor sample data set in the order of factor data from small to large to obtain a sample data sequence; Fitting the power generation variation degree-unit factor variation between adjacent data to the sample data sequence to obtain multiple fitting results; Cluster analysis is performed on the multiple fitting results according to a predetermined cluster distance, clustering results with a number of clusters within the class greater than or equal to a preset threshold are obtained, and mean calculation is performed to obtain the first discrete influence index.

6. A new energy power station power generation prediction system based on deep reinforcement learning, characterized in that: For implementing the steps of the method according to any one of claims 1 to 5, the system comprises: A factor identification module, wherein the factor identification module is used to obtain historical power generation log data of a target new energy power station, and perform power generation influencing factor identification on the historical power generation log data to obtain a power generation influencing factor set; A factor sample data extraction module, the factor sample data extraction module is used to extract a first power generation influencing factor from the power generation influencing factor set, and perform factor data and power generation data extraction on the first power generation influencing factor based on the historical power generation log data to obtain a first factor sample data set; A discrete distribution probability calculation module, the discrete distribution probability calculation module is used to perform a straight line fitting on the first factor sample data set to obtain a first fitting result, and perform a discrete distribution probability calculation based on the first fitting result to obtain a first discrete distribution fitting probability; A probability comparison module, wherein if the first discrete distribution fitting probability is greater than or equal to a predetermined discrete probability threshold, the first power generation influencing factor is added to a discrete influencing factor set, and a difference between the discrete influencing factor set and the power generation influencing factor set is obtained as a concentrated influencing factor set; A model building module, the model building module is used to train and build a power prediction model according to the concentrated influencing factor set; A feedback compensation module, the feedback compensation module is used to evaluate the power impact mean of the discrete impact factor set, obtain a discrete impact indicator set, construct a feedback compensation network layer of the power prediction model and embed it into the power prediction model; A power generation prediction module is used to deploy the power generation prediction model embedded in the feedback compensation network layer to the target new energy power station to perform power generation prediction.