Generated power prediction method and device, equipment and medium

By acquiring and analyzing weather data from new energy power stations, and using pre-trained power fluctuation pattern recognition and prediction models, the problem of poor power prediction accuracy of distributed power stations is solved, and the security and stability of the power grid are improved.

CN118822013AActive Publication Date: 2024-10-22GUANGDONG POWER GRID CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410855108.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-22
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

The accuracy of power generation prediction of new energy power stations is poor, mainly due to the geographical dispersion of distributed power stations and imperfect weather monitoring equipment, which results in the inability to accurately collect local weather parameters, affecting the security and stability of the power grid.

Method used

By obtaining the weather data of the area where the power station to be measured belongs, and inputting it into the pre-trained power fluctuation pattern recognition model and prediction model, the power fluctuation pattern labels obtained by training with historical power generation power data and weather data are used to identify and predict power. Fluctuation pattern, thereby improving the accuracy of power generation prediction.

Benefits of technology

It achieves effective response to the fluctuation and uncertainty of power generation, improves the accuracy of power generation prediction, and ensures the reliability of energy supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118822013A_ABST
    Figure CN118822013A_ABST
Patent Text Reader

Abstract

The invention discloses a power generation power prediction method and device, equipment and a medium. The method comprises the following steps: acquiring weather data of an area to which a to-be-measured power station belongs within a to-be-predicted duration; inputting the weather data into a pre-trained power fluctuation mode recognition model to obtain a predicted power fluctuation mode; and inputting the weather data into a power prediction model corresponding to the prediction power fluctuation mode to obtain power generation power prediction data of the to-be-tested power station in the to-be-predicted duration. According to the technical scheme of the embodiment, the technical effect of guaranteeing the reliability of energy supply is achieved while the accuracy of power generation power prediction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer processing technology, and in particular to a method, device, equipment and medium for predicting power generation. Background Art

[0002] In recent years, with the promotion of new energy, the proportion of new energy power generation in the power system has also increased. However, under the influence of atmospheric dynamics, the sparse density, volatility and intermittency of wind and light cause frequency uncontrollability, voltage fluctuations and harmonics, which will lead to uncertainty in power generation and increase in grid operation and maintenance costs, affecting the safety and stability of the power system. Therefore, in order to cope with this uncertainty, it is necessary to predict the power generation of new energy power stations to ensure the safety and stability of energy.

[0003] At present, the way to predict the power generation of new energy power stations is usually based on the mapping relationship between weather parameters and power generation in the future time period to predict the power generation in the future time period. However, for distributed new energy power stations, the geographical location of the power stations is relatively scattered, and the deployed weather monitoring equipment is not perfect, making it difficult to accurately collect local weather parameters, resulting in poor power prediction accuracy. Summary of the invention

[0004] The present invention provides a method, device, equipment and medium for predicting power generation, so as to achieve the technical effect of improving the accuracy of power generation prediction.

[0005] According to one aspect of the present invention, a method for predicting power generation is provided, the method comprising:

[0006] Obtain weather data for the area of ​​the power station to be tested within the forecast period;

[0007] The weather data is input into a pre-trained power fluctuation pattern recognition model to obtain a predicted power fluctuation pattern; wherein the power fluctuation pattern recognition model is trained based on historical power generation data and a power fluctuation pattern label corresponding to the historical power generation data; the power fluctuation pattern label is determined based on the power fluctuation attributes of the historical power generation data under at least two power fluctuation evaluation indicators; the historical power generation data includes output power data and weather data;

[0008] The weather data is input into a power prediction model corresponding to the predicted power fluctuation pattern to obtain the predicted power generation data of the power station to be tested within the predicted time period; wherein different power prediction models are trained based on the sample feature matrix and time-varying adjacency matrix of the historical power generation data corresponding to different power fluctuation patterns.

[0009] According to another aspect of the present invention, there is provided a power generation prediction device, the device comprising:

[0010] A weather data acquisition module is used to obtain weather data of the area to which the power station to be tested belongs within the time period to be predicted;

[0011] A power fluctuation pattern determination module, used for inputting the weather data into a pre-trained power fluctuation pattern recognition model to obtain a predicted power fluctuation pattern; wherein the power fluctuation pattern recognition model is trained based on historical power generation data and a power fluctuation pattern label corresponding to the historical power generation data; the power fluctuation pattern label is determined based on the power fluctuation attributes of the historical power generation data under at least two power fluctuation evaluation indicators; the historical power generation data includes output power data and weather data;

[0012] A power generation prediction data determination module is used to input the weather data into a power prediction model corresponding to the predicted power fluctuation pattern to obtain the power generation prediction data of the power station to be tested within the predicted time period; wherein different power prediction models are trained based on the sample feature matrix and time-varying adjacency matrix of historical power generation data corresponding to different power fluctuation patterns.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the power generation prediction method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the power generation prediction method described in any embodiment of the present invention when executed.

