Basin recession curve calculation method and system based on adaptive inflection point segmentation

By using an adaptive inflection point segmentation method, the watershed recession curve is automatically processed, which solves the problems of low efficiency and large human error in traditional methods. It achieves efficient and accurate watershed recession curve calculation and is applicable to various watersheds and climatic conditions.

CN123178384APending Publication Date: 2026-11-27NANJING HYDRAULIC RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611613157.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-19
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Traditional methods for calculating watershed recession curves are inefficient and susceptible to human error, and have poor applicability to calculations with large amounts of historical data and different watersheds.

Method used

An adaptive inflection point segmentation method is adopted. By constructing adjacent time-time flow data pairs, dividing the intervals at equal intervals to calculate the median of the water receding coefficient, and using polynomial fitting to segment the surface water and groundwater sections at the inflection points, different fitting methods are used to process the water receding process of each section to generate a comprehensive water receding curve.

Benefits of technology

It achieves automated and accurate calculation of watershed recession curves, reduces human error, improves calculation efficiency and adaptability, and is applicable to different watersheds and climatic conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178384A_ABST
    Figure CN123178384A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on adaptive inflection point segmentation's watershed recession curve calculation method and system, the method extracts flow data pair from historical flood recession flow sequence, extracts the median of recession coefficient in interval to obtain recession coefficient sequence;Obtained by polynomial fitting its inflection point, left and right sides are respectively groundwater recession section and surface water recession section;For groundwater recession section, calculate the median of recession coefficient to obtain groundwater recession constant, for surface water recession section, by regression fitting to establish the fitting curve of flow data pair;Finally, through subsection iteration back-propagation flow process and splicing to obtain comprehensive recession flow sequence, generate watershed recession curve.The application avoids the subjectivity of manually setting segmentation threshold or empirical proportion, the segmentation point has clear physical meaning, and the recession curve calculation process is simple, with high fitting precision, which can be widely applied in flood forecasting, flood process segmentation and water conservancy scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of hydrology and water resources technology, and in particular to a method and system for calculating watershed drainage curves based on adaptive inflection point segmentation. Background Technology

[0002] In the field of hydrology and water resources, watershed recession curves reflect the receding processes of direct surface runoff and shallow groundwater runoff in a watershed. Simultaneously, watershed recession curves are also one of the important parameters in hydrological models such as the API model, used for segmenting and calculating flood flow processes.

[0003] The traditional method for calculating watershed recession curves is as follows: Select historical flood data from several events within the watershed, plot the recession profilings of each historical flood on a semi-logarithmic coordinate graph. Then, using a transparent semi-logarithmic coordinate graph, sequentially plot the recession profilings of each historical flood from the original semi-logarithmic graph onto this transparent graph, and move them horizontally left and right to ensure that the tail segments of the recession profilings of each flood overlap as much as possible. This results in a combined recession curve. In the lower part of the combined recession curve, multiple recession curves overlap, approaching a straight line; drawing an outer bound below this curve yields the groundwater recession curve. In the upper part of the combined recession curve, multiple recession curves bifurcate; taking their average yield line yields the watershed average recession curve, which is then merged with the groundwater recession curve to form the watershed recession curve.

[0004] However, the aforementioned methods primarily rely on manually drawing receding water curves, which is not only inefficient but also susceptible to human error, resulting in low accuracy. Furthermore, these methods are poorly applicable to the needs of calculating receding water curves across diverse basins with abundant historical data. Therefore, there is an urgent need for a data-driven method for calculating basin receding water curves that offers strong fitting capabilities and is computationally simple. Summary of the Invention

[0005] Purpose of the invention: The purpose of this invention is to provide a method and system for calculating watershed drainage curves based on adaptive inflection point segmentation, which can automatically extract and fit the comprehensive watershed drainage curve from historical flow drainage data. The calculation process is simple and the fitting accuracy is high.

[0006] Technical solution: The present invention provides a method for calculating watershed recession curves based on adaptive inflection point segmentation, comprising the following steps:

