Regional wind, solar and water resources element simulation method and device embedded with spectral approximation technology
Through the coupling of embedded spectrum approximation technology and river network convergence mode, the problem of low accuracy and reliability in the simulation of wind and light water resources is solved, and more accurate regional wind and light water resources prediction is achieved.
Patent Information
- Application Number
- CN202411153315.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-21
AI Technical Summary
The prior art has problems of low accuracy and reliability in the simulation and evaluation of wind and light water resources, especially at the regional scale, which leads to large forecast errors.
By using embedded spectral approximation technology, by acquiring global climate mode data, performing Fourier transform and inverse transform, extracting spectral coefficients, performing spectral approximation processing, correcting the simulation data of WRF mode, and inputting it into the river network convergence mode for coupling simulation, realizing the gradual simulation of the gradual Numerical simulation of hourly resolution.
It improves the accuracy and reliability of the simulation data of the scenery and water resource elements, reduces the simulation error of large-scale background field, and provides more comprehensive climate information and more accurate regional scenery and water resource prediction.
Smart Images

Figure CN118673820B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing, and specifically relates to a method and device for simulating regional wind, solar and water resources elements embedded with spectral approximation technology. Background Art
[0002] In recent years, renewable energy such as wind power, solar power and hydropower has become an important part of the energy structure. Accurately evaluating and predicting the temporal and spatial distribution and change characteristics of these wind, solar and water resources is of great significance for energy planning, scheduling and management. At present, the following methods are mainly used to simulate and evaluate wind, solar and water resources:
[0003] Use reanalysis data or multi-source data fusion products as driving data: These data usually have good spatiotemporal continuity and reliability, but due to the coverage of observational data and the limitations of assimilation algorithms, there are still certain errors at the regional scale. Alternatively, use numerical weather forecast models for parameterization scheme optimization or iterative training of model parameters: This method can better capture regional climate characteristics, but due to the internal variability of the climate system, the simulation results are prone to "climate drift", resulting in large forecast errors.
[0004] Therefore, there is an urgent need for a regional wind and solar water resources element simulation method to solve the current problems of low accuracy and reliability in wind and solar water resources simulation and evaluation. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method and device for simulating regional wind, solar and water resources elements embedded with spectral approximation technology, which can solve the problem of low accuracy and reliability in wind, solar and water resources simulation and evaluation.
[0006] In a first aspect, an embodiment of the present application provides a method for simulating regional wind, solar and water resources elements embedded with spectral approximation technology, the method comprising:
[0007] Obtaining global climate model data, the model variables in the global climate model data include: potential height, east-west wind speed component, relative humidity, temperature and north-south wind speed component;
[0008] The Weather Research and Forecasting (WRF) model is driven by driving data to obtain simulation data; the driving data is obtained by processing the global climate model data;
[0009] For each approximation time, the driven data and the simulated data are Fourier transformed to extract the spectral coefficients of the driven data and the spectral coefficients of the simulated data within the preset wavenumber range; the spectral coefficients of the driven data are used to characterize large-scale climate information, and the spectral coefficients of the simulated data are used to characterize detailed climate information;
[0010] The spectral coefficients of the driving data and the spectral coefficients of the simulated data are respectively subjected to inverse Fourier transform to reconstruct the large-scale driving data at each grid point of the WRF model;
[0011] The large-scale driving data are processed by spectral approximation to obtain the approximation correction value at each grid point of the WRF model;
[0012] At each grid point of the WRF model, the sum of the simulated data and the approximation correction is determined as the simulated data of the WRF model at the approximation time;
[0013] The simulation data at the approaching moment is input into the coupling model of the WRF model and the river network confluence model, and numerical simulation with hourly resolution is carried out to obtain the simulation data of regional wind, solar and water resources elements.
[0014] In a second aspect, an embodiment of the present application provides a regional wind, solar and water resources element simulation device embedded with spectral approximation technology, the device comprising:
[0015] An acquisition module is used to acquire global climate model data. The model variables in the global climate model data include: potential height, east-west wind speed component, relative humidity, temperature and north-south wind speed component;
[0016] The driver module is used to drive the Weather Research and Forecasting WRF model through driving data to obtain simulation data; the driving data is obtained by processing the global climate model data;
[0017] The first transformation module is used to perform Fourier transformation on the driving data and the simulation data for each approximation time, and extract the spectral coefficients of the driving data and the spectral coefficients of the simulation data within a preset wave number range; the spectral coefficients of the driving data are used to characterize large-scale climate information, and the spectral coefficients of the simulation data are used to characterize detailed climate information;
[0018] The second transformation module is used to perform inverse Fourier transformation on the spectral coefficients of the driving data and the spectral coefficients of the simulation data, respectively, to reconstruct the large-scale driving data at each grid point of the WRF model;
[0019] The approximation module is used to perform spectral approximation processing on large-scale driving data to obtain the approximation correction value at each grid point of the WRF model;
[0020] A determination module is used to determine the sum of the simulation data and the approximation correction amount at each grid point of the WRF model as the simulation data of the WRF model at the approximation time;
[0021] The simulation module is used to input the simulation data at the approximate moment into the coupling model of the WRF model and the river network confluence model, carry out numerical simulation with hourly resolution, and obtain the simulation data of regional wind, solar and water resources elements.
[0022] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0023] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0024] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0025] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0026] In an embodiment of the present application, global climate model data is obtained, and the model variables in the global climate model data include: potential height, east-west wind speed component, relative humidity, temperature and north-south wind speed component; the global climate model can provide large-scale climate information and provide the necessary background field for the regional WRF model; the Weather Research and Forecasting WRF model is driven by driving data to obtain simulation data; the driving data is obtained by processing the global climate model data; using the large-scale information of the global climate model to drive the WRF model, more detailed climate simulation data at the regional scale can be obtained, and these simulation data contain climate information from large scale to small scale, providing more comprehensive data support.
[0027] For each approximation time, the driving data and simulation data are Fourier transformed to extract the spectral coefficients of the driving data and the spectral coefficients of the simulation data within the preset wave number range; this can clearly distinguish the large-scale background field information and the regional-scale process information, so as to more carefully characterize the simulation deviation of the model at different scales. The spectral coefficients of the driving data are used to characterize the large-scale climate information and reflect the characteristics of the climate background field; the spectral coefficients of the simulation data are used to characterize the detailed climate information and reflect the regional-scale climate process; the spectral coefficients of the driving data and the spectral coefficients of the simulation data are respectively Fourier inverse transformed to reconstruct the large-scale driving data at each grid point of the WRF model, laying a good foundation for the subsequent spectral approximation processing.
[0028] Spectral approximation is performed on the large-scale driving data to obtain the approximation correction at each grid point of the WRF model. Through spectral approximation, the error of the WRF model in simulating large-scale background fields can be quantified. This approximation correction reflects the error in the WRF model's description of the characteristics of large-scale physical quantity changes. Here, by adopting spectral approximation, the nonlinear relationship between the model and reality can be better captured, the accuracy and reliability of the correction can be improved, and the simulation error of the regional climate model for the characteristics of large-scale physical quantity changes can be accurately quantified.
[0029] At each grid point of the WRF model, the sum of the simulated data and the approximation correction is determined as the simulated data of the WRF model at the approximation time, which can correct and improve the simulated data of the WRF model to better reflect the climate characteristics at the regional scale; the simulated data at the approximation time is input into the coupling model of the WRF model and the river network confluence model, and numerical simulation with hourly resolution is carried out, which can accurately simulate the simulation data of regional wind, solar and water resources elements, thereby improving the accuracy and reliability of the simulation data of regional wind, solar and water resources elements. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 This is a flow chart of a method for simulating regional wind, solar and water resources elements using an embedded spectral approximation technology provided in an embodiment of the present application;
[0031] Figure 2 is a comparative schematic diagram of a simulation result provided in an embodiment of the present application;
[0032] Figure 3 It is a structural diagram of a regional wind, solar and water resources element simulation device embedded with spectral approximation technology provided in an embodiment of the present application;
[0033] Figure 4 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings of the embodiments of the present application to clearly describe the technical solutions of the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present application belong to the scope of protection of this application.
[0035] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0036] The following is a brief description of the technical terms used in the embodiments of the present application:
[0037] At present, the Weather Research and Forecasting (WRF) model, WRF is an open source mesoscale numerical weather forecasting and atmospheric modeling system, which is widely used in weather forecasting, climate simulation, air quality and other fields.
[0038] WRF adopts a non-static dynamic framework and can simulate atmospheric processes from mesoscale to regional scale. It has a rich physical process parameterization scheme, can be optimized for different application scenarios, supports a variety of initial and boundary condition data, can flexibly select suitable data sources, has good parallel computing performance, and can efficiently utilize supercomputer resources.
[0039] The WRF modeling process includes: using WPS to pre-process the geographic and meteorological fields, running the core WRF model for numerical simulation, and using post-processing tools to analyze and visualize the simulation results. WRF is a powerful and flexible mesoscale numerical weather model that is widely used in dry and hot valley areas. Through reasonable configuration and optimization, it can greatly improve the simulation accuracy of local weather systems under complex terrain.
[0040] In response to the problems arising in the related technologies, the embodiments of the present application provide a method and device for simulating regional wind, solar and water resources elements embedded with spectral approximation technology, which can solve the problems of low accuracy and reliability in wind, solar and water resources simulation and evaluation in the related technologies.
[0041] In the following, in conjunction with the accompanying drawings, the regional wind, solar and water resources element simulation method embedded with spectral approximation technology provided in the embodiment of the present application is described in detail through specific embodiments and their application scenarios.
[0042] Figure 1 A flowchart of a method for simulating regional wind, solar and water resources elements embedded with spectral approximation technology provided in an embodiment of the present application.
[0043] like Figure 1 As shown, the regional wind and solar water resource element simulation method embedded with spectral approximation technology may include steps 110 to 180, and the method is applied to the regional wind and solar water resource element simulation device embedded with spectral approximation technology, as shown below:
[0044] Step 110, by acquiring global climate model data, the model variables in the global climate model data include: potential height, east-west wind speed component, relative humidity, temperature and north-south wind speed component;
[0045] Among them, data from global climate models, such as ERA5 reanalysis data.
[0046] The following is a description of each climate variable:
[0047] Geopotention is a quantity that indicates the distribution of atmospheric pressure and reflects the potential energy of atmospheric air masses. It is closely related to factors such as surface pressure and temperature and is an important parameter for understanding atmospheric movement.
[0048] The U-component refers to the east-west component of the horizontal wind vector, which describes the changing characteristics of wind speed in the east-west direction.
[0049] Relative humidity is a common humidity indicator, which reflects the ratio of the current water vapor content in the air to the saturated water vapor content.
[0050] Temperature, a basic quantity that describes the thermal state of an object, is one of the most important parameters in climate and weather research.
[0051] The V-component refers to the north-south component of the horizontal wind vector, which describes the changing characteristics of wind speed in the north-south direction.
[0052] Step 120, driving the Weather Research and Forecasting WRF model through driving data to obtain simulation data; the driving data is obtained by processing global climate model data;
[0053] Driving data is data extracted from global climate model data, which is used as input to drive higher-resolution regional weather forecast models. Driving data usually includes basic meteorological elements such as temperature, wind speed, and humidity. With driving data as input, the WRF model can perform more detailed weather simulations in the target area. The WRF model contains more complex physical process parameterizations and can better describe local weather phenomena.
[0054] Here, we get the simulation results of the WRF model, that is, the simulation data. The large-scale information of the global climate model data provides better boundary conditions for regional simulation and improves the simulation accuracy. The WRF model can describe local weather processes in more detail and make up for the lack of coarse resolution of GCM.
[0055] Step 130, for each approximation time, Fourier transform the driving data and the simulation data to extract the spectral coefficients of the driving data and the spectral coefficients of the simulation data within a preset wave number range; the spectral coefficients of the driving data are used to characterize large-scale climate information, and the spectral coefficients of the simulation data are used to characterize detailed climate information;
[0056] In numerical simulation, models often need to be evolved and calculated at a certain time step. Approximation times refer to these time steps. In other words, during the simulation, data is updated and saved at a certain time step. For example, a fixed time step dt is set. During the simulation, data will be saved at t=0, t=dt, t=2*dt, t=3*dt, etc. These saved time steps are approximation times.
[0057] Alternatively, the model may adaptively adjust the time step according to some convergence condition. In this case, the saved time nodes are no longer fixed, but dynamically change according to the convergence of the simulation process. In this case, the approximation time refers to these dynamically changing saved time nodes.
[0058] Regardless of whether the time step is fixed or adaptive, these saved time nodes can be called approximation times. It is necessary to analyze the simulation data based on these approximation times, such as performing Fourier transform and other operations.
[0059] In numerical simulation, it is often necessary to set a fixed time step or time interval for simulation and data saving. This fixed time interval can be understood as "gffda_interval_m". This fixed time interval determines the time node where the simulation data is saved. In other words, the simulated data will be recorded at these fixed time points to form a series of approximate times.
[0060] For example, the simulation data is a matrix (t, m, n), where t represents the number of time steps, and m and n represent the number of grid points in the spatial dimension. It is hoped that the data of each time step will be Fourier transformed and the spectral coefficients with the wave number range of [xmin, xmax] in the x direction and [ymin, ymax] in the y direction will be extracted.
[0061] The spectral coefficients include: the wave number in the x direction (xwavenum) and the wave number in the y direction (ywavenum), which are described below:
[0062] Wavenumber is a measure of spatial frequency, which indicates the number of periodic changes of waves per unit distance. In two-dimensional or three-dimensional analysis, it is usually necessary to consider the wavenumber characteristics in different directions. xwavenum is an important indicator that describes the wavenumber information in the x direction. xwavenum refers to the wavenumber in the x direction (wavenumber).
[0063] ywavenum refers to the wavenumber in the y direction. Similar to xwavenum, ywavenum reflects the periodic variation of the wave in the y direction. In two-dimensional or three-dimensional analysis, it is very important to consider the wavenumber information in both the x and y directions.
[0064] xwavenum and ywavenum are important parameters that describe the spatial frequency characteristics and reflect the periodic variation information of the driving data in different directions.
[0065] Specifically, first, traverse each time step t: Then, perform a two-dimensional Fourier transform on the two-dimensional data of the current time step to obtain the spectrum matrix. Next, calculate the wavenumber information xwavenum and ywavenum in the x and y directions. The np.fft.fftfreq() function can be used to obtain the wavenumber information, and np.meshgrid() can be used to construct a two-dimensional matrix. The results of all time steps are sorted to obtain a four-dimensional tensor fft_data_all with dimensions (t, m, n, 2), where the last dimension stores the real and imaginary parts. Finally, according to the required wavenumber range [xmin, xmax] and [ymin,ymax], the corresponding spectral coefficient subset fft_data_subset is extracted from the four-dimensional tensor. Boolean indexing can be used for filtering.
[0066] In this way, the spectral coefficients within the required wave number range at each time step are obtained. These spectral coefficients can be used for subsequent analysis and processing, such as studying the spectral characteristics of simulated data at different spatial scales, or performing modal decomposition, etc.
[0067] In a possible embodiment, step 130 includes:
[0068] The time scale for obtaining regional wind, solar and water resource elements;
[0069] Determine the preset wave number range based on the time scale of regional wind, light and water resources elements;
[0070] Perform Fourier transform on the driving data of each approximation time to obtain a frequency domain signal;
[0071] Extracting spectral coefficients within a preset wavenumber range from the frequency domain signal;
[0072] Perform Fourier transform on the analog data of each approximation time to obtain a frequency domain signal;
[0073] Extract spectral coefficients within a preset wavenumber range from the frequency domain signal.
[0074] First, it is necessary to understand the changing characteristics of key physical quantities such as wind speed, solar radiation, and water level in the target area. These physical quantities usually show changes in different time scales, such as interannual changes, seasonal changes, daily changes, etc. By analyzing the measured data, the main change cycles of these physical quantities can be determined as the basis for subsequent analysis.
[0075] According to the time scale changes determined in the previous step, the appropriate wavenumber range can be selected for analysis. For example, interannual changes correspond to the low-frequency wavenumber range, seasonal changes correspond to the medium-frequency wavenumber range, and daily changes correspond to the high-frequency wavenumber range. This ensures that the changing characteristics of these physical quantities on different time scales are taken into account.
[0076] By performing Fourier transform on the driving data at each approximation time, a frequency domain signal can be obtained. From this frequency domain signal, the spectrum coefficients within the preset wave number range are extracted, and these spectrum coefficients describe the amplitude characteristics of the driving data in different frequency bands.
[0077] Similarly, the simulation data of each approximation time is Fourier transformed to obtain a frequency domain signal. From this frequency domain signal, the spectrum coefficients within the preset wave number range are extracted, and these spectrum coefficients describe the amplitude characteristics of the simulation data in different frequency bands.
[0078] In this way, the changing characteristics of physical quantities on different time scales can be comprehensively analyzed, so that the simulation results can better reflect the actual changes in regional wind, solar and water resources.
[0079] For example, a two-dimensional driving data matrix has a size of M x N. This matrix can be subjected to a one-dimensional Fourier transform in the row direction and the column direction to obtain a two-dimensional spectrum matrix. Each element of this spectrum matrix is a complex number, which represents the spectrum coefficient of the original data under the corresponding wave number combination.
[0080] Next, in order to extract the spectral coefficients of the required wavenumber range, the corresponding wavenumber information needs to be calculated. In a one-dimensional Fourier transform, the fftfreq() function can be used to obtain the frequency information, and then multiplied by 2π to get the wavenumber. In the two-dimensional case, the wavenumbers in the x-direction and y-direction need to be calculated separately, and the meshgrid() function is used to generate a two-dimensional wavenumber matrix.
[0081] With the spectrum matrix and wavenumber matrix, we can extract the spectrum coefficients of the wavenumber range of interest according to the needs. Specifically, we can set the wavenumber range in the x direction to [xmin, xmax] and the wavenumber range in the y direction to [ymin, ymax]. Then, we use the Boolean indexing method to select the elements that meet these conditions from the spectrum matrix, and we get the required xwavenum and ywavenum.
[0082] Therefore, the original driving data can be decomposed into spectral coefficients at different wavenumbers through Fourier transform, which is very helpful for understanding the spectral characteristics of the driving data, as well as screening the spectral coefficients in the available wavenumber range to further analyze the contribution of the data at different spatial scales.
[0083] The specific calculation formula is as follows:
[0084]
[0085] Among them, dQ / dt is the time derivative of the mode variable Q, that is, the rate of change of Q with time;
[0086] Q mn and Q omn are the spectral coefficients of the Fourier transform of the mode variables and the driving data, respectively;
[0087] m and n represent the wave number indexes in the x and y directions, respectively; m is a positive integer between 0 and M, and n is a positive integer between 0 and N;
[0088] M and N are xwavenum and ywavenum respectively;
[0089] Dx and Dy are the mode grid distances in the x and y directions, respectively;
[0090] ik m x = i * 2πm / Dx, where i is the imaginary unit.
[0091] ik n y = i * 2πn / Dy;
[0092] ik m x and ik ny in the exponential term in formula (1) represents the exponential factor related to the wave number in the x and y directions.
[0093] Q is the pattern variable;
[0094] L(Q) represents the mode operator;
[0095] K is the approximation coefficient;
[0096] K m is the approximation coefficient in the x direction;
[0097] K n is the approximation coefficient in the y direction;
[0098] guv, gt, gph are approximation coefficients;
[0099] Different K can be set for different Qs, where Q is used to indicate climate variables, namely, ground potential, relative humidity, temperature, the north-south component of the horizontal wind vector, and the east-west component of the horizontal wind vector.
[0100] Step 140, performing inverse Fourier transform on the spectral coefficients of the driving data and the spectral coefficients of the simulation data, respectively, to reconstruct large-scale driving data at each grid point of the WRF model;
[0101] Large-scale driving data represent the external driving forces that the system is subject to on a large scale. In the climate system, these external driving forces usually include: radiation flux from the sun, changes in greenhouse gas concentrations in the atmosphere, and changes in surface properties. These large-scale external driving forces will cause corresponding changes and responses in the entire climate system. Therefore, large-scale driving data reflect the impact of these large-scale external forcings on the system.
[0102] First, the spectral coefficients of the driving data, fft_driver, are of size (nt, nx, ny, 2); the spectral coefficients of the simulated data, fft_sim, are of size (nt, nx, ny, 2); where nt is the number of time steps, nx and ny are the number of spatial grid points. The last dimension 2 stores the real and imaginary parts.
[0103] Then, the driving data is subjected to an inverse Fourier transform, which may specifically include the following steps: traversing the time step t from 0 to nt-1; performing a two-dimensional inverse Fourier transform on the driving data to obtain large-scale driving data and reconstructed simulation data at each grid point. Then, the simulation data is subjected to an inverse Fourier transform, which may specifically include the following steps: traversing the time step t from 0 to nt-1; performing a two-dimensional inverse Fourier transform on the simulation data to obtain large-scale driving data and reconstructed simulation data at each grid point.
[0104] Thus, the large-scale driving data corresponding to each grid point (i, j) at time t of the driving data spectrum coefficient and the large-scale reconstructed simulation data corresponding to each grid point (i, j) at time t of the simulation data spectrum coefficient are obtained.
[0105] By performing inverse Fourier transform on the spectral coefficients of the driving data and the simulated data, we can obtain the large-scale driving data and reconstructed simulated data at each grid point, and extract the large-scale signal components from the original high-resolution data. This helps to analyze the large-scale processes in the climate system and ignore some small-scale noise and fluctuations. After obtaining the large-scale driving data and simulated values, it is convenient to directly compare and evaluate them. This can provide a basis for analyzing the performance of climate models in simulating large-scale processes.
[0106] Step 150, performing spectral approximation processing on the large-scale driving data to obtain an approximation correction value at each grid point of the WRF model;
[0107] Due to its high resolution, the WRF model is difficult to fully capture the low-frequency variation characteristics in large-scale driving data. By spectrally approximating the driving data, a correction value that more accurately reflects large-scale changes can be obtained and applied to the WRF model output, so that the WRF simulation results can be closer to the driving data in terms of large-scale characteristics, improving the overall accuracy of the simulation.
[0108] In a possible embodiment, step 150 includes:
[0109] Step 210, driving the WRF model through large-scale driving data to obtain reconstructed simulation data;
[0110] Step 220 , performing spectral approximation processing on the large-scale driving data and the reconstructed simulation data to obtain the approximation correction value at each grid point of the WRF model.
[0111] Step 210, in this step, large-scale driving data (such as atmospheric circulation, boundary layer parameters, etc.) obtained from global or regional climate models are used as input to the WRF model. By running the WRF model, corresponding reconstructed simulation data can be obtained, which reflect the simulation results of physical quantities such as wind, temperature, precipitation, etc. on the regional scale under large-scale driving. The purpose is to use more accurate large-scale driving data to drive the WRF model, so as to obtain regional scale simulation results that are closer to the actual situation.
[0112] Step 220, Fourier transform the large-scale driving data and the reconstructed simulation data respectively to obtain their spectral coefficients in different frequency bands. The spectral coefficients of the large-scale driving data are spectrally approximated to obtain a function expression that approximates the large-scale driving data. Using this approximation function, the approximation correction amount at each grid point of the WRF model can be calculated. In other words, this approximation function is used to correct the physical value at each grid point output by the WRF model to make it closer to the large-scale driving data.
[0113] Therefore, the use of large-scale driving data can ensure that the WRF model can more accurately reflect large-scale processes such as atmospheric circulation at the regional scale, and then through spectral approximation correction, the errors of the WRF model in capturing large-scale change characteristics can be further eliminated. The reconstructed simulation data obtained in the end is closer to the driving data in terms of large-scale characteristics, and more accurately reflects the actual situation at the regional scale.
[0114] In this way, the simulation accuracy of the WRF model can be significantly improved, providing more reliable data support for subsequent wind, solar and water resources assessment and prediction.
[0115] In a possible embodiment, step 220 includes:
[0116] Acquire approximation coefficients of spectral approximation processing, the approximation coefficients including: an approximation coefficient for correcting a wind field, an approximation coefficient for correcting a temperature field, and an approximation coefficient for correcting a geopotential height field;
[0117] The large-scale driving data and reconstructed simulation data are spectrally approximated according to the approximation coefficients to obtain the approximation correction at each grid point of the WRF model.
[0118] Guv, the approximation coefficient used to correct the wind field;
[0119] Gt, the approximation coefficient used to correct the temperature field;
[0120] Gph, the approximation coefficient used to correct the geopotential height field;
[0121] The large-scale driving data and the reconstructed simulation data are multiplied by the corresponding approximation coefficients to obtain the approximation correction at each grid point. In this way, the approximation correction of the three physical quantities at each grid point is obtained. As a result, the simulation of the wind field, the simulation of the temperature field, and the simulation of the potential height field can be improved, and the deviations of the main physical quantities of the regional climate model can be corrected, which significantly improves the accuracy and reliability of the simulation. This provides a valuable basis for further improving regional climate forecasts and assessing the impact of climate change.
[0122] With the above three sets of approximation coefficients, the wind field, temperature field and potential height field of the large-scale driving data and the reconstructed simulation data can be spectrally approximated. According to the approximation coefficients, the large-scale driving data and the reconstructed simulation data are spectrally approximated to obtain the approximation correction amount at each grid point of the WRF model. The wind field, temperature field and potential height field are approximated and corrected respectively, which can ensure that each physical quantity is closer to the driving data in terms of large-scale characteristics. Through this sophisticated correction method, the shortcomings of the WRF model in describing large-scale information can be compensated, and the simulation results can be more accurate in all physical quantities. The simulation accuracy of the WRF model can be effectively improved, and the key features in the large-scale driving data can be better reflected. For the subsequent wind, solar and water resources assessment and prediction work, it can provide more reliable data support for decision-making.
[0123] In a possible embodiment, obtaining an approximation coefficient of spectral approximation processing includes:
[0124] Identify model variables for large-scale driving data and reconstruction simulation data;
[0125] According to the pattern variables, approximation coefficients of the spectral approximation process are obtained.
[0126] The above approximation coefficients need to be selected and adjusted according to the specific climate model and research objectives to obtain the best simulation effect.
[0127] Large-scale driving data usually contain some key atmospheric physical quantities, such as wind field (east-west wind and north-south wind), temperature field, geopotential height field, water vapor flux, and pressure field. The physical quantities contained in the reconstructed simulation data should correspond to the large-scale driving data, such as wind field (east-west wind and north-south wind), temperature field, and geopotential height field.
[0128] For each corresponding physical quantity (such as wind field, temperature field, and potential height field), the following steps need to be performed: Fourier transform the large-scale driving data and the reconstructed simulation data respectively to obtain their spectral coefficients in different frequency bands, perform spectral approximation processing on the spectral coefficients of the large-scale driving data, and fit an approximation function. The spectral coefficient of this approximation function is the approximation coefficient, which is used to obtain the approximation coefficient for correcting the wind field, temperature field, and potential height field.
[0129] Through these approximation coefficients, spectral approximation processing can be performed on large-scale driving data and reconstructed simulation data, and the approximation correction at each grid point of the WRF model can be calculated. The correction method based on the approximation coefficient can effectively eliminate the errors of the WRF model in describing the characteristics of large-scale physical quantity changes, providing more reliable data support for subsequent wind, solar and water resources assessment and prediction.
[0130] In a possible embodiment, spectral approximation processing is performed on the large-scale driving data and the reconstructed simulation data according to the approximation coefficient to obtain the approximation correction amount at each grid point of the WRF model, including:
[0131] The large-scale driving data are weighted according to the approximation coefficient to obtain the weighted large-scale driving data;
[0132] Performing weighted processing on the reconstructed simulation data according to the approximation coefficient to obtain weighted reconstructed simulation data;
[0133] The approximation correction at each grid point of the WRF model is determined based on the weighted large-scale driving data and the weighted reconstructed simulation data.
[0134] Large-scale driving data*approximation coefficient+reconstructed simulation data*approximation coefficient=approximation correction.
[0135] With the approximation coefficients obtained previously, these coefficients represent the spectral characteristics of the large-scale drive data. These approximation coefficients can be used to perform weighted processing on each frequency band of the large-scale drive data. The Fourier spectrum coefficients of the large-scale drive data are multiplied by the corresponding approximation coefficients to obtain the weighted large-scale drive data, and a weighted large-scale drive data field is obtained.
[0136] Similarly, the obtained approximation coefficients can be used to weight the reconstructed simulation data. The Fourier spectrum coefficients of the reconstructed simulation data are multiplied by the corresponding approximation coefficients to obtain the weighted reconstructed simulation data. The weighted reconstructed simulation data is obtained. According to the weighted large-scale driving data and the weighted reconstructed simulation data, the approximation correction amount at each grid point of the WRF model is determined.
[0137] The approximation correction reflects the error in the WRF model's description of the characteristics of changes in large-scale physical quantities. This approximation correction can be applied to the simulation results of the WRF model to correct and improve the simulation results.
[0138] Step 160, at each grid point of the WRF model, the sum of the simulation data and the approximation correction amount is determined as the simulation data of the WRF model at the approximation time;
[0139] In the above steps, the approximate corrections for each grid point are calculated, such as the corrections for wind field, temperature field, geopotential height field, etc. The corrections are directly superimposed on the original reconstructed simulation data to obtain new reconstructed simulation data after approximation correction. These corrected reconstructed simulation data are used for subsequent analysis and evaluation, such as comparison with observation data, analysis of time evolution characteristics, etc.
[0140] By superimposing the calculated approximation correction on the original reconstructed simulation data, the corrected simulation results can be obtained. This correction process can improve the accuracy of the climate model in simulating large-scale processes. Therefore, the observed data and simulated data can be combined to make targeted approximation corrections to the climate model. This helps to reduce the deviation between the simulation results and the actual observations and improve the performance of the model in simulating large-scale processes.
[0141] Through this direct approximation correction method, the simulation results of the model can be effectively improved by combining observational data, and the accuracy and reliability of the simulation can be improved on the basis of maintaining the original physical field distribution characteristics. This is of great significance for improving the performance of regional climate forecasts and assessing the impact of climate change.
[0142] The approximation correction is applied directly on each grid point, preserving the spatial distribution characteristics of the original simulation results. The corrected reconstructed simulation data still maintains consistency with the original reconstructed simulation data, which is conducive to subsequent analysis and evaluation.
[0143] Step 170, input the simulation data at the approximate time into the coupling model of the WRF model and the river network confluence model, carry out numerical simulation with hourly resolution, and obtain the simulation data of regional wind and solar water resources elements.
[0144] The river network confluence model is coupled to couple the optimized WRF model with a high-resolution river network confluence model. This improves the ability to describe surface hydrological processes and provides more accurate parameters for atmospheric boundary conditions.
[0145] Hourly resolution simulation refers to the use of sufficiently high time resolution to better capture the changes in meteorological elements on a short time scale, which is very important for the analysis of renewable energy applications such as wind and solar energy.
[0146] This high-resolution numerical simulation based on the optimized WRF parameterization scheme and the coupling of the river network confluence model can provide very valuable supporting data for the development and utilization of renewable energy such as wind energy and solar energy. At the same time, this simulation result can also be used in other related fields, such as agricultural meteorology and climate change impact assessment.
[0147] In a possible embodiment, before step 170, the following steps may also be included:
[0148] Execute WRF model parameterization scheme settings;
[0149] Among them, the parameters in the WRF mode parameterization scheme setting include: preset beam range, guv, gt, gph, and gffda_interval_m.
[0150] Optimize the combination of physical parameterization schemes in the WRF model to better capture atmospheric processes on a regional scale. You can try different combinations of boundary layer, cumulus, microphysics and other parameterization schemes, and optimize the selection by comparing the observed data.
[0151] guv, gt and gph: These three parameters are used to specify the horizontal grid spacing. guv is the grid spacing of the horizontal wind field, gt is the grid spacing of the temperature field, and gph is the grid spacing of the potential height field. These parameters determine the horizontal resolution of the model and affect the simulation effect of the model.
[0152] gffda_interval_m, the parameter is used to set the time interval for assimilating observation data. Usually the unit is minutes, indicating how often the model assimilates observation data. This parameter can affect the frequency of the assimilation process, thereby affecting the simulation effect of the model.
[0153] These parameters are important settings related to model resolution and assimilation frequency, and need to be reasonably selected and adjusted according to specific research objectives and computing resources to achieve the best simulation effect.
[0154] The setting of these parameters will also affect the calculation and application of the correction amount, and its impact on the final result needs to be considered. Through sensitivity analysis of these parameters, the best settings can be found to further improve the effect of the approximate correction method.
[0155] In a possible embodiment, before step 170, the following steps may also be included:
[0156] Use Muskingum-Kangi method to construct river network confluence model;
[0157] The constructed river network confluence model is coupled with the WRF model to obtain a coupling model of WRF and river network confluence model.
[0158] The Muskingum-Konji method is a one-dimensional river flood forecasting model based on the classical momentum and continuity equations. It mainly includes the following steps:
[0159] Establish the topological structure of the river network in the basin; determine the connection relationship and geometric characteristic parameters of the river mainstream and tributaries; establish the Muskingum-Kangi equations; based on the one-dimensional momentum and continuity equations, establish the partial differential equations describing the hydrological process of the river. Discretization solution, specifically, the numerical discretization method such as finite difference can be used to discretize the partial differential equations into algebraic equations. Commonly used discretization methods include four-point implicit format, McCormack format, etc. Boundary condition processing requires providing appropriate boundary conditions for the upstream and downstream boundaries, such as flow, water level, etc. Calibrate and verify the model parameters through observation data to improve the simulation accuracy.
[0160] The Muskingum-Konji method has a relatively complete mechanism basis, strong applicability, relatively simple calculation, low requirements on computing resources, and can better describe the river flood process.
[0161] In practical applications, by coupling this river network confluence model with the WRF atmospheric model, a more comprehensive hydrological-meteorological coupled model system is formed, which can greatly improve the simulation capabilities of extreme weather events and their hydrological responses.
[0162] The WRF model is a non-hydrostatic atmospheric model used for numerical weather forecasting and climate simulation, which can simulate atmospheric circulation and various weather processes well. The river network confluence model is mainly used to describe the surface runoff process and can simulate river hydrological processes.
[0163] Coupling these two models can improve the overall accuracy of water cycle simulation. WRF can provide the driving force of atmospheric processes, and the river network model can in turn provide WRF with more accurate surface boundary conditions. The coupling of the two models can better simulate the closure of the water cycle process. To enhance the simulation capability of extreme weather events, such as heavy rains, floods and other extreme weather events, it is necessary to consider both atmospheric processes and surface hydrological processes. The coupled model can more accurately predict such extreme events and their impacts.
[0164] The coupled model can provide an overall simulation of hydrological elements at the basin scale, providing a scientific basis for water resources management. Through the seamless integration of the two models, the simulation capabilities of hydrological processes and extreme weather events can be greatly improved, providing strong support for water resources management and climate change research.
[0165] For example, Figure 2 As shown in Figure 2, the spectral approximation method has a significant impact on the simulation results of the 500 hPa wind field, including:
[0166] Comparing Figures a and b, an obvious cyclonic vortex structure appears downwind of the Qinghai-Tibet Plateau after spectral approximation (Figure a), while this vortex structure is not obvious without spectral approximation (Figure b).
[0167] Comparing Figures e and f, it can be seen that the simulation result after spectral approximation (Figure e) is closer to the ERA5 reanalysis wind field, and the difference between the two is significantly smaller than the difference without spectral approximation (Figure f). This shows that the embodiment of the present application can better correct the simulation error of the WRF model for the large-scale background field.
[0168] Figure d clearly shows the changes introduced by the spectral approximation method at this time. A cyclonic vortex structure appears downwind of the Qinghai-Tibet Plateau. This vortex feature is not obvious in the results without spectral approximation. This shows that the embodiments of the present application can better capture large-scale circulation features.
[0169] Combination Figure 2 It can be seen that the embodiments of the present application can significantly improve the simulation effect of the WRF model on the 500 hPa wind field. By correcting the simulation error of the WRF model on the large-scale background field, it can better capture the circulation characteristics of the regional scale and make the simulation results closer to the actual reanalysis data. This is of great significance for improving the accuracy and reliability of regional climate simulation.
[0170] Among them, the simulation data of regional wind, solar and water resources elements include:
[0171] Including near-ground wind speed, air density, air temperature, dew point temperature, surface total radiation data, direct radiation data and scattered radiation data.
[0172] Near-ground wind speed refers to the wind speed at a height of 10 meters above the ground. It is a key parameter to measure the abundance of wind resources. It is very important for applications such as wind power generation, which requires accurate prediction of wind speed and direction.
[0173] Air density refers to the mass of air per unit volume, which varies with factors such as temperature and pressure. Changes in air density will affect the power generation of the fan and need to be taken into account.
[0174] Air temperature refers to the temperature of the air near the ground and is one of the most basic meteorological elements. Changes in air temperature will affect many physical processes, such as heat exchange and atmospheric stability.
[0175] Dew point temperature refers to the temperature when the water vapor in the air reaches saturation, reflecting the water vapor content in the air. Changes in dew point temperature affect atmospheric radiation processes, condensation and other processes.
[0176] Total surface radiation refers to all solar radiation reaching the surface, including direct and scattered components. It is the main energy source driving surface heat exchange and is very important for solar energy utilization.
[0177] Direct radiation is the radiation flux that directly reaches the earth's surface from the sun, which is not affected by the scattering and absorption of the atmosphere. It determines the direct utilization efficiency of solar cells.
[0178] Scattered radiation refers to the radiation flux that reaches the earth's surface after being scattered by gases and particles in the atmosphere. It has a certain impact on the utilization efficiency of solar cells.
[0179] In summary, obtaining these data using high-resolution simulations can provide valuable support for related applications.
[0180] In a possible embodiment, when the driving data is free atmosphere data, the spectrum approximation in WRF is turned on;
[0181] In cases where the driving data is planetary boundary layer data, the spectral approximation in WRF is turned off.
[0182] For the free atmosphere, the physical processes in this layer of the atmosphere are relatively simple and easy to describe, and the spectral approximation method can effectively capture large-scale dynamic processes. Therefore, for the free atmosphere, spectral approximation correction is a common and effective method.
[0183] For the planetary boundary layer, this layer of atmosphere is strongly affected by the surface, and the physical processes are very complex. Including turbulence, convection, surface flux and other processes, it is difficult to use a simple spectral approximation to describe. If the spectral approximation is still used in the boundary layer, it may introduce large errors and affect the accuracy of the simulation results.
[0184] Therefore, in practical applications, the spectral approximation correction method is usually only used for the free atmosphere, while this correction should be turned off in the boundary layer, and a more appropriate parameterization scheme should be used to describe the physical processes in the boundary layer. This detail is very important to ensure the effectiveness of the approximation correction method.
[0185] In an embodiment of the present application, global climate model data is obtained, and the model variables in the global climate model data include: potential height, east-west wind speed component, relative humidity, temperature and north-south wind speed component; the global climate model can provide large-scale climate information and provide the necessary background field for the regional WRF model; the weather research and forecasting WRF model is driven by driving data to obtain simulation data; the driving data is obtained by processing the global climate model data; the large-scale information of the global climate model is used to drive the WRF model, and regional-scale climate simulation data can be obtained, and these simulation data contain climate information from large scale to small scale; for each approximation time, the driving data and the simulation data are Fourier transformed to extract the spectral coefficients of the driving data and the spectral coefficients of the simulation data within a preset wavenumber range; the spectral coefficients of the driving data are used to characterize the large-scale climate information and reflect the characteristics of the climate background field; the spectral coefficients of the simulation data are used to characterize Detailed climate information reflects the climate process at the regional scale; the spectral coefficients of the driving data and the spectral coefficients of the simulation data are respectively subjected to inverse Fourier transform to reconstruct the large-scale driving data at each grid point of the WRF model; the large-scale driving data are subjected to spectral approximation processing to obtain the approximation correction at each grid point of the WRF model. Through spectral approximation processing, the error of the WRF model in simulating the large-scale background field can be quantified. This approximation correction reflects the error in the description of the large-scale physical quantity change characteristics of the WRF model; at each grid point of the WRF model, the sum of the simulation data and the approximation correction is determined as the simulation data of the WRF model at the time of approximation, which can correct and improve the simulation data of the WRF model to better reflect the climate characteristics at the regional scale; the simulation data at the time of approximation is input into the coupling model of the WRF model and the river network confluence model, and numerical simulation with hourly resolution is carried out, which can accurately simulate the simulation data of regional wind, light and water resources elements.
[0186] The method for simulating regional wind and water resources elements embedded with spectral approximation technology provided in the embodiment of the present application can be executed by a device for simulating regional wind and water resources elements embedded with spectral approximation technology. In the embodiment of the present application, the device for simulating regional wind and water resources elements embedded with spectral approximation technology is used as an example to illustrate the method for simulating regional wind and water resources elements embedded with spectral approximation technology.
[0187] Figure 3 300 is a block diagram of a regional wind, solar and water resources element simulation device embedded with spectral approximation technology provided in an embodiment of the present application, and the device 300 includes:
[0188] An acquisition module 310 is used to acquire global climate model data, wherein the model variables in the global climate model data include: potential height, east-west wind speed component, relative humidity, temperature and north-south wind speed component;
[0189] A driving module 320 is used to drive the Weather Research and Forecasting WRF model through driving data to obtain simulation data; the driving data is obtained by processing global climate model data;
[0190] The first transformation module 330 is used to perform Fourier transformation on the driving data and the simulation data for each approximation time, and extract the spectral coefficients of the driving data and the spectral coefficients of the simulation data within a preset wave number range; the spectral coefficients of the driving data are used to represent large-scale climate information, and the spectral coefficients of the simulation data are used to represent detailed climate information;
[0191] The second transformation module 340 is used to perform inverse Fourier transformation on the spectral coefficients of the driving data and the spectral coefficients of the simulation data, respectively, to reconstruct the large-scale driving data at each grid point of the WRF model;
[0192] An approximation module 350 is used to perform spectral approximation processing on the large-scale driving data to obtain an approximation correction value at each grid point of the WRF model;
[0193] A determination module 360 is used to determine the sum of the simulation data and the approximation correction amount at each grid point of the WRF model as the simulation data of the WRF model at the approximation time;
[0194] The simulation module 370 is used to input the simulation data at the approximate time into the coupling model of the WRF model and the river network confluence model, carry out numerical simulation with hourly resolution, and obtain the simulation data of regional wind, solar and water resources elements.
[0195] In a possible embodiment, the first transformation module 330 is specifically configured to:
[0196] The time scale for obtaining regional wind, solar and water resource elements;
[0197] Determine the preset wave number range based on the time scale of regional wind, light and water resources elements;
[0198] Perform Fourier transform on the driving data of each approximation time to obtain a frequency domain signal;
[0199] Extracting spectral coefficients within a preset wavenumber range from the frequency domain signal;
[0200] Perform Fourier transform on the analog data of each approximation time to obtain a frequency domain signal;
[0201] Extract spectral coefficients within a preset wavenumber range from the frequency domain signal.
[0202] In a possible embodiment, the approximation module 350 is specifically configured to:
[0203] The WRF model is driven by large-scale driving data to obtain reconstructed simulation data;
[0204] The large-scale driving data and reconstructed simulation data are processed by spectral approximation to obtain the approximation correction at each grid point of the WRF model.
[0205] In a possible embodiment, the approximation module 350 is specifically configured to:
[0206] Acquire approximation coefficients of spectral approximation processing, the approximation coefficients including: an approximation coefficient for correcting a wind field, an approximation coefficient for correcting a temperature field, and an approximation coefficient for correcting a geopotential height field;
[0207] The large-scale driving data and reconstructed simulation data are spectrally approximated according to the approximation coefficients to obtain the approximation correction at each grid point of the WRF model.
[0208] In a possible embodiment, the approximation module 350 is specifically configured to:
[0209] The large-scale driving data are weighted according to the approximation coefficient to obtain the weighted large-scale driving data;
[0210] Performing weighted processing on the reconstructed simulation data according to the approximation coefficient to obtain weighted reconstructed simulation data;
[0211] The approximation correction at each grid point of the WRF model is determined based on the weighted large-scale driving data and the weighted reconstructed simulation data.
[0212] In a possible embodiment, the approximation module 350 is specifically configured to:
[0213] Identify model variables for large-scale driving data and reconstruction simulation data;
[0214] According to the pattern variables, approximation coefficients of the spectral approximation process are obtained.
[0215] In a possible embodiment, the device 300 may further include:
[0216] Building blocks for constructing river network confluence models using the Muskingum-Konji method;
[0217] The coupling module is used to couple the constructed river network confluence model with the WRF model to obtain a coupling model of WRF and the river network confluence model.
[0218] Among them, the simulation data of regional wind, solar and water resources elements include:
[0219] Including near-ground wind speed, air density, air temperature, dew point temperature, surface total radiation data, direct radiation data and scattered radiation data.
[0220] The device 300 may further include:
[0221] The startup module is used to turn on the spectral approximation in WRF when the driving data is free atmosphere data;
[0222] A shutdown module is used to turn off the spectral approximation in WRF when the driving data is planetary boundary layer data.
[0223] In an embodiment of the present application, global climate model data is obtained, and the model variables in the global climate model data include: potential height, east-west wind speed component, relative humidity, temperature and north-south wind speed component; the global climate model can provide large-scale climate information and provide the necessary background field for the regional WRF model; the weather research and forecasting WRF model is driven by driving data to obtain simulation data; the driving data is obtained by processing the global climate model data; the large-scale information of the global climate model is used to drive the WRF model, and regional-scale climate simulation data can be obtained, and these simulation data contain climate information from large scale to small scale; for each approximation time, the driving data and the simulation data are Fourier transformed to extract the spectral coefficients of the driving data and the spectral coefficients of the simulation data within a preset wavenumber range; the spectral coefficients of the driving data are used to characterize the large-scale climate information and reflect the characteristics of the climate background field; the spectral coefficients of the simulation data are used to characterize Detailed climate information reflects the climate process at the regional scale; the spectral coefficients of the driving data and the spectral coefficients of the simulation data are respectively subjected to inverse Fourier transform to reconstruct the large-scale driving data at each grid point of the WRF model; the large-scale driving data are subjected to spectral approximation processing to obtain the approximation correction at each grid point of the WRF model. Through spectral approximation processing, the error of the WRF model in simulating the large-scale background field can be quantified. This approximation correction reflects the error in the description of the large-scale physical quantity change characteristics of the WRF model; at each grid point of the WRF model, the sum of the simulation data and the approximation correction is determined as the simulation data of the WRF model at the time of approximation, which can correct and improve the simulation data of the WRF model to better reflect the climate characteristics at the regional scale; the simulation data at the time of approximation is input into the coupling model of the WRF model and the river network confluence model, and numerical simulation with hourly resolution is carried out, which can accurately simulate the simulation data of regional wind, light and water resources elements.
[0224] The device provided in the embodiment of the present application can implement each process implemented in the above method embodiment. To avoid repetition, it will not be described again here.
[0225] Optionally, Figure 4 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0226] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.
[0227] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0228] The memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 402 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 402 is a non-volatile solid-state memory. In a specific embodiment, the memory 402 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0229] The processor 401 implements any one of the methods in the embodiments shown in the figure by reading and executing the computer program instructions stored in the memory 402.
[0230] In one example, the electronic device may further include a communication interface 404 and a bus 410. Figure 4 As shown, the processor 401, the memory 402, and the communication interface 404 are connected via a bus 410 and communicate with each other.
[0231] The communication interface 404 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0232] Bus 410 includes hardware, software or both, coupling the components of the electronic device to each other. For example, but not limitation, the bus may include an accelerated graphics port (AGP) or other graphics bus, an enhanced industrial standard architecture (EISA) bus, a front-side bus (FSB), a hypertransport (HT) interconnect, an industrial standard architecture (ISA) bus, an infinite bandwidth interconnect, a low pin count (LPC) bus, a memory bus, a microchannel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable bus or a combination of two or more of these. Where appropriate, bus 410 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnect.
[0233] The electronic device can execute the method in the embodiment of the present application, thereby realizing the combination Figure 1 Describe the method.
[0234] In addition, in combination with the method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium to implement. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the Figure 1 method.
[0235] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0236] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0237] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0238] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for simulating regional wind, solar and water resources elements embedded with spectral approximation technology, characterized in that: The method comprises: Obtaining global climate model data, the model variables in the global climate model data include: potential height, east-west wind speed component, relative humidity, temperature and north-south wind speed component; The Weather Research and Forecasting (WRF) model is driven by driving data to obtain simulation data; the driving data is obtained by processing the global climate model data; For each approximation time, the driven data and the simulated data are Fourier transformed to extract the spectral coefficients of the driven data and the spectral coefficients of the simulated data within the preset wavenumber range; the spectral coefficients of the driven data are used to characterize large-scale climate information, and the spectral coefficients of the simulated data are used to characterize detailed climate information; The Fourier transform of the driving data and the simulation data to extract the spectral coefficients of the driving data and the spectral coefficients of the simulation data within a preset wave number range includes: The time scale for obtaining regional wind, solar and water resource elements; Determine the preset wave number range based on the time scale of regional wind, light and water resources elements; Perform Fourier transform on the driving data of each approximation time to obtain a frequency domain signal; Extracting spectral coefficients of driving data within a preset wave number range from the frequency domain signal; Perform Fourier transform on the analog data of each approximation time to obtain the frequency domain signal; Extracting spectral coefficients of simulation data within a preset wavenumber range from the frequency domain signal; The spectral coefficients of the driving data and the spectral coefficients of the simulated data are respectively subjected to inverse Fourier transform to reconstruct the large-scale driving data at each grid point of the WRF model; The large-scale driving data are processed by spectral approximation to obtain the approximation correction value at each grid point of the WRF model; At each grid point of the WRF model, the sum of the simulated data and the approximation correction is determined as the simulated data of the WRF model at the approximation time; The simulation data at the approaching moment is input into the coupling model of the WRF model and the river network confluence model, and numerical simulation with hourly resolution is carried out to obtain the simulation data of regional wind, solar and water resources elements.
2. The method according to claim 1, characterized in that: The spectral approximation processing of the large-scale driving data is performed to obtain the approximation correction amount at each grid point of the WRF model, including: The WRF model is driven by large-scale driving data to obtain reconstructed simulation data; The large-scale driving data and reconstructed simulation data are processed by spectral approximation to obtain the approximation correction at each grid point of the WRF model.
3. The method according to claim 2, characterized in that The spectral approximation processing is performed on the large-scale driving data and the reconstructed simulation data to obtain the approximation correction amount at each grid point of the WRF model, including: Acquire approximation coefficients of spectral approximation processing, the approximation coefficients including: an approximation coefficient for correcting a wind field, an approximation coefficient for correcting a temperature field, and an approximation coefficient for correcting a geopotential height field; The large-scale driving data and reconstructed simulation data are spectrally approximated according to the approximation coefficients to obtain the approximation correction at each grid point of the WRF model.
4. The method according to claim 3, characterized in that The spectral approximation processing is performed on the large-scale driving data and the reconstructed simulation data according to the approximation coefficient to obtain the approximation correction amount at each grid point of the WRF model, including: The large-scale driving data are weighted according to the approximation coefficient to obtain the weighted large-scale driving data; Performing weighted processing on the reconstructed simulation data according to the approximation coefficient to obtain weighted reconstructed simulation data; The approximation correction at each grid point of the WRF model is determined based on the weighted large-scale driving data and the weighted reconstructed simulation data.
5. The method according to claim 3, characterized in that: The obtaining of approximation coefficients of spectrum approximation processing comprises: Identify model variables for large-scale driving data and reconstruction simulation data; According to the pattern variables, approximation coefficients of the spectral approximation process are obtained.
6. The method according to claim 1, characterized in that Before inputting the simulation data at the approaching moment into the coupling model of WRF and river network confluence mode, carrying out numerical simulation with hourly resolution, and obtaining the simulation data of regional wind and solar water resources elements, the method further includes: The Muskingum-Konji method was used to construct a river network confluence model; The constructed river network confluence model is coupled with the WRF model to obtain a coupling model of WRF and river network confluence model.
7. The method according to any one of claims 1 to 6, characterized in that: The regional wind, solar and water resources element simulation data include: Including near-ground wind speed, air density, air temperature, dew point temperature, surface total radiation data, direct radiation data and scattered radiation data.
8. The method according to claim 1, characterized in that The method further comprises: When the driving data is free atmosphere data, turn on the spectral approximation in WRF; In cases where the driving data is planetary boundary layer data, the spectral approximation in WRF is turned off.
9. A regional wind, solar and water resources element simulation device embedded with spectral approximation technology, characterized in that: The device comprises: An acquisition module is used to acquire global climate model data. The model variables in the global climate model data include: potential height, east-west wind speed component, relative humidity, temperature and north-south wind speed component; The driver module is used to drive the Weather Research and Forecasting WRF model through driving data to obtain simulation data; the driving data is obtained by processing the global climate model data; The first transformation module is used to perform Fourier transformation on the driving data and the simulation data for each approximation time, and extract the spectral coefficients of the driving data and the spectral coefficients of the simulation data within a preset wave number range; the spectral coefficients of the driving data are used to characterize large-scale climate information, and the spectral coefficients of the simulation data are used to characterize detailed climate information; The first transformation module is specifically used for: The time scale for obtaining regional wind, solar and water resource elements; Determine the preset wave number range based on the time scale of regional wind, light and water resources elements; Perform Fourier transform on the driving data of each approximation time to obtain a frequency domain signal; Extracting spectral coefficients of driving data within a preset wave number range from the frequency domain signal; Perform Fourier transform on the analog data of each approximation time to obtain the frequency domain signal; Extracting spectral coefficients of simulation data within a preset wavenumber range from the frequency domain signal; The second transformation module is used to perform inverse Fourier transformation on the spectral coefficients of the driving data and the spectral coefficients of the simulation data, respectively, to reconstruct the large-scale driving data at each grid point of the WRF model; The approximation module is used to perform spectral approximation processing on large-scale driving data to obtain the approximation correction value at each grid point of the WRF model; A determination module is used to determine the sum of the simulation data and the approximation correction amount at each grid point of the WRF model as the simulation data of the WRF model at the approximation time; The simulation module is used to input the simulation data at the approximate moment into the coupling model of the WRF model and the river network confluence model, carry out numerical simulation with hourly resolution, and obtain the simulation data of regional wind, solar and water resources elements.
