Method and system for accurately predicting short-time generated power of photovoltaic array

By screening features, fitting the backplane temperature relationship and constructing an LSTM neural network model, combined with the backplane temperature and weather characteristics, the problems of backplane temperature correlation and ultra-short time interval data processing in photovoltaic power generation prediction are solved, achieving Highly accurate and real-time photovoltaic power generation prediction.

CN118630733APending Publication Date: 2024-09-10XIAN UNIV OF POSTS & TELECOMM
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410626771.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing photovoltaic power generation power prediction technology ignores the close correlation between backplane temperature and photovoltaic power generation, and lacks ultra-short time interval data sets, which affects prediction accuracy and makes it difficult to achieve real-time prediction.

Method used

Features are screened through the Pearson correlation coefficient, data is downsampled and cleaned, the relationship between backplane temperature and related features is fitted, and a photovoltaic power generation power prediction model based on LSTM neural network is constructed to predict the backplane temperature and weather characteristics.

Benefits of technology

It improves the accuracy and real-time performance of photovoltaic power generation prediction, enhances the stability and adaptability of the model, is suitable for photovoltaic power generation systems of different types and sizes, and optimizes the operation and management of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118630733A
    Figure CN118630733A
Patent Text Reader

Abstract

The invention belongs to the technical field of photovoltaic power generation power prediction, and particularly relates to a photovoltaic array short-time power generation power accurate prediction method and system based on meteorological data and backboard temperature, and the method comprises the steps: screening the features of original data through employing a Pearson correlation coefficient, and screening out the features which are highly related to the backboard temperature and power; carrying out downsampling and data preprocessing on the screened features; normalizing the temperature of the back plate and the characteristics with strong correlation with the back plate, and linearly fitting a normalized relational expression; dividing the data into a training set and a test set, predicting the backboard temperature of the training set by using a normalized relational expression, comparing the backboard temperature with the actual backboard temperature of the training set, and verifying the feasibility of the relational expression; and training the LSTM neural network model by using the training data, and checking the LSTM neural network model by using the test data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of photovoltaic power generation prediction, and in particular relates to a method and system for accurately predicting the short-term power generation of a photovoltaic array based on meteorological data and backplane temperature. Background Art

[0002] At present, the closest existing technology: the prediction models of photovoltaic power generation can be divided into physical models, statistical models, machine learning models and deep learning models. Physical models make predictions by considering the physical relationship between solar radiation, photovoltaic cell characteristics and environmental factors (such as temperature, tilt angle, etc.). These models are usually more accurate because they directly consider the working principle of photovoltaic power generation systems. However, the establishment of such models requires precise parameterization and complex mathematical models, so it takes a lot of time and resources in practical applications. Statistical models use historical data and statistical methods to make predictions. They can use techniques such as time series analysis and regression analysis to discover patterns and trends from past data and predict future power generation based on this. This method is simple and easy to use, but it has high requirements on data quality and is usually only applicable to simple prediction tasks, with limited prediction capabilities for complex nonlinear relationships. Machine learning models make predictions by learning the complex relationship between photovoltaic power generation and various factors from data. These models can handle complex nonlinear relationships and adapt to different environmental conditions. Commonly used machine learning algorithms include decision trees, support vector machines, etc. However, these models require a large amount of data for training, and the model has poor interpretability, making it difficult to understand the working mechanism inside the model. Deep learning models are a branch of machine learning that use multi-layer neural networks to learn representations and features of data. They are able to handle more complex nonlinear relationships and generally have higher prediction accuracy. However, deep learning models require a lot of computing resources and data to train.

[0003] At the current level of technology, photovoltaic power generation is usually predicted using weather data, ignoring the close correlation between backplane temperature and photovoltaic power generation. The future backplane temperature cannot be measured, so it is impossible to predict photovoltaic power generation more accurately.

[0004] Currently, PV power generation prediction is usually limited to the use of short-term, medium-term, and long-term data sets with time intervals ranging from minutes to months, ignoring data sets with ultra-short time intervals, which have higher prediction accuracy and can achieve real-time prediction effects.

[0005] In summary, the problems with the existing technology are: the existing technology has certain limitations in predicting photovoltaic power generation. The photovoltaic power generation prediction ignores the close correlation between backplane temperature and power, and lacks data sets with ultra-short time intervals, which affects the prediction accuracy.

[0006] The difficulty in solving the above problems lies in the fact that accurate prediction and measurement of backplane temperature requires the development of more advanced sensors and data processing technologies. In addition, data collection and processing at ultra-short time intervals also place higher demands on real-time prediction capabilities.