[0007] Construct adjacent time-period flow data pairs based on historical flood receding flow sequences;

[0008] The overall interval is divided into several sub-intervals at equal intervals based on the flow value range of the flow data pairs. The median of the drainage coefficient is calculated in each sub-interval to obtain the drainage coefficient sequence.

[0009] The inflection point of the fitting function is obtained by performing polynomial fitting on the sequence of water receding coefficients. The inflection point is used as an adaptive segmentation point, with the groundwater receding section and the surface water receding section on the left and right sides, respectively.

[0010] For the groundwater recession section, the median of the recession coefficient is calculated to obtain the groundwater recession constant. Based on the groundwater recession constant, the simulated flow rate is calculated to obtain the simulated flow rate sequence of the groundwater section.

[0011] For the surface water receding section, a fitting curve for the flow data pairs is established through regression fitting, and the simulated flow is obtained by back-calculating the simulated flow based on the fitting curve;

[0012] The simulated flow sequence of the groundwater section is spliced ​​with the simulated flow sequence of the surface water section to obtain the comprehensive drainage flow sequence, and the data points in the comprehensive drainage flow sequence are connected to obtain the watershed drainage curve.

[0013] The present invention discloses a watershed recession curve calculation system based on adaptive inflection point segmentation, comprising:

[0014] The historical data acquisition unit is used to construct adjacent time-time flow data pairs based on historical flood receding flow sequences.

[0015] The drainage coefficient sequence generation unit is used to divide the overall interval into several sub-intervals at equal intervals according to the flow value range of the flow data pair, calculate the median of the drainage coefficient in each sub-interval, and obtain the drainage coefficient sequence.

[0016] An adaptive segmentation point determination unit is used to perform polynomial fitting on the water receding coefficient sequence to obtain the inflection point of the fitting function. The inflection point serves as the adaptive segmentation point, with the groundwater receding section and the surface water receding section on its left and right sides, respectively.

[0017] The segmented fitting and flow back-calculation unit is used to calculate the median of the groundwater recession coefficient to obtain the groundwater recession constant for the groundwater recession section, and back-calculate the simulated flow rate to obtain the simulated flow rate sequence for the groundwater section based on the groundwater recession constant; for the surface water recession section, it is used to establish a fitting curve for the flow rate data pair through regression fitting, and back-calculate the simulated flow rate to obtain the simulated flow rate sequence for the surface water section based on the fitting curve.

[0018] The integrated drainage curve generation unit is used to splice the simulated flow sequence of the groundwater section with the simulated flow sequence of the surface water section to obtain an integrated drainage flow sequence, and connect the data points in the integrated drainage flow sequence to obtain the watershed drainage curve.

[0019] The computer-readable storage medium of the present invention stores a computer program, which, when executed by a processor, implements the method for calculating watershed recession curves based on adaptive inflection point segmentation.

[0020] The computer program product of the present invention includes a computer program that, when executed by a processor, implements the method for calculating watershed drainage curves based on adaptive inflection point segmentation.

[0021] Beneficial effects: Compared with existing technologies, the present invention has clear steps, low computational complexity, and requires no extensive iterative optimization. The entire process can be fully automated, from reading raw data to outputting the final receding water sequence, requiring no manual intervention. It is easy to program and integrate into existing hydrological forecasting systems. Specific advantages include:

[0022] (1) This invention processes the overall flow sequence in intervals and uses the median to statistically determine the recession coefficient, which reduces the impact of abnormal fluctuations and extreme noise in each flow interval and extracts a sequence that reflects the true recession trend as much as possible. This preprocessing step provides a data foundation for subsequent polynomial fitting inflection point detection and piecewise parameter estimation, enabling this invention to have good anti-interference ability when facing complex hydrological observation data.