[0018] The technical solution of the embodiment of the present invention obtains weather data of the area to which the power station to be tested belongs within the time to be predicted; inputs the weather data into a pre-trained power fluctuation pattern recognition model to obtain a predicted power fluctuation pattern; inputs the weather data into a power prediction model corresponding to the predicted power fluctuation pattern to obtain the power generation prediction data of the power station to be tested within the time to be predicted, thereby solving the problem of poor power prediction accuracy caused by predicting power generation through the mapping relationship between weather parameters and power generation in the prior art, and realizing the evaluation of power fluctuation attributes of historical power generation data based on at least two power fluctuation evaluation indicators, determining power fluctuation pattern labels for historical power generation data according to different power fluctuation attributes, and improving the accuracy of power fluctuation pattern evaluation. Furthermore, the power fluctuation pattern recognition model obtained by training based on historical power generation data and its corresponding power fluctuation pattern labels determines the predicted power fluctuation pattern corresponding to the weather data, so that the predicted power fluctuation pattern can truly reflect the power fluctuation within the time to be predicted, effectively cope with the volatility and uncertainty of power station power, and further, the power generation prediction data is determined according to the weather data through the power prediction model corresponding to the predicted power fluctuation pattern, thereby improving the accuracy of power prediction, so as to perform energy scheduling through the predicted power generation, thereby ensuring the reliability of energy supply.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 is a flow chart of a method for predicting power generation provided according to Embodiment 1 of the present invention;

[0022] Figure 2 is a flow chart of a method for predicting power generation provided according to Embodiment 2 of the present invention;

[0023] Figure 3 is a schematic diagram of a power generation prediction method provided according to a second embodiment of the present invention;

[0024] Figure 4 is a flow chart of a method for predicting power generation provided according to Embodiment 3 of the present invention;

[0025] Figure 5 is a schematic diagram of the structure of a power generation prediction device provided according to a fourth embodiment of the present invention;

[0026] Figure 6 It is a structural schematic diagram of an electronic device for implementing the method for predicting power generation according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] Embodiment 1

[0030] Figure 1 This is a flow chart of a power generation prediction method provided according to the first embodiment of the present invention. This embodiment is applicable to the case of predicting the power generation of a power station. The method can be executed by a power generation prediction device. The power generation prediction device can be implemented in the form of hardware and / or software. The power generation prediction device can be configured in a computing device. Figure 1 As shown, the method includes:

[0031] S110, obtaining weather data of the area to which the power station to be tested belongs within the time period to be predicted.

[0032] The power station to be tested may refer to a power station whose power generation needs to be predicted, for example, the power station may be a new energy photovoltaic power station. The duration to be predicted may be the duration corresponding to the power generation prediction, for example, a specified future time period may be used as the duration to be predicted. Weather data includes but is not limited to numerical weather forecast data and actual wind pole data. For example, numerical weather forecast data includes solar irradiation intensity, light intensity, wind speed, wind direction, temperature, humidity, air pressure, solar radiation, etc.

[0033] In this embodiment, weather data can be predicted by a weather data prediction device, so as to predict the power generation of the power station to be tested within the predicted time period according to the weather data of the area to which the power station to be tested belongs within the predicted time period.

[0034] S120 , inputting weather data into a pre-trained power fluctuation pattern recognition model to obtain a predicted power fluctuation pattern.

[0035] Among them, the power fluctuation pattern recognition model is trained based on historical power generation data and power fluctuation pattern labels corresponding to the historical power generation data. The historical power generation data includes output power data and weather data. The power fluctuation pattern label is used to identify the power fluctuation pattern. The power fluctuation pattern may refer to different situations that cause output power fluctuations. For example, the power fluctuation pattern may be wind speed changes, cloud cover, equipment failure, and so on. The power fluctuation pattern can also be used to represent different degrees of power fluctuation. The power fluctuation pattern label is determined based on the power fluctuation attributes of the historical power generation data under at least two power fluctuation evaluation indicators. The power fluctuation attributes can be used to characterize the degree of fluctuation of the historical power generation data.

[0036] In this embodiment, weather data may be used as input data in the power fluctuation pattern recognition model, and the predicted power fluctuation pattern may be determined based on the output of the power fluctuation pattern recognition model.

[0037] In this embodiment, the method of determining the predicted power fluctuation pattern may also include at least one of the following methods: One method may be: determining the predicted power fluctuation pattern based on the correlation between numerical weather forecast data in weather data and actual wind pole data.

[0038] Among them, numerical weather forecast data is based on weather data collected from the atmosphere by meteorological detection instruments (such as satellites, aircraft, ships, weather stations, sounding balloons, etc.), including meteorological parameters such as wind speed, wind direction, temperature, and air pressure. Actual wind pole data is based on weather data measured by monitoring equipment such as anemometers and wind vanes installed on wind towers (wind poles).

[0039] Specifically, statistical methods (such as Pearson correlation coefficient, Spearman rank correlation coefficient, etc.) can be used to analyze the correlation between numerical weather forecast data and actual wind pole data. When the correlation between the two is low, it can be considered that there is a large fluctuation or uncertainty in the predicted power fluctuation pattern.

[0040] Another way may be: based on a predetermined data model, determine the predicted power fluctuation pattern according to the solar radiation intensity in the weather data; wherein the data model includes the correlation between the radiation intensity and the power.

[0041] Specifically, a data model for reflecting the correlation between irradiance and power can be established in advance, for example, the data model can be a linear model. The solar irradiance in weather data is input into the data model, and the power fluctuation corresponding to the solar irradiance is analyzed to obtain a predicted power fluctuation pattern.

[0042] Another way may be to determine the extreme values ​​of preset parameters in the weather data and determine the predicted power fluctuation mode according to the extreme values. The preset parameters may be various weather parameters such as wind speed, temperature, light intensity, irradiance intensity, humidity, etc.

[0043] Specifically, the extreme values ​​of preset parameters in the weather data can be extracted, and adjacent extreme values ​​of the same parameter can be defined as "waves". By analyzing the fluctuations of these "waves", the predicted power fluctuation pattern can be determined. For example, the greater the fluctuation, the greater the fluctuation or uncertainty in the predicted power fluctuation pattern.

