A river section non-point source pollutant flux real-time segmentation method and system
By using a method to segment non-point source pollutant fluxes at river cross sections in real time, and combining flow surges, flux surges, and flow-concentration correlation indicators, the problem of the inability to segment non-point source pollutant fluxes in real time in existing technologies has been solved. This enables the immediate identification of non-point source pollution events and the immediate calculation of fluxes, thereby improving the response speed and decision-making efficiency of watershed water pollution management.
Patent Information
- Application Number
- CN202610861861.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-15
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2046-06-15
AI Technical Summary
Existing technologies cannot achieve real-time segmentation of non-point source pollutant fluxes at river cross-sections, resulting in environmental management departments being unable to promptly grasp the dynamic input of non-point source pollution, affecting the response speed and decision-making efficiency of precise water pollution control in the basin.
By collecting historical water quality-quantity-rainfall time series data, extracting effective rainfall events, identifying non-point source pollution output periods, constructing a dynamic discrimination threshold system, collecting and calculating real-time water quality-quantity data, and estimating using the sliding baseflow window method, and combining three indicators—flow surge, flux surge, and flow-concentration correlation—real-time segmentation of non-point source pollutant flux is achieved.
It enables real-time identification of non-point source pollution events and real-time calculation of flux, improving the timeliness and accuracy of non-point source pollution flux measurement, reducing labor costs, and does not require large-scale modification of existing hardware, making it easy to promote on a large scale.
Smart Images