[0023] (2) This invention employs a polynomial fitting inflection point segmentation method. By fitting the sequence of the recession coefficient changing with flow rate and solving for the zero point where its second derivative is zero, it achieves the determination of the recession point of surface and subsurface runoff entirely driven by data. Mathematically, this inflection point corresponds to the turning point where the recession coefficient changes from rapid to gradual. Physically, it marks the transition point where surface runoff has completely receded and subsurface runoff begins to recede, thus having clear physical significance. The entire process requires no manually set parameters and can adapt to different watershed scales and climatic conditions.

[0024] (3) This invention employs different fitting methods for the two segments of receding water data after segmentation, fully considering the differences in physical mechanisms at different receding stages. In the groundwater receding segment, the receding process approximately follows a linear reservoir attenuation law, and the receding coefficient should theoretically be a fixed constant. Therefore, the median is used to directly estimate the groundwater runoff receding coefficient, simplifying the calculation process and making it less susceptible to fluctuations in low-flow-rate data. In the surface runoff receding segment, due to the superposition and recession of multiple water sources such as surface runoff and interflow, the receding relationship exhibits complex nonlinear characteristics. This invention uses a local weighted regression algorithm for nonparametric fitting, which can flexibly capture the continuous change characteristics of the receding rate during the flow attenuation process, enhancing its adaptability to complex receding scenarios. Attached Figure Description

[0025] Figure 1 This is a flowchart of the watershed receding water curve calculation method according to an embodiment of the present invention.

[0026] Figure 2 This is a graph showing the relationship between surface water and groundwater receding in an embodiment of the present invention.

[0027] Figure 3 This is a comprehensive drainage flow rate curve according to an embodiment of the present invention. Detailed Implementation

[0028] The technical solution of the present invention will be further described below with reference to the accompanying drawings.

[0029] like Figure 1 As shown in the figure, the watershed recession curve calculation method based on adaptive inflection point segmentation described in this embodiment includes the following steps.

[0030] S1 constructs adjacent time-time flow data pairs from multiple historical flood receding flow sequences.

[0031] Specifically, for each historical flood receding section, starting from the initial receding flow rate, the current moment... Corresponding traffic data Traffic data at the next adjacent time step Combined into a data pair Plot all data points on the coordinate axis and connect the corresponding scatter points of the same flood with line segments to obtain a series of changes in the receding sections of all historical floods.

[0032] S2 extracts the drainage coefficient for each flow interval by dividing it into intervals and calculates the median, constructing a sequence of median drainage coefficients for each interval. Specifically, this includes:

[0033] S21. Interval processing: All historical flood receding data... The data points are numerous and unevenly distributed, with sparse data pairs in high-flow areas and dense data pairs in low-flow areas, and are subject to random noise. Directly performing polynomial fitting or regression on the original scatter points is easily affected by noise. Interval processing involves dividing the overall flow range into equally spaced intervals, and using the median to represent the drainage coefficient within each interval. The local typical level is used to achieve homogenization and noise reduction.

[0034] Each data pair Corresponding drainage coefficient .

[0035] Let the global sample set be The range of traffic values ​​is Where M is the total number of traffic data pairs in the global sample set, and i is the index number of the data pair, i = 1, 2, …, M; Let i be the flow rate value at the current time in the i-th data pair. Let be the flow rate value at the next time step in the i-th data pair. Divide the entire interval into equal intervals. There are several sub-intervals, with interval boundaries as follows:

[0036]

[0037] in . No. The intervals are Its central flow is:

[0038]

[0039] S22. Constructing the median sequence of drainage coefficients: For the first... There are several intervals, and all data pairs falling within those intervals form a set:

[0040]

[0041] Calculate the median of all recession coefficients within this interval:

[0042]

[0043] Only when the number of data points in the interval (Usually 3 or 5) and The point is retained only when it falls within the preset start and end flow range, thus obtaining the final drainage coefficient sequence. .

[0044] Step S3: Use a polynomial to fit the recession coefficient sequence and find the inflection point of the fitting function as the adaptive segmentation point between surface water recession and groundwater recession.