[0044] Another way could be to analyze the time series data in weather data, such as weather fluctuation amplitude, frequency, period and other characteristics, regard the data sequence under a fixed time window as a fluctuation period, and determine the predicted power fluctuation pattern through different fluctuation periods.

[0045] The technical solution provided in this embodiment preliminarily determines the predicted power fluctuation pattern based on weather data in a variety of ways, thereby improving the accuracy of power fluctuation pattern analysis, so that the weather data can be input into the corresponding power prediction model according to the predicted power fluctuation pattern, thereby improving the accuracy of power prediction.

[0046] S130, inputting the weather data into a power prediction model corresponding to the predicted power fluctuation pattern, and obtaining the power generation prediction data of the power station to be tested within the predicted time period.

[0047] Among them, different power prediction models are trained based on the sample feature matrix and time-varying adjacency matrix of historical power generation data corresponding to different power fluctuation patterns. Each element in the sample feature matrix represents historical power generation data. Each element in the time-varying adjacency matrix represents the time series relationship between two historical power generation data. Different power prediction models can be used to predict the power generation of power stations under weather data corresponding to different power fluctuation patterns.

[0048] In this embodiment, after determining the predicted power fluctuation pattern corresponding to the weather data, the weather data can be used as the input data of the power prediction model corresponding to the predicted power fluctuation pattern, and the power generation prediction data of the power station to be tested within the predicted time period can be obtained based on the output of the power prediction model. Exemplarily, the predicted power fluctuation pattern is determined to be A based on the weather data, and the sample feature matrix and time-varying adjacency matrix of the historical power generation data corresponding to the power fluctuation pattern A are input into the power prediction model trained, and the model outputs the predicted power generation.

[0049] The technical solution of this embodiment obtains weather data of the area to which the power station to be tested belongs within the time to be predicted; inputs the weather data into a pre-trained power fluctuation pattern recognition model to obtain a predicted power fluctuation pattern; inputs the weather data into a power prediction model corresponding to the predicted power fluctuation pattern to obtain the power generation prediction data of the power station to be tested within the time to be predicted, which solves the problem of poor power prediction accuracy caused by predicting power generation through the mapping relationship between weather parameters and power generation in the prior art, and realizes the evaluation of power fluctuation attributes of historical power generation data based on at least two power fluctuation evaluation indicators, and determines power fluctuation pattern labels for historical power generation data according to different power fluctuation attributes, thereby improving the accuracy of power fluctuation pattern evaluation. Furthermore, the power fluctuation pattern recognition model obtained by training based on historical power generation data and its corresponding power fluctuation pattern labels determines the predicted power fluctuation pattern corresponding to the weather data, so that the predicted power fluctuation pattern can truly reflect the power fluctuation within the time to be predicted, effectively cope with the volatility and uncertainty of power station power, and further, the power generation prediction data is determined according to the weather data through the power prediction model corresponding to the predicted power fluctuation pattern, thereby improving the accuracy of power prediction, so as to perform energy scheduling through the predicted power generation, thereby ensuring the reliability of energy supply.

[0050] Embodiment 2

[0051] Figure 2This is a flow chart of a power generation prediction method provided according to the second embodiment of the present invention. On the basis of the above embodiment, a power fluctuation pattern recognition model and a power prediction model can also be pre-trained. The specific implementation method can refer to the technical solution of this embodiment. Among them, the technical terms that are the same as or corresponding to the above embodiment are not repeated here.

[0052] like Figure 2 As shown, the method specifically comprises the following steps:

[0053] S210: Obtain historical power generation data sets of at least two power stations.

[0054] In order to improve the prediction accuracy of the model, as many and rich historical power generation data sets as possible can be obtained. At the same time, in order to ensure the accuracy of the model, the historical power generation data in the historical power generation data set can also be preprocessed, such as performing wavelet decomposition on the historical power generation data to filter out the noise in the data, and obtain the preprocessed historical power generation data set to improve the data quality, thereby improving the prediction accuracy.

[0055] S220, dividing the historical power generation data set into historical power generation data of multiple time slices.

[0056] In this embodiment, each time slice can be a time period, and the historical power generation data set can be periodically divided based on the time slice to divide the historical power generation data into multiple time slices to respectively determine the power fluctuation pattern of the historical power generation data in each time slice.

[0057] S230: For each historical power generation data, determine the power fluctuation attribute of the historical power generation data under each power fluctuation evaluation index, and determine the power fluctuation mode label corresponding to the historical power generation data based on each power fluctuation attribute.

[0058] Among them, the power fluctuation evaluation index includes at least a range index, a flux index, an entropy index and a variance index.

[0059] In this embodiment, the power fluctuation attribute of the historical power generation data under each power fluctuation evaluation index may be determined respectively, and the determination method includes at least one of the following:

[0060] One way is to determine the maximum power value and the minimum power value in the historical power generation data, and determine the power fluctuation attribute of the historical power generation data under the range indicator based on the difference between the maximum power value and the minimum power value.

[0061] Specifically, the maximum power value and the minimum power value in the historical power generation data can be processed by difference to obtain the difference, which can be used to reflect the amplitude of power fluctuation. The power fluctuation attribute of the historical power generation data under the range index can be measured according to the difference. For example, the smaller the difference, the smaller the fluctuation amplitude, and vice versa, the larger the difference, the larger the fluctuation amplitude, that is, the more unstable the fluctuation represented by the power fluctuation attribute.

[0062] Another way is to determine the total change in power fluctuations in the historical power generation data, and based on the total change in power fluctuations, determine the power fluctuation properties of the historical power generation data under the flux index.