[0007] The significance of solving the above problems is that improving the accuracy of photovoltaic power prediction can better balance the grid load and improve the stability and reliability of the power system; it also helps to optimize the operation of the photovoltaic power generation system and improve energy utilization efficiency. Summary of the invention

[0008] In view of the problems existing in the prior art, the present invention provides an ultra-short-time photovoltaic power prediction method based on backplane temperature prediction.

[0009] The present invention is implemented as follows: an ultra-short-time photovoltaic power generation prediction method based on backplane temperature prediction comprises:

[0010] The first step is to draw a correlation graph using the Pearson correlation coefficient, analyze the correlation between all features in the data set and the target variables (PV power generation and backplane temperature), and draw a correlation graph. By screening features with strong correlation, it can help select appropriate features in subsequent modeling and improve the performance and accuracy of the model.

[0011] In the second step, since the original data is collected every second or every minute, the data volume is very large. The data volume is very large. In order to reduce the computational complexity, the data is downsampled, for example, data is collected every 10 minutes. By downsampling, the data volume can be reduced while retaining the main trends and features of the data. In addition, data cleaning is performed and the original data is filtered to remove outliers and missing values.

[0012] In the third step, the backplane temperature and features that are strongly correlated with the backplane temperature (such as ambient temperature) are normalized. This helps ensure that all variables have similar magnitudes, thereby improving the stability and convergence speed of the model. After normalization, methods such as linear regression are used to fit the relationship between the backplane temperature and these features. This fitting process helps determine the linear relationship between the features and the backplane temperature, providing a basis for subsequent predictions.

[0013] The fourth step is to divide the training set, normalize several features related to the backplane temperature, and use the above fitted relationship to predict the backplane temperature of the training set. Then, the predicted backplane temperature is denormalized to restore its original scale. By comparing the denormalized predicted value with the actual backplane temperature, the feasibility and accuracy of the fitted relationship are verified.

[0014] In the fifth step, the backplane temperature predicted by the training set is combined with weather features that are strongly correlated with power generation to construct a photovoltaic power generation prediction model based on the LSTM neural network.

[0015] The sixth step is to divide the test set to test the above model.

[0016] Furthermore, the downsampling and data preprocessing in the second step include the following steps:

[0017] (1) The features selected by Pearson correlation include: power, backplane temperature, ambient temperature, wind speed, irradiance, and solar altitude angle. These six original data are downsampled, and the data interval is changed from 5s to 10min. The average value of all data within 10min is taken for downsampling;

[0018] (2) Perform time domain filtering on the downsampled data set to remove noise and smooth the data.

[0019] Further, the backplane temperature prediction in the third step includes: selecting features such as backplane temperature, irradiance, ambient temperature, and solar altitude angle, selecting these features for the first four days, normalizing them, and linearly fitting the normalized relationship;

[0020] Furthermore, in the fourth step, the training set is divided, and the backplane temperature of the training set is predicted using the above-mentioned fitted relationship. The feasibility of the relationship is verified, including: dividing the training set, normalizing the ambient temperature and irradiance of the training set, predicting the backplane temperature using the above-mentioned relationship, and then denormalizing the predicted backplane temperature, calculating the R2 between the predicted backplane temperature of the training set and the actual backplane temperature, and verifying the feasibility of the above-mentioned relationship.

[0021] Furthermore, the fifth step of photovoltaic power generation prediction based on LSTM neural network includes:

[0022] (1) A LSTM-based neural network model was constructed, including an LSTM layer and a linear output layer. The LSTM layer has a single-layer network with a hidden size of 64, processes the input sequence data, and returns the hidden state of the last time step. The model generates the final prediction result by selecting the hidden state of the last time step and passing it to the linear layer, reducing the output dimension from 64 to 1. The backplane temperature predicted by the training set combined with weather characteristics is used as the input of the model.

[0023] (2) The Adam optimizer is used to optimize the model parameters, and the learning rate is set to 0.06. The mean square error (MSE) is used as the loss function to measure the error between the model prediction and the true value. The number of training rounds is 100, and the model will perform 100 training cycles on the data.

[0024] Another object of the present invention is to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the ultra-short-time photovoltaic power generation prediction method based on backplane temperature prediction.

[0025] Another object of the present invention is to provide a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of the ultra-short-time photovoltaic power generation prediction method based on backplane temperature prediction.

[0026] Another object of the present invention is to provide an information data processing terminal, which is used to implement the ultra-short-time photovoltaic power generation prediction system based on backplane temperature prediction.

[0027] Another object of the present invention is to provide a real-time, high-precision, and highly stable photovoltaic power prediction method. By introducing ultra-short-term photovoltaic power prediction technology based on backplane temperature prediction, the present invention aims to optimize the operation and management of photovoltaic power generation systems.

[0028] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are:

[0029] First, (1) feature selection and data preprocessing: The present invention selects features with strong correlation with photovoltaic power generation and backplane temperature through the Pearson correlation coefficient. The data is denoised and outliers are processed. This data preprocessing method provides the model with higher quality input data and improves the performance of the prediction model.

[0030] (2) Real-time prediction capability: The present invention uses ultra-short time interval data of 5 seconds to monitor the power output of the photovoltaic power generation system in real time. Through downsampling and time domain filtering, the data interval is adjusted to 10 minutes, the noise in the data is reduced, and the real-time power prediction is achieved. This real-time prediction capability can monitor and adjust the operating status of the photovoltaic power generation system in real time, improving the flexibility and response speed of the power grid.

[0031] (3) Improved prediction accuracy: This invention improves the accuracy of the prediction model by introducing an ultra-short-term photovoltaic power prediction method that combines backplane temperature prediction with weather characteristics. The model can accurately capture key features related to photovoltaic power generation, ensuring that the prediction results are highly consistent with the actual situation, helping the power system to perform more reasonable scheduling and management, and improving the overall efficiency of the power generation system.

[0032] (4) Model stability and robustness: The present invention adopts a prediction model based on LSTM neural network, which has high stability and robustness after optimization and can adapt to different environmental conditions and data fluctuations. The model is stable and reliable in practical applications, avoiding the problems of overfitting and underfitting, and ensuring the accuracy and consistency of the prediction.

[0033] (5) Wide range of applications: The prediction method of the present invention is applicable to photovoltaic power generation systems of different types and sizes. By adjusting the model parameters and input characteristics, the prediction method can adapt to photovoltaic power generation systems in different regions and climate conditions. This makes the present invention widely applicable in photovoltaic power generation applications around the world.

[0034] (6) Power system optimization: The power prediction method of the present invention can effectively improve the operating efficiency of the power system and optimize the dispatch and management of the power system by accurately predicting the photovoltaic power generation. The real-time prediction capability helps the power system to adjust power generation and supply in a timely manner, thereby reducing power losses, ensuring the stable operation of the power grid, and improving the quality of power supply.

[0035] The technical solution of the present invention fully considers the close relationship between the backplane temperature and the photovoltaic power generation. In the future, the backplane temperature will be difficult to measure directly, but there is a strong correlation between it and the irradiance and ambient temperature. By fitting the relationship with the backplane temperature as the target variable and combining the downsampling processing of the ultra-short time interval data set, the ability of real-time prediction is achieved. This comprehensive method helps to predict the photovoltaic power generation more accurately, highlighting the innovation and practicality of the present invention.

[0036] Second, the method for accurately predicting the short-term power generation of a photovoltaic array proposed in the present invention provides solutions to the following technical problems of the prior art and achieves significant technical progress:

[0037] Technical problems of existing technologies:

[0038] 1) Low data utilization: Traditional methods do not fully utilize the environmental and equipment characteristic data that are closely related to photovoltaic power generation, resulting in the prediction model being unable to accurately reflect the actual power generation situation.

[0039] 2) Inaccurate short-term predictions: Existing prediction technologies often have difficulty in achieving high-precision short-term power generation predictions when processing ultra-short time interval data due to high variability and noise issues in the data.

[0040] 3) Poor model adaptability: Many existing prediction models lack the ability to dynamically adapt to environmental changes, such as temperature fluctuations and weather changes, which limits their application effectiveness under different conditions.

[0041] Significant technological advances achieved:

[0042] 1) Improve data utilization efficiency: By using the Pearson correlation coefficient to accurately screen features that are highly correlated with photovoltaic power generation and backplane temperature, the present invention ensures effective use of data and improves the accuracy and efficiency of the prediction model.

[0043] 2) Enhanced short-term prediction capabilities: The present invention uses data preprocessing and downsampling techniques to effectively handle noise and outliers in data sets with ultra-short time intervals, thereby enhancing the performance and reliability of the model in short-term predictions.

[0044] 3) Improve model adaptability: The prediction model built using the LSTM neural network can learn and memorize long-term dependencies in time series data, enabling the model to better adapt to environmental changes and improving the prediction accuracy under different meteorological conditions.

[0045] 4) Practicality of verification and application: By performing linear fitting on the training set and constructing the LSTM model, and verifying its effect on an independent test set, the present invention demonstrates the practicality and promotion potential of the model, which is suitable for the management and optimization needs of actual photovoltaic power plants.

[0046] The present invention significantly improves the short-term power prediction capability of photovoltaic arrays by integrating advanced data processing technology and machine learning methods, which helps photovoltaic system operators to more effectively manage and optimize power generation operations and achieve efficient use of energy. These technological advances not only improve economic benefits, but also help promote the development and application of renewable energy technologies. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 It is a flow chart of a method for accurately predicting short-term power generation of a photovoltaic array based on meteorological data and backplane temperature provided by an embodiment of the present invention.