[0045] Specifically, the water withdrawal coefficient With flow The process of change is characterized by stages: in the high-flow section where surface runoff is dominant, The rate of increase is rapid; in low-flow sections where groundwater runoff is dominant, The rate of increase slows significantly and tends to stabilize; the transition region between the two sections is where the change in the rate of receding water is most significant, corresponding to... The inflection point of the curve, that is, the turning point where the curve changes from rapid change to gradual change; through polynomial fitting. It can automatically determine this dividing point by calculating the zero of its second derivative, without the need to manually set any threshold.

[0046] The drainage coefficient sequence obtained after interval processing ,use Least square fitting of a polynomial of degree:

[0047]

[0048] coefficient vector It is obtained by minimizing the sum of squared residuals; where T represents the vector transpose, i.e., the vector For the coefficients of each order of the polynomial The resulting column vector:

[0049]

[0050] The second derivative of the fitted polynomial is:

[0051]

[0052] Where k is the index variable for polynomial summation, k = 2, 3, …, n; n is the order of the polynomial fitting; is the coefficient of the k-th term of the polynomial; Q is the flow rate at the current time.

[0053] make Solve this equation in the real number field. Let all real roots be . Only those falling within the effective flow range are retained. The root within. The dividing point. Choose according to the following rules:

[0054] If multiple valid real roots exist, the one that makes the most valid real root should be selected first. The root of the curve that changes from positive to negative (i.e., the curve changes from convex to concave) corresponds to the turning point where the rate of water receding changes from rapid to gradual.

[0055] Step S4: Adaptively divide the water level into receding segments using segmented points, and fit the water level relationship curve segment by segment.

[0056] Specifically, according to adaptive segmentation points The overall receding water section is divided into two parts; for For the groundwater receding section, the median of the receding coefficient is calculated as the groundwater receding constant. ;for For the surface water receding section, the Lowest Local Weighted Regression (LOWESS) method was used to smooth the surface water receding section data. By fitting the data, the surface water regression curve was obtained. .

[0057] (a) The dataset corresponding to the groundwater receding zone is:

[0058]

[0059] right Each data point in the table is used to calculate the drainage coefficient:

[0060]

[0061] All Arrange the values ​​in ascending order to obtain an ordered sequence. ,in Then the median of this sequence is taken as the groundwater recession constant:

[0062]

[0063] This is the groundwater recession constant.

[0064] (b) LOWESS Nonparametric Regression: LOWESS does not assume that the data follows a global function form, but instead performs a locally weighted least squares fit on each point to be predicted within its neighborhood; the weights decrease with increasing distance, allowing the fitted curve to flexibly adapt to the local shape of the data while effectively resisting interference from distant outliers. In the surface receding water section, LOWESS is used for fitting... It can accurately capture the nonlinear changes in the relationship between surface water receding and flowing.

[0065] Assume the surface drainage section dataset is , needs to be for the given predict .

[0066] (1) Determine the neighboring window: Specify the window width parameter This indicates the usage ratio is... Data points; let the total number of scatter points be... Then the number of points participating in local fitting For the target point Find all sample points The distance, take the first Small distance as neighborhood radius .

[0067] (2) Calculate the weights: for each sample point Calculate its weight function value using a cubic weight function:

[0068]

[0069]

[0070] (3) Locally weighted least squares fitting: In Within the neighborhood of , a linear regression model is used to fit and Relationship:

[0071]

[0072] in, The current flow rate value of the i-th sample point. , The flow rate value at the next time step for the i-th sample point. ; The intercept coefficient for local linear regression. The slope coefficient of the local linear regression; is the weight of the i-th sample point relative to the target point x; m is the total number of sample points participating in the local fitting.

[0073] Its solution is obtained through the normal equation:

[0074]

[0075]

[0076]

[0077] .

[0078] in, y represents the estimated value of the locally weighted least squares regression coefficient vector; X is the independent variable design matrix, W is the weight diagonal matrix, and y is the dependent variable vector; the superscript T indicates transpose, and the superscript -1 indicates matrix inversion.