[0063] Specifically, the sum of the absolute values ​​of the power changes in the historical power generation data can be calculated to obtain the total change in power fluctuations, which can be used to reflect the cumulative effect of power fluctuations over a period of time, i.e., flux. The power fluctuation attribute of the historical power generation data under the flux index can be measured based on the total change in power fluctuations. For example, the larger the total change in power fluctuations, the stronger the cumulative effect of power fluctuations, which may have a greater impact on system stability, and the more unstable the fluctuations represented by the power fluctuation attribute.

[0064] Another way is to process the historical power generation data based on the entropy calculation method of probability distribution to obtain the entropy value, and determine the power fluctuation attribute of the historical power generation data under the entropy index based on the entropy value.

[0065] Specifically, an entropy calculation method based on probability distribution can be used to statistically calculate the probability distribution of power fluctuations in historical power generation data in different intervals, and the entropy value can be calculated. The entropy value can be used to describe the irregularity or complexity of power fluctuations. The power fluctuation attribute of historical power generation data under the entropy index can be measured according to the entropy value. For example, the larger the entropy value, the higher the irregularity or complexity of the power fluctuation, which may be difficult to predict and control, that is, the more unstable the fluctuation represented by the power fluctuation attribute.

[0066] Another way is to determine the power average value in the historical power generation data, and determine the power fluctuation attribute of the historical power generation data under the variance index based on each power value and the power average value in the historical power generation data.

[0067] Specifically, the average value of all powers in the historical power generation data is calculated to obtain the power average value, and then the average value of the square of the difference between each power value and the power average value is calculated to obtain the variance. The variance can be used to describe the degree to which the power fluctuation deviates from its average value and reflect the degree of discreteness of the power fluctuation. Furthermore, the power fluctuation properties of the historical power generation data under the variance index can be measured according to the variance. For example, the larger the variance, the more discrete the power fluctuation and the worse the stability of the power fluctuation.

[0068] Furthermore, the power fluctuation mode corresponding to the historical power generation data can be comprehensively evaluated through some or all of the power fluctuation attributes corresponding to the historical power generation data, and the power fluctuation mode label corresponding to the historical power generation data can be obtained and labeled. For example, the weights of different indicators can be set, and then the weighted average or total score of different power fluctuation attributes can be calculated to evaluate the overall impact of power fluctuations and obtain the power fluctuation mode.

[0069] For example, see Figure 3 , obtain the power generation data of new energy power stations (i.e., historical power generation data sets), and after performing wavelet decomposition on the data to filter out noise, the power generation data can be evaluated based on multi-dimensional indicators (range, flux, entropy, and variance), and the power fluctuations can be divided to obtain historical power generation data corresponding to multiple power fluctuation patterns, so as to train a power fluctuation pattern recognition model and a power prediction model based on the historical power generation data and power fluctuation pattern labels. The advantage of this setting is that by fully considering the fluctuation time scale and amplitude range of the divided power data, and using multi-dimensional indicators to evaluate which power fluctuation pattern the historical power generation data belongs to, the single classification dimension of the fluctuation pattern is expanded to multiple dimensions, thereby improving the accuracy of the power fluctuation pattern evaluation.

[0070] S240: Based on each historical power generation data and the corresponding power fluctuation pattern label, the to-be-trained model is trained to obtain a trained model.

[0071] The models to be trained include a power fluctuation pattern recognition model and a power prediction model.

[0072] In this embodiment, a training sample set can be determined through each historical power generation data and the corresponding power fluctuation pattern label, and the power fluctuation pattern recognition model is pre-trained through the training sample set. The power fluctuation pattern recognition model learns the sample features corresponding to the historical power generation data including output power data and weather data, so that it has the ability to predict the power fluctuation pattern. Figure 3 The power fluctuation pattern recognition model can be a support vector machine. The support vector machine can be used for cluster power recognition to correctly divide the training data set and achieve the separating hyperplane of the maximum geometric interval. The power fluctuation pattern recognition model is constructed to obtain the weather data of the area to which the power station to be tested belongs within the predicted time period, and then input the weather data into the pre-trained power fluctuation pattern recognition model, so that the power fluctuation pattern recognition model predicts the predicted power fluctuation pattern.

[0073] In this embodiment, after determining each historical power generation data and the corresponding power fluctuation pattern label, all historical power generation data corresponding to the same power fluctuation pattern label can be integrated to obtain the historical power generation data corresponding to each power fluctuation pattern, and the corresponding power prediction model can be pre-trained using the historical power generation data corresponding to each power fluctuation pattern to obtain power prediction models corresponding to different power fluctuation patterns.

[0074] Continue to see Figure 3 It should be noted that, in order to ensure data consistency, the historical power generation data can also be normalized to the maximum and minimum before training the model to be trained based on each historical power generation data and the corresponding power fluctuation pattern label. The historical power generation data is subtracted from the minimum value and divided by the range of the data (the range is the maximum value minus the minimum value), and the data is mapped to the range of [0,1]. The historical power generation data is updated, and the model to be trained is trained based on the updated historical power generation data and the corresponding power fluctuation pattern label to avoid excessive influence of certain features on the model results, and the value range of the features is mapped to the same interval to make the features comparable, thereby improving the accuracy and stability of the model.

[0075] It should also be noted that in order to further improve the prediction accuracy of the model, it is also possible to utilize multi-source data such as meteorological data, environmental data, equipment status data, electricity market data, user demand data, and power grid dispatch data, combined with historical power generation data. By comprehensively considering the fusion of multi-source data, the training model can be trained to build a more accurate model.