Figure CN122734246B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water environment monitoring and water pollution control technology, and in particular to a method and system for real-time segmentation of non-point source pollutant flux at river cross sections. Background Technology
[0002] Non-point source pollution is a significant source of watershed water quality deterioration. Its occurrence is uncertain in terms of time, space, and intensity. Accurately quantifying the non-point source pollution flux at river cross-sections is of great significance for pollution source tracing, treatment effect assessment, and water quality model calibration.
[0003] Currently, the estimation and segmentation of non-point source pollution fluxes at river cross sections mainly employ three methods:
[0004] First, there are statistical flux segmentation methods that calculate the total flux over a period by averaging, interpolation, or regression, and then differentiate non-point source contributions by combining hydrological segmentation or wet / dry seasons. These methods can only provide long-term flux results and cannot automatically identify and segment fluxes at the rainfall event or real-time scale, making them insensitive to complex pollution events.
[0005] The second method is the manual monitoring method based on rainfall-runoff events. It uses the base flux before rainfall as the background and obtains the area source flux by subtracting the base flux from the total flux. This method relies on on-site monitoring, has poor timeliness, high labor costs, and insufficient data representativeness.
[0006] Thirdly, simulation methods based on hydrological and water quality coupling models, using models such as SWAT and HSPF for calculations, require a large number of watershed underlying surface parameters, the model calibration is complex, the calculation results are delayed, and it is difficult to use for real-time monitoring and early warning.
[0007] In summary, existing technologies generally suffer from common defects such as inability to be integrated into existing online monitoring systems, inability to automatically identify the timing of non-point source pollution occurrences, and difficulty in achieving real-time segmentation and calculation of non-point source pollution fluxes. These defects prevent environmental management departments from timely grasping the dynamic input of non-point source pollution, thus restricting the response speed and decision-making efficiency of precise watershed water pollution control. Summary of the Invention
[0008] To overcome the problems of existing technologies, this invention proposes a method and system for real-time segmentation of area source pollutant fluxes at river cross-sections. The method described herein...
[0009] The objective of this invention is achieved as follows:
[0010] This invention provides a method for real-time segmentation of area source pollutant fluxes at river cross sections, comprising the following steps:
[0011] S1: Collection of historical water quality, water quantity, and rainfall time series data
[0012] Acquire historical monitoring time-series data for the target watershed, including a complete annual rainfall, river cross-sectional flow, water pollutant concentrations, and corresponding timestamps. Time-align the data and calculate pollutant fluxes. :
[0013]
[0014] In the formula, t represents the time of calculation (day or hour). Let be the pollution concentration (mg / L) at time t. The flow rate at time t ( K is the time conversion factor;
[0015] S2: Extraction of Effective Rainfall Events
[0016] Rainfall time series is extracted from the synchronous monitoring time series data obtained from S1. Based on the rainfall time series, valid rainfall events that meet the preset triggering conditions are screened, and weak rainfall interference is eliminated.
[0017] S3: Identification of Non-point Source Pollution Output Periods
[0018] For each valid rainfall event obtained through S2 screening, the non-point source pollution output period corresponding to the rainfall event is identified by combining the time series of river cross-section flow and water pollutant concentration in the synchronous monitoring time series data obtained through S1, and through concentration-flow lag effect analysis.
[0019] S4: Construction of a Dynamic Discrimination Threshold System
[0020] Based on the time-series data of the non-point source pollution output periods determined by S3, a seasonal dynamic discrimination threshold system is constructed, including thresholds for sharp increases in flow rate, sudden increases in pollutant flux, and flow-concentration correlation. Specifically, this system includes:
[0021] (1) The whole year is divided into three periods according to the seasonal characteristics of the watershed hydrology: February to April is the initial rainfall period, May to October is the high-frequency rainfall period, and November to January of the following year is the final rainfall period. All subsequent thresholds are classified and statistically analyzed according to these three groups.
[0022] (2) Determination of the threshold for a sharp increase in flow rate
[0023] For any time t within the area source output period, the flow surge ratio is calculated using the following formula:
[0024]
[0025] In the formula, Let be the cross-sectional flow rate at time t. Let t be the cross-sectional flow rate at time ti (i.e., the flow rate i days before time t), and j be the number of days for backtracking to calculate the average (generally taken as 3 to 5 days). This indicates that the minimum value is taken over all t ranges during the period of non-point source pollution output;
[0026] Calculate the effective rainfall event Grouped according to the hydrological season, all within the same season The arithmetic mean is used to obtain the threshold for a sharp increase in flow in the corresponding season. , , ;
[0027] (3) Determination of the threshold for sudden increase in pollutant flux
[0028] Calculate the pollutant flux surge ratio using the following formula:
[0029]
[0030] In the formula, Let be the pollutant flux at time t. Let t be the pollutant flux at time ti (i.e., the pollutant flux i days before time t), and j be the number of days for backtracking to calculate the average (generally taken as 3 to 5 days). This indicates that the minimum value is taken over all t ranges during the period of non-point source pollution output;
[0031] Calculate the effective rainfall event Grouped according to the hydrological season, all within the same season The arithmetic mean is used to obtain the threshold for the sudden increase in pollutant flux in the corresponding season. , , ;
[0032] (4) Flow-concentration correlation threshold
[0033] For any time t within the area source output period, take the flow rate and concentration series of the previous 5 days and calculate the Spearman correlation coefficient:
[0034]
[0035] Statistics on all historical rainfall events The value is taken as the 25th percentile, or the mean minus one standard deviation, as the threshold for flow-concentration correlation. ;
[0036] S5: Real-time water quality and quantity data acquisition and calculation
[0037] The flow rate and pollutant concentration of the river section are collected in real time by automatic monitoring equipment, and the pollutant flux is calculated with reference to the formula in step S1, and the real-time flow surge ratio, real-time pollutant flux surge ratio and real-time flow-concentration related threshold are calculated with reference to the formula in step S4.
[0038] S6: Determination of Non-point Source Pollution Occurrence
[0039] Based on the dynamic threshold corresponding to the current season, the system uses a combination of three conditions to determine whether the current time is within the period of non-point source pollution.
[0040] In other words, if the following conditions are met simultaneously, it is determined that the current time is during a period of non-point source pollution:
[0041] (a) Real-time traffic surge ratio ≥ current seasonal traffic surge threshold;
[0042] (b) Real-time flux surge ratio ≥ current seasonal flux surge threshold;
[0043] (c) The real-time flow-concentration correlation coefficient is ≥ the correlation threshold;
[0044] S7: Background Base Flux Estimation
[0045] For the period determined in step S6 as the time when non-point source pollution occurs, the background base flux is estimated using the sliding baseflow window method;
[0046] S8: Real-time segmentation of area source pollutant flux
[0047] By subtracting the background base flux from the current total flux, the real-time non-point source pollution flux is obtained, thus completing the real-time segmentation of non-point source pollutant flux at the river cross section.
[0048] Furthermore, in step S2, the preset triggering condition is: cumulative rainfall over N consecutive days ≥ rainfall threshold R0, which is used to eliminate weak rainfall events that have no significant impact on runoff-pollution response.
[0049] Furthermore, in step S3, the method for identifying the period of non-point source pollution output is as follows: taking the end of rainfall as a reference point, searching forward / backward for continuous windows in which the flow rate of the river section and the concentration of water pollutants rise synchronously, and the concentration of water pollutants in the window is positively correlated with the previous flow rate of the river section, that is, determining that the period is the non-point source response period.
[0050] Furthermore, in step S7, the sliding base current window method includes:
[0051] Using the current time t as a baseline, a statistical window of T consecutive days is selected forward. Within the interval [tT, t], time periods not identified as non-point source pollution periods are selected to form the baseflow sample set:
[0052]
[0053] In the formula, Let be the available basic flux sample set at time t. For historical sampling moments; Let T be the set of time periods identified as non-point source pollution occurrences, and T be the number of days in the sliding statistical window.
[0054] If the sample size is ≥3, the arithmetic mean of the fluxes within the set is taken to obtain the background basic flux:
[0055]
[0056] In the formula, Let be the background basis flux at time t. For history Total pollutant flux at the time of sampling;
[0057] If the number of samples is less than 3, the most recent effective background flux will be used.
[0058] Furthermore, in step S8, the real-time area source pollution flux... The calculation formula is:
[0059]
[0060] In the formula, Let be the total flux at time t. Background base flux;
[0061] when If the value is greater than 0, it is considered a valid surface source output; otherwise, it is recorded as 0.
[0062] A second aspect of the present invention provides a real-time segmentation system for non-point source pollutant flux at river cross sections, used to implement the method described in the first aspect, the system comprising:
[0063] The data acquisition and storage module is used to acquire and store historical and real-time rainfall, flow rate, and water quality concentration data;
[0064] The threshold analysis module is used to perform historical learning and threshold determination to generate a seasonal dynamic discrimination threshold system;
[0065] The real-time monitoring and embedded judgment module is integrated into online monitoring equipment or edge computing units for real-time data acquisition, feature calculation, and determination of the occurrence time of non-point source pollution.
[0066] The flux segmentation calculation module is used to perform background baseline flux estimation and real-time area source flux decoupling calculation.
[0067] The results output and transmission module is used to output real-time area source flux data and upload it to the monitoring platform.
[0068] The advantages and beneficial effects of this invention are:
[0069] 1. The method described in this invention can achieve full-process automation and real-time accounting: This invention abandons the traditional post-event statistical accounting mode and can embed the algorithm into existing online monitoring equipment to complete edge computing. It can identify, calculate and segment non-point source pollution events in real time, greatly improve the timeliness of non-point source pollution flux measurement, and facilitate regulatory authorities to dynamically grasp the changes in non-point source pollution entering rivers.
[0070] 2. The method described in this invention has strong anti-interference ability and high flux segmentation accuracy: It adopts three indicators for joint judgment: flow surge, flux surge, and flow-concentration correlation coefficient. A single flow or concentration increase is easily affected by non-point source factors such as point source sewage discharge and water conservancy scheduling. However, non-point source pollution has the characteristic of flow and pollutant concentration rising and falling in tandem. The joint judgment of the three thresholds can effectively eliminate irrelevant interference and improve the accuracy of non-point source pollution event identification.
[0071] 3. The entire algorithm of the method described in this invention can be deployed on existing online monitoring hardware for river hydrology and water quality. It can achieve automatic segmentation of non-point source flux simply by configuring the software and upgrading the program. It does not require large-scale modification of the monitoring hardware, and it is highly practical for engineering implementation and easy to promote on a large scale.
[0072] 4. The method described in this invention uses a sliding window to dynamically calculate the base flux based on recent historical monitoring data, abandoning the fixed base flux value method. This method conforms to the natural hydrological evolution law. The area source flux obtained by subtracting the dynamic base flux from the total flux has a clear physical meaning, and the flux segmentation result is more consistent with the actual pollution generation process in the watershed. Attached Figure Description
[0073] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0074] Figure 1 The flowchart and system structure of the real-time segmentation method for surface pollutant flux at river cross sections according to the present invention are shown.
[0075] Figure 2 The daily rainfall, flow rate, and total nitrogen flux sequence of section XX described in the embodiment are shown.
[0076] Figure 3 CQ hysteresis analysis diagrams for rainfall events 1 and 2 at section XX;
[0077] Figure 4 The results of the non-point source pollution flux segmentation at section XX from October to December 2025 are shown. Detailed Implementation
[0078] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments disclosed herein will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0079] Example 1:
[0080] This embodiment provides a method for real-time segmentation of non-point source pollutant fluxes at river cross sections. Taking the XX section in Yongchuan District, Chongqing as an example section, the terrain is mainly hilly, gentle hill, plain and low mountain, and the soil types mainly include yellow soil, purple soil, limestone soil and paddy soil, which have typical characteristics of the southwestern hilly agricultural watershed.
[0081] like Figure 1 As shown, the method includes the following steps:
[0082] S1: Collection of historical water quality-water quantity-rainfall synchronous time series data
[0083] Obtain daily-scale synchronous monitoring time series data for the example cross-section in 2024. The data includes rainfall P (mm), river cross-section flow Q (mm), and other data. The data includes water pollutant concentrations C (total nitrogen, total phosphorus, ammonia nitrogen, and potassium permanganate index, mg / L) and corresponding timestamps, and time alignment of multi-source data. Figure 2 ).
[0084] Simultaneous calculation of pollutant flux :
[0085]
[0086] In the formula, t represents the time of calculation (day or hour). Let be the pollution concentration (mg / L) at time t. The flow rate at time t ( K is the time conversion factor.
[0087] S2: Extraction of Effective Rainfall Events
[0088] Rainfall time series is extracted from the synchronous monitoring time series data obtained from S1. Data column names are standardized and renamed. Outliers and null values are identified, deleted, and interpolated using moving averages. Daily fluxes of total nitrogen, total phosphorus, ammonia nitrogen, and potassium permanganate index at the cross section are calculated. Valid rainfall events that meet preset triggering conditions are screened based on daily rainfall time series, and weak rainfall interference is excluded.
[0089] The preset trigger condition is: cumulative rainfall ≥ 10 mm over 3 consecutive days, used to eliminate weak rainfall events that have no significant impact on runoff-pollution response, and to extract the start and end dates of rainfall, duration, and total rainfall. The above calculation process is implemented using the "pandas", "matplotlib.pyplot", "numpy", and "os" packages in Python.
[0090] The results showed that 15 rainfall events that met the above criteria were screened in 2024, as detailed in Table 1 below.
[0091] S3: Identification of Non-point Source Pollution Output Periods
[0092] For each valid rainfall event obtained through S2 screening, the non-point source pollution output period corresponding to the rainfall event is identified by combining the time series of river cross-section flow and water pollutant concentration in the synchronous monitoring time series data obtained through S1, and by analyzing and plotting the concentration-flow (CQ) lag effect.
[0093] The method for identifying the period of non-point source pollution output is as follows: taking the end of rainfall as a reference point, search forward / backward for continuous windows in which the river cross-sectional flow Q and the water pollutant concentration C rise synchronously, and the water pollutant concentration within the window is positively correlated with the previous river cross-sectional flow, that is, the period is determined to be the non-point source response period.
[0094] Taking rainfall event 1 as an example, with the start date of rainfall (April 1, 2024) as the starting point and the end date (April 9, 2024) followed by 5 days (until April 14, 2024) as the ending point, a continuous window of simultaneous and significant increases in both Q and C within 15 days is searched. Specifically, starting from April 1, 2024, the concentrations of ammonia nitrogen and total phosphorus increased with increasing flow rate, continuing until April 8, 2024, which is identified as the period of area source response. Figure 3 Similarly, the period corresponding to the area source pollution of rainfall event 2 is from April 19, 2024 to April 25, 2024. The area source response periods corresponding to rainfall events are obtained in the same manner, as shown in Table 1.
[0095] Table 1. Rainfall events with cumulative rainfall ≥10mm over 3 days at section XX in 2024
[0096]
[0097] S4: Construction of a Dynamic Discrimination Threshold System
[0098] Based on the time-series data of the non-point source pollution output period determined in S3, a seasonal dynamic discrimination threshold system is constructed, including a flow surge threshold, a pollutant flux surge threshold, and a flow-concentration correlation threshold. In this embodiment, total nitrogen is taken as an example of pollutant, specifically including:
[0099] (1) The basin is divided into three periods according to the seasonal characteristics of hydrology: February to April is the initial rainfall period, May to October is the high-frequency rainfall period, and November to January of the following year is the final rainfall period. All subsequent thresholds are classified and statistically analyzed according to these three groups.
[0100] (2) Determination of the threshold for a sharp increase in flow rate
[0101] For any time t within the area source output period, the flow surge ratio is calculated using the following formula:
[0102]
[0103] In the formula, Let be the cross-sectional flow rate at time t. Let t be the cross-sectional flow rate at time ti (i.e., the flow rate i days before time t), and j be the number of days for backtracking to calculate the average (generally taken as 3 to 5 days). This indicates that the minimum value is taken within the range of all times t during the period of non-point source pollution output.
[0104] Calculate the effective rainfall event Grouped according to the hydrological season, all within the same season The arithmetic mean is used to obtain the threshold for a sharp increase in flow in the corresponding season. , , .
[0105] (3) Determination of the threshold for sudden increase in pollutant flux
[0106] Calculate the pollutant flux surge ratio using the following formula:
[0107]
[0108] In the formula, Let be the pollutant flux at time t. Let t be the pollutant flux at time ti (i.e., the pollutant flux i days before time t), and j be the number of days for backtracking to calculate the average (generally taken as 3 to 5 days). This indicates that the minimum value is taken within the range of all times t during the period of non-point source pollution output.
[0109] Calculate the effective rainfall event Grouped according to the hydrological season, all within the same season The arithmetic mean is used to obtain the threshold for the sudden increase in pollutant flux in the corresponding season. , , .
[0110] (4) Flow-concentration correlation threshold
[0111] For any time t within the area source output period, take the flow rate and concentration series of the previous 5 days and calculate the Spearman correlation coefficient:
[0112]
[0113] Statistics on all historical rainfall events The value is used to remove values less than 0.1, and the average value over the event period is taken to obtain the flow-concentration correlation threshold. .
[0114] This example uses the area source response period of a rainfall event (April 1st to April 8th) as an example. The river cross-sectional flow on April 1st was 3.88 m³. 3 / s, total nitrogen concentration is 6.38 mg / L, j is set to 5. This represents the average traffic volume for the five days prior to April 1st. This equals the traffic on the first day (April 1st) divided by the traffic of the previous 5 days, which equals 1.5. This can be used to calculate the traffic from April 2nd to April 8th. Find the minimum value from April 1st to April 8th. .
[0115] As shown in Table 2, according to the hydrological season, the initial rainfall period (February-April) includes Event 1 and Event 2, with a sharp increase in flow threshold. Pollutant flux surge threshold and flow-concentration correlation threshold Taking the average of the events that occurred, the three thresholds for the initial rainfall period of the cross section are 1.25, 1.2 and 0.5, respectively.
[0116] Furthermore, following the above process, three thresholds can be obtained for the high-frequency rainfall period and the late rainfall period. The three thresholds for the high-frequency rainfall period are 0.7, 0.7, and 0.5, respectively; the three thresholds for the late rainfall period are 1.2, 1.0, and 0.3, respectively. It can be seen that the thresholds for the initial rainfall at the cross-section are all relatively high, followed by the late rainfall, while the thresholds for the high-frequency rainfall period are relatively low.
[0117] Table 2 Calculation results of the time-period output threshold for the initial rainfall event area source
[0118]
[0119] S5: Real-time water quality and quantity data acquisition and calculation
[0120] Real-time collection of river cross-sectional flow rate at the current moment Pollutant concentration The pollutant flux is calculated using the formula in step S1, and the real-time flow surge ratio, real-time pollutant flux surge ratio, and real-time flow-concentration correlation threshold are calculated using the formula in step S4.
[0121] Specifically, the pollutant flux at the current moment. (kg / h), the calculation formula is:
[0122]
[0123] Calculate the real-time traffic surge ratio based on data from M hours prior to the current time (M=120, i.e., 5 days). Real-time pollutant flux surge ratio Correlation coefficient with real-time flow rate-concentration ;
[0124] Determine the current time and season (early rainfall, high-frequency rainfall, and late rainfall), and select the corresponding surge in flow. A sudden increase in pollutant flux Correlation threshold with CQ .
[0125] S6: Determination of Non-point Source Pollution Occurrence
[0126] Based on the dynamic threshold corresponding to the current season, a three-factor joint determination is made as to whether the current moment is within the period of non-point source pollution; that is, if the following conditions are met simultaneously, it is determined that the current moment is within the period of non-point source pollution:
[0127] (a) Real-time traffic surge ratio ≥ Current seasonal traffic surge threshold ;
[0128] (b) Real-time flux surge ratio ≥ Current seasonal flux surge threshold ;
[0129] (c) Real-time flow-concentration correlation coefficient ≥Relevance threshold.
[0130] S7: Background Base Flux Estimation
[0131] For the period determined in step S6 as the time when non-point source pollution occurs, the background base flux is estimated using the sliding baseflow window method;
[0132] The sliding base current window method includes:
[0133] Using the current time t as a baseline, a statistical window of T consecutive days (e.g., T=5) is selected forward. Within the interval [tT, t], time periods not identified as non-point source pollution are filtered out to form a baseflow sample set:
[0134]
[0135] In the formula, Let be the available basic flux sample set at time t. For historical sampling moments; Let T be the set of time periods identified as non-point source pollution occurrences, and T be the number of days in the sliding statistical window.
[0136] If the sample size is ≥3, the arithmetic mean of the fluxes within the set is taken to obtain the background basic flux:
[0137]
[0138] In the formula, Let be the background basis flux at time t. For history Total pollutant flux at the time of sampling;
[0139] If the number of samples is less than 3, the most recent effective background flux will be used.
[0140] S8: Real-time segmentation of area source pollutant flux
[0141] By subtracting the background base flux from the current total flux, the real-time non-point source pollution flux is obtained, thus completing the real-time segmentation of non-point source pollutant flux at the river cross section.
[0142] The real-time area source pollution flux The calculation formula is:
[0143]
[0144] In the formula, This represents the current total flux. Background base flux;
[0145] when If the value is greater than 0, it is considered a valid surface source output; otherwise, it is recorded as 0.
[0146] At times when no non-point source pollution occurs, .
[0147] Example 2:
[0148] This embodiment provides a real-time segmentation system for area source pollutant fluxes at river cross sections, used to implement the real-time pollutant flux segmentation method described in Embodiment 1. The system includes:
[0149] The data acquisition and storage module is used to acquire and store historical and real-time rainfall, flow rate, and water quality concentration data;
[0150] The threshold analysis module is used to perform historical learning and threshold determination to generate a seasonal dynamic discrimination threshold system;
[0151] The real-time monitoring and embedded judgment module is integrated into online monitoring equipment or edge computing units for real-time data acquisition, feature calculation, and determination of the occurrence time of non-point source pollution.
[0152] The flux segmentation calculation module is used to perform background baseline flux estimation and real-time area source flux decoupling calculation.
[0153] The results output and transmission module is used to output real-time area source flux data and upload it to the monitoring platform.
[0154] Finally, it should be noted that the above is only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention (such as the application of various formulas, the order of steps, etc.) without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A method for real-time segmentation of area source pollutant fluxes at river cross-sections, characterized in that, The method includes the following steps: S1: Collection of historical water quality, water quantity, and rainfall time series data Acquire historical monitoring time-series data for the target watershed, including rainfall, river cross-sectional flow, water pollutant concentrations, and corresponding timestamps for a full year, and perform time alignment on the data to calculate pollutant fluxes. : In the formula, t represents the monitoring time. Let be the pollutant concentration at time t. Let be the flow rate at time t, and K be the time conversion factor; S2: Extraction of Effective Rainfall Events Rainfall time series is extracted from the synchronous monitoring time series data obtained from S1. Based on the rainfall time series, valid rainfall events that meet the preset triggering conditions are screened, and weak rainfall interference is eliminated. S3: Identification of Non-point Source Pollution Output Periods For each valid rainfall event obtained through S2 screening, the non-point source pollution output period corresponding to the rainfall event is identified by combining the time series of river cross-section flow and water pollutant concentration in the synchronous monitoring time series data obtained through S1, and through concentration-flow lag effect analysis. S4: Construction of a Dynamic Discrimination Threshold System Based on the time-series data of the period of area source pollution output determined by S3, a seasonal dynamic discrimination threshold system is constructed, which includes a flow surge threshold, a pollutant flux surge threshold, and a flow-concentration correlation threshold. Specifically, it includes: (1) The whole year is divided into three periods according to the seasonal characteristics of the watershed hydrology: February to April is the initial rainfall period, May to October is the high-frequency rainfall period, and November to January of the following year is the final rainfall period. All subsequent thresholds are classified and statistically analyzed according to these three groups. (2) Determination of the threshold for sudden increase in flow rate For any time t within the area source output period, the flow surge ratio is calculated using the following formula: In the formula, Let be the cross-sectional flow rate at time t. Let t be the cross-sectional flow rate at time ti, and j be the number of days for backtracking to calculate the average. This indicates that the minimum value is taken over all t ranges during the period of non-point source pollution output; Calculate the effective rainfall event Grouped according to the hydrological season, all within the same season The arithmetic mean is used to obtain the threshold for sudden flow increases in the corresponding season. , , ; (3) Determination of the threshold for sudden increase in pollutant flux Calculate the pollutant flux surge ratio using the following formula: In the formula, Let be the pollutant flux at time t. Let be the pollutant flux at time ti; Calculate the effective rainfall event Grouped according to the hydrological season, all within the same season The arithmetic mean is used to obtain the threshold for the sudden increase in pollutant flux in the corresponding season. , , ; (4) Flow-concentration correlation threshold For any time t within the area source output period, take the flow rate and concentration series of the previous 5 days and calculate the Spearman correlation coefficient: Statistics on all historical rainfall events The value is taken as the 25th percentile, or the mean minus one standard deviation, as the threshold for flow-concentration correlation. ; S5: Real-time water quality and quantity data acquisition and calculation Real-time data collection of river cross-section flow and pollutant concentration; calculation of pollutant flux using formula in step S1; calculation of real-time flow surge ratio, real-time pollutant flux surge ratio and real-time flow-concentration correlation threshold using formula in step S4. S6: Determination of Non-point Source Pollution Occurrence Based on the dynamic threshold corresponding to the current season, the system uses a combination of three conditions to determine whether the current time is within the period of non-point source pollution. In other words, if the following conditions are met simultaneously, it is determined that the current time is during a period of non-point source pollution: (a) Real-time traffic surge ratio ≥ current seasonal traffic surge threshold; (b) Real-time flux surge ratio ≥ current seasonal flux surge threshold; (c) The real-time flow-concentration correlation coefficient is ≥ the correlation threshold; S7: Background Base Flux Estimation For the period determined in step S6 as the time when non-point source pollution occurs, the background base flux is estimated using the sliding baseflow window method; S8: Real-time segmentation of area source pollutant flux By subtracting the background base flux from the current total flux, the real-time non-point source pollution flux is obtained, thus completing the real-time segmentation of non-point source pollutant flux at the river cross section.
2. The method according to claim 1, characterized in that, In step S2, the preset triggering condition is: cumulative rainfall over N consecutive days ≥ rainfall threshold R0, which is used to eliminate weak rainfall events that have no significant impact on runoff-pollution response.
3. The method according to claim 1, characterized in that, In step S3, the method for identifying the period of non-point source pollution output is as follows: taking the end of rainfall as a reference point, searching forward / backward for continuous windows in which the river cross-section flow and water pollutant concentration rise synchronously, and the water pollutant concentration within the window is positively correlated with the previous river cross-section flow, that is, determining that the period is the period of non-point source pollution output.
4. The method according to claim 1, characterized in that, In step S7, the sliding base current window method includes: Using the calculation time t as a baseline, a statistical window of T consecutive days is selected forward. Within the interval [tT, t], time periods not identified as non-point source pollution are selected to form the baseflow sample set. In the formula, Let be the available basic flux sample set at time t. For historical sampling moments; The set of identified non-point source pollution occurrence periods, where T is the number of days in the sliding statistical window; If the sample size is ≥3, the arithmetic mean of the fluxes within the set is taken to obtain the background basic flux: In the formula, Let be the background basis flux at time t. For history Total pollutant flux at the time of sampling; If the number of samples is less than 3, the most recent effective background flux will be used.
5. The method according to claim 1, characterized in that, In step S8, the real-time area source pollution flux The calculation formula is: In the formula, Let be the total flux at time t. Background base flux; when If the value is greater than 0, it is considered a valid surface source output; otherwise, it is recorded as 0.
6. A real-time segmentation system for non-point source pollutant flux at river cross sections, used to implement the method described in any one of claims 1-5, characterized in that, The system includes: The data acquisition and storage module is used to acquire and store historical and real-time rainfall, flow rate, and water quality concentration data; The threshold analysis module is used to perform historical learning and threshold determination to generate a seasonal dynamic discrimination threshold system; The real-time monitoring and embedded judgment module is integrated into online monitoring equipment or edge computing units for real-time data acquisition, feature calculation, and determination of the occurrence time of non-point source pollution. The flux segmentation calculation module is used to perform background baseline flux estimation and real-time area source flux decoupling calculation. The results output and transmission module is used to output real-time area source flux data and upload it to the monitoring platform.
Citation Information
Patent Citations
Urban river pollutant flux accounting and on-way pollution input feature identification analysis method
CN117454152A
Method for managing urban wastewater based on indications on pollutants
US6656367B1