[0079] (4) Obtain the fitted value: target point The fitted value for LOWESS at this location is:

[0080]

[0081] in, These are the intercept coefficients obtained from locally weighted least squares estimation. The slope coefficient is obtained from the locally weighted least squares estimation. For target point The LOWESS fitted value at that location.

[0082] Iterate through all the predictions that need to be made. Repeat the above steps to obtain the surface water receding curve. .

[0083] Step S5 involves segmented iterative back-calculation, stitching together the drainage curves on both sides of the segmentation point to generate a comprehensive drainage flow sequence. Specifically, this includes:

[0084] S51. Simulated flow generation of surface water recession section: Assume the initial flow is... ,when At that time, from Begin, let Iterate according to the surface water receding curve:

[0085]

[0086] Until Stop at time to obtain the simulated flow sequence of surface water section ,in This is the index for the last time period of the surface water segment.

[0087] S52, Generating Simulated Flow Rate in Groundwater Retreat Section: This involves generating the flow rate at the dividing point. As the initial flow rate of the groundwater section, that is to say Iteration based on the groundwater receding constant:

[0088]

[0089] Until Stop at (terminal flow rate) to obtain the simulated flow sequence of the groundwater section. .

[0090] S53. Two-segment sequence splicing: The simulated flow sequence of surface water segment and the simulated flow sequence of groundwater segment are spliced ​​at the split point, that is, the last possible value less than 1 in the surface water segment is deleted. The transition point (or reserved as) Then, directly connect the groundwater segment sequence to form a complete integrated drainage flow sequence. Its time index Numbered consecutively starting from 0.

[0091] S54. Store the generated comprehensive receding water curve data, including data for each time period. Corresponding simulated traffic .

[0092] Step S6: Import the generated integrated water receding curve results into the hydrological model to verify the impact of the water receding curve results on the model simulation results, and further adjust and optimize the water receding curve based on the simulation results.

[0093] Specifically, verifying the impact of the receding water curve results on the model simulation results includes: inputting the comprehensive receding water flow sequence into the hydrological model, comparing the simulation accuracy of the flood receding process before and after using the receding water curve, and adjusting the segmentation points or fitting parameters accordingly to optimize the receding water curve.

[0094] To verify the feasibility of this invention in practice, it was applied to a watershed in a humid region. Based on the receding water data from five historical floods in the watershed, the specific implementation process and results of the method described in this invention are explained in detail.

[0095] The extracted flow sequence of the drainage section is arranged in chronological order, starting from the starting point of the drainage, and the flow rate at each moment is recorded. Flow rate at the next moment Form a data pair All data pairs from the same flood are sequentially concatenated on the coordinate plane to form the trajectory of the flood's receding phase. Data pairs from five floods are then merged into a global sample set. This example divides the data into 50 intervals. For each interval's data pairs, the receding coefficient is calculated. The median value is taken as the representative value of the drainage coefficient for that interval, and the central flow rate of the interval is taken as the corresponding value. Only intervals with at least 5 data points and flow rates within a preset valid range are retained. After interval processing, the sequence shows the overall trend of the drainage coefficient changing with flow rate: as the flow rate decreases, the drainage coefficient gradually increases, and near a certain flow rate, it changes from a rapid increase to a slow increase, showing a clear inflection point characteristic.