[0076] The technical solution of this embodiment divides the historical power generation data set into multiple time slices of historical power generation data, and then comprehensively determines the power fluctuation pattern label corresponding to the historical power generation data according to the power fluctuation attributes of the historical power generation data under each power fluctuation evaluation index, thereby improving the accuracy of power fluctuation pattern determination, thereby improving the accuracy of power fluctuation pattern prediction by the power fluctuation pattern recognition model, and enabling the power prediction model to accurately predict the power generation according to the weather data corresponding to the power fluctuation pattern.

[0077] Embodiment 3

[0078] Figure 4This is a flow chart of a power generation prediction method provided according to the third embodiment of the present invention. On the basis of the above embodiments, the power prediction model can be trained based on each historical power generation data and the corresponding power fluctuation mode label to obtain a trained power prediction model. The specific implementation method can refer to the technical solution of this embodiment. Among them, the technical terms that are the same as or corresponding to the above embodiments are not repeated here.

[0079] like Figure 4 As shown, the method specifically comprises the following steps:

[0080] S310. Based on all historical power generation data corresponding to the same power fluctuation pattern label, respectively determine sample data sets corresponding to at least three spatial levels.

[0081] Among them, the spatial level includes a single-point power generation level, a first cluster power generation level, and a second classification power generation level. The precision of the data in different spatial levels is different. It should be noted that the method of determining the power prediction model corresponding to each power fluctuation mode is the same, and the power prediction model corresponding to any power fluctuation mode can be used as an example for explanation.

[0082] In this embodiment, all historical power generation data corresponding to the same power fluctuation pattern label can be used as a sample data set of a single-point power generation level, and the data in the sample data set of the single-point power generation level is the power generation data of each power generation site. At the same time, a clustering method can be used to cluster all historical power generation data corresponding to the power fluctuation pattern label to obtain a sample data set of the first clustering power generation level, and the data in the sample data set is the power generation data of clusters after clustering multiple power generation sites. Another clustering method can also be used to cluster all historical power generation data corresponding to the power fluctuation pattern label to obtain a sample data set of the second classification power generation level, and the data in the sample data set is the power generation data of clusters after clustering multiple power generation sites. The power prediction model corresponding to the power fluctuation pattern label is obtained by training the sample data sets corresponding to different spatial levels.

[0083] In this embodiment, the spatial level includes a single-point power generation level, and based on all historical power generation data corresponding to the same power fluctuation pattern label, sample data sets corresponding to at least three spatial levels are determined respectively, including: performing time series analysis on all historical power generation data to obtain a sample data set of the single-point power generation level, so that the sample data set is power generation data with time series, so that power prediction can be performed subsequently through the time series power generation data.

[0084] In this embodiment, the spatial level includes a first clustered power generation level, and based on all historical power generation data corresponding to the same power fluctuation pattern label, sample data sets corresponding to at least three spatial levels are determined respectively, including: clustering analysis is performed on all historical power generation data to obtain a first power generation data set corresponding to at least one first cluster; for each first power generation data set, the historical power generation data of the same time dimension in the first power generation data set is fused to obtain second power generation data of the time dimension; based on the second power generation data of each time dimension, the sample data set of the first clustered power generation level is determined.

[0085] The first cluster includes at least two power stations.

