A dynamic control method and system for sewage treatment based on data analysis
Through data analysis and real-time detection, a standard curve is generated to predict industrial wastewater discharge and dynamically adjust sewage treatment parameters, solving the problem of water quality fluctuations caused by intermittent industrial wastewater discharge, improving sewage treatment efficiency and reducing energy consumption.
Patent Information
- Application Number
- CN202510228106.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2045-02-28
AI Technical Summary
The existing technology is difficult to effectively deal with the impact of intermittent discharge of industrial wastewater on sewage treatment processes, resulting in fluctuations in water quality parameters and making it difficult to achieve efficient and energy-saving sewage treatment.
Through data analysis, standard water quality parameter curves and flow curves are generated, real-time data is obtained in combination with detection instruments, the starting point and pattern of intermittent emissions of industrial wastewater are predicted, the sewage treatment parameters are dynamically adjusted, and the sewage fluctuations are dealt with in advance.
It improves sewage treatment efficiency, reduces energy consumption, and achieves effective response to sewage fluctuations.
Smart Images

Figure CN120197812B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sewage treatment, and in particular to a sewage treatment dynamic control method and system based on data analysis. Background Art
[0002] Dynamic regulation of sewage treatment refers to the dynamic adjustment of sewage treatment process parameters according to the water quality, water volume and real-time data of the sewage during the treatment process to achieve efficient, energy-saving and stable treatment effects. Sewage treatment is of great significance to environmental protection, ecological improvement, human health and sustainable development. Under the continuous treatment mode, sewage treatment plants need to be dynamically regulated according to the real-time status of sewage. The influent water quality and flow rate of urban sewage treatment plants are usually relatively stable. During the sewage treatment process, there is intermittent discharge of industrial wastewater, which will have a significant impact on water quality. The discharge of industrial wastewater causes water quality fluctuations before and after discharge, and the concentration of water quality parameters changes, which brings difficulties to the analysis of sewage quality parameters. How to predict the changing trend of sewage and adjust treatment parameters in advance to cope with sewage fluctuations has become an urgent problem to be solved. Summary of the Invention
[0003] The purpose of the present invention is to provide a method and system for dynamic regulation of sewage treatment based on data analysis to solve the problems raised in the prior art.
[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a dynamic control system for sewage treatment based on data analysis, comprising a data storage module, a data acquisition module, a sewage treatment module and an analysis module; the output end of the data acquisition module is connected to the input end of the data storage module and the analysis module, for obtaining the flow and water quality parameter data of the sewage; the output end of the data storage module is connected to the input end of the analysis module, for storing historical data of sewage water quality parameters and flow; the output end of the analysis module is connected to the input end of the sewage treatment module, for analyzing the real-time water quality parameter curve to obtain a water quality parameter deviation curve before dilution, and determining an intermittent discharge water quality parameter curve of industrial wastewater that matches the current water quality parameters based on the water quality parameter deviation curve before dilution, and obtaining a predicted result of the sewage water quality parameter curve based on the intermittent discharge water quality parameter curve of industrial wastewater; the sewage treatment module adjusts the treatment parameters in advance according to the predicted result of the sewage water quality parameter curve to cope with sewage fluctuations.
[0005] The data acquisition module also includes a detection unit and a public information acquisition unit; the detection unit uses detection instruments to obtain real-time water quality parameter curves and flow curves for the wastewater; the public information acquisition unit is used to obtain wastewater discharge information disclosed by industrial enterprises. The analysis module also includes a standard curve generation unit, a deviation analysis unit, a conversion unit, a matching analysis and tracking unit, and a discharge starting point determination unit; the standard curve generation unit is used to generate a standard water quality parameter curve and flow curve when there is no intermittent discharge of industrial wastewater; the deviation analysis unit is used to analyze the deviation between the real-time water quality parameter curve after dilution and the standard water quality parameter curve to obtain a water quality parameter deviation curve after dilution; the conversion unit is used to convert the water quality parameter deviation curve after dilution into a water quality parameter deviation curve before dilution; the matching analysis and tracking unit is used to analyze the matching degree between the water quality parameter deviation curve before dilution and the water quality parameter curve for intermittent discharge of industrial wastewater to generate a predicted result of the wastewater water quality parameter curve; the discharge starting point determination unit is used to determine the starting time of intermittent discharge of industrial wastewater. The sewage treatment module also includes an automatic control unit that dynamically adjusts various parameters in the sewage treatment process based on the predicted results of the sewage water quality parameter curve to cope with sewage fluctuations.
[0006] To achieve the above objectives, the present invention provides the following technical solution: a method for dynamic regulation of sewage treatment based on data analysis, comprising the following steps:
[0007] Acquire historical data of sewage water quality parameters and flow from the data storage module, and generate standard water quality parameter curves and flow curves based on the acquired historical data;
[0008] A real-time water quality parameter curve and a flow curve are obtained through a detection instrument; a flow deviation curve is obtained based on the real-time flow curve and the standard flow curve, and it is determined whether the flow deviation curve is consistent with the characteristics of intermittent discharge of industrial wastewater. If so, the real-time water quality parameter curve is the real-time water quality parameter curve after dilution, and a water quality parameter deviation curve after dilution is obtained based on the real-time water quality parameter curve after dilution and the standard water quality parameter curve. The water quality parameter deviation curve before dilution is obtained based on the water quality parameter deviation curve after dilution; if not, the flow deviation curve is monitored and the wastewater is dynamically regulated according to the standard water quality parameter curve;
[0009] When industrial wastewater is discharged intermittently, the influent flow rate of the sewage treatment plant will fluctuate on the original basis. By capturing the fluctuation of the influent flow rate, it can be determined whether there is industrial wastewater discharge.
[0010] Analyze the matching degree between the water quality parameter deviation curve before dilution and the water quality parameter curve of intermittent discharge of industrial wastewater to determine the pattern of intermittent discharge of industrial wastewater; obtain the prediction results of the sewage water quality parameter curve based on the pattern of intermittent discharge of industrial wastewater and the standard water quality parameter curve, and adjust the treatment parameters in advance based on the prediction results of the sewage water quality parameter curve to cope with sewage fluctuations.
[0011] Specifically, generating a standard water quality parameter curve and a flow curve based on the acquired historical data includes the following steps:
[0012] Step 1: Obtain historical data on sewage quality parameters and flow at the same time on different dates, and establish a set of equations to solve: Where a and b represent different dates, Q2(a) and Q2(b) represent the industrial wastewater flow data on dates a and b, C2(a) and C2(b) represent the industrial wastewater water quality parameter data on dates a and b, Q1 represents the urban sewage flow data, and C1 represents the urban sewage water quality parameter data; C B (a) and C B (b) represents the water quality parameter data obtained by the detection instrument on dates a and b; solving the equations to obtain Q1 and C1;
[0013] Step 2: Repeat step 1 at different time points to obtain the water quality parameters and flow time series of urban sewage, and generate standard water quality parameter curves and flow curves.
[0014] Urban sewage has the characteristics of relatively stable water quantity and quality. Based on the characteristics of urban sewage, standard water quality parameter curves and flow curves can be generated as a reference; through the public emission information of industrial enterprises, the water quality parameter data and wastewater flow data of industrial wastewater discharge are obtained, and the disclosure of information has a lag; the water quantity and water quality of urban sewage are solved based on the public water quality parameter data and wastewater flow data of industrial wastewater discharge; the purpose of selecting the same time is to keep the water quantity and water quality of urban sewage relatively stable. For the selection of dates, dates with and without industrial wastewater discharge can be selected. When there is no industrial wastewater discharge, the water quantity and water quality data of urban sewage can be directly obtained based on the data obtained by the detection instrument; when there is intermittent discharge of industrial wastewater, it cannot be directly obtained. There are two unknowns. The two parameters are solved by a set of two-variable linear equations; in order to eliminate randomness, the data at the same time point on multiple dates are selected and the average value is calculated respectively;
[0015] The method further comprises the following steps: obtaining a diluted water quality parameter deviation curve according to the diluted real-time water quality parameter curve and the standard water quality parameter curve;
[0016] Subtract the water quality parameters on the standard water quality parameter curve from the water quality parameters on the diluted real-time water quality parameter curve to obtain a diluted water quality parameter deviation curve; obtain the standard flow curve and the real-time flow curve, subtract the flow on the real-time flow curve from the flow on the standard flow curve to obtain a flow deviation curve; multiply the water quality parameters on the diluted water quality parameter deviation curve by the flow on the real-time flow curve to obtain a water quality parameter change curve;
[0017] Multiply the water quality parameters on the standard water quality parameter curve by the flow rate on the real-time flow rate curve to obtain the standard quantity curve of the water quality parameters; add the standard quantity curve of the water quality parameters to the change quantity curve of the water quality parameters to obtain the water quality parameter quantity curve of the industrial wastewater; divide the water quality parameter quantity curve of the industrial wastewater by the flow rate deviation curve to obtain the water quality parameter deviation curve before dilution;
[0018] If the change in water quality parameters is not less than zero, the water quality parameters of industrial wastewater are greater than the water quality parameters of urban sewage. If the change in water quality parameters is less than zero, the water quality parameters of industrial wastewater are less than the water quality parameters of urban sewage. The change in water quality parameters itself has positive and negative signs and no additional addition is required.
[0019] The discharge of industrial wastewater will have a dilution effect on urban sewage. If the concentration of industrial wastewater pollutants is significantly lower than that of urban domestic sewage, its discharge will dilute the concentration of mixed sewage; if the concentration of industrial wastewater pollutants is higher than that of urban domestic sewage, the concentration of mixed sewage will increase. After confirming the presence of industrial wastewater, the deviation curve after dilution is converted into the deviation curve before dilution. The deviation curve is generated by industrial wastewater, which can be used to analyze the industrial wastewater curve at the current moment.
[0020] Specifically, the analysis of the matching degree between the water quality parameter deviation curve before dilution and the water quality parameter curve of the intermittent discharge of industrial wastewater further includes the following steps:
[0021] Obtain the public industrial wastewater quality parameter data and wastewater flow data from historical data, and obtain the water quality parameter curve of intermittent discharge of industrial wastewater. Let Li represent the water quality parameter curve of intermittent discharge of the i-th industrial wastewater, and calculate the root mean square error between the water quality parameter deviation curve before dilution from time tT to time t and the water quality parameter curve Li of intermittent discharge of the i-th industrial wastewater, where the water quality parameter deviation curve before dilution from time tT is aligned with the starting point of the water quality parameter curve of intermittent discharge of industrial wastewater; T is the time window, t is the current time; obtain the dilution from time tT to time t The minimum root mean square error between the water quality parameters before discharge and the water quality parameter curves of all intermittent discharges of industrial wastewater is calculated, and the water quality parameter curve of intermittent discharge of industrial wastewater corresponding to the minimum root mean square error is set as Lmin. The minimum root mean square error is converted to obtain the matching degree, and the matching degree is inversely correlated with the root mean square error; the starting point t0 of intermittent discharge of industrial wastewater is determined on the real-time water quality parameter curve, and from time t0, the standard water quality parameter curve and the water quality parameter curve Lmin of intermittent discharge of industrial wastewater are superimposed to obtain the prediction result of the sewage water quality parameter curve after the current time t.
[0022] Specifically, determining the starting point of intermittent discharge of industrial wastewater also includes the following steps:
[0023] Obtain the water quality parameter curve of intermittent discharge of industrial wastewater, align the current time t with the starting point of the water quality parameter curve of intermittent discharge of industrial wastewater, calculate the root mean square error between the water quality parameter deviation curve before dilution and the water quality parameter curve of intermittent discharge of industrial wastewater in the time window T, and gradually shift the water quality parameter curve of intermittent discharge of industrial wastewater forward according to the time step T / K to obtain the root mean square error between the water quality parameter deviation curve before dilution after translation and the water quality parameter curve of intermittent discharge of industrial wastewater. When the total step length of the translation reaches T, the translation operation is completed; determine the translation step length step corresponding to the minimum value of the root mean square error, subtract step from the time t to obtain the starting point of intermittent discharge of industrial wastewater, and K is a positive integer.
[0024] Specifically, tracking the matching degree further includes the following steps:
[0025] The predicted result of the sewage water quality parameter curve is used as the comparison parameter curve to obtain the matching degree between the real-time water quality parameter curve and the comparison parameter curve. When the matching degree is not less than the set threshold, the comparison parameter curve is consistent with the real-time water quality parameter curve and no re-matching is required;
[0026] When the matching degree is less than the set threshold, determine whether the flow deviation curve is consistent with the characteristics of intermittent discharge of industrial wastewater. If it is consistent, keep the starting time t0 of the intermittent discharge of industrial wastewater unchanged, obtain the root mean square error between the water quality parameter deviation curve before dilution from t0 to the current time and the water quality parameter curve Li of the i-th industrial wastewater intermittent discharge, re-obtain the water quality parameter curve Lmin of the intermittent discharge of industrial wastewater corresponding to the minimum value of the root mean square error, superimpose the standard water quality parameter curve and the water quality parameter curve Lmin of the intermittent discharge of industrial wastewater, and obtain the predicted result of the sewage water quality parameter curve after the current time; if it does not match, there is no intermittent discharge of industrial wastewater, and the sewage is dynamically regulated according to the standard water quality parameter curve.
[0027] Compared with the existing technology, the beneficial effects of the present invention are: the concentration of pollutants in sewage may change due to factors such as the discharge of industrial wastewater and rainfall. By predicting changes in sewage water quality, treatment parameters can be adjusted in advance, which can better cope with sewage fluctuations; through dynamic regulation, sewage treatment plants can treat sewage more effectively, improve treatment efficiency, and reduce energy consumption of sewage treatment plants. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a structural schematic diagram of a sewage treatment dynamic control system based on data analysis in the present invention. DETAILED DESCRIPTION
[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0030] Example: Figure 1As shown, the present invention provides a technical solution, a dynamic control system for sewage treatment based on data analysis, comprising a data storage module, a data acquisition module, a sewage treatment module and an analysis module; the output end of the data acquisition module is connected to the input end of the data storage module and the analysis module, for obtaining the flow and water quality parameter data of the sewage; the output end of the data storage module is connected to the input end of the analysis module, for storing historical data of sewage water quality parameters and flow; the output end of the analysis module is connected to the input end of the sewage treatment module, for analyzing the real-time water quality parameter curve to obtain a water quality parameter deviation curve before dilution, and determining an industrial wastewater intermittent discharge water quality parameter curve that matches the current water quality parameters based on the water quality parameter deviation curve before dilution, and obtaining a predicted result of the sewage water quality parameter curve based on the industrial wastewater intermittent discharge water quality parameter curve; the sewage treatment module adjusts the treatment parameters in advance according to the predicted result of the sewage water quality parameter curve to cope with sewage fluctuations.
[0031] The data acquisition module also includes a detection unit and a public information acquisition unit; the detection unit uses detection instruments to obtain real-time water quality parameter curves and flow curves for the wastewater; the public information acquisition unit is used to obtain wastewater discharge information disclosed by industrial enterprises. The analysis module also includes a standard curve generation unit, a deviation analysis unit, a conversion unit, a matching analysis and tracking unit, and a discharge starting point determination unit; the standard curve generation unit is used to generate a standard water quality parameter curve and flow curve when there is no intermittent discharge of industrial wastewater; the deviation analysis unit is used to analyze the deviation between the real-time water quality parameter curve after dilution and the standard water quality parameter curve to obtain a water quality parameter deviation curve after dilution; the conversion unit is used to convert the water quality parameter deviation curve after dilution into a water quality parameter deviation curve before dilution; the matching analysis and tracking unit is used to analyze the matching degree between the water quality parameter deviation curve before dilution and the water quality parameter curve for intermittent discharge of industrial wastewater to generate a predicted result of the wastewater water quality parameter curve; the discharge starting point determination unit is used to determine the starting time of intermittent discharge of industrial wastewater. The sewage treatment module also includes an automatic control unit that dynamically adjusts various parameters in the sewage treatment process based on the predicted results of the sewage water quality parameter curve to cope with sewage fluctuations.
[0032] Embodiment: The present invention provides a technical solution, a method for dynamic regulation of sewage treatment based on data analysis, comprising the following steps:
[0033] Obtain historical data of sewage water quality parameters and flow from the data storage module, and generate standard water quality parameter curves and flow curves based on the acquired historical data:
[0034] The following steps are involved:
[0035] Step 1: Obtain historical data on sewage quality parameters and flow at the same time on different dates, and establish a set of equations to solve: Where a and b represent different dates, Q2(a) and Q2(b) represent the industrial wastewater flow data on dates a and b, C2(a) and C2(b) represent the industrial wastewater water quality parameter data on dates a and b, Q1 represents the urban sewage flow data, and C1 represents the urban sewage water quality parameter data; C B (a) and C B (b) represents the water quality parameter data obtained by the detection instrument on dates a and b; solving the equations to obtain Q1 and C1;
[0036] Step 2: Repeat step 1 at different time points to obtain the water quality parameters and flow time series of urban sewage, and generate standard water quality parameter curves and flow curves.
[0037] In the historical data, at the time point SJD of day x1, there is no industrial wastewater discharge, and the urban sewage volume and water quality data can be directly obtained based on the data obtained by the detection instrument. At the time points SJD of days x2 and x3, there is industrial wastewater discharge, and the industrial wastewater discharge information is substituted into the equation group to obtain the urban sewage volume and water quality data. In this way, two sets of urban sewage volume and water quality data are obtained.
[0038] The number of standard water quality parameter curves and flow curves may not be one, but the two are in a one-to-one correspondence; for example, the water volume and water quality of urban sewage may be different between weekdays and holidays. Similar data can be merged through a clustering algorithm. When two sets of urban sewage water volume and water quality data are similar, if both are data generated during weekdays, they can be merged to extract typical standard water quality parameter curves and flow curves; if the data are not similar, they are not merged, but two sets of standard water quality parameter curves and flow curves are generated.
[0039] The real-time water quality parameter curve and flow curve are obtained through the detection instrument; the flow deviation curve is obtained based on the real-time flow curve and the standard flow curve:
[0040] Determine whether the flow deviation curve is consistent with the characteristics of intermittent discharge of industrial wastewater. If so, the real-time water quality parameter curve is the real-time water quality parameter curve after dilution. The water quality parameter deviation curve after dilution is obtained based on the real-time water quality parameter curve after dilution and the standard water quality parameter curve. The water quality parameter deviation curve before dilution is obtained based on the water quality parameter deviation curve after dilution.
[0041] Subtract the water quality parameters on the standard water quality parameter curve from the water quality parameters on the diluted real-time water quality parameter curve to obtain a diluted water quality parameter deviation curve; obtain the standard flow curve and the real-time flow curve, subtract the flow on the real-time flow curve from the flow on the standard flow curve to obtain a flow deviation curve; multiply the water quality parameters on the diluted water quality parameter deviation curve by the flow on the real-time flow curve to obtain a water quality parameter change curve;
[0042] Multiply the water quality parameters on the standard water quality parameter curve by the flow rate on the real-time flow rate curve to obtain the standard quantity curve of the water quality parameters; add the standard quantity curve of the water quality parameters to the change quantity curve of the water quality parameters to obtain the water quality parameter quantity curve of the industrial wastewater; divide the water quality parameter quantity curve of the industrial wastewater by the flow rate deviation curve to obtain the water quality parameter deviation curve before dilution;
[0043] If the change in water quality parameters is not less than zero, the water quality parameters of industrial wastewater are greater than the water quality parameters of urban sewage. If the change in water quality parameters is less than zero, the water quality parameters of industrial wastewater are less than the water quality parameters of urban sewage. The change in water quality parameters itself has positive and negative signs and no additional addition is required.
[0044] The water quality parameter deviation curve before dilution is determined by calculating the water quality parameter quantity. For example, if the water quality parameter is COD, the change in COD caused by industrial wastewater discharge is determined by multiplying the water quality parameter on the water quality parameter deviation curve after dilution with the flow rate on the real-time flow curve, that is, multiplying the concentration difference and the flow rate. When the concentration difference is greater than zero, the industrial wastewater discharge produces additional COD on the basis of the COD of urban sewage, and vice versa.
[0045] If it does not meet the requirements, the flow deviation curve will be monitored and the sewage will be dynamically regulated according to the standard water quality parameter curve.
[0046] Analyze the matching degree between the water quality parameter deviation curve before dilution and the water quality parameter curve of intermittent discharge of industrial wastewater to determine the pattern of intermittent discharge of industrial wastewater; according to the pattern of intermittent discharge of industrial wastewater and the standard water quality parameter curve, obtain the prediction result of the sewage water quality parameter curve:
[0047] Obtain the public industrial wastewater quality parameter data and wastewater flow data from historical data, and obtain the water quality parameter curve of intermittent discharge of industrial wastewater. Let Li represent the water quality parameter curve of intermittent discharge of the i-th industrial wastewater, and calculate the root mean square error between the water quality parameter deviation curve before dilution from time tT to time t and the water quality parameter curve Li of intermittent discharge of the i-th industrial wastewater, where the water quality parameter deviation curve before dilution from time tT is aligned with the starting point of the water quality parameter curve of intermittent discharge of industrial wastewater; T is the time window, t is the current time; obtain the dilution from time tT to time t The minimum root mean square error between the water quality parameters before release and the water quality parameter curves of all intermittent discharges of industrial wastewater is calculated. Let the water quality parameter curve of intermittent discharge of industrial wastewater corresponding to the minimum root mean square error be Lmin. The minimum root mean square error is converted to the matching degree. The matching degree is inversely correlated with the root mean square error. The starting point t0 of intermittent discharge of industrial wastewater is determined on the real-time water quality parameter curve. Starting from time t0, the standard water quality parameter curve and the water quality parameter curve Lmin of intermittent discharge of industrial wastewater are superimposed to obtain the predicted result of the sewage water quality parameter curve after the current time t. The superposition method is determined by referring to the equation: All the items on the left are known items, and the items on the right are the predicted sewage quality parameters.
[0048] Determining the starting point of intermittent discharge of industrial wastewater also includes the following steps:
[0049] Obtain the water quality parameter curve for intermittent discharge of industrial wastewater, align the current time t with the starting point of the water quality parameter curve for intermittent discharge of industrial wastewater, calculate the root mean square error between the water quality parameter deviation curve before dilution and the water quality parameter curve for intermittent discharge of industrial wastewater within the time window T, gradually shift the water quality parameter curve for intermittent discharge of industrial wastewater forward according to the time step T / K, and obtain the root mean square error between the water quality parameter deviation curve before dilution after the shift and the water quality parameter curve for intermittent discharge of industrial wastewater. When the total step length of the shift reaches T, the shift operation is completed; determine the shift step length step corresponding to the minimum root mean square error, and subtract step from time t to obtain the starting point of intermittent discharge of industrial wastewater, where K is a positive integer. Adjust the treatment parameters in advance based on the predicted results of the wastewater water quality parameter curve to cope with wastewater fluctuations.
[0050] Since the root mean square error is calculated according to the time window T, this situation will exist at this time. Within a time window T, assuming that the start time of industrial wastewater discharge is T / 2 and the current time is T, it is detected whether the flow deviation curve is consistent with the characteristics of intermittent discharge of industrial wastewater, and the water quality parameter curve of intermittent discharge of industrial wastewater corresponding to the minimum root mean square error within the time [0,T] is determined to be Lmin. After determining Lmin, there is no intermittent discharge of industrial wastewater within [0,T / 2], but it is calculated as if there is intermittent discharge of industrial wastewater. When the starting point is within [0,T / 2), the error will increase; when the start time reaches T / 2, there is intermittent discharge of industrial wastewater within [T / 2,3T / 2], and it is calculated as if there is intermittent discharge of industrial wastewater, and the error decreases; when the starting point is within (T / 2,T], there is a time difference between the water quality parameter curve of intermittent discharge of industrial wastewater and the standard water quality parameter curve, and the error will increase after superposition.
[0051] During the sewage treatment process, the matching degree is tracked in real time, which includes the following steps:
[0052] The predicted result of the sewage water quality parameter curve is used as the comparison parameter curve to obtain the matching degree between the real-time water quality parameter curve and the comparison parameter curve. When the matching degree is not less than the set threshold, the comparison parameter curve is consistent with the real-time water quality parameter curve and no re-matching is required;
[0053] When the matching degree is less than the set threshold, determine whether the flow deviation curve is consistent with the characteristics of intermittent discharge of industrial wastewater. If it is consistent, keep the starting time t0 of the intermittent discharge of industrial wastewater unchanged, obtain the root mean square error between the water quality parameter deviation curve before dilution from t0 to the current time and the water quality parameter curve Li of the i-th industrial wastewater intermittent discharge, re-obtain the water quality parameter curve Lmin of the intermittent discharge of industrial wastewater corresponding to the minimum value of the root mean square error, superimpose the standard water quality parameter curve and the water quality parameter curve Lmin of the intermittent discharge of industrial wastewater, and obtain the predicted result of the sewage water quality parameter curve after the current time; if it does not match, there is no intermittent discharge of industrial wastewater, and the sewage is dynamically regulated according to the standard water quality parameter curve.
[0054] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the invention is defined by the appended claims, not the foregoing description, and all variations within the meaning and range of equivalents of the claims are intended to be included therein. Any reference sign in a claim should not be construed as limiting the claim to which it relates.
Claims
1. A dynamic control method for sewage treatment based on data analysis, characterized in that: The following steps are involved: Acquire historical data of sewage water quality parameters and flow from the data storage module, and generate standard water quality parameter curves and flow curves based on the acquired historical data; A real-time water quality parameter curve and a flow curve are obtained through a detection instrument; a flow deviation curve is obtained based on the real-time flow curve and the standard flow curve, and it is determined whether the flow deviation curve is consistent with the characteristics of intermittent discharge of industrial wastewater. If so, the real-time water quality parameter curve is the real-time water quality parameter curve after dilution, and a water quality parameter deviation curve after dilution is obtained based on the real-time water quality parameter curve after dilution and the standard water quality parameter curve. The water quality parameter deviation curve before dilution is obtained based on the water quality parameter deviation curve after dilution; if not, the flow deviation curve is monitored and the wastewater is dynamically regulated according to the standard water quality parameter curve; Analyze the matching degree between the water quality parameter deviation curve before dilution and the water quality parameter curve of intermittent discharge of industrial wastewater to determine the intermittent discharge pattern of industrial wastewater; obtain the predicted results of the wastewater water quality parameter curve based on the intermittent discharge pattern of industrial wastewater and the standard water quality parameter curve, and adjust the treatment parameters in advance based on the predicted results of the wastewater water quality parameter curve to cope with the fluctuation of wastewater; Generating the standard water quality parameter curve and flow curve based on the acquired historical data comprises the following steps: Step 1: Obtain historical data on sewage quality parameters and flow at the same time on different dates, and establish a set of equations to solve: Where a and b represent different dates, Q2(a) and Q2(b) represent the industrial wastewater flow data on dates a and b, C2(a) and C2(b) represent the industrial wastewater water quality parameter data on dates a and b, Q1 represents the urban sewage flow data, and C1 represents the urban sewage water quality parameter data; C B (a) and C B (b) represents the water quality parameter data obtained by the detection instrument on dates a and b; Solve the system of equations to obtain Q1 and C1; Step 2: Repeat step 1 at different time points to obtain the water quality parameters and flow time series of urban sewage, and generate standard water quality parameter curves and flow curves.
2. A method for dynamic regulation of sewage treatment based on data analysis according to claim 1, characterized in that: The method further comprises the following steps: obtaining a diluted water quality parameter deviation curve according to the diluted real-time water quality parameter curve and the standard water quality parameter curve; Subtract the water quality parameters on the standard water quality parameter curve from the water quality parameters on the diluted real-time water quality parameter curve to obtain a diluted water quality parameter deviation curve; obtain the standard flow curve and the real-time flow curve, subtract the flow on the real-time flow curve from the flow on the standard flow curve to obtain a flow deviation curve; multiply the water quality parameters on the diluted water quality parameter deviation curve by the flow on the real-time flow curve to obtain a water quality parameter change curve; Multiply the water quality parameters on the standard water quality parameter curve by the flow rate on the real-time flow rate curve to obtain the standard quantity curve of the water quality parameters; add the standard quantity curve of the water quality parameters to the change quantity curve of the water quality parameters to obtain the water quality parameter quantity curve of the industrial wastewater; divide the water quality parameter quantity curve of the industrial wastewater by the flow rate deviation curve to obtain the water quality parameter deviation curve before dilution; If the change in water quality parameters is not less than zero, the water quality parameters of industrial wastewater are greater than the water quality parameters of urban sewage. If the change in water quality parameters is less than zero, the water quality parameters of industrial wastewater are less than the water quality parameters of urban sewage. The change in water quality parameters itself has positive and negative signs and no additional addition is required.
3. A method for dynamic regulation of sewage treatment based on data analysis according to claim 2, characterized in that: The analysis of the matching degree between the water quality parameter deviation curve before dilution and the water quality parameter curve of the intermittent discharge of industrial wastewater further comprises the following steps: Obtain the public industrial wastewater quality parameter data and wastewater flow data from historical data, and obtain the water quality parameter curve of intermittent discharge of industrial wastewater. Let Li represent the water quality parameter curve of intermittent discharge of the i-th industrial wastewater, and calculate the root mean square error between the water quality parameter deviation curve before dilution from time tT to time t and the water quality parameter curve Li of intermittent discharge of the i-th industrial wastewater, where the water quality parameter deviation curve before dilution from time tT is aligned with the starting point of the water quality parameter curve of intermittent discharge of industrial wastewater; T is the time window, t is the current time; obtain the dilution from time tT to time t The minimum root mean square error between the water quality parameters before discharge and the water quality parameter curves of all intermittent discharges of industrial wastewater is calculated, and the water quality parameter curve of intermittent discharge of industrial wastewater corresponding to the minimum root mean square error is set as Lmin. The minimum root mean square error is converted to obtain the matching degree, and the matching degree is inversely correlated with the root mean square error; the starting point t0 of intermittent discharge of industrial wastewater is determined on the real-time water quality parameter curve, and from time t0, the standard water quality parameter curve and the water quality parameter curve Lmin of intermittent discharge of industrial wastewater are superimposed to obtain the prediction result of the sewage water quality parameter curve after the current time t.
4. A method for dynamic regulation of sewage treatment based on data analysis according to claim 3, characterized in that: Determining the starting point of intermittent discharge of industrial wastewater also includes the following steps: Obtain the water quality parameter curve of intermittent discharge of industrial wastewater, align the current time t with the starting point of the water quality parameter curve of intermittent discharge of industrial wastewater, calculate the root mean square error between the water quality parameter deviation curve before dilution and the water quality parameter curve of intermittent discharge of industrial wastewater in the time window T, and gradually shift the water quality parameter curve of intermittent discharge of industrial wastewater forward according to the time step T / K to obtain the root mean square error between the water quality parameter deviation curve before dilution after translation and the water quality parameter curve of intermittent discharge of industrial wastewater. When the total step length of the translation reaches T, the translation operation is completed; determine the translation step length step corresponding to the minimum value of the root mean square error, subtract step from the time t to obtain the starting point of intermittent discharge of industrial wastewater, and K is a positive integer.
5. A method for dynamic regulation of sewage treatment based on data analysis according to claim 4, characterized in that: Tracking the matching degree also includes the following steps: The predicted result of the sewage water quality parameter curve is used as the comparison parameter curve to obtain the matching degree between the real-time water quality parameter curve and the comparison parameter curve. When the matching degree is not less than the set threshold, the comparison parameter curve is consistent with the real-time water quality parameter curve and no re-matching is required; When the matching degree is less than the set threshold, determine whether the flow deviation curve is consistent with the characteristics of intermittent discharge of industrial wastewater. If it is consistent, keep the starting time t0 of the intermittent discharge of industrial wastewater unchanged, obtain the root mean square error between the water quality parameter deviation curve before dilution from t0 to the current time and the water quality parameter curve Li of the i-th industrial wastewater intermittent discharge, re-obtain the water quality parameter curve Lmin of the intermittent discharge of industrial wastewater corresponding to the minimum value of the root mean square error, superimpose the standard water quality parameter curve and the water quality parameter curve Lmin of the intermittent discharge of industrial wastewater, and obtain the predicted result of the sewage water quality parameter curve after the current time; if it does not match, there is no intermittent discharge of industrial wastewater, and the sewage is dynamically regulated according to the standard water quality parameter curve.
6. A sewage treatment dynamic control system based on data analysis, used to implement the sewage treatment dynamic control method based on data analysis as claimed in claim 1, characterized in that: It includes a data storage module, a data acquisition module, a sewage treatment module and an analysis module; the output end of the data acquisition module is connected to the input end of the data storage module and the analysis module, and is used to obtain the flow and water quality parameter data of the sewage; the output end of the data storage module is connected to the input end of the analysis module, and is used to store historical data of the sewage water quality parameters and flow; the output end of the analysis module is connected to the input end of the sewage treatment module, and is used to analyze the real-time water quality parameter curve to obtain the water quality parameter deviation curve before dilution, and determine the industrial wastewater intermittent discharge water quality parameter curve that matches the current water quality parameters based on the water quality parameter deviation curve before dilution, and obtain the predicted result of the sewage water quality parameter curve based on the industrial wastewater intermittent discharge water quality parameter curve; the sewage treatment module adjusts the treatment parameters in advance according to the predicted result of the sewage water quality parameter curve to cope with sewage fluctuations.
7. A sewage treatment dynamic control system based on data analysis according to claim 6, characterized in that: The data acquisition module also includes a detection unit and a public information acquisition unit; the detection unit obtains the real-time water quality parameter curve and flow curve of the sewage through a detection instrument; the public information acquisition unit is used to obtain the sewage discharge information disclosed by industrial enterprises.
8. A sewage treatment dynamic control system based on data analysis according to claim 7, characterized in that: The analysis module also includes a standard curve generation unit, a deviation analysis unit, a conversion unit, a matching analysis and tracking unit, and a discharge starting point determination unit; the standard curve generation unit is used to generate a standard water quality parameter curve and a flow curve when there is no intermittent discharge of industrial wastewater; the deviation analysis unit is used to analyze the deviation between the real-time water quality parameter curve after dilution and the standard water quality parameter curve to obtain the water quality parameter deviation curve after dilution; the conversion unit is used to convert the water quality parameter deviation curve after dilution into the water quality parameter deviation curve before dilution; the matching analysis and tracking unit is used to analyze the matching degree between the water quality parameter deviation curve before dilution and the water quality parameter curve of intermittent discharge of industrial wastewater to generate a prediction result of the wastewater water quality parameter curve; the discharge starting point determination unit is used to determine the starting time of intermittent discharge of industrial wastewater.
9. A sewage treatment dynamic control system based on data analysis according to claim 8, characterized in that: The sewage treatment module also includes an automatic control unit that dynamically adjusts various parameters in the sewage treatment process according to the prediction results of the sewage water quality parameter curve to cope with sewage fluctuations.
Citation Information
Patent Citations
Sewage treatment data real-time monitoring method and system based on Internet of Things
CN119335940A
Supporting method and system of sewage disposal for energy saving
KR1020170080908A