[0049] Figure 2 4 is a graph of using the Pearson correlation coefficient to screen features provided by an embodiment of the present invention.

[0050] Figure 3 It is a diagram of downsampling and preprocessing data provided by the implementation of the present invention.

[0051] Figure 4 This is a diagram of using the fitted relationship to predict the backplane temperature of the training set provided by an embodiment of the present invention.

[0052] Figure 5 This is the test set result obtained by using the LSTM neural network model provided by the embodiment of the present invention. Specific implementation plan

[0053] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0054] The following is a detailed six-step working principle for analyzing and predicting backplane temperature and power generation in photovoltaic systems:

[0055] Step 1: Correlation Analysis and Visualization

[0056] Purpose: To determine which features in the dataset have a high correlation with the target variables (PV power and backplane temperature).

[0057] Methods: Pearson correlation coefficient was used to assess the linear relationship between each feature and the target variable.

[0058] Visualization: Plotting correlation plots helps to visually show the strength of correlation of each feature with the target variable.

[0059] Screening: Select features with high correlation coefficients for use in subsequent modeling.

[0060] Step 2: Data Preprocessing

[0061] Purpose: To simplify data structures and reduce computational burden while retaining key information.

[0062] Downsampling: Reduce the number of data points by sampling every 10 minutes instead of every second or minute.

[0063] Data cleaning: Perform data filtering to remove outliers and missing values.

[0064] Step 3: Data normalization and preliminary model fitting

[0065] Purpose: Ensure that the model input features are at the same scale to enhance the stability and convergence speed of the model.

[0066] Normalization: Normalize the backplane temperature and other features that are strongly correlated with it (such as ambient temperature).

[0067] Model fitting: Use methods such as linear regression to fit the relationship between the backplane temperature and these characteristics and determine the linear relationship between them.

[0068] Step 4: Training set prediction and denormalization

[0069] Purpose: To verify the accuracy and feasibility of the fitting model.

[0070] Training set division: Select a part of the data as the training set for model training.

[0071] Prediction: Use the trained model to predict the backplane temperature of the training set.

[0072] Denormalization: Convert the normalized prediction results back to the original scale and compare them with the actual backplane temperature.

[0073] Step 5: Constructing a photovoltaic power generation prediction model

[0074] Purpose: To predict photovoltaic power generation.

[0075] Data integration: Combines backplane temperature forecasts with weather features that are highly correlated with power generation.

[0076] Model construction: Use LSTM neural network to build a power generation prediction model. The LSTM model can handle the long-term dependency problem of time series data and is suitable for modeling the complex relationship between weather and power generation performance.

[0077] Step 6: Model testing

[0078] Purpose: To test the generalization ability and accuracy of the model.

[0079] Test set partitioning: Select another part of the data as the test set.

[0080] Performance evaluation: Use the test set to evaluate the model and verify the effectiveness of the model by comparing the model prediction results with the actual data.

[0081] Through these steps, the data of the photovoltaic power generation system can be comprehensively processed and analyzed, thereby improving the accuracy and efficiency of predicting the backplane temperature and power generation.

[0082] The following are two specific embodiments of a method for accurately predicting the short-term power generation of a photovoltaic array based on meteorological data and backplane temperature:

[0083] Embodiment 1:

[0084] A photovoltaic power station has multiple photovoltaic arrays installed and has collected meteorological data (such as solar radiation intensity, temperature, wind speed, etc.) and the backplane temperature of the photovoltaic arrays and the corresponding power generation data over a period of time (for example, the past year).

[0085] 1) Data collection and feature screening: First, collect all the data during this period. Then, use the Pearson correlation coefficient to analyze the correlation between all the collected features and the photovoltaic power generation and backplane temperature, and draw a correlation graph. Through the graph, we can intuitively see which features are strongly correlated with photovoltaic power generation and backplane temperature. Suppose we have screened out three features that are strongly correlated with photovoltaic power generation and backplane temperature: solar radiation intensity, ambient temperature, and wind speed.

[0086] 2) Data preprocessing: Since the original data is collected every second or every minute, the data volume is very large. In order to reduce the computational complexity, we downsample the data, for example, taking data every 10 minutes. In addition, data cleaning is performed to remove outliers and missing values.

[0087] 3) Normalization and relationship fitting: Normalize the backplane temperature and features that are strongly correlated with the backplane temperature (such as ambient temperature). Then, use linear regression or other methods to fit the relationship between the normalized backplane temperature and these features.