[0086] In this embodiment, a clustering algorithm can be used to perform cluster analysis on all historical power generation data, and the historical power generation data of power stations with high similarity can be clustered together, so that all historical power generation data are divided into multiple clusters, each cluster is a first cluster, and all historical power generation data in the cluster are the first power generation data set corresponding to the corresponding first cluster. Optionally, clustering algorithms include but are not limited to partition-based clustering algorithms (such as K-means algorithms), hierarchical clustering algorithms (such as bottom-up and top-down algorithms), density-based clustering algorithms (such as DBSCAN (Density-Based Spatial Clustering of Applications with Noise), grid-based clustering algorithms (STING, Statistical Information Grid) and model-based clustering algorithms (such as Gaussian mixture models), etc. Furthermore, the historical power generation data in the same time dimension in the first power generation data set can be fused, for example, the historical power generation data at the same time (or time period) are averaged, and the average is used as the second power generation data of the time dimension. In this way, the second power generation data can be integrated with the historical power generation data of multiple power generation sites in the first cluster, ensuring the authenticity of the data while improving the richness of the data.

[0087] In this embodiment, the spatial hierarchy includes a second classification power generation hierarchy, and based on all historical power generation data corresponding to the same power fluctuation pattern label, sample data sets corresponding to at least three spatial hierarchies are respectively determined, including: performing fuzzy logic analysis on all historical power generation data to obtain at least one third power generation data set corresponding to the second classification; for each third power generation data set, fusing the historical power generation data of the same time dimension in the third power generation data set to obtain fourth power generation data of the time dimension; based on the fourth power generation data of each time dimension, determining the sample data set of the second classification power generation hierarchy.

[0088] Among them, the second category includes at least two power stations.

[0089] In this embodiment, a fuzzy logic analysis algorithm can be used to fuzzify all historical power generation data, so that each data feature is mapped to a fuzzy set, and a membership function is used to represent the membership of the data feature to the fuzzy set, and the fuzzy set is inferred according to predefined fuzzy rules (for example, the membership of a light intensity of 60,000 lx to "high light intensity" can be defined as 0.7). These fuzzy rules can be defined based on domain knowledge or historical data. By applying fuzzy rules, the historical power generation data can be divided into different classes, each class is a second classification, and all historical power generation data in the class are the third power generation data set corresponding to the corresponding second classification. Optionally, the fuzzy logic analysis algorithm includes but is not limited to the center method and the maximum membership method, etc. Further, the historical power generation data in the same time dimension in the third power generation data set can be fused, for example, the historical power generation data at the same time (or time period) is averaged, and the average is used as the fourth power generation data of the time dimension. In this way, the fourth power generation data can be integrated with the historical power generation data of multiple power generation sites in the second classification, ensuring the authenticity of the data while improving the richness of the data.

[0090] For example, see Figure 3 , time series analysis, cluster analysis and fuzzy logic are performed on the historical power generation data to obtain point-level (i.e. single-point power generation level) prediction, group-level (first cluster power generation level) prediction, and domain-level (i.e. second classification power generation level) prediction data sets. The three data sets are used for power prediction model training, which can effectively improve the accuracy and stability of power prediction of distributed renewable energy at different levels.

[0091] S320: Determine a target sample set based on sample data sets of at least three spatial levels.

[0092] In this embodiment, the data in the sample data sets at different spatial levels are all data with time series characteristics, and the different sample data sets can be used as target sample sets.

[0093] S330, performing time series division on the historical power generation data in the target sample set to obtain a sample feature matrix and a time-varying adjacency matrix.

[0094] Among them, each element in the sample feature matrix represents historical power generation data; each element in the time-varying adjacency matrix represents the time series relationship between two historical power generation data.

[0095] Specifically, according to the time series characteristics of the historical power generation data in the target sample set, the time series data contained in the historical power generation data can be sliced ​​according to a sliding window of fixed width to obtain the historical power generation data corresponding to different time nodes, and the historical power generation data corresponding to different time nodes can be feature processed to obtain its feature representation, and a sample feature matrix can be constructed, and a time-varying adjacency matrix can be constructed according to the time series relationship between different historical power generation data. For example, the historical power generation data corresponding to time node t has a time series relationship with the historical power generation data corresponding to the next time node t+1 of time node t, and its element in the time-varying adjacency matrix is ​​represented as 1, and if there is no time series relationship, it is represented as 0. Alternatively, it is also possible to assign elements of a time series relationship to the time interval according to the length of the time interval.

[0096] S340 , training a power prediction model based on the sample feature matrix and the time-varying adjacency matrix to obtain a trained power prediction model corresponding to the power fluctuation pattern label.

[0097] In this embodiment, the feature information of the node can be propagated to the neighboring nodes by multiplying the time-varying adjacency matrix and the sample feature matrix. The two graph convolution blocks in the power prediction model are used, and a sandwich structure of gated convolution-graph convolution-gated convolution is used in each graph convolution block. The bottleneck strategy is used to complete scale compression and feature compression, and the power prediction model is trained to obtain a trained power prediction model corresponding to the power fluctuation pattern label.

[0098] For example, see Figure 3The power prediction model may include at least two graph convolution blocks, the graph convolution block includes a first gated linear unit (GLU), a graph convolution layer, and a second gated linear unit (GLU), and the first gated linear unit, the graph convolution layer, and the second gated linear unit are connected in series. The trained power prediction model can be used to predict power generation data, so that weather data is input into the power prediction model corresponding to the predicted power fluctuation mode to obtain the power generation prediction data of the power station to be tested within the predicted time period.

[0099] The technical solution of this embodiment determines the sample data sets corresponding to at least three spatial levels based on all the historical power generation data corresponding to the same power fluctuation pattern label, considers the impact of the sample data sets at different spatial levels on the model, and then performs time series division on the target sample set determined based on the sample data sets of at least three spatial levels to obtain a sample feature matrix and a time-varying adjacency matrix. The sample feature matrix and the time-varying adjacency matrix are used to train the power prediction model to obtain a trained power prediction model corresponding to the power fluctuation pattern label, thereby improving the accuracy and stability of the power prediction model for distributed new energy power stations at different spatial levels.

[0100] Embodiment 4

[0101] Figure 5 Schematic diagram of the structure of a power generation prediction device provided according to the fourth embodiment of the present invention. Figure 5 As shown, the device includes: a weather data acquisition module 410, a power fluctuation mode determination module 420 and a power generation power prediction data determination module 430.

[0102] Among them, the weather data acquisition module 410 is used to obtain the weather data of the area to which the power station to be tested belongs within the time period to be predicted; the power fluctuation pattern determination module 420 is used to input the weather data into a pre-trained power fluctuation pattern recognition model to obtain a predicted power fluctuation pattern; wherein the power fluctuation pattern recognition model is trained based on historical power generation data and a power fluctuation pattern label corresponding to the historical power generation data; the power fluctuation pattern label is determined based on the power fluctuation attributes of the historical power generation data under at least two power fluctuation evaluation indicators; the historical power generation data includes output power data and weather data; the power generation prediction data determination module 430 is used to input the weather data into a power prediction model corresponding to the predicted power fluctuation pattern to obtain the power generation prediction data of the power station to be tested within the time period to be predicted; wherein different power prediction models are trained based on the sample feature matrix and time-varying adjacency matrix of the historical power generation data corresponding to different power fluctuation patterns.

[0103] The technical solution of this embodiment obtains weather data of the area to which the power station to be tested belongs within the time to be predicted; inputs the weather data into a pre-trained power fluctuation pattern recognition model to obtain a predicted power fluctuation pattern; inputs the weather data into a power prediction model corresponding to the predicted power fluctuation pattern to obtain the power generation prediction data of the power station to be tested within the time to be predicted, which solves the problem of poor power prediction accuracy caused by predicting power generation through the mapping relationship between weather parameters and power generation in the prior art, and realizes the evaluation of power fluctuation attributes of historical power generation data based on at least two power fluctuation evaluation indicators, and determines power fluctuation pattern labels for historical power generation data according to different power fluctuation attributes, thereby improving the accuracy of power fluctuation pattern evaluation. Furthermore, the power fluctuation pattern recognition model obtained by training based on historical power generation data and its corresponding power fluctuation pattern labels determines the predicted power fluctuation pattern corresponding to the weather data, so that the predicted power fluctuation pattern can truly reflect the power fluctuation within the time to be predicted, effectively cope with the volatility and uncertainty of power station power, and further, the power generation prediction data is determined according to the weather data through the power prediction model corresponding to the predicted power fluctuation pattern, thereby improving the accuracy of power prediction, so as to perform energy scheduling through the predicted power generation, thereby ensuring the reliability of energy supply.

[0104] On the basis of the above-mentioned device, optionally, the device also includes: a historical power generation data set determination unit, used to obtain historical power generation data sets of at least two power stations; a data set division unit, used to divide the historical power generation data set into historical power generation data of multiple time slices; a pattern label determination unit, used to determine the power fluctuation attribute of the historical power generation data under each power fluctuation evaluation index for each of the historical power generation data, and determine the power fluctuation pattern label corresponding to the historical power generation data based on each of the power fluctuation attributes; wherein the power fluctuation evaluation index includes at least a range index, a flux index, an entropy index and a variance index; the power fluctuation pattern label is used to identify the power fluctuation pattern; a model training unit, used to train the model to be trained based on each of the historical power generation data and the corresponding power fluctuation pattern label to obtain a trained model; wherein the model to be trained includes a power fluctuation pattern recognition model and a power prediction model.

[0105] On the basis of the above device, optionally, the mode label determination unit includes: a first fluctuation attribute determination unit, which is used to determine the maximum power value and the minimum power value in the historical power generation data, and determine the power fluctuation attribute of the historical power generation data under the range index based on the difference between the maximum power value and the minimum power value; a second fluctuation attribute determination unit, which is used to determine the total change of power fluctuation in the historical power generation data, and determine the power fluctuation attribute of the historical power generation data under the flux index based on the total change of power fluctuation. A third fluctuation attribute determination unit, which is used to process the historical power generation data based on the entropy calculation method of probability distribution to obtain an entropy value, and determine the power fluctuation attribute of the historical power generation data under the entropy index based on the entropy value; a fourth fluctuation attribute determination unit, which is used to determine the power average value in the historical power generation data, and determine the power fluctuation attribute of the historical power generation data under the variance index based on each power value and the power average value in the historical power generation data.

[0106] On the basis of the above-mentioned device, optionally, the model to be trained includes a power prediction model, and the model training unit includes: a spatial level determination unit, which is used to determine the sample data sets corresponding to at least three spatial levels based on all historical power generation data corresponding to the same power fluctuation pattern label; the spatial levels include a single-point power generation level, a first clustering power generation level and a second classification power generation level; a target sample set determination unit, which is used to determine the target sample set based on the sample data sets of the at least three spatial levels; a matrix determination unit, which is used to perform time series division on the historical power generation data in the target sample set to obtain a sample feature matrix and a time-varying adjacency matrix; wherein each element in the sample feature matrix represents historical power generation data; each element in the time-varying adjacency matrix represents the time series relationship between two historical power generation data; a training unit, which is used to train the power prediction model based on the sample feature matrix and the time-varying adjacency matrix to obtain a trained power prediction model corresponding to the power fluctuation pattern label.

[0107] On the basis of the above-mentioned device, optionally, the spatial hierarchy includes a first clustered power generation hierarchy, and the spatial hierarchy determination unit includes: a first cluster determination unit, used to perform cluster analysis on all the historical power generation data to obtain a first power generation data set corresponding to at least one first cluster; the first cluster includes at least two power stations; a second power generation data determination unit, used to, for each of the first power generation data sets, fuse the historical power generation data of the same time dimension in the first power generation data set to obtain the second power generation data of the time dimension; a sample data set determination unit, used to determine the sample data set of the first clustered power generation hierarchy based on the second power generation data of each time dimension.

[0108] On the basis of the above-mentioned device, optionally, the spatial hierarchy includes a second classification power generation hierarchy, and the spatial hierarchy determination unit includes: a second classification determination unit, used to perform fuzzy logic analysis on all the historical power generation data to obtain a third power generation data set corresponding to at least one second classification; the second classification includes at least two power stations; a fourth power generation data determination unit, used to, for each of the third power generation data sets, fuse the historical power generation data of the same time dimension in the third power generation data set to obtain the fourth power generation data of the time dimension; a data set determination unit, used to determine the sample data set of the second classification power generation hierarchy based on the fourth power generation data of each time dimension.

[0109] The power generation prediction device provided in the embodiment of the present invention can execute the power generation prediction method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0110] Embodiment 5

