Method and system for identifying inconsistency changes in runoff based on sequence reconstruction
Through the identification method of non-consistent changes in runoff based on sequence reconstruction, the problem of mutation point identification and parameter estimation in the process of identifying and predicting non-uniform runoff is solved, achieving high-precision simulation of the daily process of runoff and prediction of future change characteristics. , ensuring the safe operation and design efficiency of water conservancy projects.
Patent Information
- Application Number
- CN202411106791.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-13
AI Technical Summary
Existing technologies have deficiencies in mutation point identification, parameter estimation, hydrological simulation and statistical analysis in the process of identifying and predicting runoff non-uniformity, which affects the operation mode and comprehensive benefits of water conservancy projects, and even threatens the safety of water conservancy projects and water resources. Resource security.
The method of identifying non-uniform changes in runoff based on sequence reconstruction is adopted, and multiple mutation point identification methods are used to identify the mutation points of the historical runoff sequence. The SWAT model is constructed and the optimized DREAM algorithm is used to calculate the posterior probability density function of the model parameters to generate massive amounts of The parameter scheme fits the annual, monthly and daily marginal distribution, counts the non-consistent change characteristics of runoff, and uses a variety of functions to fit future runoff characteristics.
It improves the accuracy and reliability of mutation point identification, effectively handles parameter uncertainty, achieves high-precision simulation of daily runoff processes and high-precision prediction of future non-consistent change characteristics, and enhances the design efficiency and effectiveness of water conservancy projects. Security.
Smart Images

