Meteorological-driven new energy generation power prediction method and system
By collecting and weighting meteorological data, and using deep neural network models to predict new energy power generation, the problem of low accuracy in new energy power generation power prediction is solved, more accurate prediction results are achieved, and scientific basis is provided for power grid and power station management. , promoting the efficient utilization and sustainable development of new energy.
Patent Information
- Application Number
- CN202410926239.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult to accurately predict new energy power generation with existing technology, especially due to the high uncertainty and complexity of meteorological conditions, which limits the prediction accuracy.
Collect current multi-dimensional meteorological data, convert it into current meteorological feature vectors in multi-dimensional feature space, calculate the average correlation score between historical meteorological features and power generation, determine high correlation features, perform weighting processing, and input the weighted features into deep neural The network model performs prediction and uses the long short-term memory LSTM structure to extract time series features.
It improves the accuracy of new energy power generation prediction, provides scientific basis for power grid dispatching and operation management of new energy power stations, and promotes the efficient utilization and sustainable development of new energy.
Smart Images

Figure CN118761507A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of new energy, and in particular to a method and system for predicting power generation of new energy driven by weather. Background Art
[0002] With the transformation of the global energy structure, renewable energy power generation, especially wind and solar power generation, has become one of the fastest growing energy industries. However, compared with traditional fossil energy power generation, renewable energy power generation is greatly affected by meteorological conditions. For example, solar power generation is directly affected by the intensity and duration of sunlight, while wind power generation depends on wind speed and direction. Therefore, accurate prediction of renewable energy power generation is of vital importance for the stable operation of the power grid and the effective allocation of energy. However, due to the high uncertainty and complexity of meteorological conditions, accurate prediction of renewable energy power generation has always been a challenge.
[0003] In traditional power generation forecasting methods, statistical models are usually established based on historical power generation data, such as regression analysis, time series analysis, etc. Although these methods can provide relatively accurate forecasts in some cases, they cannot fully consider the impact of changes in meteorological conditions on power generation, and the forecast accuracy is limited. Summary of the invention
[0004] The purpose of the present invention is to provide a weather-driven new energy power generation prediction method and system to address the deficiencies in the prior art, improve the accuracy of new energy power generation prediction, provide a scientific basis for power grid dispatching and operation and management of new energy power stations, and promote the efficient utilization and sustainable development of new energy.
[0005] An embodiment of the present application provides a weather-driven new energy power generation prediction method, the method comprising:
[0006] Collecting current multi-dimensional meteorological data, and converting the meteorological data into a current meteorological feature vector in a multi-dimensional feature space;
[0007] Calculate the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors, and determine the meteorological features whose average correlation score is higher than a preset threshold;
[0008] weighting the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector;
[0009] The weighted meteorological feature vector is input into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, the time series features in the meteorological data are extracted through a long short-term memory (LSTM) structure.
[0010] Optionally, the step of calculating an average correlation score between each meteorological feature and the corresponding historical power generation in the most recent several historical meteorological feature vectors includes:
[0011] For each historical meteorological feature vector, calculate the Pearson correlation coefficient between each meteorological feature in the historical meteorological feature vector and the corresponding historical power generation vector;
[0012] The information gain is used to evaluate the contribution of each meteorological feature to the power generation prediction, where the information gain is:
[0013] IG(P_j|V_ji)=H(P_j)-H(P_j|V_ji)
[0014] Wherein, IG(P_j|V_ji) is the information gain of the i-th meteorological feature V_ji in the j-th historical meteorological feature vector V_j, H(P_j) is the entropy of the historical power generation P_j corresponding to V_j, and H(P_j|V_ji) is the conditional entropy of P_j after V_ji is given;
[0015] Calculate the correlation score Score(V_ji) between V_ji and the corresponding P_j in V_i as:
[0016] Score(V_ji)=alpha·|r(V_ji,P_j)|+beta·IG(P_j|V_ji)
[0017] Wherein, the r(V_ji,P_j) is the Pearson correlation coefficient, and the alpha and beta are weight parameters;
[0018] Calculate the average correlation score Score_avg_i between V_ji and corresponding P_j in all V_j as:
[0019]
[0020] Wherein, N is the total number of recent times.
[0021] Optionally, weighting the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector includes:
[0022] The weight parameter of each meteorological feature determined by calculation is:
[0023]
[0024] Wherein, M is the number of determined meteorological features;
[0025] Weight each feature in the current meteorological feature vector to obtain the weighted meteorological feature:
[0026] V′_current_i=w_i·V_current_i
[0027] Wherein, the V′_current_i is the i-th weighted meteorological feature, the V_current_i is the current meteorological feature, and the weights of the remaining features other than the meteorological features determined in the current meteorological feature vector are 0;
[0028] All weighted meteorological features are combined into a new weighted meteorological feature vector:
[0029] V_current_weighted=[V′_current_1,V′_current_2,…,V′_current_M]
[0030] Wherein, V_weighted is a weighted meteorological feature vector.
[0031] Optionally, the deep neural network architecture includes: a deep feedforward network architecture or a convolutional neural network, and a long short-term memory network.
[0032] Another embodiment of the present application provides a weather-driven new energy power generation prediction system, the system comprising:
[0033] A collection module, used for collecting current multi-dimensional meteorological data and converting the meteorological data into a current meteorological feature vector in a multi-dimensional feature space;
[0034] A calculation module, used to calculate the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors, and determine the meteorological features whose average correlation score is higher than a preset threshold;
[0035] A weighting module, used for weighting the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector;
[0036] A prediction module is used to input the weighted meteorological feature vector into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in which the time series features in the meteorological data are extracted through a long short-term memory (LSTM) structure.
[0037] Yet another embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, wherein the computer program is configured to execute any of the above methods when running.
[0038] Yet another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any of the methods described above.
[0039] Compared with the prior art, the present invention provides a meteorologically driven new energy power generation prediction method, which collects current multi-dimensional meteorological data and converts the meteorological data into a current meteorological feature vector in a multi-dimensional feature space; calculates the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors, and determines the meteorological features whose average correlation score is higher than a preset threshold; according to the average correlation score, weights the meteorological features determined in the current meteorological feature vector to generate a weighted meteorological feature vector; inputs the weighted meteorological feature vector into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, through the long short-term memory LSTM, the accuracy of the new energy power generation prediction can be improved, and a scientific basis is provided for power grid dispatching and the operation and management of new energy power stations, and the efficient utilization and sustainable development of new energy are promoted. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A hardware structure block diagram of a computer terminal for a weather-driven new energy power generation prediction method provided by an embodiment of the present invention;
[0041] Figure 2 A schematic diagram of a flow chart of a method for predicting power generation of new energy driven by weather according to an embodiment of the present invention;
[0042] Figure 3 A schematic diagram of the structure of a weather-driven new energy power generation prediction system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0043] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but should not be construed as limiting the present invention.
[0044] The embodiment of the present invention firstly provides a weather-driven new energy power generation power prediction method, which can be applied to electronic devices such as computer terminals, specifically ordinary computers, etc.
[0045] The following describes it in detail by taking running on a computer terminal as an example. Figure 1 The hardware structure block diagram of a computer terminal for a weather-driven new energy power generation prediction method provided by an embodiment of the present invention. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the computer terminal may also include a transmission device 106 for communication functions and an input and output device 108. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0046] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / modules corresponding to the weather-driven new energy power generation prediction method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0047] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0048] See also Figure 2 The embodiment of the present invention provides a weather-driven new energy power generation prediction method, which may include the following steps:
[0049] S201, collecting current multi-dimensional meteorological data, and converting the meteorological data into a current meteorological feature vector in a multi-dimensional feature space;
[0050] Specifically, one implementation may include:
[0051] 1. Collect current multi-dimensional meteorological data First, it is necessary to obtain current multi-dimensional meteorological data from various meteorological observation stations or meteorological satellites. These data include but are not limited to temperature, humidity, wind speed, wind direction, solar radiation intensity, atmospheric pressure, etc. In order to ensure the real-time and accuracy of the data, these data need to be transmitted to the data processing center in real time through an efficient data transmission network. In addition, the integrity and reliability of the data should also be ensured, and the accuracy of subsequent processing should be improved through data preprocessing methods such as data cleaning and missing value filling.
[0052] 2. Data preprocessing The collected raw meteorological data often contains a lot of noise and inconsistency, so preprocessing is required to improve the data quality. This includes:
[0053] -Missing value handling: Use interpolation methods or forecasting models based on historical data to fill in missing data points.
[0054] -Outlier detection and processing: Identify and remove outliers by analyzing data distribution or building anomaly detection models.
[0055] -Data standardization: In order to eliminate the differences in the dimensions and magnitudes of different meteorological parameters, all features are converted to a unified scale through data standardization or normalization.
[0056] 3. Feature extraction and encoding Converting preprocessed meteorological data into feature vectors is one of the key steps. This process involves extracting useful information from the raw data and encoding it into a form that the model can process. Specific implementation methods include:
[0057] -Feature selection: With the help of professional knowledge and data analysis, meteorological features with high relevance to power generation forecast are selected.
[0058] -Time series feature extraction: For time series data (such as wind speed changes in the past few hours), a sliding window method can be used to extract statistical features (such as average, maximum, rate of change, etc.).
[0059] - Feature encoding: All selected meteorological features are combined and encoded in a certain way to form a feature vector of fixed length. For example, continuous features can be directly used as elements of the vector, and categorical features can be one-hot encoded and incorporated into the feature vector.
[0060] 4. Constructing a multi-dimensional feature space After completing feature extraction and encoding, the current meteorological feature vector is obtained, which represents the current meteorological conditions in a multi-dimensional feature space. This feature vector, as part of the input of the deep learning model, will be directly used for power generation prediction.
[0061] Through the above steps, not only the current multi-dimensional meteorological data are fully utilized, but also through professional data processing and feature engineering techniques, these data are effectively converted into a form that can be directly used by deep learning models, thus laying a solid foundation for subsequent power generation forecasting.
[0062] S202, calculating the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent several historical meteorological feature vectors, and determining the meteorological features whose average correlation score is higher than a preset threshold;
[0063] Specifically, calculating the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent several historical meteorological feature vectors may include the following steps:
[0064] For each historical meteorological feature vector, calculate the Pearson correlation coefficient between each meteorological feature in the historical meteorological feature vector and the corresponding historical power generation vector;
[0065] The Pearson correlation coefficient in statistical analysis is used to measure the linear correlation between each meteorological feature and the corresponding historical power generation in each meteorological feature vector. The value range of the Pearson correlation coefficient is [-1,1]. When it is close to 1 or -1, it means that there is a strong positive or negative correlation between the feature and the output, and when it is close to 0, it means that there is almost no correlation.
[0066] The information gain is used to evaluate the contribution of each meteorological feature to the power generation prediction, where the information gain is:
[0067] IG(P_j|V_ji)=H(P_j)-H(P_j|V_ji)
[0068] Wherein, IG(P_j|V_ji) is the information gain of the i-th meteorological feature V_ji in the j-th historical meteorological feature vector V_j, H(P_j) is the entropy of the historical power generation P_j corresponding to V_j, and H(P_j|V_ji) is the conditional entropy of P_j after V_ji is given;
[0069] Information gain is a method used to select features in machine learning algorithms such as decision trees. In this step, the information gain IG(P_j|V_j i) of each meteorological characteristic variable V_j i is calculated, that is, the reduction of uncertainty in power generation information under the condition of knowing the characteristic variable. The higher the information gain, the greater the contribution of the feature to the predicted power generation.
[0070] Calculate the correlation score Score(V_ji) between V_ji and the corresponding P_j in V_i as:
[0071] Score(V_ji)=alpha·|r(V_ji,P_j)|+beta·IG(P_j|V_ji)
[0072] Among them, r(V_ji,P_j) is the Pearson correlation coefficient, alpha and beta are weight parameters, which can be adjusted according to the actual model requirements; this step is based on the fact that different meteorological characteristics may have different importance on power generation, so the score aims to quantify the comprehensive contribution of each feature to power generation prediction.
[0073] Calculate the average correlation score Score_avg_i between V_ji and corresponding P_j in all V_j as:
[0074]
[0075] Wherein, N is the total number of recent times. The calculated correlation score Score(V_j i) of each meteorological feature V_j i is averaged in the recent N historical data to obtain the average correlation score Score_avg_i. This average score reflects the balance of a meteorological feature's contribution to power generation prediction in the entire time series.
[0076] The calculated average relevance score Score_avg_i is compared with the pre-set threshold, and meteorological features with scores exceeding the threshold are selected. These features are considered to have a high relevance to power generation forecasts, and therefore will be given a larger weight in the subsequent weighting process.
[0077] Through the above steps, meteorological features with an average correlation score with historical power generation higher than a preset threshold can be determined. These features will be given priority in the next step of constructing a weighted meteorological feature vector, thereby improving the accuracy and robustness of the power generation prediction model.
[0078] S203, weighting the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector;
[0079] When forecasting renewable energy power generation, the meteorological characteristics are weighted using the correlation score of meteorological data, aiming to enhance the influence of those features that are closely related to power generation, thereby improving the accuracy of the forecasting model.
[0080] Specifically, the weight parameter of each determined meteorological feature can be calculated as:
[0081]
[0082] Wherein, M is the number of determined meteorological features;
[0083] In this step, first, a weight parameter w_i is calculated for each meteorological feature V_{ji} that has been determined to have a high correlation with power generation using the average correlation score Score_{avg_i} calculated previously. This weight parameter is calculated by dividing the average correlation score Score_{avg_i} of a specific meteorological feature by the sum of the average correlation scores of all selected meteorological features. M is the number of selected meteorological features. The purpose of this is to give greater weight to features with higher scores while ensuring that the sum of the weights of all selected features is 1.
[0084] Weight each feature in the current meteorological feature vector to obtain the weighted meteorological feature:
[0085] V′_current_i=w_i·V_current_i
[0086] Wherein, the V′_current_i is the i-th weighted meteorological feature, the V_current_i is the current meteorological feature, and the weights of the remaining features other than the meteorological features determined in the current meteorological feature vector are 0;
[0087] After obtaining the weight parameter w_i for each important meteorological feature, the next task is to apply these weights to the current meteorological feature vector. For each feature V_{current_i} in the current meteorological feature vector, multiply it by its corresponding weight parameter w_i to generate a weighted meteorological feature V'_{current_i}. If a meteorological feature is not selected because its score does not reach the threshold, its weight will be 0, so these features will not have an impact in the weighted feature vector. This step ensures that features with high relevance to power generation prediction occupy a more important position in the prediction model.
[0088] All weighted meteorological features are combined into a new weighted meteorological feature vector:
[0089] V_current_weighted=[V′_current_1,V′_current_2,…,V′_current_M]
[0090] Wherein, the V_weighted is a weighted meteorological feature vector. After completing the weighting of all selected meteorological features, these weighted meteorological features are recombined to form a new weighted meteorological feature vector V_{current_weighted}.
[0091] This weighted meteorological feature vector contains all meteorological features that are considered to be highly relevant to power generation prediction, and each feature has been weighted according to its importance. This weighted processing method not only highlights the role of important features, but also compresses the influence of irrelevant features to a certain extent, thereby providing more targeted input data for the power generation prediction model.
[0092] This process creatively weights meteorological characteristics by scientifically combining historical data analysis with the needs of machine learning models, and can significantly improve the prediction accuracy and generalization ability of the model in practical applications.
[0093] S204, inputting the weighted meteorological feature vector into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, the time series features in the meteorological data are extracted through a long short-term memory (LSTM) structure.
[0094] Specifically, the deep neural network architecture may include, but is not limited to: a deep feedforward network architecture or a convolutional neural network, and a long short-term memory network. One implementation may include:
[0095] Step 1: Build a deep neural network architecture for the prediction model
[0096] 1. Initialize the network architecture: Build a deep neural network (DNN) with an input layer, multiple hidden layers, and an output layer. This architecture is designed to enable the network to learn complex nonlinear relationships from the input weighted meteorological feature vector.
[0097] 2. Introduce LSTM structure: In the hidden layer, especially the adaptive hidden layer, introduce the long short-term memory (LSTM) unit. LSTM is a special recurrent neural network (RNN) that can capture long-term and short-term dependencies in time series data. This is particularly important for processing meteorological data, because the relationship between meteorological variables and the relationship between them and power generation often has time series characteristics.
[0098] 3. Set network parameters: According to the characteristics of the data and the complexity of the prediction task, choose the appropriate number of LSTM units, the number of hidden layers, and the number of neurons in each layer. At the same time, choose an activation function suitable for the problem, such as ReLU or Sigmoid, to increase the nonlinear modeling ability of the network.
[0099] Step 2: Input weighted meteorological feature vector
[0100] 1. Data preprocessing: Before inputting the weighted meteorological feature vector into the network, the data is preprocessed as necessary, such as normalization or standardization, to ensure the stability and efficiency of model training.
[0101] 2. Vector input: The processed weighted meteorological feature vectors are used as input to the input layer. These feature vectors contain meteorological information that is closely related to the predicted power generation, and the importance of each feature has been adjusted through the previous weighting process.
[0102] Step 3: Extract time series features using LSTM
[0103] 1. Time series feature extraction: After passing through multiple adaptive hidden layers, especially the layers containing LSTM structures, the network is able to learn the time series features in meteorological data, including seasonal changes, short-term fluctuations, etc. LSTM effectively retains long-term and short-term memories through its unique gating mechanism, which is crucial for understanding and predicting power generation based on time series.
[0104] 2. Sequence-to-sequence learning: At multiple time steps, LSTM is able to process sequence data and capture dynamic changes from the previous time step to the current time step, which provides important information for power generation prediction.
[0105] Step 4: Generate predicted values
[0106] 1. Obtaining the predicted value through the output layer: After the data propagates forward in the network, it finally reaches the output layer. In this layer, the network generates the predicted value of the power generation based on the learned feature combination and time series features.
[0107] 2. Activation function and loss function: Different activation functions may be used in the output layer, such as linear activation function, to ensure the range of predicted values. At the same time, a suitable loss function, such as mean square error (MSE), is selected to calculate the difference between the predicted value and the true value as the optimization target during training.
[0108] Through the above steps, deep learning, especially LSTM structure, can not only effectively process and utilize the time series features in meteorological data, but also generate accurate power generation prediction values based on weighted and adjusted feature inputs. This method comprehensively utilizes the correlation and time series characteristics of meteorological data, providing an efficient and accurate solution for renewable energy power generation prediction.
[0109] It can be seen that the current multi-dimensional meteorological data is collected, and the meteorological data is converted into the current meteorological feature vector in the multi-dimensional feature space; the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors is calculated, and the meteorological features with the average correlation score higher than the preset threshold are determined; according to the average correlation score, the meteorological features determined in the current meteorological feature vector are weighted to generate a weighted meteorological feature vector; the weighted meteorological feature vector is input into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, through the long short-term memory LSTM, so as to improve the accuracy of the new energy power generation prediction, provide a scientific basis for power grid dispatching and the operation and management of new energy power stations, and promote the efficient utilization and sustainable development of new energy.
[0110] Another embodiment of the present invention provides a weather-driven new energy power generation prediction system, see Figure 3 , the system may include:
[0111] The acquisition module 301 is used to acquire current multi-dimensional meteorological data and convert the meteorological data into a current meteorological feature vector in a multi-dimensional feature space;
[0112] A calculation module 302 is used to calculate the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors, and determine the meteorological features whose average correlation score is higher than a preset threshold;
[0113] A weighting module 303, configured to weight the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector;
[0114] The prediction module 304 is used to input the weighted meteorological feature vector into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in which the time series features in the meteorological data are extracted through a long short-term memory (LSTM) structure.
[0115] It can be seen that the current multi-dimensional meteorological data is collected, and the meteorological data is converted into the current meteorological feature vector in the multi-dimensional feature space; the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors is calculated, and the meteorological features with the average correlation score higher than the preset threshold are determined; according to the average correlation score, the meteorological features determined in the current meteorological feature vector are weighted to generate a weighted meteorological feature vector; the weighted meteorological feature vector is input into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, through the long short-term memory LSTM, so as to improve the accuracy of the new energy power generation prediction, provide a scientific basis for power grid dispatching and the operation and management of new energy power stations, and promote the efficient utilization and sustainable development of new energy.
[0116] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0117] Specifically, in this embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
[0118] S201, collecting current multi-dimensional meteorological data, and converting the meteorological data into a current meteorological feature vector in a multi-dimensional feature space;
[0119] S202, calculating the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent several historical meteorological feature vectors, and determining the meteorological features whose average correlation score is higher than a preset threshold;
[0120] S203, weighting the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector;
[0121] S204, inputting the weighted meteorological feature vector into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, the time series features in the meteorological data are extracted through a long short-term memory (LSTM) structure.
[0122] It can be seen that the current multi-dimensional meteorological data is collected, and the meteorological data is converted into the current meteorological feature vector in the multi-dimensional feature space; the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors is calculated, and the meteorological features with the average correlation score higher than the preset threshold are determined; according to the average correlation score, the meteorological features determined in the current meteorological feature vector are weighted to generate a weighted meteorological feature vector; the weighted meteorological feature vector is input into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, through the long short-term memory LSTM, so as to improve the accuracy of the new energy power generation prediction, provide a scientific basis for power grid dispatching and the operation and management of new energy power stations, and promote the efficient utilization and sustainable development of new energy.
[0123] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0124] Specifically, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0125] Specifically, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0126] S201, collecting current multi-dimensional meteorological data, and converting the meteorological data into a current meteorological feature vector in a multi-dimensional feature space;
[0127] S202, calculating the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent several historical meteorological feature vectors, and determining the meteorological features whose average correlation score is higher than a preset threshold;
[0128] S203, weighting the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector;
[0129] S204, inputting the weighted meteorological feature vector into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, the time series features in the meteorological data are extracted through a long short-term memory (LSTM) structure.
[0130] It can be seen that the current multi-dimensional meteorological data is collected, and the meteorological data is converted into the current meteorological feature vector in the multi-dimensional feature space; the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors is calculated, and the meteorological features with the average correlation score higher than the preset threshold are determined; according to the average correlation score, the meteorological features determined in the current meteorological feature vector are weighted to generate a weighted meteorological feature vector; the weighted meteorological feature vector is input into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, through the long short-term memory LSTM, so as to improve the accuracy of the new energy power generation prediction, provide a scientific basis for power grid dispatching and the operation and management of new energy power stations, and promote the efficient utilization and sustainable development of new energy.
[0131] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings. The above is only a preferred embodiment of the present invention, but the present invention is not limited to the scope of implementation shown in the drawings. Any changes made according to the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the description and drawings, should be within the protection scope of the present invention.
Claims
1. A weather-driven new energy power generation prediction method, characterized in that: The method comprises: Collecting current multi-dimensional meteorological data, and converting the meteorological data into a current meteorological feature vector in a multi-dimensional feature space; Calculate the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors, and determine the meteorological features whose average correlation score is higher than a preset threshold; weighting the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector; The weighted meteorological feature vector is input into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in the adaptive hidden layer, the time series features in the meteorological data are extracted through a long short-term memory (LSTM) structure.
2. The method according to claim 1, characterized in that The calculation of the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent several historical meteorological feature vectors includes: For each historical meteorological feature vector, calculate the Pearson correlation coefficient between each meteorological feature in the historical meteorological feature vector and the corresponding historical power generation vector; The information gain is used to evaluate the contribution of each meteorological feature to the power generation prediction, where the information gain is: IG(P_j|V_ji)=H(P_j)-H(P_j|V_ji) Wherein, IG(P_j|V_ji) is the information gain of the i-th meteorological feature V_ji in the j-th historical meteorological feature vector V_j, H(P_j) is the entropy of the historical power generation P_j corresponding to V_j, and H(P_j|V_ji) is the conditional entropy of P_j after V_ji is given; Calculate the correlation score Score(V_ji) between V_ji and the corresponding P_j in V_i as: Score(V_ji)=alphav|r(V_ji,P_j)|+beta·IG(P_j|V_ji) Wherein, the r(V_ji,P_j) is the Pearson correlation coefficient, and the alpha and beta are weight parameters; Calculate the average correlation score Score_avg_i between V_ji and corresponding P_j in all V_j as: Wherein, N is the total number of recent times.
3. The method according to claim 2, characterized in that The step of weighting the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector includes: The weight parameter of each meteorological feature determined by calculation is: Wherein, M is the number of determined meteorological features; Weight each feature in the current meteorological feature vector to obtain the weighted meteorological feature: V'_current_i=w_i·V_current_i Wherein, the V′_current_i is the i-th weighted meteorological feature, the V_current_i is the current meteorological feature, and the weights of the remaining features other than the meteorological features determined in the current meteorological feature vector are 0; All weighted meteorological features are combined into a new weighted meteorological feature vector: V_current_weighted=[V′_current_1,V′_current_2,…,V′_current_M] Wherein, V_weighted is a weighted meteorological feature vector.
4. The method according to claim 3, characterized in that The deep neural network architecture includes: a deep feedforward network architecture or a convolutional neural network, and a long short-term memory network.
5. A weather-driven new energy power generation prediction system, characterized in that: The system comprises: A collection module, used for collecting current multi-dimensional meteorological data and converting the meteorological data into a current meteorological feature vector in a multi-dimensional feature space; A calculation module, used to calculate the average correlation score between each meteorological feature and the corresponding historical power generation in the most recent historical meteorological feature vectors, and determine the meteorological features whose average correlation score is higher than a preset threshold; A weighting module, used for weighting the meteorological features determined in the current meteorological feature vector according to the average correlation score to generate a weighted meteorological feature vector; A prediction module is used to input the weighted meteorological feature vector into a pre-trained power generation prediction model to obtain a power generation prediction value, wherein the power generation prediction model includes: a deep neural network architecture, the network architecture has an input layer, an adaptive hidden layer and an output layer, in which the time series features in the meteorological data are extracted through a long short-term memory (LSTM) structure.
6. The system according to claim 5, characterized in that The computing module is specifically used for: For each historical meteorological feature vector, calculate the Pearson correlation coefficient between each meteorological feature in the historical meteorological feature vector and the corresponding historical power generation vector; The information gain is used to evaluate the contribution of each meteorological feature to the power generation prediction, where the information gain is: IG(P_j|V_ji)=H(P_j)-H(P_j|V_ji) Wherein, IG(P_j|V_ji) is the information gain of the i-th meteorological feature V_ji in the j-th historical meteorological feature vector V_j, H(P_j) is the entropy of the historical power generation P_j corresponding to V_j, and H(P_j|V_ji) is the conditional entropy of P_j after V_ji is given; Calculate the correlation score Score(V_ji) between V_ji and the corresponding P_j in V_i as: Score(V_ji)=alpha·|r(V_ji,P_j)|+beta·IG(P_j|V_ji) Wherein, the r(V_ji,P_j) is the Pearson correlation coefficient, and the alpha and beta are weight parameters; Calculate the average correlation score Score_avg_i between V_ji and corresponding P_j in all V_j as: Wherein, N is the total number of recent times.
7. The system according to claim 6, characterized in that The weighting module is specifically used for: The weight parameter of each meteorological feature determined by calculation is: Wherein, M is the number of determined meteorological features; Weight each feature in the current meteorological feature vector to obtain the weighted meteorological feature: V'_current_i=w_i·V_current_i Wherein, the V′_current_i is the i-th weighted meteorological feature, the V_current_i is the current meteorological feature, and the weights of the remaining features other than the meteorological features determined in the current meteorological feature vector are 0; All weighted meteorological features are combined into a new weighted meteorological feature vector: V_current_weighted=[V′_current_1,V′_current_2,…,V′_current_M] Wherein, V_weighted is a weighted meteorological feature vector.
8. The system according to claim 7, characterized in that The deep neural network architecture includes: a deep feedforward network architecture or a convolutional neural network, and a long short-term memory network.
9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 4 when executed.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 4.
Citation Information
Cited By
Virtual power plant gateway data processing method and system based on edge computing
CN119150705A