[0111] Figure 6 1 is a schematic diagram of the structure of an electronic device that implements the power generation prediction method of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0112] like Figure 6As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0113] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0114] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a power generation prediction method.

[0115] In some embodiments, the power generation prediction method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the power generation prediction method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the power generation prediction method in any other appropriate manner (e.g., by means of firmware).

[0116] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0117] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0118] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0119] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0120] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0121] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0122] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0123] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for predicting power generation, characterized in that: include: Obtain weather data for the area of ​​the power station to be tested within the forecast period; The weather data is input into a pre-trained power fluctuation pattern recognition model to obtain a predicted power fluctuation pattern; wherein the power fluctuation pattern recognition model is trained based on historical power generation data and a power fluctuation pattern label corresponding to the historical power generation data; the power fluctuation pattern label is determined based on the power fluctuation attributes of the historical power generation data under at least two power fluctuation evaluation indicators; the historical power generation data includes output power data and weather data; The weather data is input into a power prediction model corresponding to the predicted power fluctuation pattern to obtain the predicted power generation data of the power station to be tested within the predicted time period; wherein different power prediction models are trained based on the sample feature matrix and time-varying adjacency matrix of the historical power generation data corresponding to different power fluctuation patterns.

2. The method according to claim 1, characterized in that Also includes: Obtain historical power generation data sets of at least two power stations; Dividing the historical power generation data set into historical power generation data of a plurality of time slices; For each of the historical power generation data, determine the power fluctuation attribute of the historical power generation data under each power fluctuation evaluation index, and determine the power fluctuation mode label corresponding to the historical power generation data based on each of the power fluctuation attributes; wherein the power fluctuation evaluation index includes at least a range index, a flux index, an entropy index and a variance index; the power fluctuation mode label is used to identify the power fluctuation mode; Based on each of the historical power generation data and the corresponding power fluctuation pattern label, the model to be trained is trained to obtain a trained model; wherein the model to be trained includes a power fluctuation pattern recognition model and a power prediction model.