[0088] 4) Relationship verification: Divide the data set into a training set and a validation set. Use the training set data to verify the fitted backplane temperature relationship to ensure its accuracy.

[0089] 5) Model construction and training: Combine the backplane temperature prediction value in the training set data with the selected features (such as solar radiation intensity, ambient temperature, and wind speed) to build a photovoltaic power prediction model based on the LSTM neural network. Use the training set data to train the model.

[0090] 6) Model testing and optimization: Use validation set data to test the trained model and evaluate its prediction performance. Based on the test results, you can adjust the model parameters or improve the feature selection method to improve the prediction accuracy.

[0091] Embodiment 2:

[0092] In this embodiment, a distributed photovoltaic system is considered, which consists of multiple small photovoltaic arrays distributed in different regions.

[0093] 1) Multi-region data collection: Collect meteorological data (such as solar radiation intensity, temperature, wind speed, etc.) and backplane temperature and corresponding power generation data from photovoltaic arrays in various regions.

[0094] 2) Regional characteristics analysis: Due to the differences in climate conditions and environmental factors in different regions, it is necessary to analyze the data of each region separately. The Pearson correlation coefficient is used to screen out the characteristics with strong correlation with photovoltaic power generation and backplane temperature in each region.

[0095] 3) Data preprocessing and normalization: Downsample and clean the data of each region. Then, normalize the backplane temperature and the features that are strongly correlated with the backplane temperature.

[0096] 4) Relationship fitting and verification: For the data of each region, use linear regression and other methods to fit the normalized relationship between the backplane temperature and the characteristics. Use the training set data to verify the accuracy of the relationship.

[0097] 5) Regional model construction and training: Build a photovoltaic power prediction model based on LSTM neural network for each region. Use the training set data of each region to train the model.

[0098] 6) Global model construction and optimization: After building the models for each region, we can further build a global model that can comprehensively consider the data and characteristics of all regions. By comparing the prediction performance of each region and the global model, we can select the most suitable model for practical application.

[0099] In view of the problems existing in the prior art, the present invention provides a method for accurately predicting the short-term power generation of a photovoltaic array based on meteorological data and backplane temperature. The present invention is described in detail below in conjunction with the accompanying drawings.

[0100] The working principle of this method for accurately predicting the short-term power generation of photovoltaic arrays based on meteorological data and backplane temperature is as follows:

[0101] 1) Feature screening:

[0102] The Pearson correlation coefficient is used to perform correlation analysis on multiple features related to photovoltaic power generation and backplane temperature. The Pearson correlation coefficient is a statistical indicator used to measure the degree of linear correlation between two variables. Here, it is used to find the features that are most closely related to photovoltaic power generation and backplane temperature.

[0103] Draw a correlation graph to intuitively show the strength of the correlation between each feature and the target variable (PV power generation and backplane temperature).

[0104] 2) Data preprocessing:

[0105] For the ultra-short time interval data set with a data interval of 5s, considering the data volume and computational efficiency, downsampling technology is used to reduce the number of data points while maintaining the representativeness of the data.

[0106] Clean and organize the data, remove outliers, missing values, etc., to ensure the accuracy and completeness of the data.

[0107] 3) Normalization processing:

[0108] The backplane temperature and features that are strongly correlated with the backplane temperature are normalized, that is, their numerical ranges are scaled to a uniform scale to facilitate subsequent model training and prediction.

[0109] By linear fitting, we can find the relationship between the normalized backplane temperature and these features. This relationship can help us predict the backplane temperature through other features when we do not directly measure the backplane temperature.

[0110] 4) Relational verification:

[0111] The dataset is divided into a training set and a validation set (also called a cross-validation set).

[0112] The training set data is used to verify the fitted backplane temperature relationship to ensure its feasibility in practical applications.

[0113] 5) Model construction and training:

[0114] Combining the predicted backplane temperature value in the training set data (obtained using the fitting relationship) and weather characteristics (such as solar radiation intensity, temperature, wind speed, etc.), a photovoltaic power generation prediction model based on the LSTM (Long Short-Term Memory) neural network is constructed. LSTM is a special type of recurrent neural network (RNN) that is particularly suitable for processing data with time series relationships and can capture long-term dependencies in the data.

[0115] By training the LSTM neural network, the mapping relationship between input features (including backplane temperature prediction values ​​and weather characteristics) and photovoltaic power generation is learned.

[0116] 6) Model testing and optimization:

[0117] The trained LSTM model is tested using the test set data to evaluate its prediction performance.

[0118] Optimize the model based on the test results, such as adjusting model parameters, improving feature selection methods, etc., to improve prediction accuracy and generalization ability.

