Hydrodynamic simulation method and system based on data assimilation technology and storage medium
Obtain and process measured data through data assimilation technology, update the state variables of the hydrodynamic model, and evaluate its accuracy. This solves the problems of insufficient real-time, accuracy and adaptability of the hydrodynamic model in the existing technology and achieves high efficiency of the model. Reflect actual conditions and performance assessments.
Patent Information
- Application Number
- CN202410878842.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-27
AI Technical Summary
Existing hydrodynamic simulation technology cannot improve the real-time performance, accuracy and adaptability of hydrodynamic models based on data assimilation technology.
By obtaining the measured data required for the hydrodynamic model, preprocessing and data assimilation are performed, the state variables of the model are updated, the model performance is evaluated based on the simulation accuracy index, and the model is adjusted to improve its real-time, accuracy, and adaptability.
It achieves an effective combination of hydrodynamic model and actual observation data, improves the real-time performance, accuracy and adaptability of the model, making it better reflect actual water body dynamics changes, and provides a simulation accuracy index for performance evaluation.
Smart Images

Figure CN118709598A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data assimilation, and in particular to a hydrodynamic simulation method, system and storage medium based on data assimilation technology. Background Art
[0002] With the development of urbanization and global warming, the hydrodynamic models of the existing urban underground drainage networks in many cities are frequently hit by rainstorms and floods due to unreasonable planning and design during the construction of new cities, and the subsequent transformation and optimization process is extremely difficult.
[0003] The Chinese invention application with publication number CN115795763A discloses a hydrodynamic simulation method, device and equipment, the model is: pre-integrated in a preset geographic information system GIS desktop application, based on a GIS analysis plug-in of a storm flood management model SWMM engine; the method includes: obtaining input GIS data of a preset geographic area, and converting the GIS data into a model input file; according to the model input file, calling the dynamic link library corresponding to the SWMM engine for simulation analysis to obtain output results. Therefore, the hydrodynamic simulation method provided by the application realizes the analysis and comparison of at least two or more schemes of the hydrodynamic model of the drainage network and improves the accuracy and precision of the verification results, reduces costs, and also reduces the investment of manpower and material resources.
[0004] However, existing hydrodynamic simulation technology is not convenient for improving the real-time, accuracy and adaptability of hydrodynamic models based on data assimilation technology. Summary of the invention
[0005] In view of the deficiencies of the prior art, the present invention provides a hydrodynamic simulation method, system and storage medium based on data assimilation technology, which solves the problem that the prior art is inconvenient to improve the real-time, accuracy and adaptability of the hydrodynamic model based on data assimilation technology.
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: a hydrodynamic simulation method based on data assimilation technology, comprising the following steps: obtaining measured data required for the hydrodynamic model, and preprocessing the measured data required for the hydrodynamic model; assimilating the preprocessed measured data required for the hydrodynamic model, integrating them into the hydrodynamic model, and updating the state variables of the hydrodynamic model; evaluating and verifying the hydrodynamic model based on the updated state variables and the preprocessed measured data, and obtaining a simulation accuracy index of the hydrodynamic model; judging whether the simulation accuracy index is greater than a set judgment threshold, and if so, adjusting the hydrodynamic model.
[0007] Furthermore, the process of obtaining the measured data required for the hydrodynamic model and preprocessing the measured data required for the hydrodynamic model is as follows: measuring the water body based on the set sampling time interval to obtain the observation data of each sampling point; preprocessing each similar measured parameter in the observation data, and the preprocessing includes deleting abnormal values and filling in missing values; fusing each similar measured parameter in the observation data of several consecutive sampling points after preprocessing to obtain the periodic observation values of each type of parameters; integrating the observation values of each period to obtain the observation data.
[0008] Furthermore, the process of preprocessing each similar measured parameter in the observation data is as follows: the abnormal index of each observed value of each type of measured parameter is calculated respectively, and the calculation formula is: Where i is the number of the measured parameter type, i = 1, 2, 3, ..., n, n is the total number of measured parameter types, j is the number of the observations in each type of measured parameter, j = 1, 2, 3, ..., m, m is the total number of observations in each type of measured parameter, x ij is the jth observation value in the i-th category of measured parameters; determine whether the anomaly index of each observation value of each type of measured parameter is greater than the set anomaly judgment threshold, if so, delete the corresponding observation value; traverse the observation values of each observation point of each type of measured parameter to see if there are missing values, if so, fill in the missing values based on the linear difference method.
[0009] Furthermore, the process of fusing the same type of measured parameters in the observation data of several consecutive sampling points after preprocessing to obtain the phased observation values of each type of parameters is as follows: arrange the same type of measured parameters in the order of sampling time to obtain the same type of measured parameter queues; divide the same type of measured parameter queues obtained by arranging in the order of sampling time into several fused data segments according to set intervals; and fuse the fused data segments of the same type of measured parameters to obtain the phased observation values of the same type of measured parameters.
[0010] Furthermore, the hydrodynamic model is evaluated and verified based on the updated state variables and the preprocessed measured data, and the process of obtaining the simulation accuracy index of the hydrodynamic model is as follows: obtain multiple simulation results of the hydrodynamic model; collect data for each simulation result based on the set sampling time interval, and obtain the simulation data of each sampling point of each simulation result, wherein the simulation data includes various types of simulation parameters; respectively fuse the simulation parameters of the same type in the simulation data of several consecutive sampling points in each simulation result to obtain the staged simulation values of each type of parameters; integrate the staged simulation values of various types of parameters of each simulation result to obtain the verification data of each simulation result; respectively compare the staged simulation values of each parameter in the verification data of each simulation result with the staged observation values of various types of parameters in the observation data to obtain the deviation evaluation value of each parameter; assign weights to the deviation evaluation values of each parameter and calculate the simulation accuracy index of the hydrodynamic model.
[0011] Furthermore, the calculation formula of the simulation accuracy index is as follows: Where SaI is the simulation accuracy index, a is the number of the deviation evaluation value, a = 1, 2, 3, ..., A, A is the total number of deviation evaluation values, Y a is the deviation evaluation value of the ath parameter, λ a For Y a The weight factor for the deviation evaluation value of the corresponding a-th parameter.
[0012] Furthermore, the process of obtaining the deviation evaluation value of each parameter is as follows: obtain the periodic simulation value of each parameter in the verification data of each simulation result and the periodic observation value of each type of parameters in the observation data; obtain the allowable deviation value of the set periodic simulation value of each parameter and the corresponding periodic observation value of each type of parameters; calculate the deviation evaluation value of each parameter based on the periodic simulation value of each parameter, the periodic observation value of each type of parameters and the allowable deviation value of each parameter.
[0013] A hydrodynamic simulation method system based on data assimilation technology includes a measured data acquisition subsystem, a model state variable updating subsystem and a model accuracy evaluation subsystem, wherein: the measured data acquisition subsystem is used to acquire the measured data required for the hydrodynamic model and pre-process the measured data required for the hydrodynamic model; the model state variable updating subsystem is used to assimilate the measured data required for the pre-processed hydrodynamic model, integrate it into the hydrodynamic model, and update the state variables of the hydrodynamic model; the model accuracy evaluation subsystem is used to evaluate and verify the hydrodynamic model based on the updated state variables and the pre-processed measured data, obtain the simulation accuracy index of the hydrodynamic model, and judge whether the simulation accuracy index is greater than a set judgment threshold, and if so, adjust the hydrodynamic model.
[0014] Furthermore, the model accuracy assessment subsystem includes a simulation data acquisition module, a simulation data processing module and an accuracy index calculation module, wherein: the simulation data acquisition module is used to obtain multiple simulation results of the hydrodynamic model, collect data for each simulation result based on a set sampling time interval, and obtain the simulation data of each sampling point of each simulation result; the simulation data processing module is used to fuse each similar simulation parameter in the simulation data of several consecutive sampling points in each simulation result to obtain the phased simulation values of each type of parameter, and integrate the phased simulation values of each type of parameters of each simulation result to obtain the verification data of each simulation result; the accuracy index calculation module is used to compare the phased simulation value of each parameter in the verification data of each simulation result with the phased observation value of each type of parameter in the observation data, obtain the deviation evaluation value of each parameter, assign weights to the deviation evaluation values of each parameter and calculate the simulation accuracy index of the hydrodynamic model.
[0015] A computer-readable storage medium is used to store a program, which, when executed by a processor, implements the hydrodynamic simulation method based on data assimilation technology as described above.
[0016] The present invention has the following beneficial effects:
[0017] (1) This hydrodynamic simulation method based on data assimilation technology can integrate measured data into the hydrodynamic model, realize the effective combination of the model and actual observation data, improve the real-time, accuracy and adaptability of the hydrodynamic model, and enable the model to better reflect the actual water body dynamic changes.
[0018] (2) This hydrodynamic simulation method based on data assimilation technology reduces the instantaneous fluctuation of the data and improves the model's ability to capture the overall trend by fusing the periodic observation values of continuous sampling points. It comprehensively evaluates the performance of the hydrodynamic model by fusing multiple simulation results, calculating the periodic simulation values, and comparing the observation data. The simulation accuracy index is used to comprehensively consider the simulation effect of each parameter, providing an intuitive performance evaluation indicator.
[0019] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is a flow chart of the hydrodynamic simulation method based on data assimilation technology of the present invention.
[0021] Figure 2 The present invention is a flow chart of the process of obtaining and preprocessing the measured data required for the hydrodynamic model by the hydrodynamic simulation method based on data assimilation technology.
[0022] Figure 3 The present invention is a flow chart of the process of obtaining phased observation values of various parameters by the hydrodynamic simulation method based on data assimilation technology.
[0023] Figure 4 The present invention is a flow chart of the process of obtaining the simulation accuracy index of the hydrodynamic model by the hydrodynamic simulation method based on the data assimilation technology.
[0024] Figure 5 It is a flowchart of the hydrodynamic simulation system based on data assimilation technology of the present invention. DETAILED DESCRIPTION
[0025] The embodiments of the present application solve the problem that the prior art is inconvenient to improve the real-time, accuracy and adaptability of the hydrodynamic model based on data assimilation technology through a hydrodynamic simulation method, system and storage medium based on data assimilation technology.
[0026] The overall idea of the problem in the embodiment of this application is as follows:
[0027] Collect the measured data required for the hydrodynamic model, pre-process the measured data, including removing noise, processing outliers, interpolating or extrapolating, etc., to prepare high-quality data for data assimilation, assimilate the pre-processed measured data with the hydrodynamic model, and embed the measured data into the hydrodynamic model through data assimilation methods (such as Kalman filtering, variational data assimilation, etc.). Update the state variables of the hydrodynamic model, including flow velocity, water level, bottom bed, etc., so that the model can better reflect the actual situation
[0028] Update the state variables of the hydrodynamic model, including flow rate, water level, bottom bed, etc., so that the model can better reflect the actual situation. By comparing the degree of agreement between the model simulation results and the actual observation data, calculate the simulation accuracy index to quantify the model performance and determine whether the simulation accuracy index meets the set threshold. If the accuracy index is lower than the threshold, it means that there is an error in the model and the model parameters or structure need to be adjusted. Adjust and optimize the hydrodynamic model through the information provided by data assimilation to improve the accuracy and adaptability of the model.
[0029] During the data assimilation process, the model state variables and parameters are updated in real time to ensure that the model can reflect system changes in a timely manner. High-performance computing technology is used to optimize the algorithm and model structure to improve the computational efficiency and real-time performance of the hydrodynamic model. Through the above steps, the entire hydrodynamic simulation method based on data assimilation technology can be continuously iterated to gradually optimize the hydrodynamic model to make it more in line with the actual situation and improve the real-time performance, accuracy and adaptability of the simulation.
[0030] See also Figure 1The embodiment of the present invention provides a technical solution: a hydrodynamic simulation method based on data assimilation technology, comprising the following steps: obtaining measured data required for the hydrodynamic model, and preprocessing the measured data required for the hydrodynamic model; assimilating the preprocessed measured data required for the hydrodynamic model, integrating them into the hydrodynamic model, and updating the state variables of the hydrodynamic model; evaluating and verifying the hydrodynamic model based on the updated state variables and the preprocessed measured data, and obtaining a simulation accuracy index of the hydrodynamic model; judging whether the simulation accuracy index is greater than a set judgment threshold, and if so, adjusting the hydrodynamic model.
[0031] Specifically, Figure 2 As shown in FIG. 1 , the process of obtaining the measured data required for the hydrodynamic model and preprocessing the measured data required for the hydrodynamic model is as follows: measuring the water body based on the set sampling time interval to obtain the observation data of each sampling point; preprocessing each similar measured parameter in the observation data, the preprocessing includes deleting abnormal values and filling in missing values; fusing each similar measured parameter in the observation data of several consecutive sampling points after preprocessing to obtain the periodic observation values of each parameter; integrating each periodic observation value to obtain the observation data.
[0032] In this implementation, by measuring the water body at set sampling time intervals, more frequent and comprehensive observation data can be obtained, which improves the temporal and spatial resolution of the data. Preprocessing includes deleting outliers and filling in missing values, which helps to eliminate noise and missing values in the observation data, thereby improving the quality and reliability of the measured data.
[0033] Fusing the observation data of several consecutive sampling points can ensure the consistency of similar measured parameters in time and space, help prevent contradictions and inconsistencies between data, and improve the continuity and comparability of data. Fusing the observation data of various measured parameters separately to obtain the periodic observation values of various parameters can help better capture the dynamic change characteristics of water bodies. The periodic observation values reflect the state of water bodies in a certain period of time and provide more timely input data for hydrodynamic models.
[0034] Through continuous observation and fusion processing, dynamic monitoring and updating of water status are achieved, which helps to improve the real-time performance of the hydrodynamic model and enable the model to reflect changes in the water body more promptly. Preprocessing and fusion processing make the observed data more accurate and complete, thereby improving the adaptability of the hydrodynamic model to complex water systems and enabling the model to more accurately simulate hydrodynamic processes under different water conditions.
[0035] By setting sampling time intervals, performing data preprocessing, fusion processing and other steps, we can ensure that high-quality, consistent and timely observation data are obtained, providing a reliable foundation for subsequent data assimilation and the establishment of hydrodynamic models, and helping to solve technical problems such as poor data quality, inconsistency, and lack of timeliness that hydrodynamic models may face in practical applications.
[0036] Specifically, the process of preprocessing each similar measured parameter in the observation data is as follows: calculate the abnormal index of each observed value of each type of measured parameter respectively, and the calculation formula is: Where i is the number of the measured parameter type, i = 1, 2, 3, ..., n, n is the total number of measured parameter types, j is the number of the observations in each type of measured parameter, j = 1, 2, 3, ..., m, m is the total number of observations in each type of measured parameter, x ij is the jth observation value in the i-th category of measured parameters; determine whether the anomaly index of each observation value of each type of measured parameter is greater than the set anomaly judgment threshold, if so, delete the corresponding observation value; traverse the observation values of each observation point of each type of measured parameter to see if there are missing values, if so, fill in the missing values based on the linear difference method.
[0037] In this implementation, the anomaly index is calculated, and the observations whose anomaly index is greater than the set anomaly judgment threshold are identified as outliers, so that effective outlier identification and elimination operations can be performed, thereby improving the accuracy and credibility of the data, finding observations that deviate far from the average level and marking them as outliers, thereby reducing the negative impact on the model, and filling in missing values through linear interpolation to ensure data continuity, which helps to build a more accurate and reliable model.
[0038] By traversing each observation point of various measured parameters, checking whether there are missing values, and performing linear interpolation on the missing values, the integrity and continuity of the data can be maintained. The existence of missing values may affect the accuracy of subsequent data analysis and model building. The use of linear interpolation method can estimate missing values to a certain extent, fill in data gaps, and make the data more complete.
[0039] Specifically, Figure 3 As shown in FIG. 1 , the process of fusing the same type of measured parameters in the observation data of several consecutive sampling points after preprocessing to obtain the phased observation values of various parameters is as follows: the same type of measured parameters are arranged in the order of sampling time to obtain the same type of measured parameter queues; the same type of measured parameter queues obtained by arranging in the order of sampling time are divided into several fused data segments according to the set intervals; the fused data segments of the same type of measured parameters are fused to obtain the phased observation values of the same type of measured parameters. The calculation formula of the phased observation value is: f is the number of the phased observations, f = 1, 2, 3, ..., F, F is the total number of phased observations, So if is the f-th periodic observation value of the ith measured parameter, c is the number of several consecutive sampling points, c = 1, 2, 3, ..., C, C is the total number of several consecutive sampling points, Amp ifc is the observation value of the cth sampling point when calculating the fth periodic observation value of the ith measured parameter, is the calculation of the f-th periodic observation value of the ith measured parameter when C is an even number. The observed value of the sampling points, is the calculation of the f-th periodic observation value of the ith measured parameter when C is an even number. The observed value of the sampling point.
[0040] In this implementation, each similar measured parameter is arranged in the order of sampling time to form a measured parameter queue. By arranging in time sequence, it can be ensured that the time series changes of the measured parameters can be accurately reflected during the fusion processing, thereby maintaining the time correlation of the observed data.
[0041] The measured parameter queue is evenly divided into several fused data segments according to the set interval. The uniform division can ensure that each fused data segment contains observation data within a relatively uniform time interval, so that the length of the fused data segment is relatively consistent, which is helpful for the calculation of subsequent periodic observation values. Each fused data segment is fused and the periodic observation values of each similar measured parameter are calculated. Through the calculation of the periodic observation values, the observation data in each fused data segment can be fused into a representative value, which better reflects the overall trend of the measured parameters in the time period and reduces the sensitivity to short-term fluctuations.
[0042] For each fused data segment, weighted fusion is performed according to the calculation formula. The weighted fusion method is used to perform weighted averaging on the observed data, which helps to eliminate the impact of instantaneous noise, highlight the overall trend of the data, and improve the stability and reliability of periodic observations.
[0043] This fusion process helps to extract periodic observations from continuous sampling points and better reflect the overall change trend of measured parameters in different time periods. Through uniform segmentation and fusion processing, the impact of instantaneous fluctuations on the model can be reduced, the model's ability to capture long-term trends can be improved, and the hydrodynamic model's ability to comprehensively utilize observation data can be enhanced.
[0044] Specifically, Figure 4As shown in FIG. 1 , the hydrodynamic model is evaluated and verified based on the updated state variables and the measured data after preprocessing, and the process of obtaining the simulation accuracy index of the hydrodynamic model is as follows: multiple simulation results of the hydrodynamic model are obtained; data is collected for each simulation result based on the set sampling time interval, and the simulation data of each sampling point of each simulation result is obtained, and the simulation data includes various simulation parameters; each similar simulation parameter in the simulation data of several consecutive sampling points in each simulation result is respectively fused to obtain the staged simulation value of each parameter, and the calculation formula of the staged simulation value is:
[0045] g is the serial number of the stage simulation value, g = 1, 2, 3, ..., G, G is the total number of stage simulation values, Mo ig is the g-th stage simulation value of the i-th parameter, d is the number of several consecutive sampling points, d = 1, 2, 3, ..., D, D is the total number of several consecutive sampling points, Mp igd is the simulated value of the dth sampling point when calculating the gth stage simulation value of the ith parameter, When D is an even number, the g-th stage simulation value of the i-th parameter is calculated. The analog value of the sampling point, When D is an even number, the g-th stage simulation value of the i-th parameter is calculated. The simulated value of the sampling point.
[0046] Integrate the periodic simulation values of various parameters of each simulation result to obtain the verification data of each simulation result; compare the periodic simulation values of each parameter in the verification data of each simulation result with the periodic observation values of various parameters in the observation data to obtain the deviation evaluation value of each parameter; assign weights to the deviation evaluation values of each parameter and calculate the simulation accuracy index of the hydrodynamic model.
[0047] In this embodiment, multiple simulation results of the hydrodynamic model are obtained to obtain a more comprehensive simulation data set. The fusion of multiple simulation results helps to consider the changes of the model under different initial conditions or parameter settings, thereby improving the robustness and reliability of the model results.
[0048] The simulation data of several continuous sampling points in each simulation result are integrated to calculate the phased simulation values of various parameters. Through the calculation of phased simulation values, the impact of instantaneous fluctuations can be reduced, the simulation effect of the model on the overall trend can be better reflected, and the stability of the simulation results can be improved. The phased simulation values of various parameters of each simulation result are integrated as verification data to form a comprehensive verification data set for the model. The integrated verification data can more comprehensively reflect the simulation effect of the model in different periods and under different conditions, which is helpful to comprehensively evaluate the performance of the hydrodynamic model.
[0049] Compare the periodic simulation values of each parameter in the verification data of each simulation result with the periodic observation values of each parameter in the observation data, calculate the deviation evaluation value of each parameter, and compare the simulation results with the observation data to intuitively understand the simulation effect of the model at different stages and identify the deviations and differences between the model and actual observations. Assign weights to the deviation evaluation values of each parameter and calculate the simulation accuracy index of the hydrodynamic model. By assigning weights to the deviation evaluation values, the contribution of each parameter to the overall model performance can be more reasonably considered, and a more comprehensive and balanced simulation accuracy index can be obtained, providing a comprehensive evaluation of the accuracy of the model.
[0050] Specifically, the calculation formula of the simulation accuracy index is as follows: Where SaI is the simulation accuracy index, a is the number of the deviation evaluation value, a = 1, 2, 3, ..., A, A is the total number of deviation evaluation values, Y a is the deviation evaluation value of the ath parameter, λ a For Y a The weight factor for the deviation evaluation value of the corresponding a-th parameter.
[0051] In this implementation, for each parameter, its deviation evaluation value is first calculated, which is an indication of the difference between the simulation results and the observed data. The deviation evaluation value can intuitively reflect the difference between the simulation results and the observed data, and provides a detailed analysis of the model performance.
[0052] A weight factor is introduced into the deviation evaluation value of each parameter to take into account the different contributions of each parameter to the overall model accuracy. By introducing the weight factor, the deviation evaluation values of different parameters can be weighted more reasonably, so that the simulation accuracy index can better reflect the relative importance of each parameter in the overall performance.
[0053] The computational logic enables it to comprehensively consider the contribution of each parameter and reflect the accuracy of the model in a unified index, which helps to provide a clear and interpretable evaluation standard, facilitating researchers and decision makers to comprehensively evaluate the performance of hydrodynamic models.
[0054] Specifically, the process of obtaining the deviation evaluation value of each parameter is as follows: obtain the periodic simulation value of each parameter in the verification data of each simulation result and the periodic observation value of each type of parameter in the observation data; obtain the allowable deviation value of the set periodic simulation value of each parameter and the corresponding periodic observation value of each type of parameter; calculate the deviation evaluation value of each parameter based on the periodic simulation value of each parameter, the periodic observation value of each type of parameter and the allowable deviation value of each parameter. The calculation formula of the deviation evaluation value of each parameter is: In the formula, r is the number of the stage simulation value and the stage observation value, r = 1, 2, 3, ..., R, R is the total number of stage simulation values and stage observation values, y ar is the rth stage simulation value of the ath parameter, ys ar is the r-th periodic observation value of the a-th parameter, Δy a is the allowable deviation between the periodic simulation value and the periodic observation value of the ath parameter.
[0055] In this implementation scheme, the periodic simulation values of each parameter are extracted from the verification data of each simulation result, and the periodic observation values of various parameters in the observation data are collected at the same time. By collecting the simulation values and the observation values, the necessary data basis is provided for the subsequent comparison and evaluation. The allowable deviation value of the periodic simulation value and the periodic observation value of each parameter is obtained from the setting. The allowable deviation value is used to judge the acceptable difference range between the simulation value and the observation value, which is a set error limit allowed between the model and the observation data.
[0056] The deviation evaluation value of each parameter is calculated using the given calculation formula. By calculating the deviation evaluation value, the difference between the simulation results and the observed data can be quantified, and a comprehensive metric can be provided to evaluate the performance of the overall model. The periodic simulation values and periodic observation values of each parameter are compared one by one, and the corresponding deviation evaluation value is obtained according to the calculation formula. The simulation values and observation values are compared one by one, and the difference between the simulation values and the observation values is comprehensively considered, so that the deviation evaluation value more accurately reflects the simulation effect of the model.
[0057] By calculating the deviation assessment value, the difference between the simulation results and the observed data can be quantitatively measured, making the assessment more accurate and objective. The deviation assessment value helps to reflect the accuracy and reliability of the model in simulating various parameters, and helps to identify possible weaknesses or room for improvement in the model.
[0058] Hydrodynamic simulation method system based on data assimilation technology, such as Figure 5 As shown, it includes a measured data acquisition subsystem, a model state variable updating subsystem and a model accuracy evaluation subsystem, wherein: the measured data acquisition subsystem is used to obtain the measured data required for the hydrodynamic model and preprocess the measured data required for the hydrodynamic model; the model state variable updating subsystem is used to assimilate the measured data required for the preprocessed hydrodynamic model, integrate it into the hydrodynamic model, and update the state variables of the hydrodynamic model; the model accuracy evaluation subsystem is used to evaluate and verify the hydrodynamic model based on the updated state variables and the preprocessed measured data, obtain the simulation accuracy index of the hydrodynamic model, and determine whether the simulation accuracy index is greater than the set judgment threshold, and if so, adjust the hydrodynamic model.
[0059] Specifically, the model accuracy evaluation subsystem includes a simulation data acquisition module, a simulation data processing module and an accuracy index calculation module, wherein: the simulation data acquisition module is used to obtain multiple simulation results of the hydrodynamic model, collect data for each simulation result based on a set sampling time interval, and obtain the simulation data of each sampling point of each simulation result; the simulation data processing module is used to fuse the simulation parameters of the same type in the simulation data of several consecutive sampling points in each simulation result to obtain the phased simulation values of each type of parameters, and integrate the phased simulation values of each type of parameters of each simulation result to obtain the verification data of each simulation result; the accuracy index calculation module is used to compare the phased simulation values of each parameter in the verification data of each simulation result with the phased observation values of each type of parameters in the observation data, obtain the deviation evaluation value of each parameter, assign weights to the deviation evaluation values of each parameter and calculate the simulation accuracy index of the hydrodynamic model.
[0060] In this implementation, the measured data acquisition subsystem can obtain actual observation data on water body dynamics, providing a real reference basis for the model. Through data assimilation technology, the measured data can be effectively integrated into the hydrodynamic model to achieve real-time updating of the model state variables, thereby improving the accuracy and adaptability of the model. By comprehensively evaluating the accuracy of the model, the system can have a more comprehensive understanding of the performance of the model and guide further optimization and adjustment.
[0061] The simulation data acquisition module obtains multiple simulation results, covering multiple possible system states. The simulation data processing module fuses the simulation data of the simulation results to obtain the periodic simulation values of various parameters, thereby improving the capture of the overall trend of the system. The accuracy index calculation module calculates the deviation evaluation value and introduces weight factors to comprehensively consider the simulation effects of various parameters to obtain the simulation accuracy index, providing a comprehensive indicator for the evaluation of the model.
[0062] It can realize the comprehensive management and optimization of the hydrodynamic model. From the collection of measured data, to the real-time update of the model status, to the comprehensive evaluation of accuracy, a closed-loop system is formed, which continuously iterates to improve the simulation effect of the hydrodynamic model. The modules of each subsystem cooperate with each other, which helps to improve the credibility and prediction accuracy of the hydrodynamic model.
[0063] An electronic device comprises: a processor; and a memory, wherein computer program instructions are stored in the memory, and when the computer program instructions are executed by the processor, the processor executes the above-mentioned hydrodynamic simulation method based on data assimilation technology.
[0064] A computer-readable storage medium is used to store a program, which, when executed by a processor, implements the above-mentioned hydrodynamic simulation method based on data assimilation technology.
[0065] In summary, this application has at least the following effects:
[0066] Data assimilation technology can integrate measured data into the hydrodynamic model, realize the effective combination of the model and actual observation data, improve the real-time, accuracy and adaptability of the hydrodynamic model, and enable the model to better reflect the actual water body dynamics changes.
[0067] By fusing the periodic observation values of continuous sampling points, the instantaneous fluctuation of the data is reduced and the model's ability to capture the overall trend is improved. By fusing multiple simulation results, calculating the periodic simulation values, and comparing the observed data, the performance of the hydrodynamic model is comprehensively evaluated. The simulation accuracy index is used to comprehensively consider the simulation effect of each parameter, providing an intuitive performance evaluation indicator.
[0068] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0069] The present invention is described with reference to flowcharts and / or block diagrams of systems, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0070] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0071] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0072] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0073] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A hydrodynamic simulation method based on data assimilation technology, characterized in that: The following steps are involved: Acquire the measured data required for the hydrodynamic model and pre-process the measured data required for the hydrodynamic model; After data assimilation, the measured data required by the preprocessed hydrodynamic model is integrated into the hydrodynamic model to update the state variables of the hydrodynamic model; The hydrodynamic model is evaluated and verified based on the updated state variables and the preprocessed measured data to obtain the simulation accuracy index of the hydrodynamic model; It is determined whether the simulation accuracy index is greater than the set judgment threshold. If so, the hydrodynamic model is adjusted.
2. The hydrodynamic simulation method based on data assimilation technology according to claim 1 is characterized in that: The process of obtaining the measured data required for the hydrodynamic model and preprocessing the measured data required for the hydrodynamic model is as follows: Conduct actual measurements of water bodies based on the set sampling time intervals to obtain observation data at each sampling point; Preprocessing each similar measured parameter in the observed data, wherein the preprocessing includes deleting outliers and filling in missing values; The same type of measured parameters in the observation data of several consecutive sampling points after preprocessing are fused separately to obtain the phased observation values of various parameters; Integrate the observation values at each stage to obtain observation data.
3. The hydrodynamic simulation method based on data assimilation technology according to claim 2 is characterized in that: The process of preprocessing each similar measured parameter in the observation data is as follows: The abnormal index of each observed value of each type of measured parameter is calculated separately, and the calculation formula is: Where i is the number of the measured parameter type, i = 1, 2, 3, ..., n, n is the total number of measured parameter types, j is the number of the observations in each type of measured parameter, j = 1, 2, 3, ..., m, m is the total number of observations in each type of measured parameter, x ij is the jth observed value of the measured parameter of the i-th category; Determine whether the abnormal index of each observed value of each measured parameter is greater than the set abnormal judgment threshold. If so, delete the corresponding observed value; Traverse the observed values of each observation point of each measured parameter to check whether there are missing values. If so, fill in the missing values based on the linear difference method.
4. The hydrodynamic simulation method based on data assimilation technology according to claim 2 is characterized in that: The process of fusing the same type of measured parameters in the observation data of several consecutive sampling points after preprocessing to obtain the phased observation values of various parameters is as follows: Arrange the measured parameters of the same type according to the sampling time sequence to obtain the measured parameter queues of the same type; The measured parameter queues of the same type, which are arranged in the order of sampling time, are divided into a number of fusion data segments according to the set intervals; Each fused data segment of each similar measured parameter is fused separately to obtain each stage observation value of each similar measured parameter.
5. The hydrodynamic simulation method based on data assimilation technology according to claim 4 is characterized in that: The process of evaluating and verifying the hydrodynamic model based on the updated state variables and the preprocessed measured data to obtain the simulation accuracy index of the hydrodynamic model is as follows: Obtain multiple simulation results of the hydrodynamic model; Collect data for each simulation result based on a set sampling time interval to obtain simulation data of each sampling point of each simulation result, wherein the simulation data includes various simulation parameters; The simulation parameters of the same type in the simulation data of several continuous sampling points in each simulation result are respectively integrated to obtain the phased simulation values of each type of parameters; Integrate the phased simulation values of various parameters of each simulation result to obtain verification data of each simulation result; The phased simulation values of each parameter in the verification data of each simulation result are compared with the phased observation values of each type of parameter in the observation data to obtain the deviation evaluation value of each parameter; Weights were assigned to the deviation evaluation values of each parameter and the simulation accuracy index of the hydrodynamic model was calculated.
6. The hydrodynamic simulation method based on data assimilation technology according to claim 5 is characterized in that: The simulation accuracy index is calculated as follows: Where SaI is the simulation accuracy index, a is the number of the deviation evaluation value, a = 1, 2, 3, ..., A, A is the total number of deviation evaluation values, Y a is the deviation evaluation value of the ath parameter, λ a For Y a The weight factor for the deviation evaluation value of the corresponding a-th parameter.
7. The hydrodynamic simulation method based on data assimilation technology according to claim 5 is characterized in that: The process of obtaining the deviation evaluation value of each parameter is as follows: Obtaining the periodic simulation values of each parameter in the verification data of each simulation result and the periodic observation values of each parameter in the observation data; Obtain the allowable deviation value between the staged simulation value of each set parameter and the corresponding staged observation value of each type of parameter; The deviation assessment value of each parameter is calculated based on the periodic simulation value of each parameter, the periodic observation value of each parameter and the allowable deviation value of each parameter.
8. The hydrodynamic simulation system based on data assimilation technology is characterized by: It includes the measured data acquisition subsystem, the model state variable update subsystem and the model accuracy evaluation subsystem, among which: The measured data acquisition subsystem is used to acquire the measured data required for the hydrodynamic model and pre-process the measured data required for the hydrodynamic model; The model state variable updating subsystem is used to assimilate the measured data required by the pre-processed hydrodynamic model, integrate it into the hydrodynamic model, and update the state variables of the hydrodynamic model; The model accuracy evaluation subsystem is used to evaluate and verify the hydrodynamic model based on the updated state variables and the preprocessed measured data, obtain the simulation accuracy index of the hydrodynamic model, and determine whether the simulation accuracy index is greater than the set judgment threshold. If so, the hydrodynamic model is adjusted.
9. The hydrodynamic simulation system based on data assimilation technology according to claim 8, characterized in that: The model accuracy evaluation subsystem includes a simulation data acquisition module, a simulation data processing module and an accuracy index calculation module, wherein: The simulation data acquisition module is used to obtain multiple simulation results of the hydrodynamic model, collect data for each simulation result based on a set sampling time interval, and obtain simulation data of each sampling point of each simulation result; The simulation data processing module is used to fuse the simulation parameters of the same type in the simulation data of several continuous sampling points in each simulation result to obtain the phased simulation values of each type of parameters, and integrate the phased simulation values of each type of parameters of each simulation result to obtain the verification data of each simulation result; The accuracy index calculation module is used to compare the periodic simulation values of each parameter in the verification data of each simulation result with the periodic observation values of each type of parameters in the observation data, obtain the deviation evaluation value of each parameter, assign weights to the deviation evaluation values of each parameter and calculate the simulation accuracy index of the hydrodynamic model.
10. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the hydrodynamic simulation method based on data assimilation technology as described in any one of claims 1 to 7 is implemented.
