Global level irradiance forecasting method, system and device and storage medium
By combining WRF model and AI technology, the global level of irradiance forecast is optimized, and the problem of low forecast accuracy in winter cloudy weather in high altitude and arid areas is solved, achieving higher forecast accuracy and reliability.
Patent Information
- Application Number
- CN202510197723.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-02-21
AI Technical Summary
The prior art is difficult to accurately predict global level irradiance under cloudy winter conditions in high altitude and arid areas, resulting in a decrease in forecast accuracy.
By obtaining key meteorological factor data and model characteristic data, the basic initial water vapor field and initial water vapor mixing ratio are determined, and the neural network model is used to adjust the water vapor mixing ratio and network weights, and combined with WRF model and AI technology, the forecast of global horizontal irradiance is optimized.
It significantly improves the accuracy and reliability of global level irradiance forecasts, especially in cloudy winter conditions in high-altitude and dry cold areas.
Smart Images

Figure CN119986859A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a global horizontal irradiance forecasting method, system, device and storage medium. Background Art
[0002] As the global demand for renewable energy continues to grow, the proportion of solar energy in the power system continues to increase, especially in high altitude and arid areas. High-precision insolation forecasts are essential for the efficient operation of photovoltaic power plants and the stable dispatch of power grids. In recent years, numerical weather prediction (NWP) models, especially the widely used Weather Research and Forecasting (WRF) model, have played an important role in simulating atmospheric processes and predicting solar radiation. However, the WRF model often shows systematic deviations from cloud cover under specific climate conditions, especially in cloudy weather in winter, resulting in a significant underestimation of the global horizontal irradiance (GHI).
[0003] Although some progress has been made in NWP model optimization and AI technology application in recent years, it is difficult to maintain stable global horizontal irradiance forecast accuracy under some special terrain and climate conditions. Therefore, there are still technical problems that need to be solved in related technologies. Summary of the invention
[0004] The purpose of this application is to solve one of the technical problems existing in the prior art to at least a certain extent.
[0005] To this end, an object of an embodiment of the present application is to provide a global horizontal irradiance forecasting method, system, device and storage medium, which can improve the accuracy of global horizontal irradiance forecasting.
[0006] In order to achieve the above-mentioned technical objectives, the technical solution adopted by the embodiment of the present application includes: a global horizontal irradiance forecasting method, comprising the following steps: obtaining key meteorological element data and model characteristic data; determining the basic initial water vapor field according to the key meteorological element data, and running the basic initial water vapor field to determine the initial water vapor mixing ratio; inputting the model characteristic data into the first neural network model to obtain the spatial distribution correction factor; based on the spatial distribution correction factor and the initial water vapor mixing ratio, determining the target water vapor mixing ratio and writing the target water vapor mixing ratio into a WRF intermediate file; running the WRF intermediate file and generating a simulated global horizontal irradiance, and based on the measured global horizontal irradiance and the simulated global horizontal irradiance, determining the deviation index of the second neural network model; inputting the deviation index into the second neural network model and adjusting the network weights and network parameters of the second neural network model to obtain the target neural network; running the target neural network to obtain the global horizontal irradiance.
[0007] The present application can obtain key meteorological element data and model characteristic data; determine the basic initial water vapor field according to the key meteorological element data, and run the basic initial water vapor field to determine the initial water vapor mixing ratio; input the model characteristic data into the first neural network model to obtain the spatial distribution correction factor; based on the spatial distribution correction factor and the initial water vapor mixing ratio, determine the target water vapor mixing ratio and write the target water vapor mixing ratio into the WRF intermediate file; run the WRF intermediate file and generate simulated global horizontal irradiance, and determine the deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance; input the deviation index into the second neural network model and adjust the network weights and network parameters of the second neural network model to obtain the target neural network; run the target neural network to obtain the global horizontal irradiance. The present application proposes a new prediction method, which fully considers the key meteorological element data and model characteristic data to predict the global horizontal irradiance, and the present application can improve the prediction accuracy.
[0008] In addition, a global horizontal irradiance forecasting method according to the above embodiment of the present invention may also have the following additional technical features:
[0009] Furthermore, in the embodiment of the present application, the key meteorological element data is obtained by the following steps:
[0010] Obtaining original meteorological element data;
[0011] The WRF preprocessing system is run to perform data interpolation processing on the original meteorological element data to obtain key meteorological element data.
[0012] Further, in the embodiment of the present application, determining the target water vapor mixing ratio based on the spatial distribution correction factor and the initial water vapor mixing ratio specifically includes:
[0013] Determining an adjusted water vapor mixing ratio according to the initial water vapor mixing ratio and a preset basic dehumidification ratio;
[0014] Determining the drying amplitude according to the spatial distribution correction factor;
[0015] A target water vapor mixing ratio is determined according to the adjusted water vapor mixing ratio and the drying amplitude.
[0016] Further, in the embodiment of the present application, the determining of the deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance specifically includes:
[0017] Calculating the difference between the measured global horizontal irradiance and the simulated global horizontal irradiance;
[0018] The difference is used as the deviation indicator.
[0019] Furthermore, in the embodiment of the present application, the inputting of the model feature data into the first neural network model to obtain the spatial distribution correction factor specifically includes:
[0020] Standardizing the model feature data and generating time series data;
[0021] Dividing the time series data into a training set, a validation set, and a test set, and inputting the training set into a Transformer model to train the model, thereby obtaining a trained first neural network model;
[0022] The test set is input into the trained first neural network model to obtain a spatial distribution correction factor.
[0023] Further, in the embodiment of the present application, determining and adjusting the water vapor mixing ratio according to the initial water vapor mixing ratio and the preset basic dehumidification ratio specifically includes:
[0024] Inputting the initial water vapor mixing ratio and the preset basic dehumidification ratio into a first formula to obtain an adjusted water vapor mixing ratio;
[0025] The first formula is:
[0026] Qvap_base=Qvap_original×(1-ΔRH_base)
[0027] Qvap_base is the adjusted water vapor mixing ratio, Qvap_original is the initial water vapor mixing ratio, and ΔRH_base is the preset basic dehumidification ratio.
[0028] Further, in the embodiment of the present application, determining the target water vapor mixing ratio according to the adjusted water vapor mixing ratio and the drying amplitude specifically includes:
[0029] Inputting the adjusted water vapor mixing ratio and the drying amplitude into a second formula to obtain a target water vapor mixing ratio;
[0030] Wherein, the second formula is:
[0031] Qvap_adj=Qvap_base×(1-ΔRH_final)
[0032] Qvap_adj is the target water vapor mixing ratio, Qvap_base is the adjusted water vapor mixing ratio, and ΔRH_final is the drying amplitude.
[0033] In addition, the present application also provides a global horizontal irradiance forecast system, including:
[0034] A first processing unit, used to obtain key meteorological element data and model characteristic data;
[0035] A second processing unit is used to determine a basic initial water vapor field according to the key meteorological element data, and to run the basic initial water vapor field to determine an initial water vapor mixing ratio;
[0036] A third processing unit is used to input the model feature data into the first neural network model to obtain a spatial distribution correction factor;
[0037] A fourth processing unit, configured to determine a target water vapor mixing ratio based on the spatial distribution correction factor and the initial water vapor mixing ratio and write the target water vapor mixing ratio into a WRF intermediate file;
[0038] A fifth processing unit, configured to run the WRF intermediate file and generate a simulated global horizontal irradiance, and determine a deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance;
[0039] a sixth processing unit, configured to input the deviation index into the second neural network model and adjust the network weights and network parameters of the second neural network model to obtain a target neural network;
[0040] The seventh processing unit is used to run the target neural network to obtain the global horizontal irradiance.
[0041] In addition, the present application also provides a global horizontal irradiance forecasting device, comprising:
[0042] at least one processor;
[0043] at least one memory for storing at least one program;
[0044] When the at least one program is executed by the at least one processor, the at least one processor implements a global horizontal irradiance forecasting method as described in any of the above items.
[0045] In addition, the present application also provides a computer-readable storage medium, which stores processor-executable instructions. When the processor-executable instructions are executed by the processor, they are used to execute a global horizontal irradiance forecasting method as described in any of the above items.
[0046] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:
[0047] The present application can obtain key meteorological element data and model characteristic data; determine the basic initial water vapor field according to the key meteorological element data, and run the basic initial water vapor field to determine the initial water vapor mixing ratio; input the model characteristic data into the first neural network model to obtain the spatial distribution correction factor; based on the spatial distribution correction factor and the initial water vapor mixing ratio, determine the target water vapor mixing ratio and write the target water vapor mixing ratio into the WRF intermediate file; run the WRF intermediate file and generate simulated global horizontal irradiance, and determine the deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance; input the deviation index into the second neural network model and adjust the network weights and network parameters of the second neural network model to obtain the target neural network; run the target neural network to obtain the global horizontal irradiance. The present application proposes a new prediction method, which fully considers the key meteorological element data and model characteristic data to predict the global horizontal irradiance, and the present application can improve the prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A schematic diagram of a flow chart of a method for predicting global horizontal irradiance in a specific embodiment of the present invention;
[0049] Figure 2 It is a schematic flow chart of a global horizontal irradiance forecasting method in another specific embodiment of the present invention. DETAILED DESCRIPTION
[0050] The embodiments of the present invention are described in detail below in conjunction with the accompanying drawings to illustrate the principles and processes of the global horizontal irradiance forecasting method, system, device and storage medium in the embodiments of the present invention.
[0051] The present application provides a global horizontal irradiance forecasting method, comprising the following steps:
[0052] Obtain key meteorological element data and model characteristic data;
[0053] Determine the basic initial water vapor field based on key meteorological element data, and run the basic initial water vapor field to determine the initial water vapor mixing ratio;
[0054] Inputting the model feature data into the first neural network model to obtain a spatial distribution correction factor;
[0055] Based on the spatial distribution correction factor and the initial water vapor mixing ratio, the target water vapor mixing ratio is determined and written into the WRF intermediate file;
[0056] Run the WRF intermediate file and generate simulated global horizontal irradiance, and determine the deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance;
[0057] Inputting the deviation index into the second neural network model and adjusting the network weights and network parameters of the second neural network model to obtain a target neural network;
[0058] Run the target neural network to obtain the global horizontal irradiance.
[0059] The present application can obtain key meteorological element data and model characteristic data; determine the basic initial water vapor field according to the key meteorological element data, and run the basic initial water vapor field to determine the initial water vapor mixing ratio; input the model characteristic data into the first neural network model to obtain the spatial distribution correction factor; based on the spatial distribution correction factor and the initial water vapor mixing ratio, determine the target water vapor mixing ratio and write the target water vapor mixing ratio into the WRF intermediate file; run the WRF intermediate file and generate simulated global horizontal irradiance, and determine the deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance; input the deviation index into the second neural network model and adjust the network weights and network parameters of the second neural network model to obtain the target neural network; run the target neural network to obtain the global horizontal irradiance. The present application proposes a new prediction method, which fully considers the key meteorological element data and model characteristic data to predict the global horizontal irradiance, and the present application can improve the prediction accuracy.
[0060] In addition, a global horizontal irradiance forecasting method according to the above embodiment of the present invention may also have the following additional technical features:
[0061] Furthermore, in the embodiment of the present application, the key meteorological element data is obtained by the following steps:
[0062] Obtaining original meteorological element data;
[0063] Run the WRF preprocessing system to perform data interpolation on the original meteorological element data to obtain key meteorological element data.
[0064] Further, in the embodiment of the present application, based on the spatial distribution correction factor and the initial water vapor mixing ratio, the target water vapor mixing ratio is determined, specifically including:
[0065] Determine and adjust the water vapor mixing ratio according to the initial water vapor mixing ratio and the preset basic dehumidification ratio;
[0066] Determine the drying amplitude based on the spatial distribution correction factor;
[0067] The target water vapor mixing ratio is determined based on the adjusted water vapor mixing ratio and the drying range.
[0068] Furthermore, in the embodiment of the present application, based on the measured global horizontal irradiance and the simulated global horizontal irradiance, the deviation index of the second neural network model is determined, specifically including:
[0069] Calculate the difference between the measured global horizontal irradiance and the simulated global horizontal irradiance;
[0070] The difference is used as the deviation indicator.
[0071] Furthermore, in the embodiment of the present application, the model feature data is input into the first neural network model to obtain the spatial distribution correction factor, which specifically includes:
[0072] Standardize the model feature data and generate time series data;
[0073] The time series data is divided into a training set, a validation set, and a test set, and the training set is input into a Transformer model and trained to obtain a trained first neural network model;
[0074] The test set is input into the trained first neural network model to obtain the spatial distribution correction factor.
[0075] Further, in the embodiment of the present application, the water vapor mixing ratio is determined and adjusted according to the initial water vapor mixing ratio and the preset basic dehumidification ratio, specifically including:
[0076] Inputting the initial water vapor mixing ratio and the preset basic dehumidification ratio into the first formula to obtain the adjusted water vapor mixing ratio;
[0077] The first formula is:
[0078] Qvap_base=Qvap_original×(1-ΔRH_base)
[0079] Qvap_base is the adjusted water vapor mixing ratio, Qvap_original is the initial water vapor mixing ratio, and ΔRH_base is the preset basic dehumidification ratio.
[0080] Further, in the embodiment of the present application, the target water vapor mixing ratio is determined according to the adjusted water vapor mixing ratio and the drying range, specifically including:
[0081] The adjusted water vapor mixing ratio and the drying range are input into the second formula to obtain the target water vapor mixing ratio;
[0082] Among them, the second formula is:
[0083] Qvap_adj=Qvap_base×(1-ΔRH_final)
[0084] Qvap_adj is the target water vapor mixing ratio, Qvap_base is the adjusted water vapor mixing ratio, and ΔRH_final is the drying amplitude.
[0085] Combine the following Figure 1 as well as Figure 2 The principle of this application is explained.
[0086] Reference Figure 1 as well as Figure 2 , this paper proposes a comprehensive technical solution combining "adaptive drying correction of water vapor field, grid assimilation and artificial intelligence-assisted optimization" to optimize the prediction accuracy of WRF for GHI under cloudy weather conditions in winter at high altitudes. Specifically, this technical solution achieves a deep integration of physical models and AI technology from the following key steps:
[0087] First, the system obtains key meteorological element data from global or regional numerical forecast centers (such as the European Center for Medium-Range Weather Forecasts, ECMWF), including wind field (U, V), temperature (T), water vapor mixing ratio (Qvap) and high-resolution terrain information. These data are interpolated through the WRF preprocessing system (WPS) and converted into a mesoscale grid with a horizontal resolution of 3 kilometers and 60 to 70 vertical layers to generate a basic initial field, ensuring the accuracy and adaptability of the model's initial conditions.
[0088] Next, the system performs relative humidity (RH) on the generated basic initial field. original ) calculation to identify the water vapor distribution of each grid and vertical layer. In view of the problem of excessive cloud cover on cloudy days in winter in some high-altitude areas, a basic dehumidification ratio (ΔRH base ), for example, 10% to 15%, and a preliminary dryness correction is performed on the water vapor mixing ratio (Qvap) to obtain a preliminary adjusted water vapor mixing ratio (Qvap base ). This step is intended to reduce the excess condensation of water vapor in the WRF model under certain conditions, thereby suppressing the formation of excessive cloud cover.
[0089] On the basis of preliminary drying correction, a deep learning model based on Transformer architecture is introduced as an AI submodule. The model uses multi-source input features, including historical cloud cover deviation, precipitation probability, terrain characteristics, satellite cloud top brightness temperature, radar echo data, current wind field and temperature distribution, etc., and extracts and learns features through a multi-layer attention mechanism to generate a spatially distributed correction factor f. AI(t,x,y) This correction factor is used to dynamically adjust the basic drying ratio to obtain the final drying amplitude ΔRH final , ensuring that the drying process can adaptively reflect real-time and historical meteorological conditions and terrain characteristics.
[0090] The system then adjusts the water vapor mixing ratio (Qvap adj ) is written to the WRF intermediate file, and the grid assimilation function (such as FDDA or Grid Nudging) is enabled in the WRF configuration file. During the assimilation process, the corresponding assimilation coefficient and application altitude layer (for example, above 700hPa) are set so that the model periodically pulls the meteorological elements such as Qvap, U, V, and T back to the adjusted target field during the integration process, thereby continuously suppressing excessive cloud condensation under cloudy conditions. This process ensures that the physical process is combined with data-driven corrections, maintaining the physical consistency and continuity of the model calculation.
[0091] After the simulation is completed, the system calculates the deviation between several measured GHIs and several GHIs output by simulation, and finally calculates the Bias and root mean square error (RMSE) between these several measured GHIs and several GHIs output by simulation. These deviation data are fed back to the AI model as new training samples, which are used to iteratively optimize the weights of the AI model and realize the closed-loop optimization mechanism of "model calculation-result evaluation-AI correction-model re-simulation". Through multiple rounds of iterations, the AI model continuously learns and optimizes itself, improves its prediction and correction capabilities under different meteorological conditions, and ensures that the system can adapt to complex and changeable weather environments.
[0092] In order to realize the automation of the whole process, the system integrates the above steps into an efficient forecasting system, including modules such as data acquisition, preprocessing, AI correction, water vapor adjustment, WRF simulation and closed-loop optimization. At the same time, a high-performance computing cluster is selected as the platform for the system operation to ensure the efficiency of large-scale data processing and deep learning model training. In addition, the modular design is adopted to facilitate the expansion and maintenance of the system and support the flexible replacement and upgrade of different AI model architectures.
[0093] Finally, by combining multi-source observation data, AI dynamic adjustment and physical model assimilation, the present invention effectively reduced the systematic deviation of the WRF model under winter cloudy weather conditions in certain high-altitude areas, and significantly improved the accuracy and reliability of the GHI forecast. This technical solution is not only suitable for weather forecasting and photovoltaic power station site selection assessment in high-altitude, dry and cold areas, but also has strong scalability and adaptability. It can be widely used in rainy, cloudy and foggy scenes in other regions or seasons, providing high-precision solar radiation forecast support.
[0094] In other embodiments, in order to verify the effectiveness of the technical solution of "adaptive drying correction of water vapor field, grid assimilation and artificial intelligence assisted optimization" proposed in the present invention, five typical winter cloudy days in January 2024 of a photovoltaic power station in some high-altitude areas are selected as examples. The specific implementation steps are as follows:
[0095] First, the system obtained key meteorological element data from the European Centre for Medium-Range Weather Forecasts (ECMWF) from January 1 to January 31, 2024, including wind field (U, V), temperature (T), water vapor mixing ratio (Qvap) and high-resolution terrain information. At the same time, satellite cloud top brightness temperature data, radar echo data and ground meteorological observation data for the same period were obtained as multi-source observation inputs. Through the WRF preprocessing system (WPS), these data were interpolated to a mesoscale grid with a horizontal resolution of 3 kilometers and 65 vertical layers to generate a basic initial field, providing accurate initial conditions for subsequent simulations.
[0096] Next, the system performs relative humidity (RH) on the generated basic initial field. original ) calculation, identify the water vapor distribution of each grid and vertical layer. In view of the problem of excessive cloud cover on cloudy days in winter in some high-altitude areas, the basic dehumidification ratio ΔRH is set base The water vapor mixing ratio (Qvap) was initially adjusted to 12%. base ). This adjustment is intended to reduce the excess condensation of water vapor in the WRF model under winter overcast conditions, thereby suppressing the formation of excessive cloud cover.
[0097] On the basis of preliminary drying correction, a deep learning model based on Transformer architecture was introduced as an AI submodule. The model uses multi-source input features, including historical cloud cover deviation, precipitation probability, terrain characteristics, satellite cloud top brightness temperature, radar echo data, current wind field and temperature distribution, etc., and extracts and learns features through a multi-layer attention mechanism to generate a spatially distributed correction factor f. AI(t,x,y) This correction factor is used to dynamically adjust the basic drying ratio to obtain the final drying amplitude ΔRH final , ensuring that the drying process can adaptively reflect real-time and historical meteorological conditions and terrain characteristics.
[0098] The system then adjusts the water vapor mixing ratio (Qvap adj ) is written into the WRF intermediate file, and the grid assimilation function (such as FDDA) is enabled in the WRF configuration file, and the assimilation coefficient is set to 0.0002 (for U, V, T) and 0.00012 (for Qvap), and the application altitude layer is above 700hPa. Through grid assimilation, the model periodically pulls the meteorological elements such as Qvap, U, V, and T back to the adjusted target field during the integration process, thereby continuously suppressing excessive cloud condensation under cloudy conditions. This process ensures that the physical process is combined with data-driven corrections, maintaining the physical consistency and continuity of the model calculation.
[0099] After the simulation is completed, the system compares the measured GHI with the simulated GHI and calculates the deviation indicators, including Bias and root mean square error (RMSE). For example, on January 15, 2024, the Bias before adjustment is -250W / m 2 , RMSE is 320W / m 2 ; The adjusted Bias is -30W / m 2 , RMSE is 130W / m 2 . Feed these deviation data back to the AI model as new training samples to further optimize its weights and parameters. Through multiple rounds of iterations, the AI model gradually corrects and optimizes the deviation, improves its prediction and correction capabilities under different meteorological conditions, and forms a closed-loop optimization mechanism of "model calculation-result evaluation-AI correction-model re-simulation". Specifically, through verification on five cloudy weather days in winter (January 5, January 10, January 15, January 20 and January 25, 2024) at a photovoltaic power station in certain high-altitude areas, the results show that the technical solution of the present invention significantly improves the accuracy of GHI forecast. The average Bias before adjustment is -220W / m 2 , after adjustment, it dropped to -25W / m 2 ; Average RMSE from 310W / m 2 Reduced to 125W / m 2 These results show that the comprehensive technical solution proposed in the present invention can effectively reduce the systematic deviation of the WRF model under cloudy conditions in winter in practical applications, significantly improve the accuracy and reliability of GHI forecasts, and is particularly suitable for weather forecasts and photovoltaic power station site selection assessments in high-altitude, dry and cold areas.
[0100] In addition, Figure 1 Corresponding to the method, the embodiments of the present application also provide a global horizontal irradiance forecast system, including:
[0101] A first processing unit, used to obtain key meteorological element data and model characteristic data;
[0102] A second processing unit is used to determine a basic initial water vapor field according to the key meteorological element data, and to run the basic initial water vapor field to determine an initial water vapor mixing ratio;
[0103] A third processing unit is used to input the model feature data into the first neural network model to obtain a spatial distribution correction factor;
[0104] A fourth processing unit, configured to determine a target water vapor mixing ratio based on the spatial distribution correction factor and the initial water vapor mixing ratio and write the target water vapor mixing ratio into a WRF intermediate file;
[0105] A fifth processing unit, configured to run the WRF intermediate file and generate a simulated global horizontal irradiance, and determine a deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance;
[0106] a sixth processing unit, configured to input the deviation index into the second neural network model and adjust the network weights and network parameters of the second neural network model to obtain a target neural network;
[0107] The seventh processing unit is used to run the target neural network to obtain the global horizontal irradiance.
[0108] It should be noted that the first processing unit may be any integrated circuit unit or microprocessor unit obtained by integrating a chip having a processing function and its peripheral circuits through existing integration technology. The first processing unit and the second processing unit may also be any integrated circuit module or microprocessor module obtained by integrating a chip having a processing function and its peripheral circuits through existing integration technology. The first processing unit and the second processing unit may also include one or more memories.
[0109] It should be noted that the contents of the above-mentioned global horizontal irradiance forecast method embodiment are all applicable to the present global horizontal irradiance forecast system embodiment. The functions specifically implemented by the present global horizontal irradiance forecast system embodiment are the same as those of the above-mentioned global horizontal irradiance forecast method embodiment, and the beneficial effects achieved are also the same as those achieved by the above-mentioned global horizontal irradiance forecast method embodiment.
[0110] In addition, the embodiment of the present application also provides a global horizontal irradiance forecasting device, including:
[0111] at least one processor 1011;
[0112] At least one memory 1012, used to store at least one program;
[0113] When the at least one program is executed by the at least one processor, the at least one processor implements the global horizontal irradiance forecasting method.
[0114] The contents of the above method embodiments are all applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0115] and Figure 1Corresponding to the method, an embodiment of the present application further provides a computer-readable storage medium, which stores processor-executable instructions, and the processor-executable instructions are used to execute the global horizontal irradiance forecasting method when executed by the processor.
[0116] The contents of the above-mentioned global horizontal irradiance forecast method embodiment are all applicable to the present storage medium embodiment. The functions specifically implemented by the present storage medium embodiment are the same as those of the above-mentioned global horizontal irradiance forecast method embodiment, and the beneficial effects achieved are also the same as those achieved by the above-mentioned global horizontal irradiance forecast method embodiment.
[0117] In some optional embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Optional embodiments are expected, wherein the order of various operations is changed and the sub-operation described as a part of a larger operation is performed independently.
[0118] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.
[0119] 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 application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several programs 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 each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0120] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable programs for implementing the logical functions, and may be embodied in any computer-readable medium for use by a program execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch and execute a program from a program execution system, device or apparatus), or in conjunction with such program execution systems, devices or apparatuses. For purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by a program execution system, device or apparatus, or in conjunction with such program execution systems, devices or apparatuses.
[0121] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0122] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable program execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0123] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0124] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0125] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the described embodiments. Technical personnel familiar with the field may make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A global horizontal irradiance forecasting method, characterized in that: The following steps are involved: Obtain key meteorological element data and model characteristic data; Determine a basic initial water vapor field according to the key meteorological element data, and run the basic initial water vapor field to determine an initial water vapor mixing ratio; Inputting the model characteristic data into a first neural network model to obtain a spatial distribution correction factor; Based on the spatial distribution correction factor and the initial water vapor mixing ratio, determining a target water vapor mixing ratio and writing the target water vapor mixing ratio into a WRF intermediate file; Running the WRF intermediate file and generating a simulated global horizontal irradiance, and determining a deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance; Inputting the deviation index into the second neural network model and adjusting the network weights and network parameters of the second neural network model to obtain a target neural network; The target neural network is run to obtain the global horizontal irradiance.
2. A global horizontal irradiance forecasting method according to claim 1, characterized in that: The key meteorological element data is obtained by the following steps: Obtaining original meteorological element data; The WRF preprocessing system is run to perform data interpolation processing on the original meteorological element data to obtain key meteorological element data.
3. A global horizontal irradiance forecasting method according to claim 1, characterized in that: The determining the target water vapor mixing ratio based on the spatial distribution correction factor and the initial water vapor mixing ratio specifically includes: Determining an adjusted water vapor mixing ratio according to the initial water vapor mixing ratio and a preset basic dehumidification ratio; Determining the drying amplitude according to the spatial distribution correction factor; A target water vapor mixing ratio is determined according to the adjusted water vapor mixing ratio and the drying amplitude.
4. A global horizontal irradiance forecasting method according to claim 1, characterized in that: The step of determining the deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance specifically includes: Calculating the difference between the measured global horizontal irradiance and the simulated global horizontal irradiance; The difference is used as the deviation indicator.
5. A global horizontal irradiance forecasting method according to claim 1, characterized in that: The inputting the model feature data into the first neural network model to obtain the spatial distribution correction factor specifically includes: Standardizing the model feature data and generating time series data; Dividing the time series data into a training set, a validation set, and a test set, and inputting the training set into a Transformer model to train the model, thereby obtaining a trained first neural network model; The test set is input into the trained first neural network model to obtain a spatial distribution correction factor.
6. A global horizontal irradiance forecasting method according to claim 3, characterized in that: The step of determining and adjusting the water vapor mixing ratio according to the initial water vapor mixing ratio and the preset basic dehumidification ratio specifically includes: Inputting the initial water vapor mixing ratio and the preset basic dehumidification ratio into a first formula to obtain an adjusted water vapor mixing ratio; The first formula is: Qvap_base=Qvap_original×(1-ΔRH_base) Qvap_base is the adjusted water vapor mixing ratio, Qvap_original is the initial water vapor mixing ratio, and ΔRH_base is the preset basic dehumidification ratio.
7. A global horizontal irradiance forecasting method according to claim 3, characterized in that: The step of determining a target water vapor mixing ratio according to the adjusted water vapor mixing ratio and the drying amplitude specifically includes: Inputting the adjusted water vapor mixing ratio and the drying amplitude into a second formula to obtain a target water vapor mixing ratio; Wherein, the second formula is: Qvap_adj=Qvap_base×(1-ΔRH_final) Qvap_adj is the target water vapor mixing ratio, Qvap_base is the adjusted water vapor mixing ratio, and ΔRH_final is the drying amplitude.
8. A global horizontal irradiance forecast system, characterized in that: include: A first processing unit is used to obtain key meteorological element data and model characteristic data; A second processing unit is used to determine a basic initial water vapor field according to the key meteorological element data, and to run the basic initial water vapor field to determine an initial water vapor mixing ratio; A third processing unit is used to input the model feature data into the first neural network model to obtain a spatial distribution correction factor; A fourth processing unit, configured to determine a target water vapor mixing ratio based on the spatial distribution correction factor and the initial water vapor mixing ratio and write the target water vapor mixing ratio into a WRF intermediate file; A fifth processing unit, configured to run the WRF intermediate file and generate a simulated global horizontal irradiance, and determine a deviation index of the second neural network model based on the measured global horizontal irradiance and the simulated global horizontal irradiance; a sixth processing unit, configured to input the deviation index into the second neural network model and adjust the network weights and network parameters of the second neural network model to obtain a target neural network; The seventh processing unit is used to run the target neural network to obtain the global horizontal irradiance.
9. A global horizontal irradiance forecasting device, characterized in that include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the global horizontal irradiance forecasting method as described in any one of claims 1-7.
10. A computer-readable storage medium storing instructions executable by a processor, characterized in that: The processor-executable instructions are used to execute a global horizontal irradiance forecasting method as described in any one of claims 1-7 when executed by the processor.
Citation Information
Patent Citations
CNOP-based weather ensemble forecasting system and method, and storage medium
CN117233866A
Micrometeorological irradiance prediction method and system and medium
CN119377767A
Method for solar irradiance forecasting
WO2022186765A1