[0096] Apply a cubic polynomial to the above sequence By performing least squares fitting, the drainage coefficient function is obtained. Its second derivative is calculated, and the inflection point flow rate is obtained. for For groundwater recession sections where the flow rate is less than the inflection point flow rate, groundwater recession data pairs are selected from all data pairs. The recession coefficients of these data pairs are calculated, and the median is taken after sorting by value to obtain the groundwater recession constant. For surface water recession sections where the flow rate exceeds the inflection point flow rate, surface water recession data pairs are selected from all data pairs and fitted using the Lowess method of locally weighted regression with a window width of 0.3. Outliers have been removed before fitting. The Lowess method yields a smooth nonparametric curve, which decreases rapidly at high flow rates, gradually flattens out as the flow rate decreases, and naturally connects with the groundwater recession constant at the breakpoint. Figure 2 This graph shows the recession relationship between surface water and groundwater. The graph illustrates the recession relationship based on recession data from five historical floods. The horizontal axis represents the current flow rate. The vertical axis represents the flow rate at the next time step. The gray broken line represents the connection of historical flood receding data pairs, and the black dotted line represents... Reference line, the blue dashed line represents the groundwater receding constant. The corresponding groundwater receding line, the green vertical dashed line is the adaptive inflection point dividing line, the corresponding dividing point The curve to the left of the dividing line is the groundwater receding curve (orange solid line), and the curve to the right of the dividing line is the surface water receding curve (red solid line).