[0119] Through the above steps, this method can achieve accurate prediction of the short-term power generation of photovoltaic arrays and provide strong support for the operation and management of photovoltaic power generation systems. Figure 1 As shown, the accurate prediction of short-term power generation of a photovoltaic array based on the slope characteristics of a discharge curve provided by an embodiment of the present invention includes the following steps:

[0120] S1: Use Pearson correlation coefficient to filter features on the original dataset;

[0121] S2: preprocess the selected features;

[0122] S3: Normalize the backplane temperature and the features that are strongly correlated with the backplane, and linearly fit the normalized relationship;

[0123] S4: Divide the training set, use the normalized relationship to predict the backplane temperature of the training set, and verify the feasibility of the relationship;

[0124] S5: Use the training data to train the LSTM neural network model;

[0125] S6: Use test data to test the LSTM neural network model;

[0126] S7: Input photovoltaic power generation data into the LSTM neural network model to achieve accurate prediction of the short-term power generation of the photovoltaic array.

[0127] This method for accurately predicting the short-term power generation of photovoltaic arrays uses comprehensive data analysis technology and advanced machine learning models to improve the accuracy and practicality of photovoltaic power generation prediction. The following is a detailed explanation of the specific steps and technical solutions of this method:

[0128] Step 1: Correlation Analysis

[0129] Pearson correlation coefficient: First, the Pearson correlation coefficient is used to identify features that have a strong correlation with PV power generation and backplane temperature. This step is critical because it helps to screen out the variables that have the greatest impact on power generation prediction, thereby improving the prediction efficiency and accuracy of the model.

[0130] Step 2: Data Preprocessing

[0131] Data downsampling: Downsampling is performed on the ultra-short time interval data collected every 5 seconds. This helps reduce the amount of data and improve processing speed, while reducing noise and maintaining data quality.

[0132] Step 3: Data normalization and linear fitting

[0133] Normalization: Normalize the backplane temperature and its related features to make the data on the same scale, facilitating unified analysis and processing.

[0134] Linear fitting: Based on the normalized data, a linear fitting method is used to establish the relationship between the backplane temperature and other related characteristics. This step provides a mathematical model to describe the linear dependence between these variables.

[0135] Step 4: Model Validation

[0136] Training set division and prediction: Use the fitted relationship to predict the backplane temperature in the training set to verify the accuracy and feasibility of the relationship.

[0137] Step 5: Build a prediction model

[0138] LSTM neural network model: Using the long short-term memory (LSTM) network, combined with the predicted backplane temperature and weather characteristics, a photovoltaic power generation prediction model is constructed. LSTM is particularly suitable for processing and predicting important events in time series data, so it is particularly effective in photovoltaic power generation prediction.

[0139] Step 6: Model testing

[0140] Test set division and verification: The remaining part of the dataset is used as a test set to evaluate the performance and prediction accuracy of the LSTM model.

[0141] Technical Problem Solving and Technological Advancement:

[0142] Technical problem to be solved: Existing photovoltaic power generation prediction methods cannot effectively process and utilize a large amount of environmental and equipment data that changes in a short period of time, resulting in low prediction accuracy.

[0143] Technological progress: This invention significantly improves the accuracy and reliability of short-term power generation prediction by combining environmental data and equipment performance data and using advanced data processing and machine learning techniques. It can also dynamically adapt to environmental changes and provide a scientific basis for the management and optimization of photovoltaic power stations.

[0144] The implementation of this method not only improves the prediction accuracy, but also enhances the adaptability of the photovoltaic system to environmental changes, making photovoltaic power generation more efficient and reliable.

[0145] In a preferred embodiment of the present invention, by accurately predicting photovoltaic power generation, the load on the power grid can be better balanced and the stability and reliability of the power system can be improved.

[0146] In a preferred embodiment of the present invention, step S2 pre-processes the screened features, specifically as follows:

[0147] Step 1: The features selected by Pearson correlation include: power, backplane temperature, ambient temperature, wind speed, irradiance, and solar altitude angle. These six original data are downsampled, and the data interval is changed from 5s to 10min. The average value of all data within 10min is taken for downsampling;

[0148] Step 2: Perform time domain filtering on the downsampled data set to remove noise and smooth the data.

[0149] In a preferred embodiment of the present invention, step S3 normalizes the backplane temperature and features that are strongly correlated with the backplane, and linearly fits the normalized relationship. The specific method is: select multiple features such as backplane temperature, irradiance, ambient temperature, solar altitude angle, etc., select these features of the first four days, normalize them, and linearly fit the normalized relationship.

[0150] In a preferred embodiment of the present invention, step S4 divides the training set, uses the normalized relationship to predict the backplane temperature of the training set, and verifies the feasibility of the relationship. The specific method is: divide the training set, normalize the backplane temperature and other features of the training set, use the above relationship to predict the backplane temperature, and then denormalize the predicted backplane temperature to calculate the R2 between the predicted backplane temperature of the training set and the actual backplane temperature, and verify the feasibility of the above relationship.

