Temporal and spatial refined short-term forecasting method, device, equipment and medium for solar energy resources
By processing multi-source meteorological data with spatio-temporal refinement and using deep neural networks and correction models, the accuracy and resolution problems of short-term solar resource forecasting in the existing technology have been solved, and accurate forecasts with high spatio-temporal resolution have been achieved.
Patent Information
- Application Number
- CN202410772772.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Existing solar resource short-term forecasting methods have problems such as prediction accuracy being affected by data quality and sample quantity, physical process model calculations being complex and inconvenient, and satellite data having low spatiotemporal resolution.
Using multi-source meteorological observation data processed with spatio-temporal refinement, through deep neural network training and combined with the observed solar radiation from meteorological observation stations to fit and correct the model, short-term solar resource resource short-term forecasts with high spatial and temporal resolution can be achieved.
It improves the accuracy and spatio-temporal resolution of short-term solar resource forecasting, meets the demand for fine scale, and effectively captures the spatio-temporal change distribution patterns of solar resources.
Smart Images

Figure CN118365498B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of short-term and impending solar energy resource forecasting, and in particular to a method, device, equipment and medium for short-term and impending solar energy resource forecasting with temporal and spatial refinement. Background Art
[0002] In the context of the growing demand for sustainable energy, solar energy resources, as an emerging renewable energy source, can be directly converted into electrical energy through photovoltaic power generation systems, which can reduce energy consumption. Therefore, how to more accurately and timely forecast refined scale solar energy resource information is crucial to optimize the operation and scheduling of solar energy systems.
[0003] The current short-term forecasting methods for solar energy resources mainly include the following three categories: (1) Models based on statistics, which mainly use historical meteorological data and solar radiation observation data to establish regression relationships through statistical methods (such as regression analysis, time series analysis, etc.), and predict future solar radiation based on the relationship. This type of method is simple to calculate, but in fact, the lack of meteorological observation data and the sparse spatial distribution of observation stations limit the effective application of this type of method, and the prediction accuracy is easily affected by data quality and sample size; (2) Models based on physical processes, which are mainly based on atmospheric physics and radiation transfer principles, taking into account various physical processes in the atmosphere (such as scattering, absorption, etc.) (3) Short-term forecast of solar radiation based on satellite data. Satellite cloud images have the characteristics of large spatial scale and high spatial resolution, which can realize large-scale cloud phase observation and radiation forecast information. However, most of the current research is based on satellite data forecast. The temporal and spatial resolution of forecast data and original historical data are low, and there are relatively few methods that combine deep learning technology to realize short-term forecast of solar energy resources. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a method, device, equipment and medium for short-term and impending forecast of solar energy resources with fine spatiotemporal refinement, which can better meet the needs of short-term and impending forecast of solar energy resources on a refined scale.
[0005] In a first aspect, an embodiment of the present invention provides a method for spatiotemporal refined short-term forecasting of solar energy resources, comprising:
[0006] Obtain multi-source meteorological observation data;
[0007] Performing spatial refinement processing and temporal refinement processing on the multi-source meteorological observation data to obtain target multi-source meteorological observation data;
[0008] Using the target multi-source meteorological observation data to train a deep neural network, and determining the short-term and impending solar energy resource forecast results corresponding to the target multi-source meteorological observation data through the trained deep neural network;
[0009] The short-term forecast results of solar energy resources and the observed solar radiation corresponding to the meteorological observation site are used to fit the correction model, so as to perform short-term forecast of solar energy resources for the study area through the deep neural network and the correction model.
[0010] In one embodiment, after the step of acquiring multi-source meteorological observation data, the method further includes:
[0011] Performing format conversion on the multi-source meteorological observation data to convert the multi-source meteorological observation data into a raster format; wherein the multi-source meteorological observation data includes total solar radiation, total water vapor content, cloud coverage and solar altitude angle information;
[0012] Hourly meteorological radiation observation data are obtained, and the multi-source meteorological observation data in the raster format are cleaned using the hourly meteorological radiation observation data to remove abnormal values in the multi-source meteorological observation data in the raster format.
[0013] In one embodiment, the step of performing spatial refinement processing on the multi-source meteorological observation data includes:
[0014] For each new pixel point, determining a plurality of adjacent pixel points corresponding to the new pixel point;
[0015] Determine a distance weight according to the distance between the new pixel point and each of the adjacent pixel points;
[0016] The multi-source meteorological observation data corresponding to each of the adjacent pixel points is weightedly processed and summed using the distance weight to obtain the multi-source meteorological observation data corresponding to the new pixel point.
[0017] In one embodiment, the step of performing time refinement processing on the multi-source meteorological observation data includes:
[0018] The multi-source meteorological observation data corresponding to the new pixel point is subjected to linear interpolation processing using a time linear interpolation formula, and the time linear interpolation formula is as follows:
[0019] ;
[0020] in, for Multi-source meteorological observation data corresponding to the time, for Multi-source meteorological observation data corresponding to the time, for Multi-source meteorological observation data corresponding to the time.
[0021] In one embodiment, the step of training a deep neural network using the target multi-source meteorological observation data includes:
[0022] Constructing a first time interval and a second time interval based on a preset reference time, wherein the first time interval is a time interval consisting of the first N hours of the reference time, and the second time interval is a time interval consisting of the last N hours of the reference time;
[0023] Taking the geospatial image factor and the target multi-source meteorological observation data in the first time interval as input feature values, and taking the target multi-source meteorological observation data in the second time interval as the predicted true value;
[0024] The reference time is adjusted according to a preset step length, and the first time interval and the second time interval are constructed based on the adjusted reference time respectively, until a preset stop condition is met to obtain a training data set;
[0025] The deep neural network is trained using the training data set.
[0026] In one embodiment, the step of fitting the correction model using the short-term forecast result of solar energy resources and the observed solar radiation corresponding to the meteorological observation site includes:
[0027] Performing temporal and spatial matching of the short-term and impending solar resource forecast results with meteorological observation sites to obtain the short-term and impending solar resource forecast results at the site scale;
[0028] The observed solar radiation corresponding to the meteorological observation site is taken as the dependent variable, the short-term forecast result of the solar energy resources matched in time and space by the meteorological observation site is taken as the first independent variable, and the elevation corresponding to the meteorological observation site is taken as the second independent variable to fit the revised model.
[0029] In one embodiment, the step of performing short-term forecasting of solar energy resources for a study area using the deep neural network and the correction model includes:
[0030] Obtain multi-source meteorological observation data corresponding to the study area;
[0031] Performing spatial refinement processing and temporal refinement processing on the multi-source meteorological observation data corresponding to the study area to obtain target multi-source meteorological observation data corresponding to the study area;
[0032] Determining the short-term and impending solar energy resource forecast structure corresponding to the study area based on the target multi-source meteorological observation data corresponding to the study area through the deep neural network;
[0033] The correction model is used to correct the short-term and impending forecast results of the solar energy resources corresponding to the study area, so as to obtain the short-term and impending forecast results of the target solar energy resources corresponding to the study area.
[0034] In a second aspect, an embodiment of the present invention further provides a temporal and spatial refined short-term and impending solar energy resource forecasting device, comprising:
[0035] A data acquisition module is used to acquire multi-source meteorological observation data;
[0036] A refinement processing module is used to perform spatial refinement processing and temporal refinement processing on the multi-source meteorological observation data to obtain target multi-source meteorological observation data;
[0037] A network training module, used to train a deep neural network using the target multi-source meteorological observation data, and determine the short-term and impending solar energy resource forecast results corresponding to the target multi-source meteorological observation data through the trained deep neural network;
[0038] The model fitting module is used to use the short-term and impending forecast results of solar energy resources and the observed solar radiation corresponding to the meteorological observation site to fit the correction model, so as to perform short-term and impending forecasts of solar energy resources for the study area through the deep neural network and the correction model.
[0039] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement any one of the methods provided in the first aspect.
[0040] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect.
[0041] The embodiments of the present invention provide a spatiotemporal refined short-term forecast method, device, equipment and medium for solar energy resources, which first acquire multi-source meteorological observation data; then perform spatial and temporal refinement processing on the multi-source meteorological observation data to obtain target multi-source meteorological observation data; then use the target multi-source meteorological observation data to train a deep neural network, and determine the short-term forecast result of solar energy resources corresponding to the target multi-source meteorological observation data through the trained deep neural network; finally, use the short-term forecast result of solar energy resources and the observed solar radiation corresponding to the meteorological observation site to fit the correction model, so as to perform short-term forecast of solar energy resources for the study area through the deep neural network and the correction model. The above method combines the good nonlinear mapping ability and strong generalization ability of deep neural networks, and proposes a method for realizing short-term forecasting of solar energy resources with high temporal and spatial resolution based on deep neural networks. The method mainly uses the target multi-source meteorological observation data after spatiotemporal refinement for model training and testing, performs short-term forecasting of solar energy resources, and uses ground radiation observation data for correction to obtain accurate and reliable spatiotemporal refinement of short-term forecasting results of solar energy resources. The embodiments of the present invention can better meet the needs of short-term forecasting of solar energy resources on a refined scale, and can more effectively capture the spatiotemporal variation distribution law of solar energy resources, thereby increasing the accuracy of short-term forecasting.
[0042] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0043] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 A schematic diagram of a flow chart of a method for spatiotemporal refined short-term and impending solar energy resource forecasting provided by an embodiment of the present invention;
[0046] Figure 2 An overall flow chart of a method for spatiotemporal refined short-term and impending solar energy resource forecasting provided by an embodiment of the present invention;
[0047] Figure 3A schematic diagram of the structure of a temporal and spatial refined short-term and impending solar energy resource forecasting device provided by an embodiment of the present invention;
[0048] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] At present, in the current short-term forecasting methods of solar energy resources, the models based on statistics have the problem that the prediction accuracy is easily affected by the data quality and the number of samples, the models based on physical processes have the problem that it is difficult to achieve convenient, fast, accurate and effective practical applications, and the short-term forecasting of solar radiation based on satellite data has the problem that the temporal and spatial resolution of both the forecast data and the original historical data are low. Based on this, the implementation of the present invention provides a method, device, equipment and medium for short-term forecasting of solar energy resources with refined spatiotemporal resolution, which can better meet the needs of short-term forecasting of solar energy resources on a refined scale.
[0051] To facilitate understanding of this embodiment, firstly, a spatiotemporal refined short-term forecasting method for solar energy resources disclosed in an embodiment of the present invention is described in detail, see Figure 1 The flowchart of a method for spatiotemporal refined short-term forecasting of solar energy resources is shown in FIG. 1 , and the method mainly includes the following steps S102 to S108:
[0052] Step S102, obtaining multi-source meteorological observation data.
[0053] Among them, multi-source meteorological observation data can use all hourly FY4A full-disk surface solar incident radiation real-time products, atmospheric water vapor real-time products, cloud coverage real-time products and imager GEO data within a specified time range. In one example, for the above multi-source meteorological observation data, it can be pre-processed and then subjected to spatial refinement processing and temporal refinement processing. The pre-processing may include data format conversion and data cleaning.
[0054] Step S104, performing spatial refinement processing and temporal refinement processing on the multi-source meteorological observation data to obtain target multi-source meteorological observation data.
[0055] In one example, spatial refinement is used to improve the spatial refinement of multi-source meteorological observation data, and event refinement is used to improve the temporal refinement of multi-source meteorological observation data. In one example, bilinear interpolation downscaling can be used to perform spatial refinement on multi-source meteorological observation data, and temporal linear interpolation can be used to perform temporal refinement on multi-source meteorological observation data. The target multi-source meteorological observation data after refinement includes elements such as total solar radiation, total water vapor content, cloud coverage, and solar altitude angle information.
[0056] Step S106, using the target multi-source meteorological observation data to train a deep neural network, and determining the short-term and impending solar energy resource forecast results corresponding to the target multi-source meteorological observation data through the trained deep neural network.
[0057] The input of the deep neural network is the target multi-source meteorological observation data, and the output is the short-term forecast result of solar energy resources. In one example, the target multi-source meteorological observation data can be used to construct a training data set, and the training data set can be used to train the deep neural network, and then the target multi-source meteorological observation data can be input into the trained deep neural network, so that the network can output the corresponding short-term forecast result of solar energy resources.
[0058] Step S108, using the short-term forecast results of solar energy resources and the observed solar radiation corresponding to the meteorological observation site to fit the correction model, so as to perform short-term forecast of solar energy resources for the study area through a deep neural network and the correction model.
[0059] In one example, the observed solar radiation corresponding to the meteorological observation site can be used as the dependent variable, the short-term forecast results of solar energy resources and the elevation of the meteorological observation site can be used as independent variables, a multivariate linear regression model can be established, and the correction coefficients of the multivariate linear regression model can be fitted to obtain the required corrected model.
[0060] In one example, after determining the deep neural network and deep model, one only needs to input the multi-source meteorological observation data of a certain study area, and automatically perform spatiotemporal refinement processing, model fitting and result correction to obtain the short-term forecast results of solar energy resources corresponding to the study area.
[0061] The above method provided by the embodiment of the present invention combines the good nonlinear mapping ability and strong generalization ability of deep neural networks, and proposes a method for realizing short-term forecasting of solar energy resources with high temporal and spatial resolution based on deep neural networks. The method mainly uses the target multi-source meteorological observation data after spatiotemporal refinement to train and test the model, and makes short-term forecasts of solar energy resources. The model is corrected by using ground radiation observation data to obtain accurate and reliable spatiotemporal refinement of short-term forecasting results of solar energy resources. The embodiment of the present invention can better meet the needs of short-term forecasting of solar energy resources on a refined scale, and can more effectively capture the spatiotemporal variation distribution law of solar energy resources, thereby increasing the accuracy of short-term forecasts.
[0062] For ease of understanding, an embodiment of the present invention provides a specific implementation of a spatiotemporal refined short-term forecasting method for solar energy resources.
[0063] For the aforementioned step S102, multi-source meteorological observation data is first obtained, and then the multi-source meteorological observation data is preprocessed. The preprocessing process is shown in the following steps 1A to 1B:
[0064] Step 1A, converting the format of multi-source meteorological observation data to a raster format, wherein the multi-source meteorological observation data includes total solar radiation, total water vapor content, cloud coverage and solar altitude angle information.
[0065] In one example, all hourly FY4A full-disk surface solar incident radiation real-time products, total atmospheric water vapor real-time products, cloud cover real-time products and imager GEO data from January to December 2022 were selected, and the variables were read in batches using the python language to obtain the total solar radiation, total water vapor content, cloud coverage and solar altitude angle information, and the data were uniformly processed from NC format to TIFF raster format.
[0066] Step 1B, obtaining hourly meteorological radiation observation data, and using the hourly meteorological radiation observation data to clean the multi-source meteorological observation data in raster format, so as to remove abnormal values in the multi-source meteorological observation data in raster format.
[0067] In one example, the instantaneous total solar irradiance at every hour (e.g. 00:00, 01:00, 02:00…) and the longitude, latitude and elevation information of the corresponding stations are directly selected from the hourly meteorological radiation observation data, and the triple standard deviation method is used to remove outliers to obtain the hourly instantaneous total solar irradiance and other related station observation information after data cleaning.
[0068] For the aforementioned step S104, the embodiment of the present invention provides an implementation method of performing spatial refinement processing and temporal refinement processing on multi-source meteorological observation data to obtain target multi-source meteorological observation data, see the following steps 2A to 2B:
[0069] Step 2A: Spatially refine the multi-source meteorological observation data: The converted FY4A grid data are all 4-km resolution, and are spatially refined to 1-km based on bilinear interpolation downscaling to obtain high-resolution hourly meteorological element products. The bilinear interpolation method is used to improve the spatial resolution of the image. Its principle is to select the neighboring pixel values to calculate the radiation value of the new position pixel.
[0070] Specifically: (1.1) For each new pixel point, determine the multiple neighboring pixel points corresponding to the new pixel point; (1.2) Determine the distance weight based on the distance between the new pixel point and each neighboring pixel point; (1.3) Use the distance weight to perform weighted processing and summation on the multi-source meteorological observation data corresponding to each neighboring pixel point to obtain the multi-source meteorological observation data corresponding to the new pixel point.
[0071] Taking the total solar radiation as an example, assuming that the original image size is M×N, and the downscaled image size is M'×N' (M'>M, N'>N), for each new pixel point position in the downscaled image ( ), find the nearest neighbor in the original image Pixel location ( ), according to the distance from each neighboring pixel to the central pixel, a weighted calculation is performed to obtain the total solar radiation corresponding to the downscaled new pixel. The calculation is expressed as follows:
[0072] ;
[0073] in, is the total solar radiation of the new pixel after downscaling, is the total solar radiation of the neighboring pixel points, is the corresponding distance weight, is the number of neighboring pixels (usually 4).
[0074] Step 2B, performing time refinement processing on the multi-source meteorological observation data. Optionally, a time linear interpolation formula may be used to perform linear interpolation processing on the multi-source meteorological observation data corresponding to the new pixel point.
[0075] In the specific implementation, the total solar radiation, total water vapor content, cloud coverage and solar altitude angle grid products after spatial downscaling are all hourly results. In order to improve the resolution of the time scale, the linear interpolation method is used to interpolate the hourly meteorological element products to a 15-minute time resolution to obtain 15-minute element products.
[0076] The temporal linear interpolation method is expressed as follows:
[0077] Based on the linear relationship, when the time interval is uniform, there are two known time points. and The corresponding element values are and ,exist and Some time between Estimate the corresponding feature value at The time linear interpolation formula is as follows:
[0078] ;
[0079] in, and is a known point in time, is the time point to be interpolated, for Multi-source meteorological observation data corresponding to the time, for Multi-source meteorological observation data corresponding to the time, for The multi-source meteorological observation data corresponding to the time. According to the linear relationship, the time axis is proportionally calculated. and The increment of the value corresponding to the position is then added proportionally to On, we get the estimated value .
[0080] Regarding the aforementioned step S106 , the embodiment of the present invention first explains the deep neural network (DNN).
[0081] The established DNN structure mainly consists of input layer, hidden layer and output layer. In the input layer, the input quantity needs to be converted by a standard constant function and then output to the first layer. (wn, bn) represents the weight parameter wn and threshold parameter bn of the n hidden layers. The data in the hidden layer comes from the input of the upper layer. After the input variable is processed nonlinearly using the activation function of this layer, the processed data output is passed to the lower layer for combined output. The network structure and loss function design mainly include:
[0082] (1) Before model training, random numbers in the normal distribution range were used to initialize the weights. Considering the learning ability of the model, two hidden layers were set. After experimental testing, the optimal ratio of the number of nodes in the first hidden layer to the second hidden layer was 3:1, which was set to 15 and 5 respectively.
[0083] (2) LeakyReLU is used as the activation function to reduce the gradient vanishing problem and speed up the convergence speed. Compared with the ReLU function, it can also reduce the appearance of silent neurons and allow gradient-based learning. The activation function is expressed as follows, where x is the input feature variable and a is the slope of the negative interval, which is empirically set to 0.01:
[0084] ;
[0085] (3) The loss function selects L2 loss (i.e., minimizing the error), which is the function to achieve the predicted value and the true value Minimize the sum of the squared differences between them; in addition, regularization-term is added to reduce the overfitting of the model, where is the i-th weight parameter, A hyperparameter that controls the size of the regularization term:
[0086] .
[0087] The embodiment of the present invention also provides an implementation method of training a deep neural network using target multi-source meteorological observation data, including:
[0088] (1) Based on a preset reference time, a first time interval and a second time interval are constructed respectively. The first time interval is a time interval consisting of the first N hours of the reference time, and the second time interval is a time interval consisting of the last N hours of the reference time.
[0089] (2) The geospatial image factor and the target multi-source meteorological observation data in the first time interval are used as input feature values, and the target multi-source meteorological observation data in the second time interval are used as the predicted true value.
[0090] Exemplarily, after processing in step S104, all major satellite products with a 1-km resolution every 15 minutes from January 1 to October 31, 2022 are obtained, with a certain time as the base time, the total solar radiation, total water vapor content, cloud coverage and solar altitude angle data every 15 minutes 4 hours before the base time, and the geospatial influencing factors elevation and latitude are added, and the above are used as input feature values; the total solar radiation every 15 minutes 4 hours after the base time is used as the predicted true value.
[0091] (3) The reference time is adjusted according to a preset step size, and the first time interval and the second time interval are constructed based on the adjusted reference time, respectively, until a preset stop condition is met to obtain a training data set.
[0092] Exemplarily, the benchmark time is postponed one time in sequence, and the second eigenvalue and true value sample are obtained in the same way, so as to generate all the eigenvalue and predicted true value sample data sets, which are then divided into training data sets and test data sets in a ratio of 7:3.
[0093] (4) Use the training data set to train the deep neural network.
[0094] In one example, the improved BP algorithm is used for training, and the momentum term is introduced to allow the error surface to avoid falling into the local minimum and thus obtain the optimal solution; the learning rate η is set to 0.001, the momentum coefficient α is set to 0.8, the number of iterations is set to 2000, and the error range ε is less than 0.001. In order to avoid the selection of accidental hyperparameters and models that do not have generalization ability due to the special division of the data set, a ten-fold cross-validation is adopted, that is, all training data are divided into ten parts, each of which is used as a validation set in turn, and the other nine are used as training sets for training and validation; the hyperparameters are kept consistent during the training process, and the average training loss and average validation loss of the ten models are taken to measure the pros and cons of the hyperparameters. After selecting the optimal hyperparameters, all training data are used as the training set, and a model result is obtained through training to reduce contingency and improve generalization ability. In the above process, according to the stability of the loss value and the performance of the test set, the hyperparameters, learning rate, number of iterations and other parameters of the model are continuously optimized and adjusted, and finally the optimal DNN model result file is saved.
[0095] Furthermore, after the deep neural network training is completed, the deep neural network training can be used to generate the satellite product short-term forecast grid results of total solar radiation (that is, the short-term forecast results of solar energy resources) at every hour from January to December 2022.
[0096] For the aforementioned step S108, an embodiment of the present invention provides an implementation method for fitting a correction model using the short-term forecast results of solar energy resources and the observed solar radiation corresponding to the meteorological observation site, including: performing spatiotemporal matching on the short-term forecast results of solar energy resources and the meteorological observation site to obtain the short-term forecast results of solar energy resources at the site scale; taking the observed solar radiation corresponding to the meteorological observation site as the dependent variable, taking the short-term forecast results of solar energy resources matched with the meteorological observation site in time and space as the first independent variable, and taking the elevation corresponding to the meteorological observation site as the second independent variable to fit the correction model.
[0097] In the specific implementation, the time-space matching is carried out according to the relevant station information of the hourly instantaneous total solar irradiance of meteorological observations, and the total solar radiation value of the satellite product on the site scale is obtained, and the observed solar radiation at a certain hour is taken as the dependent variable. , the solar radiation of the short-term forecast satellite product results is the independent variable , the corresponding site elevation is the independent variable , establish a multivariate linear regression model, and obtain the correction coefficients based on the least squares fitting method , and , the calculation is expressed as follows: .
[0098] Furthermore, an embodiment of the present invention also provides an implementation method for performing short-term forecasting of solar energy resources for a study area through a deep neural network and a correction model, including: acquiring multi-source meteorological observation data corresponding to the study area; performing spatial refinement processing and temporal refinement processing on the multi-source meteorological observation data corresponding to the study area to obtain target multi-source meteorological observation data corresponding to the study area; determining a short-term forecasting structure of solar energy resources corresponding to the study area based on the target multi-source meteorological observation data corresponding to the study area through a deep neural network; and correcting the short-term forecasting result of solar energy resources corresponding to the study area through a correction model to obtain a target short-term forecasting result of solar energy resources corresponding to the study area.
[0099] Based on the above trained DNN model results and the calculated correction coefficients, short-term forecasts of solar energy resources can be directly performed. In practical applications, only the hourly solar incident radiation real-time products, atmospheric water vapor real-time products, cloud coverage real-time products, imager GEO data and static data (elevation, latitude) four hours before a certain reference time need to be input, and spatiotemporal refinement processing, model fitting and result correction can be automatically performed to obtain short-term forecast products of solar energy resources every 15 minutes four hours after the reference time.
[0100] In summary, the spatiotemporal refined short-term forecasting method for solar energy resources provided in the embodiment of the present invention, combined with the good nonlinear mapping ability and strong generalization ability of DNN, proposes a method for realizing high spatiotemporal resolution short-term forecasting of solar energy resources based on DNN, which mainly uses satellite products after spatiotemporal refined processing for model training and testing, performs short-term forecasting of solar energy resources, and uses ground radiation observation data for correction to obtain a spatiotemporal refined short-term forecasting product of solar energy resources with reliable accuracy.
[0101] For ease of understanding, the present invention also provides Figure 2The overall flow chart of a spatiotemporal refined short-term solar resource forecast method shown in FIG1 includes: (a) multi-source data preprocessing, including: data format conversion of FY4A solar incident radiation real-time product, FY4A atmospheric water vapor content real-time product, FY4A cloud coverage real-time product, and FY4A imager GEO data, and data cleaning of the format-converted data using hourly meteorological radiation observation data; (b) spatiotemporal refined product processing, including: using bilinear interpolation downscaling to perform spatial refined processing to obtain 1-km resolution products for each element, and using temporal linear interpolation to perform temporal refined processing to obtain 1-km resolution products for each satellite element every 15 minutes; (c) solar short-term forecast DNN model construction and training test, including: based on Determine the characteristic value and the predicted true value on time, establish a sample data set based on the elevation data and latitude data, perform deep neural network training and ten-fold cross validation, optimize and adjust the parameters when the Loss value is unstable, and judge whether the test set performance is good when the Loss value is stable. If not, continue to optimize the parameters. If yes, save the optimal model training file; (d) Correct the results based on meteorological observation data, including: using the optimal model training file, based on the 15-minute 1-km element products, elevation data, and latitude data, obtain the hourly short-term forecast results; combined with the hourly meteorological radiation observation data, perform multivariate linear regression correction, calculate the correction coefficient for actual correction, and obtain the 15-minute 1-km solar energy resource short-term forecast product.
[0102] The embodiments of the present invention have at least the following characteristics: (1) Compared with the existing methods, the embodiments of the present invention have a certain degree of improvement in the temporal and spatial resolution of the results, and can better meet the needs of short-term and impending solar energy resource forecasts on a refined scale; (2) The embodiments of the present invention combine the excellent nonlinear processing capabilities of the DNN model, and add influencing factor data such as solar altitude angle, cloud cover, water vapor content and elevation, which can more effectively capture the temporal and spatial variation distribution of solar energy resources and increase the accuracy of short-term and impending forecasts.
[0103] Based on the above embodiments, the present invention provides a temporal and spatial refined short-term forecasting device for solar energy resources. Figure 3 The schematic diagram of the structure of a temporal and spatial refined short-term forecasting device for solar energy resources is shown, and the device mainly includes the following parts:
[0104] A data acquisition module 302 is used to acquire multi-source meteorological observation data;
[0105] The refinement processing module 304 is used to perform spatial refinement processing and temporal refinement processing on the multi-source meteorological observation data to obtain target multi-source meteorological observation data;
[0106] A network training module 306 is used to train a deep neural network using the target multi-source meteorological observation data, and determine the short-term and impending solar energy resource forecast results corresponding to the target multi-source meteorological observation data through the trained deep neural network;
[0107] The model fitting module 308 is used to fit the correction model using the short-term forecast results of solar energy resources and the observed solar radiation corresponding to the meteorological observation site, so as to perform short-term forecast of solar energy resources for the study area through the deep neural network and the correction model.
[0108] The above-mentioned device provided by the embodiment of the present invention combines the good nonlinear mapping ability and strong generalization ability of the deep neural network, and proposes a device for realizing short-term forecasting of solar energy resources with high temporal and spatial resolution based on the deep neural network. The device mainly uses the target multi-source meteorological observation data after spatiotemporal refinement to train and test the model, and makes short-term forecasts of solar energy resources. The device also uses the ground radiation observation data for correction to obtain accurate and reliable spatiotemporal refinement of short-term forecasting results of solar energy resources. The embodiment of the present invention can better meet the needs of short-term forecasting of solar energy resources on a refined scale, and can more effectively capture the spatiotemporal variation distribution law of solar energy resources, thereby increasing the accuracy of short-term forecasts.
[0109] In one embodiment, a pre-processing module is further included, which is used to:
[0110] Performing format conversion on multi-source meteorological observation data to convert the multi-source meteorological observation data into a raster format; wherein the multi-source meteorological observation data includes total solar radiation, total water vapor content, cloud coverage and solar altitude angle information;
[0111] Hourly meteorological radiation observation data are obtained, and the multi-source meteorological observation data in raster format are cleaned using the hourly meteorological radiation observation data to remove outliers in the multi-source meteorological observation data in raster format.
[0112] In one implementation, the refinement processing module 304 is further configured to:
[0113] For each new pixel point, determine a plurality of adjacent pixel points corresponding to the new pixel point;
[0114] Determine the distance weight according to the distance between the new pixel point and each adjacent pixel point;
[0115] The multi-source meteorological observation data corresponding to each adjacent pixel point are weighted and summed using the distance weight to obtain the multi-source meteorological observation data corresponding to the new pixel point.
[0116] In one implementation, the refinement processing module 304 is further configured to:
[0117] The time linear interpolation formula is used to perform linear interpolation processing on the multi-source meteorological observation data corresponding to the new pixel point. The time linear interpolation formula is as follows:
[0118] ;
[0119] in, for Multi-source meteorological observation data corresponding to the time, for Multi-source meteorological observation data corresponding to the time, for Multi-source meteorological observation data corresponding to the time.
[0120] In one embodiment, the network training module 306 is further configured to:
[0121] Based on the preset reference time, a first time interval and a second time interval are respectively constructed, the first time interval is a time interval consisting of the first N hours of the reference time, and the second time interval is a time interval consisting of the last N hours of the reference time;
[0122] The geospatial image factor and the target multi-source meteorological observation data in the first time interval are used as input feature values, and the target multi-source meteorological observation data in the second time interval are used as the predicted true value;
[0123] The reference time is adjusted according to a preset step length, and the first time interval and the second time interval are constructed based on the adjusted reference time respectively, until a preset stop condition is met to obtain a training data set;
[0124] Use the training dataset to train the deep neural network.
[0125] In one embodiment, the model fitting module 308 is further configured to:
[0126] The short-term and impending forecast results of solar energy resources are matched with meteorological observation sites in time and space to obtain the short-term and impending forecast results of solar energy resources at the site scale;
[0127] The observed solar radiation corresponding to the meteorological observation station is taken as the dependent variable, the short-term forecast results of solar energy resources matched with the meteorological observation station in time and space are taken as the first independent variable, and the elevation corresponding to the meteorological observation station is taken as the second independent variable to fit the revised model.
[0128] In one embodiment, it further includes a short-term forecast module, which is used to:
[0129] Obtain multi-source meteorological observation data corresponding to the study area;
[0130] Perform spatial refinement and temporal refinement processing on the multi-source meteorological observation data corresponding to the study area to obtain the target multi-source meteorological observation data corresponding to the study area;
[0131] Through deep neural networks, based on the target multi-source meteorological observation data corresponding to the study area, the short-term forecast structure of solar energy resources corresponding to the study area is determined;
[0132] Through the correction model, the short-term and impending forecast results of solar energy resources corresponding to the study area are corrected to obtain the short-term and impending forecast results of target solar energy resources corresponding to the study area.
[0133] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0134] An embodiment of the present invention provides an electronic device. Specifically, the electronic device includes a processor and a storage device. The storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above-mentioned implementation methods.
[0135] Figure 4 A structural diagram of an electronic device provided in an embodiment of the present invention, the electronic device 100 includes: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected via the bus 42; the processor 40 is used to execute an executable module stored in the memory 41, such as a computer program.
[0136] The memory 41 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0137] The bus 42 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0138] Among them, the memory 41 is used to store programs, and the processor 40 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 40 or implemented by the processor 40.
[0139] The processor 40 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 40. The above processor 40 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the above method in combination with its hardware.
[0140] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be referred to the previous method embodiments, which will not be repeated here.
[0141] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0142] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for short-term and impending solar energy resource forecasting with spatiotemporal refinement, characterized in that: include: Obtain multi-source meteorological observation data; Performing spatial refinement processing and temporal refinement processing on the multi-source meteorological observation data to obtain target multi-source meteorological observation data; Using the target multi-source meteorological observation data to train a deep neural network, and determining the short-term and impending solar energy resource forecast results corresponding to the target multi-source meteorological observation data through the trained deep neural network; Using the short-term and impending solar resource forecast results and the observed solar radiation corresponding to the meteorological observation site to fit the correction model, so as to perform short-term and impending solar resource forecasts for the study area through the deep neural network and the correction model; After the step of acquiring multi-source meteorological observation data, the method further includes: performing format conversion on the multi-source meteorological observation data to convert the multi-source meteorological observation data into a raster format; wherein the multi-source meteorological observation data includes total solar radiation, total water vapor content, cloud coverage and solar altitude angle information; acquiring hourly meteorological radiation observation data, and using the hourly meteorological radiation observation data to perform data cleaning on the multi-source meteorological observation data in the raster format to remove abnormal values in the multi-source meteorological observation data in the raster format; The step of performing spatial refinement processing on the multi-source meteorological observation data includes: for each new pixel point, determining a plurality of adjacent pixel points corresponding to the new pixel point; determining a distance weight according to the distance between the new pixel point and each of the adjacent pixel points; performing weighted processing and summing on the multi-source meteorological observation data corresponding to each of the adjacent pixel points using the distance weight to obtain the multi-source meteorological observation data corresponding to the new pixel point; The step of performing time refinement processing on the multi-source meteorological observation data includes: using a time linear interpolation formula to perform linear interpolation processing on the multi-source meteorological observation data corresponding to the new pixel point, and the time linear interpolation formula is as follows: ;in, for Multi-source meteorological observation data corresponding to the time, for Multi-source meteorological observation data corresponding to the time, for Multi-source meteorological observation data corresponding to the time.
2. The method for short-term and impending forecast of solar energy resources with spatiotemporal refinement according to claim 1, characterized in that: The step of training a deep neural network using the target multi-source meteorological observation data comprises: Constructing a first time interval and a second time interval based on a preset reference time, wherein the first time interval is a time interval consisting of the first N hours of the reference time, and the second time interval is a time interval consisting of the last N hours of the reference time; Taking the geospatial image factor and the target multi-source meteorological observation data in the first time interval as input feature values, and taking the target multi-source meteorological observation data in the second time interval as the predicted true value; The reference time is adjusted according to a preset step length, and the first time interval and the second time interval are constructed based on the adjusted reference time respectively, until a preset stop condition is met to obtain a training data set; The deep neural network is trained using the training data set.
3. The method for short-term and impending forecast of solar energy resources with spatiotemporal refinement according to claim 1, characterized in that: The step of fitting the correction model using the short-term forecast result of solar energy resources and the observed solar radiation corresponding to the meteorological observation station includes: Performing temporal and spatial matching of the short-term and impending solar resource forecast results with meteorological observation sites to obtain the short-term and impending solar resource forecast results at the site scale; The observed solar radiation corresponding to the meteorological observation site is taken as the dependent variable, the short-term forecast result of the solar energy resources matched in time and space by the meteorological observation site is taken as the first independent variable, and the elevation corresponding to the meteorological observation site is taken as the second independent variable to fit the revised model.
4. The method for short-term and impending forecast of solar energy resources with spatiotemporal refinement according to claim 1, characterized in that: The steps of performing short-term forecasting of solar energy resources for a study area by using the deep neural network and the revised model include: Obtain multi-source meteorological observation data corresponding to the study area; Performing spatial refinement processing and temporal refinement processing on the multi-source meteorological observation data corresponding to the study area to obtain target multi-source meteorological observation data corresponding to the study area; Determining the short-term and impending solar energy resource forecast structure corresponding to the study area based on the target multi-source meteorological observation data corresponding to the study area through the deep neural network; The correction model is used to correct the short-term and impending forecast results of the solar energy resources corresponding to the study area, so as to obtain the short-term and impending forecast results of the target solar energy resources corresponding to the study area.
5. A device for short-term and impending solar resource forecasting with temporal and spatial refinement, characterized in that: include: A data acquisition module is used to acquire multi-source meteorological observation data; A refinement processing module is used to perform spatial refinement processing and temporal refinement processing on the multi-source meteorological observation data to obtain target multi-source meteorological observation data; A network training module, used to train a deep neural network using the target multi-source meteorological observation data, and determine the short-term and impending solar energy resource forecast results corresponding to the target multi-source meteorological observation data through the trained deep neural network; A model fitting module, used to fit a correction model using the short-term and impending solar resource forecast results and the observed solar radiation corresponding to the meteorological observation site, so as to perform short-term and impending solar resource forecasts for the study area through the deep neural network and the correction model; It also includes a preprocessing module, which is used to: perform format conversion on the multi-source meteorological observation data to convert the multi-source meteorological observation data into a raster format; wherein the multi-source meteorological observation data includes total solar radiation, total water vapor content, cloud coverage and solar altitude angle information; obtain hourly meteorological radiation observation data, and use the hourly meteorological radiation observation data to perform data cleaning on the multi-source meteorological observation data in the raster format to remove abnormal values in the multi-source meteorological observation data in the raster format; The refinement processing module is specifically used to: for each new pixel point, determine a plurality of adjacent pixel points corresponding to the new pixel point; determine a distance weight according to the distance between the new pixel point and each of the adjacent pixel points; and perform weighted processing and summation on the multi-source meteorological observation data corresponding to each of the adjacent pixel points using the distance weight to obtain the multi-source meteorological observation data corresponding to the new pixel point; The refinement processing module is specifically used to: perform linear interpolation processing on the multi-source meteorological observation data corresponding to the new pixel point using a time linear interpolation formula, and the time linear interpolation formula is as follows: ;in, for Multi-source meteorological observation data corresponding to the time, for Multi-source meteorological observation data corresponding to the time, for Multi-source meteorological observation data corresponding to the time.
6. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 4.