[0097] Depend on Figure 2 As can be seen, this invention automatically divides the drainage process into high-flow-rate surface water drainage segments by fitting the drainage coefficient sequence with a polynomial and solving for the zero point of the second derivative. ) and low-flow groundwater receding section ( In the low-flow range, the orange fitted curve highly coincides with the blue groundwater recession constant line, indicating that using the median recession coefficient to estimate the groundwater recession constant is reasonable and can accurately reflect the stable attenuation characteristics of baseflow recession; in the high-flow range, the red fitted curve is lower than... The reference line, which can flexibly adapt to the overall trend of historical water receding data points, indicates that the LOWESS nonparametric fitting method can effectively characterize the nonlinear changes in surface water receding, avoiding the systematic bias caused by a single exponential model or fixed proportion method. Therefore, this invention has the advantages of automatic determination of segmentation points, clear physical meaning, high segmented fitting accuracy, and strong adaptability to historical data.

[0098] The initial flow rate for setting the integrated drainage curve is: The terminated traffic is The iteration starts from the initial flow rate and stops when the iterated flow rate is less than or equal to the termination flow rate. This example generates a series of drainage flow rates for 35 time periods. The flow rates for the first 10 time periods are shown in Table 1. The comprehensive drainage flow rate curve generated by the segmented iteration is shown in the figure below. Figure 3 As shown in the figure, the adaptive receding water curve generated by the method of this invention changes over time. The horizontal axis represents the time period. The vertical axis represents the simulated flow rate. The red curve represents the comprehensive drainage flow sequence obtained by segmenting and iterating according to the method of this invention. This curve starts from the initial flow... Start to end traffic End of 35 sessions.

[0099] Depend on Figure 3 It can be seen that the generated receding water curve decreases rapidly in the early stage, gradually slows down as the flow decreases, and eventually stabilizes, which conforms to the physical law of "fast at first and slow later" in the watershed receding process. The entire curve is smooth and continuous without abnormal fluctuations, indicating that the LOWESS fitting curve of the surface water section and the constant receding water curve of the groundwater section are naturally spliced ​​and the transition is reasonable at the dividing point. Therefore, it can be seen that the present invention has the advantages of generating a physically consistent sequence, smooth and stable curves, simple calculation process, and can be directly used for flood receding water forecasting and hydrological model input without manual parameter adjustment.

[0100] Table 1

[0101]

[0102] To verify the effectiveness of the method of the present invention, the calculation results of the present invention are compared with the following two existing methods: the manual experience method, in which hydrological professionals manually select the dividing point according to the morphology of the receding process line and fit the two segments respectively; and the fixed ratio method, in which 20% of the maximum flood peak flow is used as the dividing point, and the other steps are the same as those of the present invention.

[0103] Table 2

[0104]

[0105] As can be seen from the above comparison, the segmentation results of the method of the present invention on the data of 5 historical floods ( ) and human experience value ( The results show a high degree of similarity, with a relative deviation of only 10.4%, far superior to the 180% deviation of the traditional fixed-proportion method. In terms of overall fitting accuracy of the recession curve, this method achieves an NSE of 0.96 and reduces the RMSE to [missing value]. Compared to manual empirical methods, the error is reduced by about 30%, and compared to fixed ratio methods, the error is reduced by more than 60%. This fully demonstrates the significant progress of the adaptive inflection point segmentation method described in this invention in terms of the objectivity of segmentation points, the accuracy of curve fitting, and robustness.

[0106] The watershed recession curve calculation system based on adaptive inflection point segmentation of the present invention includes:

[0107] The historical data acquisition unit is used to construct adjacent time-time flow data pairs based on historical flood receding flow sequences.

[0108] The drainage coefficient sequence generation unit is used to divide the overall interval into several sub-intervals at equal intervals according to the flow value range of the flow data pair, calculate the median of the drainage coefficient in each sub-interval, and obtain the drainage coefficient sequence.

[0109] An adaptive segmentation point determination unit is used to perform polynomial fitting on the water receding coefficient sequence to obtain the inflection point of the fitting function. The inflection point serves as the adaptive segmentation point, with the groundwater receding section and the surface water receding section on its left and right sides, respectively.

[0110] The segmented fitting and flow back-calculation unit is used to calculate the median of the groundwater recession coefficient to obtain the groundwater recession constant for the groundwater recession section, and back-calculate the simulated flow rate to obtain the simulated flow rate sequence for the groundwater section based on the groundwater recession constant; for the surface water recession section, it is used to establish a fitting curve for the flow rate data pair through regression fitting, and back-calculate the simulated flow rate to obtain the simulated flow rate sequence for the surface water section based on the fitting curve.

[0111] The integrated drainage curve generation unit is used to splice the simulated flow sequence of the groundwater section with the simulated flow sequence of the surface water section to obtain an integrated drainage flow sequence, and connect the data points in the integrated drainage flow sequence to obtain the watershed drainage curve.

[0112] The computer-readable storage medium of the present invention stores a computer program, which, when executed by a processor, implements the method for calculating watershed recession curves based on adaptive inflection point segmentation.

[0113] The computer program product of the present invention includes a computer program that, when executed by a processor, implements the method for calculating watershed drainage curves based on adaptive inflection point segmentation.

[0114] The computer-readable storage medium may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory, or any other media that can be used to store program code in the form of instructions or data structures and is accessible by a computer.

[0115] The processor is used to execute a computer program stored in memory to implement the various steps in the methods described in the above embodiments.

Claims

1. A method for calculating watershed recession curves based on adaptive inflection point segmentation, characterized in that, Includes the following steps: Construct adjacent time-period flow data pairs based on historical flood receding flow sequences; The overall interval is divided into several sub-intervals at equal intervals based on the flow value range of the flow data pairs. The median of the drainage coefficient is calculated in each sub-interval to obtain the drainage coefficient sequence. The inflection point of the fitting function is obtained by performing polynomial fitting on the sequence of water receding coefficients. The inflection point is used as an adaptive segmentation point, with the groundwater receding section and the surface water receding section on the left and right sides, respectively. For the groundwater recession section, the median of the recession coefficient is calculated to obtain the groundwater recession constant. Based on the groundwater recession constant, the simulated flow rate is calculated to obtain the simulated flow rate sequence of the groundwater section. For the surface water receding section, a fitting curve for the flow data pairs is established through regression fitting, and the simulated flow is obtained by back-calculating the simulated flow based on the fitting curve; The simulated flow sequence of the groundwater section is spliced ​​with the simulated flow sequence of the surface water section to obtain the comprehensive drainage flow sequence, and the data points in the comprehensive drainage flow sequence are connected to obtain the watershed drainage curve.

2. The method for calculating watershed recession curves based on adaptive inflection point segmentation according to claim 1, characterized in that, Water loss coefficient , Adjacent time points and Traffic data pairs.

3. The method for calculating watershed recession curves based on adaptive inflection point segmentation according to claim 2, characterized in that, When the number of data points in a sub-interval is not less than a preset threshold, and the center flow of the sub-interval is within the preset start and end flow range, the median of the drainage coefficient of the sub-interval is retained; otherwise, the median of the drainage coefficient of the sub-interval is not retained. The central flow rate is the midpoint value of this sub-interval.

4. The method for calculating watershed recession curves based on adaptive inflection point segmentation according to claim 1, characterized in that, The inflection points of the fitting function obtained by polynomial fitting of the recession coefficient sequence include: The drainage coefficient sequence is used The least squares fitting of the polynomial of degree 1 yields the fitting function, and the coefficient vector of the fitting function is obtained by minimizing the sum of squared residuals. Set the second derivative of the fitted function to zero to find the real roots, and retain the real roots that fall within the effective flow range as inflection points; when the number of real roots falling within the effective flow range is greater than 1, select the real root that makes the second derivative of the fitted function change from positive to negative as the inflection point.

5. The method for calculating watershed recession curves based on adaptive inflection point segmentation according to claim 1, characterized in that, For the surface water receding section, the fitted curves for the flow data pairs established through regression fitting include: For the surface water receding section, the local weighted regression scatter smoothing method is used to perform regression fitting to establish the fitting curve for the flow data pairs.

6. The method for calculating watershed recession curves based on adaptive inflection point segmentation according to claim 1, characterized in that, With preset starting flow As the starting point of the surface water section, The simulated flow rate is inferred by back-calculating the fitted curve. Until Not greater than the adaptive split point Stop at time, the iteration relationship is as follows , To fit the curve, a simulated flow sequence for the surface water section was obtained; With adaptive split points As the starting point of the groundwater section, let According to the groundwater receding constant Back-inferring simulated flow Until The process stops when the flow rate is less than or equal to a preset termination flow rate, and the iteration relationship is as follows: The simulated flow sequence of the groundwater section was obtained.

7. The method for calculating watershed recession curves based on adaptive inflection point segmentation according to claim 6, characterized in that, The combined drainage flow sequence obtained by splicing the simulated flow sequence of the groundwater section with the simulated flow sequence of the surface water section includes: If the simulated flow rate of the last data point in the simulated sequence of the surface water section is less than Then delete the data point or assign a value to the data point. By connecting the simulated flow sequence of the surface water section and the simulated flow sequence of the groundwater section, a comprehensive drainage flow sequence is obtained, wherein the time index of the comprehensive drainage flow sequence is... Numbered consecutively starting from 0.

8. A watershed recession curve calculation system based on adaptive inflection point segmentation, characterized in that, include: The historical data acquisition unit is used to construct adjacent time-time flow data pairs based on historical flood receding flow sequences. The drainage coefficient sequence generation unit is used to divide the overall interval into several sub-intervals at equal intervals according to the flow value range of the flow data pair, calculate the median of the drainage coefficient in each sub-interval, and obtain the drainage coefficient sequence. An adaptive segmentation point determination unit is used to perform polynomial fitting on the water receding coefficient sequence to obtain the inflection point of the fitting function. The inflection point serves as the adaptive segmentation point, with the groundwater receding section and the surface water receding section on its left and right sides, respectively. The segmented fitting and flow back-calculation unit is used to calculate the median of the groundwater recession coefficient to obtain the groundwater recession constant for the groundwater recession section, and back-calculate the simulated flow rate to obtain the simulated flow rate sequence for the groundwater section based on the groundwater recession constant; for the surface water recession section, it is used to establish a fitting curve for the flow rate data pair through regression fitting, and back-calculate the simulated flow rate to obtain the simulated flow rate sequence for the surface water section based on the fitting curve. The integrated drainage curve generation unit is used to splice the simulated flow sequence of the groundwater section with the simulated flow sequence of the surface water section to obtain an integrated drainage flow sequence, and connect the data points in the integrated drainage flow sequence to obtain the watershed drainage curve.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the watershed drainage curve calculation method based on adaptive inflection point segmentation according to any one of claims 1-7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the watershed drainage curve calculation method based on adaptive inflection point segmentation according to any one of claims 1-7.