[0151] In a preferred embodiment of the present invention, step S5 uses training data to train the LSTM neural network model, and the specific method is as follows: a LSTM-based neural network model is constructed, including an LSTM layer and a linear output layer. The LSTM layer has a single-layer network with a hidden size of 64, processes the input sequence data, and returns the hidden state of the last time step. The model generates the final prediction result by selecting the hidden state of the last time step and passing it to the linear layer, reducing the output dimension from 64 to 1. The backplane temperature predicted by the training set is combined with the weather characteristics as the input of the model. The model parameters are optimized using the Adam optimizer.

[0152] The technical effects of the present invention are described in detail below in conjunction with tests.

[0153] The data used in the embodiment of the present invention comes from a measurement data set of the actual operation of an Austrian photovoltaic-thermoelectric hybrid solar collector, from July 11, 2021 to September 6, 2021, for 58 days, with a time interval of 5 seconds. The weather data related to photovoltaic power generation include global inclined irradiance and ambient air temperature. The weather data of the meteorological station include global horizontal solar irradiance, diffuse horizontal solar irradiance, direct normal solar irradiance, equivalent radiation temperature of the sky, horizontal wind speed, horizontal wind direction, solar altitude angle, and solar position.

[0154] Data from different time periods are selected to divide the training set and the test set, and the photovoltaic power generation is accurately predicted according to the steps and LSTM neural network model of the present invention. The results are as follows: Figure 3 This is the result obtained by preprocessing the original data. Figure 4 This is a comparison chart of the backplane temperature of the training set predicted by the fitted relationship and the actual backplane temperature. Figure 5 This is the result of testing the LSTM neural network model using test data.

[0155] According to the results, it can be seen that the short-term prediction method of photovoltaic power generation proposed by the present invention is more accurate than the result obtained by predicting photovoltaic power generation using only weather data, and can better predict future photovoltaic power generation.

[0156] An application embodiment of the present invention provides a computer device, which includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor executes the steps of a short-term prediction method for photovoltaic power generation.

[0157] An application embodiment of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of a short-term prediction method for photovoltaic power generation.

[0158] An application embodiment of the present invention provides an information data processing terminal, which is used to implement a short-term prediction method for photovoltaic power generation.

[0159] The data used in the application embodiment of the present invention comes from a measurement data set of the actual operation of the Austrian photovoltaic-thermoelectric hybrid solar collector, from July 11, 2021 to September 6, 2021, for 58 days, with a time interval of 5 seconds. First, the Pearson correlation coefficient is used to filter the features of the original data, and the features with strong correlation with the backplane temperature and power are screened out, and then downsampled and preprocessed. Then, the backplane temperature and the features with strong correlation with the backplane are normalized, and the normalized relationship is linearly fitted. Next, the data is divided into a training set and a test set, and the normalized relationship is used to predict the backplane temperature of the training set to verify the feasibility of the relationship. Finally, the LSTM neural network model is trained using the training data, and the LSTM neural network model is tested using the test data.

[0160] The embodiments of the present invention have achieved some positive effects during the development or use process, and indeed have great advantages over the prior art. The following content is described in conjunction with data, charts, etc. of the test process.

[0161] The application embodiment of the present invention achieves good results in feature extraction. In feature extraction, the correlation between the backplane temperature in the training set predicted by using the fitted relationship (a mathematical model) and the actually measured backplane temperature is very high, and the determination coefficient (R 2) reached 0.94. This shows that the fitted relationship can well predict the backplane temperature. When the LSTM neural network model is used for training, the determination coefficient reaches 0.989. This means that the model can almost perfectly learn the variation pattern of photovoltaic power generation in the training data set. When the LSTM model is tested using the test data set (usually new data that does not participate in the model training process), the determination coefficient is 0.978. This means that the model still performs very well on unknown data and can well predict photovoltaic power generation.

[0162] The application embodiment of the present invention achieves good results in photovoltaic power generation prediction. Figure 4 The figure shows the relationship between the training set backplane temperature predicted by the fitted relationship and the actual backplane temperature. This figure is used to show how well the model fits the training data. Figure 5 The results of the LSTM model validation using the test data are shown. This graph is used to illustrate how the model performs on unseen test data.

[0163] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.