Figure CN118626809B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for identifying inconsistent changes in runoff, in particular to a method for identifying inconsistent changes in runoff based on sequence reconstruction. Background Art
[0002] Global climate change, continued population growth and increasing social activities have led to changes in basin precipitation, evaporation, land use / cover, and out-of-river water use. As a result, the temporal and spatial distribution patterns of river runoff in the basin have changed, and the statistical characteristics of the runoff, such as the mean, variance, and extreme values, have changed significantly. The hydrological consistency has been destroyed, deepening the uncertainty of water resources and their development and utilization.
[0003] Hydrological consistency is the basic assumption of traditional water resources planning and management. The design, operation and scheduling theory and method research of water conservancy projects are all based on this basic assumption. The emergence of inconsistency will undoubtedly affect the operation mode and comprehensive benefits of water conservancy projects, and may even threaten the safety of water conservancy projects and water resources.
[0004] There are unresolved technical problems in all aspects of the process of runoff inconsistency identification and prediction, including sequence segmentation, parameter estimation, hydrological simulation, statistical analysis and prediction, so improvement and innovation are needed. Summary of the invention
[0005] The purpose of the invention is to provide a method for identifying inconsistent changes in runoff based on sequence reconstruction to solve the above problems in the prior art. On the other hand, a system for identifying inconsistent changes in runoff based on sequence reconstruction is provided.
[0006] The technical solution is a method for identifying inconsistent changes in runoff based on sequence reconstruction, comprising the following steps:
[0007] Step S1, collect historical data of the study area, extract and construct a historical runoff sequence, use multiple mutation point identification methods to identify the historical runoff sequence, obtain a set of mutation points of the historical runoff sequence, and divide the historical runoff sequence into n segments based on the mutation points of the historical runoff sequence, wherein the runoff in each segment is consistent, and n is a positive integer;
[0008] Step S2, constructing the SWAT model of the study area, and using the optimized DREAM algorithm to sequentially calculate the posterior probability density function of the model parameters corresponding to each runoff sequence;
[0009] Step S3, sampling the parameters based on the posterior probability density function of the model parameters to obtain a massive parameter scheme, inputting the meteorological data, topographic data, soil characteristics, land use data, hydrological parameters and the massive parameter scheme of each runoff sequence into the SWAT model in turn, and calculating the daily runoff process corresponding to each runoff sequence;
[0010] Step S4: for each runoff sequence, fitting the marginal distribution of year, month and day respectively and constructing the three-dimensional joint distribution of year, month and day, respectively counting the mean, variance and extreme value of runoff corresponding to each segment year, month and day, and obtaining the non-uniform change characteristics of runoff corresponding to year, month and day;
[0011] Step S5, using a variety of functions to fit the year, month, day corresponding to the runoff mean, variance and extreme value and the historical runoff sequence segment number function expression and select the best fitting function and its corresponding parameters, calculate the year, month, day runoff mean, variance and extreme value corresponding to the n+1 segment runoff sequence, construct the year, month, day three-dimensional joint distribution of the future runoff sequence segment, and obtain the runoff non-consistent change characteristics corresponding to the year, month, day of the future runoff sequence segment.
[0012] According to one aspect of the present application, step S1 further comprises:
[0013] Step S11, collecting historical data of the study area, including: historical runoff data, meteorological data, topographic data, soil properties, land use data and hydrological parameters;
[0014] Step S12, extracting historical runoff data to construct a historical runoff sequence;
[0015] Step S13, using double cumulative curve, Pettitt test, MK test, sliding t-test and ordered clustering to identify the mutation points of the mean, variance and extreme value of the historical runoff series;
[0016] Step S14: dividing the historical runoff sequence into n segments based on the mean, variance and extreme value mutation points of the historical runoff sequence, the runoff in each segment is consistent, and n is a positive integer.
[0017] According to one aspect of the present application, step S13 is further:
[0018] Step S13a, using double cumulative curve, Pettitt test, MK test, sliding t-test and ordered clustering method to identify the mean, variance and extreme value of the historical runoff series, and obtain several mutation points respectively;
[0019] Step S13b, arranging all obtained mutation points into a table, including the positions and statistical values of the mutation points;
[0020] Step S13c, according to how many methods the same mutation point is identified by, the mutation points are divided into high-confidence mutation points, medium-confidence mutation points and mutation points to be screened, and the high-confidence mutation points and medium-confidence mutation points are identified as mutation points, wherein the high-confidence mutation points are consistently identified by all methods, the medium-confidence mutation points are identified by three or more methods, and the mutation points to be screened are identified by only two methods or a single method;
[0021] Step S13d, select the runoff sequence fragments between the adjacent mutation points before and after the mutation point to be screened and use multiple trend test methods to perform trend test and significance level value calculation, further calculate the comprehensive significance level value, and identify the mutation point to be screened corresponding to the runoff fragment to be tested whose comprehensive significance level value is greater than the threshold as the mutation point.
[0022] According to one aspect of the present application, the step S13d is further:
[0023] Step S13d1, select the runoff sequence segment between the adjacent mutation points before and after the mutation point to be screened as the runoff segment to be tested, use linear regression, MK test, and Spearman test to perform trend test and significance level value calculation on the runoff segment to be tested, and obtain 3 significance level values corresponding to the trend change of each runoff segment to be tested;
[0024] Step S13d2: Based on game theory and taking Nash equilibrium as the goal, weight the three significance level values corresponding to each runoff segment to be tested, and take the sum of the products of the three significance level values and their weight values as the comprehensive significance level value of the trend change of the runoff segment to be tested;
[0025] Step S13d3, sequentially calculate the comprehensive significance level values of the trend line changes of the runoff segments to be tested corresponding to all the mutation points to be screened, and identify the mutation points to be screened corresponding to the runoff segments to be tested whose comprehensive significance level values are greater than the threshold as mutation points.
[0026] According to one aspect of the present application, step S2 further comprises:
[0027] Step S21, constructing a SWAT model for the study area, taking the hydrological model parameters as the prior distribution of the first runoff sequence in their value range and following uniform distribution;
[0028] Step S22, using the optimized DREAM algorithm based on the improved sampling-update-sampling process to perform Bayesian inference on the prior distribution of the first runoff sequence, and obtaining the posterior probability density function of the hydrological model as the model parameter of the first runoff sequence and as the prior distribution of the next runoff sequence;
[0029] Step S23, using the posterior distribution of the previous runoff sequence as the prior distribution of the current runoff sequence for Bayesian inference, using the obtained posterior distribution as the prior distribution of the next runoff sequence, and sequentially calculating the posterior probability density function of the hydrological model corresponding to each runoff sequence.
[0030] According to one aspect of the present application, step S22 is further:
[0031] Step S22a, extracting the prior distribution of the first runoff sequence;
[0032] Step S22b, using a hybrid differential sampling method to extract a number of initial samples from the prior distribution, and using a snooker-optimized differential evolution algorithm to generate new candidate samples;
[0033] Step S22c, calculating the posterior probability and calculating the acceptance probability based on the Metropolis criterion;
[0034] Step S22d, repeat the iteration until the sample converges and then stop the iteration, extracting the parameter estimate and the confidence interval of the posterior distribution based on the last sample;
[0035] Step S22e, using the posterior probability density function of the hydrological model as the model parameter of the first runoff sequence and as the prior distribution of the next runoff sequence.
[0036] According to one aspect of the present application, step S3 further comprises:
[0037] Step S31: Based on the posterior probability density function of the model parameters of each runoff sequence, the parameters are randomly sampled to obtain a massive parameter solution corresponding to the runoff sequence; the massive here means greater than a predetermined number, such as greater than 100 million, which means much more than ordinary parameter solutions.
[0038] Step S32, inputting the massive parameter scheme, meteorological data, topographic data, soil characteristics, land use data and hydrological parameter combination corresponding to each runoff sequence into the SWAT model in sequence, and calculating the massive runoff;
[0039] Step S33: taking the massive runoff corresponding to each runoff sequence as the daily runoff process of each segment.
[0040] According to one aspect of the present application, step S4 is further:
[0041] Step S41, respectively fitting the marginal distribution of each runoff sequence in year, month and day, and constructing the corresponding three-dimensional joint distribution of each runoff sequence in year, month and day based on the marginal distribution function of each runoff sequence;
[0042] Step S42: based on the three-dimensional joint distribution of the year, month and day corresponding to each runoff sequence, the mean value, variance and extreme value of the runoff corresponding to each segment year, month and day are counted respectively to obtain the non-uniform change characteristics of the runoff corresponding to the year, month and day.
[0043] According to one aspect of the present application, step S41 is further:
[0044] Step S41a, extracting historical runoff data of the first runoff sequence, using the kernel density estimation method to fit the marginal distribution functions of the year, month, and day, respectively, to construct the three-dimensional joint distribution of the year, month, and day of the first runoff sequence;
[0045] Step S41b, starting from the second runoff sequence, extract the corresponding daily runoff process, use the kernel density estimation method to fit the marginal distribution functions of the year, month, and day, and construct the three-dimensional joint distribution of the year, month, and day for each runoff sequence.
[0046] According to one aspect of the present application, step S41a is further as follows:
[0047] Step S41a1, extracting the historical runoff data of the first runoff sequence, and obtaining the annual, monthly and daily runoff data respectively;
[0048] Step S41a2: determine the kernel function and bandwidth parameters based on the annual, monthly and daily runoff data, and use the selected kernel function and bandwidth parameters to perform kernel density estimation calculation on the three-dimensional data to obtain a three-dimensional joint probability density estimation function;
[0049] Step S41a3: Use a cross-validation method to select the distribution with the highest fitting degree as the three-dimensional joint probability distribution of year, month, and day.
[0050] According to one aspect of the present application, step S5 is further:
[0051] Step S51, taking the segmented sequence number as the independent variable and the mean, variance and extreme value of runoff as the dependent variable, sequentially using exponential function, linear function, logarithmic function, polynomial function and power function to fit the function expressions of the mean, variance and extreme value of runoff corresponding to the year, month and day and the segmented sequence number of the historical runoff sequence respectively;
[0052] Step S52, taking the minimum Nash efficiency coefficient as the fitting target, selecting the optimal fitting function and its corresponding parameters;
[0053] Step S53: Calculate the mean, variance and extreme value of the annual, monthly and daily runoff corresponding to the n+1th runoff sequence, and construct the marginal distribution function of the future runoff sequence segmented annual, monthly and daily runoff based on this.
[0054] Step S54: construct the three-dimensional joint distribution of the year, month and day of the future runoff sequence segmentation, and obtain the runoff inconsistency change characteristics corresponding to the year, month and day of the future runoff sequence segmentation.
[0055] According to another aspect of the present application, a system for identifying inconsistent changes in runoff based on sequence reconstruction is provided, comprising:
[0056] at least one processor; and,
[0057] a memory communicatively connected to at least one of the processors; wherein,
[0058] The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the method for identifying inconsistent changes in runoff based on sequence reconstruction as described in any of the above technical solutions.
[0059] Beneficial effect: The method of identifying inconsistent changes in runoff based on sequence reconstruction is of great significance to ensuring the safe operation of water conservancy projects under new runoff conditions and still achieving design benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a flow chart of the present invention.
[0061] Figure 2 It is a flow chart of step S1 of the present invention.
[0062] Figure 3 It is a flow chart of step S2 of the present invention.
[0063] Figure 4 It is a flow chart of step S3 of the present invention.
[0064] Figure 5 It is a flow chart of step S4 of the present invention.
[0065] Figure 6 It is a flow chart of step S5 of the present invention. DETAILED DESCRIPTION
[0066] In this embodiment, after the inventors have sorted out, the technical problems that need to be solved include: how to accurately identify the mutation points in the historical runoff sequence, and how to reasonably segment the runoff sequence to ensure the consistency within each segment. In the parameter estimation process, how to effectively deal with the uncertainty of the parameters and transfer parameter information between different time periods. How to accurately simulate the daily process of each runoff sequence under the condition of considering multiple influencing factors (such as meteorology, topography, soil, land use, etc.). When constructing the three-dimensional joint distribution of year, month and day, how to choose the appropriate distribution function and estimation method to accurately capture the statistical characteristics of runoff. How to effectively fit the relationship between runoff characteristics (mean, variance, extreme value) and time series, and accurately predict the non-consistent change characteristics of future runoff. When performing trend testing, how to comprehensively consider the results of multiple test methods to improve the reliability of mutation point identification. How to effectively use the Bayesian inference method in the model construction and parameter estimation process to improve the accuracy and reliability of parameter estimation. In view of the above problems, the following scheme is given in order to solve at least some of the problems.
[0067] like Figure 1According to one aspect of the present application, a method for identifying inconsistent changes in runoff based on sequence reconstruction is provided, which is characterized by comprising the following steps:
[0068] Step S1, collect historical data of the study area, extract and construct a historical runoff sequence, use multiple mutation point identification methods to identify the historical runoff sequence, obtain a set of mutation points of the historical runoff sequence, and divide the historical runoff sequence into n segments based on the mutation points of the historical runoff sequence, wherein the runoff in each segment is consistent, and n is a positive integer;
[0069] Step S2, constructing the SWAT model of the study area, and using the optimized DREAM algorithm to sequentially calculate the posterior probability density function of the model parameters corresponding to each runoff sequence;
[0070] Step S3, sampling the parameters based on the posterior probability density function of the model parameters to obtain a massive parameter scheme, inputting the meteorological data, topographic data, soil characteristics, land use data, hydrological parameters and the massive parameter scheme of each runoff sequence into the SWAT model in turn, and calculating the daily runoff process corresponding to each runoff sequence;
[0071] Step S4: for each runoff sequence, fitting the marginal distribution of year, month and day respectively and constructing the three-dimensional joint distribution of year, month and day, respectively counting the mean, variance and extreme value of runoff corresponding to each segment year, month and day, and obtaining the non-uniform change characteristics of runoff corresponding to year, month and day;
[0072] Step S5, using a variety of functions to fit the year, month, day corresponding to the runoff mean, variance and extreme value and the historical runoff sequence segment number function expression and select the best fitting function and its corresponding parameters, calculate the year, month, day runoff mean, variance and extreme value corresponding to the n+1 segment runoff sequence, construct the year, month, day three-dimensional joint distribution of the future runoff sequence segment, and obtain the runoff non-consistent change characteristics corresponding to the year, month, day of the future runoff sequence segment.
[0073] This embodiment realizes the identification of inconsistent changes in runoff from historical data analysis to future trend prediction. A variety of mutation point identification methods are used and combined with game theory principles for comprehensive evaluation, which improves the accuracy and reliability of mutation point identification and lays a solid foundation for subsequent analysis. The optimized DREAM algorithm is introduced for parameter estimation, which effectively handles parameter uncertainty, and realizes the transmission of parameter information between different time periods through Bayesian inference, enhancing the adaptability and accuracy of the model. By generating massive parameter schemes and combining multi-source data input into the SWAT model, a high-precision simulation of the daily process of each runoff sequence is achieved, fully considering the complex influence of environmental factors. The three-dimensional joint distribution is constructed using the kernel density estimation method, which comprehensively captures the inconsistent change characteristics of runoff on multiple time scales and provides rich statistical basis. Through multiple function fitting and optimization, high-precision prediction of future runoff inconsistent changes is achieved, providing important scientific support for water resources management. This systematic method from historical analysis to future prediction not only improves the accuracy and reliability of runoff inconsistent change identification, but also enhances the practicality and foresight of the results. In particular, through the integration of multiple innovative technologies, such as multi-method mutation point identification, Bayesian parameter estimation, Monte Carlo simulation, multidimensional statistical analysis and multi-function trend fitting, the limitations of traditional methods in dealing with complex hydrological systems have been effectively overcome, and the scientificity and comprehensiveness of the identification of inconsistent changes in runoff have been significantly improved. This method can not only accurately identify the inconsistent changes in historical runoff, but also reliably predict future trends, providing strong technical support for water resources management under the influence of global climate change and human activities.
[0074] like Figure 2 As shown, according to one aspect of the present application, the step S1 is further:
[0075] Step S11, collecting historical data of the study area, including: historical runoff data, meteorological data, topographic data, soil properties, land use data and hydrological parameters;
[0076] Step S12, extracting historical runoff data to construct a historical runoff sequence;
[0077] Step S13, using double cumulative curve, Pettitt test, MK test, sliding t-test and ordered clustering to identify the mutation points of the mean, variance and extreme value of the historical runoff series;
[0078] Step S14: dividing the historical runoff sequence into n segments based on the mean, variance and extreme value mutation points of the historical runoff sequence, the runoff in each segment is consistent, and n is a positive integer.
[0079] Mutation is a form of rapid change in time series, which is manifested when the time series transitions from one state to another, including mutations in parameters such as the mean, variance, coefficient of variation, and autocorrelation coefficient of the time series.
[0080] According to one aspect of the present application, step S13 is further:
[0081] Step S13a, using double cumulative curve, Pettitt test, MK test, sliding t-test and ordered clustering method to identify the mean, variance and extreme value of the historical runoff series, and obtain several mutation points respectively;
[0082] Step S13b, arranging all obtained mutation points into a table, including the positions and statistical values of the mutation points;
[0083] Step S13c, according to how many methods the same mutation point is identified by, the mutation points are divided into high-confidence mutation points, medium-confidence mutation points and mutation points to be screened, and the high-confidence mutation points and medium-confidence mutation points are identified as mutation points, wherein the high-confidence mutation points are consistently identified by all methods, the medium-confidence mutation points are identified by three or more methods, and the mutation points to be screened are identified by only two methods or a single method;
[0084] Step S13d, select the runoff sequence fragments between the adjacent mutation points before and after the mutation point to be screened and use multiple trend test methods to perform trend test and significance level value calculation, further calculate the comprehensive significance level value, and identify the mutation point to be screened corresponding to the runoff fragment to be tested whose comprehensive significance level value is greater than the threshold as the mutation point.
[0085] By adopting a variety of mutation point identification methods (double cumulative curve, Pettitt test, MK test, sliding t-test and ordered clustering), the mean, variance and extreme value of the historical runoff series are comprehensively analyzed, which improves the accuracy and reliability of mutation point identification. This innovative strategy combining multiple methods can comprehensively capture various mutation characteristics in the runoff series and effectively reduce the deviation and misjudgment that may be caused by a single method. In particular, the hierarchical processing method of dividing mutation points into three categories of high confidence, medium confidence and to be screened further improves the credibility of mutation point identification. For the mutation points to be screened, a variety of trend test methods are used for further verification, and the Nash equilibrium principle in game theory is introduced to calculate the comprehensive significance level value, which effectively balances the advantages and disadvantages of various test methods and improves the accuracy of the final mutation point identification results. By setting a threshold to screen the candidate mutation points, it is ensured that the mutation points finally identified are statistically significant. Through the multi-level and multi-angle mutation point identification method, not only can the significant change points in the runoff series be accurately captured, but also relatively weak but statistically significant mutations can be identified, providing a reliable basis for the subsequent runoff sequence segmentation. This high-precision mutation point identification method lays the foundation for accurately dividing the runoff consistency interval and effectively improves the accuracy and scientificity of the entire runoff inconsistency change identification process. By accurately identifying mutation points, it is possible to more accurately reflect the impact of climate change and human activities on the runoff process.
[0086] The double cumulative curve is often used to compare the shapes and characteristics of two different sample distributions, and can analyze and visualize the distribution differences of data, specifically:
[0087] Collect sample datasets;
[0088] For each sample, calculate its corresponding cumulative frequency distribution;
[0089] Plot the cumulative distribution functions of two samples on the same coordinate graph to form a double cumulative curve;
[0090] Analyze the shapes, intersection points, and slopes of the two curves to determine whether there are significant differences in the distribution characteristics of the two samples.
[0091] The Pettitt test is a non-parametric test method. Its core is to determine the exact time of mutation by testing the exact time of mean change of time series elements through statistical methods. This method is based on non-parametric inspection of mutation points of a hydrological time series. The calculation is relatively simple, the time of mutation can be clarified, and the physical meaning is clear.
[0092] The Pettitt test method is to find the mutation point by judging whether there is a significant difference in the cumulative distribution function before and after a certain point in the time series. The essence of using the Pettitt method to perform a mutation test on a certain point in the time series is to use the Mann-Whitney statistic to test whether different samples are from the same population. The statistic counts the cumulative value of the number of data values in the first sample that are greater than the data values in the second sample. The statistics are constructed into a sequence, and the item with the largest absolute value is selected. The corresponding data point in the initial time series is the mutation point of the initial time series.
[0093] The MK test is a nonparametric statistical method that is often used to monitor trends in time series data. It can determine whether there is a monotonically increasing or decreasing trend, regardless of the distribution form of the data.
[0094] The sliding t-test is a method for detecting mean differences in time series data over time. This test is usually used to evaluate whether an effect is significant within a specific time period, and is often combined with sliding window technology to achieve dynamic analysis, specifically:
[0095] Define a fixed-size window that will slide over the time series to perform a local mean test;
[0096] Calculate the mean of the data in each window;
[0097] Compare the mean of the current window with a benchmark mean and use a t-test to determine whether there is a significant difference between the two means;
[0098] Move the window forward and repeat the above steps until the entire time series is traversed;
[0099] Summarize the t-test results for each window.
[0100] Ordered clustering is a data processing method that combines cluster analysis with sequence information. It is mainly used to analyze data with inherent sequential relationships and can extract valuable information when processing complex data.
[0101] When identifying mutation points, the mutation points found using a single method are inaccurate. Therefore, in this embodiment, multiple mutation point identification methods are first used to identify multiple mutation points. Some of these mutation points are identified by one method, and some are identified by multiple methods. Then, based on the number of mutation points identified by different methods, the mutation points are divided into three categories: high-confidence mutation points, medium-confidence mutation points, and mutation points to be screened. High-confidence mutation points and medium-confidence mutation points are directly identified as mutation points, and subsequent significance and sensitivity tests are performed on the mutation points to be screened. The mutation points that meet the requirements are screened out and the high-confidence mutation points and medium-confidence mutation points are used to construct a mutation point set, and the historical runoff sequence is segmented.
[0102] According to one aspect of the present application, the step S13d is further:
[0103] Step S13d1, select the runoff sequence segment between the adjacent mutation points before and after the mutation point to be screened as the runoff segment to be tested, use linear regression, MK test, and Spearman test to perform trend test and significance level value calculation on the runoff segment to be tested, and obtain 3 significance level values corresponding to the trend change of each runoff segment to be tested;
[0104] Step S13d2: Based on game theory and taking Nash equilibrium as the goal, weight the three significance level values corresponding to each runoff segment to be tested, and take the sum of the products of the three significance level values and their weight values as the comprehensive significance level value of the trend change of the runoff segment to be tested;
[0105] Step S13d3, sequentially calculate the comprehensive significance level values of the trend line changes of the runoff segments to be tested corresponding to all the mutation points to be screened, and identify the mutation points to be screened corresponding to the runoff segments to be tested whose comprehensive significance level values are greater than the threshold as mutation points.
[0106] In this embodiment, three trend test methods are used simultaneously to calculate the significance level of the mutation points to be screened, which can avoid inaccurate results caused by errors when using a single method.
[0107] In this embodiment, by using a variety of mutation point identification methods (including double cumulative curves, Pettitt test, MK test, sliding t-test and ordered clustering) to comprehensively analyze the historical runoff sequence, the mutation points in the runoff sequence can be accurately identified. This technical innovation combining multiple methods improves the reliability and accuracy of mutation point identification. In particular, by dividing the mutation points into three categories of high confidence, medium confidence and to be screened, and further trend testing the mutation points to be screened, the possibility of misjudgment and missed judgment is effectively reduced. The Nash equilibrium principle in game theory is used to comprehensively evaluate the results of various trend test methods, further improving the accuracy of mutation point identification. This mutation point identification method based on multiple verifications lays a solid foundation for the subsequent runoff sequence segmentation and ensures the consistency within each segment. Through this precise sequence segmentation, a reliable data basis is provided for the subsequent inconsistency change analysis, effectively improving the accuracy and credibility of the entire runoff inconsistency change identification process.
[0108] like Figure 3 As shown, according to one aspect of the present application, the step S2 is further:
[0109] Step S21, constructing a SWAT model for the study area, taking the hydrological model parameters as the prior distribution of the first runoff sequence in their value range and following uniform distribution;
[0110] Step S22, using the optimized DREAM algorithm based on the improved sampling-update-sampling process to perform Bayesian inference on the prior distribution of the first runoff sequence, and obtaining the posterior probability density function of the hydrological model as the model parameter of the first runoff sequence and as the prior distribution of the next runoff sequence;
[0111] Step S23, using the posterior distribution of the previous runoff sequence as the prior distribution of the current runoff sequence for Bayesian inference, using the obtained posterior distribution as the prior distribution of the next runoff sequence, and sequentially calculating the posterior probability density function of the hydrological model corresponding to each runoff sequence.
[0112] In this embodiment, by constructing the SWAT model of the study area and using the optimized DREAM algorithm for parameter estimation, the model parameters of each runoff sequence are accurately calculated. This parameter estimation method based on Bayesian inference can not only effectively deal with the uncertainty of parameters, but also transfer parameter information between different time periods. In particular, the hybrid differential sampling method and the snooker update optimized differential evolution algorithm are used to generate new candidate samples, which improves the efficiency and accuracy of parameter estimation. By using the posterior distribution of the previous runoff sequence as the prior distribution of the next section, the continuous transmission of parameter information is achieved. This innovative method effectively captures the dynamic changes of runoff characteristics. The acceptance probability calculation based on the Metropolis criterion ensures the convergence of parameter estimation. This parameter estimation method not only improves the simulation accuracy of the SWAT model, but also provides a reliable parameter basis for subsequent runoff process simulation, thereby enhancing the accuracy and reliability of the entire runoff inconsistency change identification process.
[0113] According to one aspect of the present application, step S22 is further:
[0114] Step S22a, extracting the prior distribution of the first runoff sequence;
[0115] Step S22b, using a hybrid differential sampling method to extract a number of initial samples from the prior distribution, and using a snooker-optimized differential evolution algorithm to generate new candidate samples;
[0116] Step S22c, calculating the posterior probability and calculating the acceptance probability based on the Metropolis criterion;
[0117] Step S22d, repeat the iteration until the sample converges and then stop the iteration, extracting the parameter estimate and the confidence interval of the posterior distribution based on the last sample;
[0118] Step S22e, using the posterior probability density function of the hydrological model as the model parameter of the first runoff sequence and as the prior distribution of the next runoff sequence.
[0119] Hybrid differential sampling is a method for managing and processing time series data. It combines multiple data sampling and differential techniques to improve the accuracy of model predictions. Snooker update is a strategy update method in reinforcement learning or Markov decision making, which is particularly advantageous when processing time series data. Differential evolution algorithm is a population-based optimization algorithm suitable for continuous optimization problems. Combining differential evolution algorithm with snooker update means using special update strategies and methods to adjust parameters during the evolution process, which has better dynamic adaptability and convergence.
[0120] In this embodiment, by introducing hybrid differential sampling, snooker update and multiple attempts of Metropolis sampling improvement on the basis of the standard DREAM algorithm, it is possible to more fully explore the high-dimensional parameter posterior space and improve the convergence efficiency.
[0121] In this embodiment, by using the optimized DREAM algorithm based on the improved sampling-update-sampling process for Bayesian inference, high-precision estimation and uncertainty quantification of hydrological model parameters are achieved. The simulation accuracy and reliability of the SWAT model are improved. In particular, the hybrid differential sampling method is used to extract initial samples from the prior distribution, and the snooker-updated optimized differential evolution algorithm is used to generate new candidate samples, which improves the exploration efficiency of the parameter space and the representativeness of the sampling. It effectively overcomes the problem that the traditional MCMC method is prone to fall into the local optimum in the high-dimensional parameter space, and improves the globality and convergence speed of parameter estimation. By introducing the Metropolis criterion to calculate the acceptance probability, the stability and convergence of the parameter estimation process are ensured. The adaptive stopping mechanism of the iterative process ensures the balance between computational efficiency and result reliability. It is particularly noteworthy that this method can not only obtain the optimal estimate of the parameter, but also provide the posterior distribution and confidence interval of the parameter, and comprehensively quantify the uncertainty of the parameter estimation. The quantification of parameter uncertainty is crucial to understanding the reliability of model prediction. More importantly, by using the posterior distribution of each runoff sequence as the prior distribution of the next segment, the parameter information is effectively transferred between different time periods, which can capture the dynamic changes of runoff characteristics and improve the model's adaptability to inconsistent changes. It provides a reliable parameter basis for subsequent runoff simulation and inconsistent change analysis, and improves the accuracy and credibility of the entire runoff inconsistent change identification process. By accurately estimating the model parameters and their uncertainties, the behavior of complex hydrological systems can be better understood and predicted.
[0122] like Figure 4 As shown, according to one aspect of the present application, step S3 is further:
[0123] Step S31, based on the posterior probability density function of the model parameters of each runoff sequence, randomly sampling the parameters to obtain a large number of parameter solutions corresponding to the runoff sequence;
[0124] Step S32, inputting the massive parameter scheme, meteorological data, topographic data, soil characteristics, land use data and hydrological parameter combination corresponding to each runoff sequence into the SWAT model in sequence, and calculating the massive runoff;
[0125] Step S33: taking the massive runoff corresponding to each runoff sequence as the daily runoff process of each segment.
[0126] In this embodiment, parameter sampling is performed based on the posterior probability density function of the model parameters to generate a large number of parameter schemes, and a high-precision simulation of the daily process of each runoff sequence is achieved by combining a variety of input data (including meteorological data, topographic data, soil properties, land use data and hydrological parameters). This method fully considers the uncertainty of parameters and the influence of various environmental factors, and improves the accuracy and reliability of runoff simulation. In particular, by generating a large amount of runoff data, it can not only capture the average characteristics of the runoff, but also reflect its variability and extreme conditions, providing a rich and comprehensive data basis for subsequent statistical analysis. The method based on Monte Carlo simulation effectively quantifies the uncertainty of model prediction and enhances the credibility of the identification of inconsistent changes in runoff. Through this high-precision runoff process simulation, reliable data support is provided for the subsequent analysis of inconsistent characteristics, effectively improving the accuracy and scientificity of the entire identification process.
[0127] like Figure 5 As shown, according to one aspect of the present application, step S4 is further:
[0128] Step S41, respectively fitting the marginal distribution of each runoff sequence in year, month and day, and constructing the corresponding three-dimensional joint distribution of each runoff sequence in year, month and day based on the marginal distribution function of each runoff sequence;
[0129] Step S42: based on the three-dimensional joint distribution of the year, month and day corresponding to each runoff sequence, the mean value, variance and extreme value of the runoff corresponding to each segment year, month and day are counted respectively to obtain the non-uniform change characteristics of the runoff corresponding to the year, month and day.
[0130] According to one aspect of the present application, step S42 is further:
[0131] Step S42a, extracting historical runoff data of the first runoff sequence, using the kernel density estimation method to fit the marginal distribution functions of annual runoff, monthly runoff and daily runoff respectively, and constructing the three-dimensional joint distribution of the first runoff sequence in terms of year, month and day;
[0132] Step S42b, starting from the second runoff sequence, extract the corresponding daily runoff process, use the kernel density estimation method to fit the marginal distribution functions of annual runoff, monthly runoff and daily runoff respectively, and construct the annual, monthly and daily three-dimensional joint distribution of each runoff sequence respectively.
[0133] In this embodiment, since the natural period of the first runoff sequence is relatively long, there are enough samples for fitting. Since the subsequent runoff sequence segments have a shorter variation period, the samples are often not long enough and the fitting effect is poor, which often leads to misjudgment. Therefore, the first runoff sequence is fitted using historical data, and the runoff calculated by the massive parameter scheme formed by randomly extracting parameters for each subsequent runoff sequence is used as the runoff daily process. The limited measured flow is used as the sample to derive enough new samples to fit the runoff process of the subsequent segments, thereby improving the accuracy of the fitting results.
[0134] According to one aspect of the present application, step S41 is further:
[0135] Step S41a, extracting the historical runoff data of the first runoff sequence, using the kernel density estimation method to fit the marginal distribution functions of the year, month, and day, respectively, to construct the three-dimensional joint distribution of the year, month, and day of the first runoff sequence;
[0136] Step S41b, starting from the second runoff sequence, extract the corresponding daily runoff process, use the kernel density estimation method to fit the marginal distribution functions of the year, month, and day, and construct the three-dimensional joint distribution of the year, month, and day for each runoff sequence.
[0137] According to one aspect of the present application, step S41a is further as follows:
[0138] Step S41a1, extracting the historical runoff data of the first runoff sequence, and obtaining the annual, monthly and daily runoff data respectively;
[0139] Step S41a2: determine the kernel function and bandwidth parameters based on the annual, monthly and daily runoff data, and use the selected kernel function and bandwidth parameters to perform kernel density estimation calculation on the three-dimensional data to obtain a three-dimensional joint probability density estimation function;
[0140] Step S41a3: Use a cross-validation method to select the distribution with the highest fitting degree as the three-dimensional joint probability distribution of year, month, and day.
[0141] When fitting a joint distribution function, a probability distribution function method is usually adopted and the maximum likelihood method is used to estimate the parameters of the function. The commonly used probability distribution function may not fit the actual data well, resulting in inaccurate fitting results. In the maximum likelihood method, the estimation of the parameters may be affected by the sample size. When the sample size is small, the estimation result may be inaccurate. To solve these problems, in this embodiment, the kernel density estimation method is used to fit the marginal distribution function. The kernel density estimation method does not require specific assumptions about the distribution function and can more flexibly adapt to the characteristics of the actual data.
[0142] In this embodiment, by fitting the marginal distribution of year, month and day for each runoff sequence and constructing a three-dimensional joint distribution, a comprehensive statistical analysis of the runoff characteristics is achieved. This multi-scale, multi-dimensional statistical method can fully capture the temporal variation characteristics of the runoff. In particular, the kernel density estimation method is used for distribution fitting, which avoids the limitations that may be brought about by the traditional parameter distribution and improves the flexibility and accuracy of distribution fitting. By constructing a three-dimensional joint distribution of year, month and day, it can not only reflect the runoff characteristics on each time scale, but also capture the relationship between different time scales. This innovative statistical analysis method enables the non-consistent change characteristics of the runoff to be fully revealed on multiple time scales. By separately counting the mean, variance and extreme value of the runoff corresponding to each segment year, month and day, the changing trend of the runoff characteristics is fully reflected. This multi-dimensional, multi-indicator statistical analysis method provides a rich statistical basis for the identification of non-consistent changes in runoff and improves the reliability and comprehensiveness of the identification results.
[0143] like Figure 6 As shown, according to one aspect of the present application, step S5 is further:
[0144] Step S51, taking the segmented sequence number as the independent variable and the mean, variance and extreme value of runoff as the dependent variable, sequentially using exponential function, linear function, logarithmic function, polynomial function and power function to fit the function expressions of the mean, variance and extreme value of runoff corresponding to the year, month and day and the segmented sequence number of the historical runoff sequence respectively;
[0145] Step S52, taking the minimum Nash efficiency coefficient as the fitting target, selecting the optimal fitting function and its corresponding parameters;
[0146] Step S53: Calculate the mean, variance and extreme value of the annual, monthly and daily runoff corresponding to the n+1th runoff sequence, and construct the marginal distribution function of the future runoff sequence segmented annual, monthly and daily runoff based on this.
[0147] Step S54: construct the three-dimensional joint distribution of the year, month and day of the future runoff sequence segmentation, and obtain the runoff inconsistency change characteristics corresponding to the year, month and day of the future runoff sequence segmentation.
[0148] In this embodiment, by using a variety of functions (including exponential function, linear function, logarithmic function, polynomial function, power function) to fit the relationship between runoff characteristics and segment sequence number, and selecting the optimal fitting function based on the Nash efficiency coefficient, a high-precision prediction of future runoff inconsistency changes is achieved. This multi-function comparison method can adapt to different types of change trends and improve the flexibility and accuracy of the prediction. In particular, by constructing the three-dimensional joint distribution of the year, month, and day of the future runoff sequence, it can not only predict the average trend, but also reflect the variability and extreme conditions of the future runoff. This prediction method based on historical data analysis and trend extrapolation makes full use of the identified inconsistency change characteristics and improves the reliability of the prediction results. By predicting the mean, variance, and extreme value of the runoff corresponding to the year, month, and day of the future runoff sequence, the possible changes in the future runoff characteristics are fully reflected. This multi-scale, multi-indicator prediction method provides an important scientific basis for water resources planning and management, and significantly enhances the practical value and foresight of identifying runoff inconsistency changes.
[0149] In summary, the present invention proposes a method and system for identifying inconsistent changes in runoff based on sequence reconstruction to solve the above-mentioned problems that currently exist. The obtained inconsistent runoff can be used as the runoff input of the optimization control model when carrying out adaptive control of water conservancy projects. The runoff inconsistency characteristics can also provide guidance for the formulation of control measures.
[0150] According to another aspect of the present application, a system for identifying inconsistent changes in runoff based on sequence reconstruction is provided, comprising:
[0151] at least one processor; and,
[0152] a memory communicatively connected to at least one of the processors; wherein,
[0153] The memory stores instructions executable by the processor, and the instructions are used to be executed by the processor to implement any of the above-mentioned methods for identifying inconsistent changes in runoff based on sequence reconstruction.
[0154] The preferred embodiments of the present invention are described in detail above; however, the present invention is not limited to the specific details in the above embodiments. Within the technical concept of the present invention, various equivalent transformations can be made to the technical solutions of the present invention, and these equivalent transformations all belong to the protection scope of the present invention.
Claims
1. Identification method of runoff inconsistency changes based on sequence reconstruction, It is characterized in that The steps include: Step S1, collect historical data of the study area, extract and construct a historical runoff sequence, use multiple mutation point identification methods to identify the historical runoff sequence, obtain a set of mutation points of the historical runoff sequence, and divide the historical runoff sequence into n segments based on the mutation points of the historical runoff sequence, wherein the runoff in each segment is consistent, and n is a positive integer; Step S2, constructing the SWAT model of the study area, and using the optimized DREAM algorithm to sequentially calculate the posterior probability density function of the model parameters corresponding to each runoff sequence; Step S3, sampling the parameters based on the posterior probability density function of the model parameters to obtain a massive parameter scheme, inputting the meteorological data, topographic data, soil characteristics, land use data, hydrological parameters and the massive parameter scheme of each runoff sequence into the SWAT model in turn, and calculating the daily runoff process corresponding to each runoff sequence; Step S4: for each runoff sequence, fitting the marginal distribution of year, month and day respectively and constructing the three-dimensional joint distribution of year, month and day, respectively counting the mean, variance and extreme value of runoff corresponding to each segment year, month and day, and obtaining the non-uniform change characteristics of runoff corresponding to year, month and day; Step S5, using a variety of functions to fit the function expressions of the runoff mean, variance and extreme value corresponding to the year, month and day and the historical runoff sequence segment number, and optimizing the optimal fitting function and its corresponding parameters, calculating the runoff mean, variance and extreme value corresponding to the year, month and day of the n+1th runoff sequence, constructing the three-dimensional joint distribution of the year, month and day of the future runoff sequence segment, and obtaining the runoff inconsistency change characteristics corresponding to the year, month and day of the future runoff sequence segment; The step S5 is further as follows: Step S51, taking the segmented sequence number as the independent variable and the mean, variance and extreme value of runoff as the dependent variable, sequentially using exponential function, linear function, logarithmic function, polynomial function and power function to fit the function expressions of the mean, variance and extreme value of runoff corresponding to the year, month and day and the segmented sequence number of the historical runoff sequence respectively; Step S52, taking the minimum Nash efficiency coefficient as the fitting target, selecting the optimal fitting function and its corresponding parameters; Step S53: Calculate the mean, variance and extreme value of the annual, monthly and daily runoff corresponding to the n+1th runoff sequence, and construct the marginal distribution function of the future runoff sequence segmented annual, monthly and daily runoff based on this. Step S54: construct the three-dimensional joint distribution of the year, month and day of the future runoff sequence segmentation, and obtain the runoff inconsistency change characteristics corresponding to the year, month and day of the future runoff sequence segmentation.
2. The method for identifying runoff inconsistency changes based on sequence reconstruction according to claim 1, It is characterized in that The step S1 is further as follows: Step S11, collecting historical data of the study area, including: historical runoff data, meteorological data, topographic data, soil properties, land use data and hydrological parameters; Step S12, extracting historical runoff data to construct a historical runoff sequence; Step S13, using double cumulative curve, Pettitt test, MK test, sliding t-test and ordered clustering to identify the mutation points of the mean, variance and extreme value of the historical runoff series; Step S14: dividing the historical runoff sequence into n segments based on the mean, variance and extreme value mutation points of the historical runoff sequence, the runoff in each segment is consistent, and n is a positive integer.
3. The method for identifying runoff inconsistency changes based on sequence reconstruction as claimed in claim 2, It is characterized in that The step S13 is further as follows: Step S13a, using double cumulative curve, Pettitt test, MK test, sliding t-test and ordered clustering method to identify the mean, variance and extreme value of the historical runoff series, and obtain several mutation points respectively; Step S13b, arranging all obtained mutation points into a table, including the positions and statistical values of the mutation points; Step S13c, according to how many methods the same mutation point is identified by, the mutation points are divided into high-confidence mutation points, medium-confidence mutation points and mutation points to be screened, and the high-confidence mutation points and medium-confidence mutation points are identified as mutation points, wherein the high-confidence mutation points are consistently identified by all methods, the medium-confidence mutation points are identified by three or more methods, and the mutation points to be screened are identified by only two methods or a single method; Step S13d, select the runoff sequence fragments between the adjacent mutation points before and after the mutation point to be screened and use multiple trend test methods to perform trend test and significance level value calculation, further calculate the comprehensive significance level value, and identify the mutation point to be screened corresponding to the runoff fragment to be tested whose comprehensive significance level value is greater than the threshold as the mutation point.
4. The method for identifying runoff inconsistency changes based on sequence reconstruction as claimed in claim 3, It is characterized in that The step S13d is further as follows: Step S13d1, select the runoff sequence segment between the adjacent mutation points before and after the mutation point to be screened as the runoff segment to be tested, use linear regression, MK test, and Spearman test to perform trend test and significance level value calculation on the runoff segment to be tested, and obtain 3 significance level values corresponding to the trend change of each runoff segment to be tested; Step S13d2: Based on game theory and taking Nash equilibrium as the goal, weight the three significance level values corresponding to each runoff segment to be tested, and take the sum of the products of the three significance level values and their weight values as the comprehensive significance level value of the trend change of the runoff segment to be tested; Step S13d3, sequentially calculate the comprehensive significance level values of the trend line changes of the runoff segments to be tested corresponding to all the mutation points to be screened, and identify the mutation points to be screened corresponding to the runoff segments to be tested whose comprehensive significance level values are greater than the threshold as mutation points.
5. The method for identifying runoff inconsistency changes based on sequence reconstruction according to claim 1, It is characterized in that The step S2 is further as follows: Step S21, constructing a SWAT model for the study area, taking the hydrological model parameters as the prior distribution of the first runoff sequence in their value range and following uniform distribution; Step S22, using the optimized DREAM algorithm based on the improved sampling-update-sampling process to perform Bayesian inference on the prior distribution of the first runoff sequence, and obtaining the posterior probability density function of the hydrological model as the model parameter of the first runoff sequence and as the prior distribution of the next runoff sequence; Step S23, using the posterior distribution of the previous runoff sequence as the prior distribution of the current runoff sequence for Bayesian inference, using the obtained posterior distribution as the prior distribution of the next runoff sequence, and sequentially calculating the posterior probability density function of the hydrological model corresponding to each runoff sequence.
6. The method for identifying runoff inconsistency changes based on sequence reconstruction according to claim 5, It is characterized in that The step S22 is further as follows: Step S22a, extracting the prior distribution of the first runoff sequence; Step S22b, using a hybrid differential sampling method to extract a number of initial samples from the prior distribution, and using a snooker-optimized differential evolution algorithm to generate new candidate samples; Step S22c, calculating the posterior probability and calculating the acceptance probability based on the Metropolis criterion; Step S22d, repeat the iteration until the sample converges and then stop the iteration, extracting the parameter estimate and the confidence interval of the posterior distribution based on the last sample; Step S22e, using the posterior probability density function of the hydrological model as the model parameter of the first runoff sequence and as the prior distribution of the next runoff sequence.
7. The method for identifying runoff inconsistency changes based on sequence reconstruction according to claim 1, It is characterized in that The step S3 is further as follows: Step S31, based on the posterior probability density function of the model parameters of each runoff sequence, randomly sampling the parameters to obtain a large number of parameter solutions corresponding to the runoff sequence; Step S32, inputting the massive parameter scheme, meteorological data, topographic data, soil characteristics, land use data and hydrological parameter combination corresponding to each runoff sequence into the SWAT model in sequence, and calculating the massive runoff; Step S33: taking the massive runoff corresponding to each runoff sequence as the daily runoff process of each segment.
8. The method for identifying runoff inconsistency changes based on sequence reconstruction according to claim 1, It is characterized in that The step S4 is further as follows: Step S41, respectively fitting the marginal distribution of each runoff sequence in year, month and day, and constructing the corresponding three-dimensional joint distribution of each runoff sequence in year, month and day based on the marginal distribution function of each runoff sequence; Step S42: based on the three-dimensional joint distribution of the year, month and day corresponding to each runoff sequence, the mean value, variance and extreme value of the runoff corresponding to each segment year, month and day are counted respectively to obtain the non-uniform change characteristics of the runoff corresponding to the year, month and day.
9. The method for identifying runoff inconsistency changes based on sequence reconstruction according to claim 8, It is characterized in that The step S41 is further as follows: Step S41a, extracting historical runoff data of the first runoff sequence, using the kernel density estimation method to fit the marginal distribution functions of the year, month, and day, respectively, to construct the three-dimensional joint distribution of the year, month, and day of the first runoff sequence; Step S41b, starting from the second runoff sequence, extract the corresponding daily runoff process, use the kernel density estimation method to fit the marginal distribution functions of the year, month, and day, and construct the three-dimensional joint distribution of the year, month, and day for each runoff sequence.
10. The method for identifying runoff inconsistency changes based on sequence reconstruction according to claim 9, It is characterized in that The step S41a is further as follows: Step S41a1, extracting the historical runoff data of the first runoff sequence, and obtaining the annual, monthly and daily runoff data respectively; Step S41a2: determine the kernel function and bandwidth parameters based on the annual, monthly and daily runoff data, and use the selected kernel function and bandwidth parameters to perform kernel density estimation calculation on the three-dimensional data to obtain a three-dimensional joint probability density estimation function; Step S41a3: Use a cross-validation method to select the distribution with the highest fitting degree as the three-dimensional joint probability distribution of year, month, and day.
11. Runoff inconsistency change identification system based on sequence reconstruction, It is characterized in that include: at least one processor; as well as, a memory communicatively connected to at least one of the processors; wherein, The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the method for identifying inconsistent changes in runoff based on sequence reconstruction as described in any one of claims 1 to 10.
Citation Information
Patent Citations
A method for inversion of freshwater assurance rate along estuaries
CN109033578A
A method for rapid nonlinear diagnosis and attribution analysis of rainfall-runoff relationship in watershed
CN109543147A
Daily runoff seasonal stochastic simulation method based on conditional dimension reduction reconstruction
CN110334314A
Hydrological drought assessment method in climatic change scene
CN111797129A
Real-time monthly runoff forecasting method based on deep learning model
CN113705877A