3. The method according to claim 2, characterized in that The determining of the power fluctuation attribute of the historical power generation data under each power fluctuation evaluation index includes: Determine a maximum power value and a minimum power value in the historical power generation data, and determine a power fluctuation attribute of the historical power generation data under a range indicator based on a difference between the maximum power value and the minimum power value; The total change amount of power fluctuation in the historical power generation data is determined, and based on the total change amount of power fluctuation, the power fluctuation attribute of the historical power generation data under the flux index is determined.

4. The method according to claim 2, characterized in that: The determining of the power fluctuation attribute of the historical power generation data under each power fluctuation evaluation index includes: Processing the historical power generation data using an entropy calculation method based on probability distribution to obtain an entropy value, and determining a power fluctuation attribute of the historical power generation data under an entropy index based on the entropy value; An average power value in the historical power generation data is determined, and based on each power value in the historical power generation data and the average power value, a power fluctuation attribute of the historical power generation data under a variance index is determined.

5. The method according to claim 2, characterized in that: The model to be trained includes a power prediction model. The model to be trained is trained based on each historical power generation data and the corresponding power fluctuation mode label to obtain a trained model, including: Based on all historical power generation data corresponding to the same power fluctuation pattern label, sample data sets corresponding to at least three spatial levels are determined respectively; the spatial levels include a single-point power generation level, a first clustered power generation level, and a second classified power generation level; Determining a target sample set based on the sample data sets of the at least three spatial levels; Performing time series division on the historical power generation data in the target sample set to obtain a sample feature matrix and a time-varying adjacency matrix; wherein each element in the sample feature matrix represents historical power generation data; and each element in the time-varying adjacency matrix represents a time series relationship between two historical power generation data; The power prediction model is trained based on the sample feature matrix and the time-varying adjacency matrix to obtain a trained power prediction model corresponding to the power fluctuation pattern label.

6. The method according to claim 5, characterized in that The spatial level includes a first clustered power generation level, and the sample data sets corresponding to at least three spatial levels are determined based on all historical power generation data corresponding to the same power fluctuation mode label, including: Performing cluster analysis on all the historical power generation data to obtain a first power generation data set corresponding to at least one first cluster; the first cluster includes at least two power plants; For each of the first power generation data sets, fusing the historical power generation data of the same time dimension in the first power generation data sets to obtain second power generation data of the time dimension; Based on the second power generation data in each time dimension, a sample data set of the first clustered power generation level is determined.

7. The method according to claim 5, characterized in that The spatial level includes a second classification power generation level, and the sample data sets corresponding to at least three spatial levels are determined based on all historical power generation data corresponding to the same power fluctuation mode label, including: Performing fuzzy logic analysis on all the historical power generation data to obtain a third power generation data set corresponding to at least one second category; the second category includes at least two power plants; For each of the third power generation data sets, fusing the historical power generation data of the same time dimension in the third power generation data sets to obtain fourth power generation data of the time dimension; Based on the fourth power generation data of each time dimension, a sample data set of the second classification power generation level is determined.

8. A power generation prediction device, characterized in that: include: A weather data acquisition module is used to obtain weather data of the area to which the power station to be tested belongs within the time period to be predicted; A power fluctuation pattern determination module, used for inputting the weather data into a pre-trained power fluctuation pattern recognition model to obtain a predicted power fluctuation pattern; wherein the power fluctuation pattern recognition model is trained based on historical power generation data and a power fluctuation pattern label corresponding to the historical power generation data; the power fluctuation pattern label is determined based on the power fluctuation attributes of the historical power generation data under at least two power fluctuation evaluation indicators; the historical power generation data includes output power data and weather data; A power generation prediction data determination module is used to input the weather data into a power prediction model corresponding to the predicted power fluctuation pattern to obtain the power generation prediction data of the power station to be tested within the predicted time period; wherein different power prediction models are trained based on the sample feature matrix and time-varying adjacency matrix of historical power generation data corresponding to different power fluctuation patterns.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the power generation prediction method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the power generation prediction method according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Photovoltaic ultra-short-term power prediction method based on power reconstruction and geodesic flow type kernel

    CN116089829A

  • Photovoltaic power ultra-short-term prediction method and device based on multi-model adaptive combination

    CN117748465A