[0164] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. An accurate prediction method for short-term power generation of photovoltaic arrays based on meteorological data and backplane temperature. It is characterized in that include: The first step is to draw a correlation graph using the Pearson correlation coefficient, analyze the correlation between all features in the data set and the target variable, and draw a correlation graph. By screening features with strong correlation, it can help select appropriate features in subsequent modeling; The second step is that since the original data is collected every second or every minute, the data volume is very large. In order to reduce the computational complexity, the data is downsampled, for example, data is collected every 10 minutes. Downsampling can reduce the amount of data while retaining the main trends and features of the data; data cleaning is also performed, and the original data is filtered to remove outliers and missing values; The third step is to normalize the backplane temperature and the features that are strongly correlated with the backplane temperature. This helps ensure that all variables have similar magnitudes, thereby improving the stability and convergence speed of the model; After normalization, linear regression and other methods are used to fit the relationship between the backplane temperature and these characteristics; The fourth step is to divide the training set, normalize several features related to the backplane temperature, and use the above fitted relationship to predict the backplane temperature of the training set. Then, the predicted backplane temperature is denormalized to restore its original scale; the feasibility and accuracy of the fitted relationship are verified by comparing the denormalized predicted value with the actual backplane temperature; Step 5: The backplane temperature predicted by the training set is combined with weather features that are highly correlated with power generation to build a photovoltaic power generation prediction model based on the LSTM neural network; The sixth step is to divide the test set to test the above model.

2. The method for accurately predicting the short-term power generation of a photovoltaic array according to claim 1, It is characterized in that In the second step, the features involved in the ultra-short time interval data set with a data interval of 5s are downsampled, and the data preprocessing includes the following steps: (1) The features selected by Pearson correlation include: power, backplane temperature, ambient temperature, wind speed, irradiance, and solar altitude angle. These six original data are downsampled, and the data interval is changed from 5s to 10min. The average value of all data within 10min is taken for downsampling; (2) Perform time domain filtering on the downsampled data set to remove noise and smooth the data.

3. The method for accurately predicting short-term power generation of a photovoltaic array according to claim 1, It is characterized in that In the third step, the backplane temperature and features with strong correlation with the backplane are normalized, and a normalized relationship is linearly fitted, which includes the following steps: selecting features such as backplane temperature, irradiance, ambient temperature, solar altitude angle, etc., selecting these features of the first four days, normalizing them, and linearly fitting a normalized relationship.

4. The method for accurately predicting short-term power generation of a photovoltaic array according to claim 1, It is characterized in that The fourth step involves dividing the training set, predicting the backplane temperature of the training set using the fitted relationship, and verifying the feasibility of the relationship, including the following steps: dividing the training set, normalizing the features of the training set such as the ambient temperature, predicting the backplane temperature using the relationship, and then denormalizing the predicted backplane temperature to obtain the R2 between the predicted backplane temperature of the training set and the actual backplane temperature, and verifying the feasibility of the relationship.

5. The method for accurately predicting short-term power generation of a photovoltaic array according to claim 1, It is characterized in that In the fifth step, the backplane temperature predicted by the training set is combined with weather characteristics to construct a photovoltaic power prediction model based on the LSTM neural network, including the following steps: A neural network model based on LSTM is constructed, including an LSTM layer and a linear output layer. The LSTM layer has a single-layer network with a hidden size of 64, processes the input sequence data, and returns the hidden state of the last time step. The model reduces the output dimension from 64 to 1 by selecting the hidden state of the last time step and passing it to the linear layer, generating the final prediction result. The backplane temperature predicted by the training set combined with weather characteristics is used as the input of the model. The model parameters are optimized using the Adam optimizer.

6. A photovoltaic array short-term power generation accurate prediction system for realizing the photovoltaic array short-term power generation accurate prediction method according to any one of claims 1 to 5, It is characterized in that include: Feature extraction module: Use the Pearson correlation coefficient to draw a correlation graph, screen out features that are strongly correlated with photovoltaic power generation and features that are strongly correlated with backplane temperature, downsample the features involved in the ultra-short time interval data set with a data interval of 5s, and perform data preprocessing. Fitting relationship module: normalizes the backplane temperature and features that are highly correlated with the backplane, and linearly fits the normalized relationship. Predicting backplane temperature module: Divide the training set, use the above fitted relationship to predict the backplane temperature of the training set, and verify the feasibility of the relationship. Power prediction module: The backplane temperature predicted by the training set is combined with weather characteristics to build a photovoltaic power prediction model based on the LSTM neural network; the test set is divided to test the above model.

7. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for accurately predicting the short-term power generation of a photovoltaic array as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to execute the steps of the method for accurately predicting the short-term power generation of a photovoltaic array as claimed in any one of claims 1 to 5.

9. An information data processing terminal, used for implementing the method and system for accurately predicting the short-term power generation of a photovoltaic array as claimed in claim 6.

Citation Information

Cited By

  • Method for predicting different meteorological power generation based on photovoltaic power generation prediction model

    CN119622393A