An intelligent coagulant dosing method for water plants under multi-water source switching
The deep neural network model is used to monitor water quality and flow data in water plants in real time, and automatically adjust the coagulant dosage, solving the coagulant dosage control problems caused by changes in water source volume and quality in multi-water supply systems, and improving efficiency. Water treatment efficiency and water quality stability.
Patent Information
- Application Number
- CN202411069108.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-06
AI Technical Summary
In water supply systems with multiple water sources, due to the instability and variability of water source quantity and quality, traditional coagulant dosage control is difficult to adapt to, affecting treatment efficiency and effluent compliance.
The deep neural network model is used to predict the coagulant dosage based on historical and real-time data, monitor water quality and flow data in real time, and automatically adjust the coagulant dosage to ensure the continuity and stability of the water treatment process.
It improves water treatment efficiency, ensures stable water quality, significantly improves the accuracy of coagulant dosage and intelligent decision-making, and adapts to changes in multiple water source environments.
Smart Images

Figure CN118586746B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of water treatment and environmental engineering, and in particular to an intelligent coagulant adding method for a water plant under multi-water source switching. Background Art
[0002] The coagulation and sedimentation process of water plants has the characteristics of time-varying parameters, strong nonlinearity, large hysteresis and uncertainty, and disturbances such as sudden changes in raw water quality and water volume can easily have an adverse effect on the coagulation and sedimentation process. The influent flow rate often changes, the turbidity of raw water will fluctuate randomly and significantly with the influence of seasonal weather, and the influence of temperature, pH and other factors on the demand for coagulant addition are also different.
[0003] Traditional coagulant dosing control methods are often designed based on the water quality characteristics of a single water source, which is difficult to adapt to the rapid changes in water volume and water quality when the water source is switched, resulting in improper coagulant dosing control, affecting treatment efficiency and water quality compliance. In a multi-source water supply system, the instability and variability of water volume and water quality pose a huge challenge to the alum coagulation and sedimentation treatment process. Summary of the invention
[0004] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides an intelligent coagulant addition method for a water plant under multi-water source switching.
[0005] In order to achieve the above object, the main technical solutions adopted by the present invention include:
[0006] An embodiment of the present invention provides an intelligent coagulant dosing method for a water plant under multi-water source switching, the method is applied to a water treatment process of a water plant, the water plant obtains raw water from multiple water sources, and the method includes:
[0007] S1. Input the first type of sequence data corresponding to the current time period of the water plant into a pre-trained sedimentation tank coagulant dosage prediction model to obtain a predicted value of the coagulant dosage in the first time interval after the current time of the specified sedimentation tank;
[0008] The first type of sequence data includes: a reused water flow sequence QR, a reused water consumption coagulant dosage sequence AR, a flow sequence QC entering a designated sedimentation tank, and a coagulant sequence and a water source flow sequence corresponding to each water source of the water plant;
[0009] The first type of sequence data corresponding to different historical time periods is used to train the sedimentation tank coagulant dosage prediction model to obtain a trained sedimentation tank coagulant dosage prediction model;
[0010] The sedimentation tank coagulant dosage prediction model is a deep neural network model;
[0011] S2. If the water plant meets the preset dosing conditions within a first time interval after the current time, a first dosing instruction is issued to the coagulant dosing device corresponding to the designated sedimentation tank in the water plant;
[0012] The first addition instruction is an instruction to add coagulant to the designated sedimentation tank according to the predicted value of the coagulant dosage.
[0013] Preferably,
[0014] The coagulant sequence corresponding to the nth water source of the water plant is:
[0015] A (n) ={A (n)t , A (n)t-5 , A (n)t-10 ...A (n)t-5(i-1) ...A (n)t-5(N-1)};
[0016] Among them, A (n)t-5(i-1) represents the coagulant dosage corresponding to the nth water source 5 (i-1) minutes before the current time t; N is a preset value; i is an integer, and i∈(1, N);
[0017] The water source flow sequence corresponding to the nth water source of the water plant is:
[0018] Q (n) ={Q (n)t , Q (n)t-5 , Q (n)t-10 ...Q (n)t-5(i-1) ...Q (n)t-5(N-1)};
[0019] Among them, Q (n)t-5(i-1) It represents the water source flow rate corresponding to the nth water source 5 (i-1) minutes before the current time t;
[0020] The recycled water flow sequence QR is:
[0021] QR={QR t , QR t-5 , QR t-10 ...QR t-5(i-1 )...QR t-5(N-1)};
[0022] Among them, QR t-5(i-1) is the recycled water flow rate corresponding to 5 (i-1) minutes before the current time t;
[0023] The coagulant dosage sequence AR of recycled water consumption is:
[0024] AR={AR t , A.R.t-5 , A.R. t-10 ...AR t-5(i-1) ...AR t-5(N-1)};
[0025] Among them, AR t-5(i-1) It is the amount of coagulant consumed by the recycled water corresponding to 5 (i-1) minutes before the current time t.
[0026] Preferably,
[0027] The coagulant dosage A corresponding to the nth water source 5 (i-1) minutes before the current time t (n)t-5(i-1) It is calculated by formula (1);
[0028] Wherein, the formula (1) is: (n)t-5(i-1) =K (n)t-5(i-1) '×Tu (n)t-5(i-1) '×C T(n)t-5(i-1) '×C PH(n)t-5(i-1) '×C COD(n)t-5(i-1) ';
[0029] Among them, K (n)t-5(i-1) ' is the pre-set comprehensive proportional coefficient of the amount of alum added and turbidity corresponding to the nth water source; Tu (n)t-5(i-1) ' is the comprehensive inlet turbidity corresponding to the nth water source 5 (i-1) minutes before the current time t; C T(n)t-5(i-1) ' is the comprehensive temperature correction coefficient corresponding to the nth water source 5 (i-1) minutes before the current time t; C PH(n)t-5(i-1) ' is the comprehensive PH correction coefficient corresponding to the nth water source 5 (i-1) minutes before the current time t; C COD(n)t-5(i-1) ' is the comprehensive organic matter correction coefficient corresponding to the nth water source 5 (i-1) minutes before the current time t.
[0030] Preferably,
[0031] The comprehensive temperature correction coefficient C corresponding to the nth water source 5 (i-1) minutes before the current time t T(n)t-5(i-1) 'Calculated by formula (2);
[0032] The formula (2) is: C T(n)t-5(i-1) '=w1×C T(n)t-5(i-1) +w2×C T(n)t-5(i-1)-5 +w3×C T(n)t-5(i-1)-10 ....+w m ×C T(n)t-5(i-1)-5(m-1) ;
[0033] C T(n)t-5(i-1)-5(m-1) is the temperature correction coefficient corresponding to the nth water source F minutes before the current time t; wm is the pre-set mth weight coefficient; where F=5(i-1)+5(m-1);
[0034] The comprehensive pH correction coefficient C corresponding to the nth water source 5 (i-1) minutes before the current time t PH(n)t-5(i-1) ' is calculated by formula (3);
[0035] The formula (3) is: C PH(n)t-5(i-1) '=w1×C PH(n)t-5(i-1) +w2×C PH(n)t-5(i-1)-5 +w3×C PH(n)t-5(i-1)-10 ....+w m ×C PH(n)t-5(i-1)-5(m-1) ;
[0036] C PH(n)t-5(i-1)-5(m-1) is the pH correction coefficient corresponding to the nth water source F minutes before the current time t;
[0037] The comprehensive organic matter correction coefficient C corresponding to the nth water source 5 (i-1) minutes before the current time t COD(n)t-5(i-1) ' is calculated by formula (4);
[0038] The formula (4) is: C COD(n)t-5(i-1) '=w1×C COD(n)t-5(i-1) +w2×C COD(n)t-5(i-1)-5 +w3×C COD(n)t-5(i-1)-10 ....+w m ×C COD(n)t-5(i-1)-5(m-1) ;
[0039] C COD(n)t-5(i-1)-5(m-1) is the organic matter correction coefficient corresponding to the nth water source F minutes before the current time t.
[0040] Preferably,
[0041] The temperature correction coefficient C corresponding to the nth water source F minutes before the current time t T(n)t-5(i-1)-5(m-1) It is calculated by formula (5);
[0042] The formula (5) is: ;
[0043] in, is the inlet water temperature corresponding to F minutes before the current time t; is the standard temperature; is the first empirical constant set in advance.
[0044] Preferably,
[0045] The pH correction coefficient C corresponding to the nth water source F minutes before the current time tPH(n)t-5(i-1)-5(m-1) It is calculated by formula (6);
[0046] The formula (6) is: ;
[0047] in, is the pH value corresponding to F minutes before the current time t; It is the preset optimal pH value; is a preset second empirical constant;
[0048] The organic matter correction coefficient C corresponding to the nth water source F minutes before the current time t COD(n)t-5(i-1)-5(m-1) It is calculated by formula (7);
[0049] Wherein, the formula (7) is:
[0050] ;
[0051] in, is the chemical oxygen demand corresponding to 5 (i-1) minutes before the current time t; is a pre-set threshold; is the third preset empirical constant.
[0052] Preferably,
[0053] The first empirical constant It is obtained by fitting the first type of temperature correction coefficient in advance; the first type of temperature correction coefficient is the temperature correction coefficient corresponding to the effluent turbidity monitored in the historical time period when it meets the preset conditions;
[0054] The second empirical constant It is obtained by fitting the first type of PH correction coefficient in advance; the first type of PH correction coefficient is the PH correction coefficient corresponding to the effluent turbidity monitored in the historical time period when it meets the preset conditions;
[0055] The third empirical constant It is obtained in advance by fitting the first type of organic matter correction coefficient; the first type of organic matter correction coefficient is the organic matter correction coefficient corresponding to the effluent turbidity monitored in the historical time period when it meets the preset conditions.
[0056] Preferably,
[0057] The dosing condition is one of the first preset dosing condition, the second preset dosing condition and the third preset dosing condition;
[0058] The first preset addition condition is:
[0059] ,or,
[0060] ,or,
[0061] ;
[0062] in, is the inlet water temperature corresponding to 5c minutes after the current time t; the first time interval is greater than or equal to 5c minutes; is the corresponding inlet water temperature 5 (c-1) minutes after the current time t; is the pH value corresponding to 5c minutes after the current time t; is the pH value corresponding to 5 (c-1) minutes after the current time t; is the chemical oxygen demand corresponding to 5c minutes after the current time t; is the chemical oxygen demand corresponding to 5 (c-1) minutes after the current time t;
[0063] The second preset addition condition is:
[0064] ;
[0065] in, is the coagulant dosage corresponding to the nth water source 5c minutes after the current time t; is the coagulant dosage corresponding to the nth water source 5 (c-1) minutes after the current time t; the third preset dosage condition is: the water source switching device for switching water sources in the water plant receives a water source switching instruction.
[0066] Preferably,
[0067] The mth weight coefficient w m It is calculated by formula (8);
[0068] The formula (8) is:
[0069] ;
[0070] is a preset value, and .
[0071] Preferably,
[0072] The specific value of each weight coefficient in the first weight coefficient sequence is determined by optimizing through a genetic algorithm based on the first type of sequence data corresponding to the historical time period;
[0073] Wherein, the first weight coefficient sequence is:
[0074] W = {w1, w2, w3...w m};
[0075] The optimization goal of the genetic algorithm is to minimize the difference between the calculated coagulant dosage and the actual coagulant demand;
[0076] Among them, the actual coagulant demand is the corresponding coagulant dosage when the effluent turbidity meets the pre-set conditions.
[0077] The beneficial effects of the present invention are as follows: the intelligent coagulant dosing method for a water plant under multi-water source switching of the present invention monitors the water quality and flow data of the water plant in real time, and uses a deep neural network model to predict the coagulant dosage based on these data and pre-set conditions. When a situation requiring adjustment is detected (such as a sudden change in water quality or a water source switch), the coagulant dosage can be automatically adjusted according to the predicted value to ensure the continuity and stability of the water treatment process. In addition, the method of the present invention uses historical data and a deep neural network model to predict the coagulant dosage, which improves the accuracy of the prediction and the intelligence of the decision-making. Compared with the prior art, it can significantly improve the water treatment efficiency and ensure the stability of water quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 The present invention is a flow chart of a method for adding an intelligent coagulant in a water plant under switching of multiple water sources. DETAILED DESCRIPTION
[0079] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below through specific implementation modes in conjunction with the accompanying drawings.
[0080] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0081] See also Figure 1 This embodiment provides a method for adding an intelligent coagulant to a water plant under multi-water source switching. The method is applied to a water treatment process of a water plant. The water plant obtains raw water from multiple water sources. The method includes:
[0082] S1. Input the first type of sequence data corresponding to the current time period of the water plant into a pre-trained sedimentation tank coagulant dosage prediction model to obtain a predicted value of the coagulant dosage in the first time interval after the current time of the specified sedimentation tank;
[0083] The first type of sequence data includes: a reused water flow sequence QR, a reused water consumption coagulant dosage sequence AR, a flow sequence QC entering a designated sedimentation tank, and a coagulant sequence and a water source flow sequence corresponding to each water source of the water plant;
[0084] The first type of sequence data corresponding to different historical time periods is used to train the sedimentation tank coagulant dosage prediction model to obtain a trained sedimentation tank coagulant dosage prediction model;
[0085] The sedimentation tank coagulant dosage prediction model is a deep neural network model;
[0086] S2. If the water plant meets the preset dosing conditions within a first time interval after the current time, a first dosing instruction is issued to the coagulant dosing device corresponding to the designated sedimentation tank in the water plant;
[0087] The first addition instruction is an instruction to add coagulant to the designated sedimentation tank according to the predicted value of the coagulant dosage.
[0088] In this embodiment, a method for intelligent coagulant addition in a water plant under multi-water source switching uses a deep neural network model to predict the amount of coagulant added, performs accurate calculations based on historical data and current conditions, reduces coagulant waste, and optimizes the amount of addition. In the first time interval after the current time, the water plant can monitor water quality changes in real time and meet the preset addition conditions, automatically adjust the amount of coagulant added, and ensure the stability and efficiency of the water treatment process. Taking into account the situation that the water plant obtains raw water from multiple water sources, a more comprehensive addition plan is provided by comprehensively considering the recycled water flow, the amount of coagulant consumed, the flow entering the sedimentation tank, and the coagulant and water source flow data corresponding to each water source to adapt to changes in a multi-water source environment. Using pre-trained models and real-time monitoring data, intelligent coagulant addition management is realized, manual intervention is reduced, and management efficiency and decision-making accuracy are improved.
[0089] In the practical application of this embodiment, the coagulant sequence corresponding to the nth water source of the water plant is:
[0090] A (n) ={A (n)t , A (n)t-5 , A (n)t-10 ...A (n)t-5(i-1) ...A (n)t-5(N-1)};
[0091] Among them, A (n)t-5(i-1) represents the coagulant dosage corresponding to the nth water source 5 (i-1) minutes before the current time t; N is a preset value; i is an integer, and i∈(1, N);
[0092] The water source flow sequence corresponding to the nth water source of the water plant is:
[0093] Q (n) ={Q (n)t , Q (n)t-5 , Q (n)t-10 ...Q (n)t-5(i-1) ...Q (n)t-5(N-1)};
[0094] Among them, Q (n)t-5(i-1) It represents the water source flow rate corresponding to the nth water source 5 (i-1) minutes before the current time t;
[0095] The recycled water flow sequence QR is:
[0096] QR={QR t , QR t-5 , QR t-10 ...QR t-5(i-1) )...QR t-5(N-1)};
[0097] Among them, QR t-5(i-1) is the recycled water flow rate corresponding to 5 (i-1) minutes before the current time t;
[0098] The coagulant dosage sequence AR of recycled water consumption is:
[0099] AR={AR t , A.R. t-5 , A.R. t-10 ...AR t-5(i-1) ...AR t-5(N-1)};
[0100] Among them, AR t-5(i-1) It is the amount of coagulant consumed by the recycled water corresponding to 5 (i-1) minutes before the current time t.
[0101] In this embodiment, by recording detailed data of each water source and recycled water at different times (once every 5 minutes), the comprehensiveness and timeliness of the data are ensured. These data provide a solid foundation for the training and prediction of the deep neural network model.
[0102] By analyzing the data series at different times (A (n) , Q (n), QR, AR), can capture the changing trends of source water and recycled water in different periods of time, providing an important basis for the prediction of coagulant dosage. Using deep learning technology and training models with a large amount of historical data, the system can handle complex nonlinear relationships and improve the accuracy and stability of predictions.
[0103] Specifically, the coagulant dosage A corresponding to the nth water source 5 (i-1) minutes before the current time t (n)t-5(i-1) It is calculated by formula (1);
[0104] Wherein, the formula (1) is: (n)t-5(i-1) =K (n)t-5(i-1) '×Tu (n)t-5(i-1) '×C T(n)t-5(i-1) '×C PH(n)t-5(i-1) '×C COD(n)t-5(i-1) ';
[0105] Among them, K (n)t-5(i-1) ' is the pre-set comprehensive proportional coefficient of the amount of alum added and turbidity corresponding to the nth water source; Tu (n)t-5(i-1) ' is the comprehensive inlet turbidity corresponding to the nth water source 5 (i-1) minutes before the current time t; CT (n)t-5(i-1) ' is the comprehensive temperature correction coefficient corresponding to the nth water source 5 (i-1) minutes before the current time t; C PH(n)t-5(i-1) ' is the comprehensive PH correction coefficient corresponding to the nth water source 5 (i-1) minutes before the current time t; C COD(n)t-5(i-1) ' is the comprehensive organic matter correction coefficient corresponding to the nth water source 5 (i-1) minutes before the current time t.
[0106] Formula (1) comprehensively considers multiple influencing factors and can accurately calculate the amount of coagulant added for each water source at different time points, ensuring the optimal amount of coagulant used in the water treatment process. The application of comprehensive correction coefficients such as temperature, pH value and organic matter enables the calculation of coagulant dosage to adapt to water quality changes under different environmental conditions, provide a more accurate dosage plan, ensure the effectiveness of the water treatment process, make the calculation of dosage more scientific and reasonable, and provide the best coagulant dosage plan under different water quality conditions, thereby improving water treatment efficiency and effect.
[0107] In this embodiment, the comprehensive temperature correction coefficient C corresponding to the nth water source 5 (i-1) minutes before the current time t T(n)t-5(i-1) 'Calculated by formula (2);
[0108] The formula (2) is: C T(n)t-5(i-1) '=w1×C T(n)t-5(i-1) +w2×C T(n)t-5(i-1)-5 +w3×CT(n)t-5(i-1)-10 ....+w m ×C T(n)t-5(i-1)-5(m-1) ;
[0109] C T(n)t-5(i-1)-5(m-1) is the temperature correction coefficient corresponding to the nth water source F minutes before the current time t; w m is the pre-set mth weight coefficient; where F=5(i-1)+5(m-1);
[0110] In this embodiment, formula (2) uses the weighted average method to weight the temperature correction coefficients at different times, which can more smoothly reflect the temperature change trend and avoid the accidental fluctuation of the data at a single time affecting the calculation result. The temperature correction coefficients at multiple times are comprehensively considered, so that the calculation result can reflect the temperature change trend over a longer period of time, thereby improving the stability and accuracy of the calculation result. The pre-set weight coefficient (w m ) can be adjusted according to different environmental conditions and water source characteristics, making the temperature correction calculation more flexible and adaptable, and better able to adapt to different actual situations. Using data from multiple moments for weighted averaging can effectively reduce the errors and fluctuations caused by abnormal data at individual moments, ensuring that the calculation of the temperature correction coefficient is more stable and reliable.
[0111] The comprehensive pH correction coefficient C corresponding to the nth water source 5 (i-1) minutes before the current time t PH(n)t-5(i-1) ' is calculated by formula (3);
[0112] The formula (3) is: C PH(n)t-5(i-1) '=w1×C PH(n)t-5(i-1) +w2×C PH(n)t-5(i-1)-5 +w3×C PH(n)t-5(i-1)-10 ....+w m ×C PH(n)t-5(i-1)-5(m-1) ;
[0113] C PH(n)t-5(i-1)-5(m-1) is the pH correction coefficient corresponding to the nth water source F minutes before the current time t;
[0114] Formula (3) uses the weighted average method to weight the pH correction coefficients at different times, which can more smoothly reflect the pH change trend and avoid the accidental fluctuation of data at a single time affecting the calculation results. Comprehensively considering the pH correction coefficients at multiple times allows the calculation results to reflect the pH change trend over a longer period of time, improving the stability and accuracy of the calculation results. The pre-set weight coefficient (w m) can be adjusted according to different environmental conditions and water source characteristics, making the pH correction calculation more flexible and adaptable, and better able to adapt to different actual situations. Using weighted average of data at multiple times can effectively reduce the errors and fluctuations caused by abnormal data at individual times, ensuring that the calculation of the pH correction coefficient is more stable and reliable.
[0115] The comprehensive organic matter correction coefficient C corresponding to the nth water source 5 (i-1) minutes before the current time t COD(n)t-5(i-1) ' is calculated by formula (4);
[0116] The formula (4) is: C COD(n)t-5(i-1) '=w1×C COD(n)t-5(i-1) +w2×C COD(n)t-5(i-1)-5 +w3×C COD(n)t-5(i-1)-10 ....+w m ×C COD(n)t-5(i-1)-5(m-1) ;
[0117] C COD(n)t-5(i-1)-5(m-1) is the organic matter correction coefficient corresponding to the nth water source F minutes before the current time t.
[0118] This embodiment can more accurately reflect the changing trend of organic matter in the current water quality and improve the accuracy of organic matter correction by integrating the organic matter correction coefficients at different time points. The weighted average method is used to make full use of historical organic matter correction data, making the calculation results more stable and reliable, and reducing the errors caused by organic matter fluctuations at a single moment. Accurate organic matter correction coefficients help to more accurately calculate the amount of coagulant added, ensure that the amount of addition matches the current water quality conditions, and improve the use efficiency of the coagulant and the water treatment effect. The weighted average method can adjust the weight coefficient according to different water sources and environmental conditions, so that the system can flexibly adapt to various organic matter changes and improve the adaptability of the system.
[0119] Specifically, the temperature correction coefficient C corresponding to the nth water source F minutes before the current time t T(n)t-5(i-1)-5(m-1) It is calculated by formula (5);
[0120] The formula (5) is: ;
[0121] in, is the inlet water temperature corresponding to F minutes before the current time t; is the standard temperature; is the first preset empirical constant. e is the base of the natural logarithm.
[0122] In practical applications, accurate temperature correction coefficients help to dynamically adjust the amount of coagulant added according to the current and historical inlet water temperature, improving the adaptability and flexibility of the water treatment process. The application of standard temperature and pre-set first empirical constants gives the correction calculation a theoretical basis and practical experience support, ensuring the scientificity and practicality of the calculation results.
[0123] In fact, the pH correction coefficient C corresponding to the nth water source F minutes before the current time t PH(n)t-5(i-1)-5(m-1) It is calculated by formula (6);
[0124] The formula (6) is: ;
[0125] in, is the pH value corresponding to F minutes before the current time t; It is the preset optimal pH value; is a preset second empirical constant;
[0126] The organic matter correction coefficient C corresponding to the nth water source F minutes before the current time t COD(n)t-5(i-1)-5(m-1) It is calculated by formula (7);
[0127] Wherein, the formula (7) is:
[0128] ;
[0129] in, is the chemical oxygen demand corresponding to 5 (i-1) minutes before the current time t; is a pre-set threshold; is the third preset empirical constant.
[0130] In practical applications, the first empirical constant It is obtained by fitting the first type of temperature correction coefficient in advance; the first type of temperature correction coefficient is the temperature correction coefficient corresponding to the effluent turbidity monitored in the historical time period when it meets the preset conditions;
[0131] The second empirical constant It is obtained by fitting the first type of PH correction coefficient in advance; the first type of PH correction coefficient is the PH correction coefficient corresponding to the effluent turbidity monitored in the historical time period when it meets the preset conditions;
[0132] The third empirical constant It is obtained in advance by fitting the first type of organic matter correction coefficient; the first type of organic matter correction coefficient is the organic matter correction coefficient corresponding to the effluent turbidity monitored in the historical time period when it meets the preset conditions.
[0133] Preferably, the addition condition is one of the first preset addition condition, the second preset addition condition and the third preset addition condition;
[0134] The first preset addition condition is:
[0135] ,or,
[0136] ,or,
[0137] ;
[0138] in, is the inlet water temperature corresponding to 5c minutes after the current time t; the first time interval is greater than or equal to 5c minutes; is the corresponding inlet water temperature 5 (c-1) minutes after the current time t; is the pH value corresponding to 5c minutes after the current time t; is the pH value corresponding to 5 (c-1) minutes after the current time t; is the chemical oxygen demand corresponding to 5c minutes after the current time t; is the chemical oxygen demand corresponding to 5 (c-1) minutes after the current time t;
[0139] The second preset addition condition is:
[0140] ;
[0141] in, is the coagulant dosage corresponding to the nth water source 5c minutes after the current time t; is the coagulant dosage corresponding to the nth water source 5 (c-1) minutes after the current time t;
[0142] The third preset addition condition is: a water source switching device for switching water sources in the water plant receives a water source switching instruction.
[0143] In one embodiment, the mth weight coefficient w m It is calculated by formula (8);
[0144] The formula (8) is:
[0145] ;
[0146] is a preset value, and .
[0147] In another embodiment, the specific value of each weight coefficient in the first weight coefficient sequence is determined by optimizing through a genetic algorithm based on the first type of sequence data corresponding to the historical time period;
[0148] Wherein, the first weight coefficient sequence is:
[0149] W = {w1, w2, w3...w m};
[0150] The optimization goal of the genetic algorithm is to minimize the difference between the calculated coagulant dosage and the actual coagulant demand;
[0151] Among them, the actual coagulant demand is the corresponding coagulant dosage when the effluent turbidity meets the pre-set conditions.
[0152] In this embodiment, a method for adding an intelligent coagulant to a water plant under multi-water source switching is used to predict the amount of coagulant added by combining a deep neural network model with a variety of historical data, more accurately reflecting current and future water quality changes, thereby accurately adjusting the amount of coagulant added. Accurate prediction and real-time adjustment of coagulant dosage can reduce coagulant waste, reduce water treatment costs, and maximize economic benefits. The empirical constants and weight coefficients obtained by fitting historical data ensure the accuracy and reliability of the model in practical applications.
[0153] It should be noted that in the present embodiment, a method for intelligent coagulant addition in a water plant under multi-water source switching is used in combination with the feedback addition control model in the water plant during actual use, which effectively improves the hysteresis of the feedback addition control model in adjusting the coagulant dosage when the water quality changes suddenly. The feedback addition control model obtains the predicted value of coagulant dosage obtained by the coagulant dosage prediction model of the sedimentation tank, the water inlet parameters (water source turbidity, water temperature, pH value, organic matter content, etc.), the effluent turbidity and the pre-set target value of the effluent turbidity, and obtains the coagulant dosage value again through feedback control (the coagulant dosage value at this time is the dosage that the effluent turbidity can reach the pre-set target value of the effluent turbidity at this time), and sends it to the coagulant dosing device for addition.
[0154] In practical applications, the feedback dosing control model in this embodiment is not limited to a specific feedback control model, such as PID feedback control, intelligent algorithm prediction feedback control, etc. The feedback dosing control model in this embodiment can make a more precise adjustment on the coagulant dosage.
[0155] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0156] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0157] In the present invention, unless otherwise clearly specified and limited, when a first feature is “on” or “below” a second feature, it may be that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediate medium. Moreover, when a first feature is “above”, “above” or “above” a second feature, it may be that the first feature is directly above or obliquely above the second feature, or it may simply mean that the first feature is higher in level than the second feature. When a first feature is “below”, “below” or “below” a second feature, it may be that the first feature is directly below or obliquely below the second feature, or it may simply mean that the first feature is lower in level than the second feature.
[0158] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0159] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may alter, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A method for adding an intelligent coagulant in a water plant under multi-water source switching, characterized in that: The method is applied to the water treatment process of a water plant, wherein the water plant obtains raw water from multiple water sources, and the method comprises: S1. Input the first type of sequence data corresponding to the current time period of the water plant into the pre-trained sedimentation tank coagulant dosage prediction model to obtain the predicted value of the coagulant dosage in the first time interval after the current time of the designated sedimentation tank; the first type of sequence data includes: the recycled water flow sequence QR, the coagulant dosage sequence AR consumed by the recycled water, the flow sequence QC entering the designated sedimentation tank, and the coagulant sequence and water source flow sequence corresponding to each water source of the water plant; wherein, the sedimentation tank coagulant dosage prediction model is trained using the first type of sequence data corresponding to different historical time periods to obtain a trained sedimentation tank coagulant dosage prediction model; the sedimentation tank coagulant dosage prediction model is a deep neural network model; S2. If the water plant meets the preset dosing condition within a first time interval after the current time, a first dosing instruction is issued to the coagulant dosing device corresponding to the designated sedimentation tank in the water plant; the first dosing instruction is an instruction to add coagulant to the designated sedimentation tank according to the predicted value of the coagulant dosage; The coagulant sequence corresponding to the nth water source of the water plant is: A (n) ={A (n)t , A (n)t-5 , A (n)t-10 ...A (n)t-5(i-1) ...A (n)t-5(N-1) }; Among them, A (n)t-5(i-1) represents the coagulant dosage corresponding to the nth water source 5 (i-1) minutes before the current time t; N is a preset value; i is an integer, and i∈(1, N); The water source flow sequence corresponding to the nth water source of the water plant is: Q (n) ={Q (n)t ,Q (n)t-5 ,Q (n)t-10 ...Q (n)t-5(i-1) ...Q (n)t-5(N-1) }; Among them, Q (n)t-5(i-1) Indicates the water source flow rate corresponding to the nth water source 5 (i-1) minutes before the current time t; The recycled water flow sequence QR is: QR={QR t ,QR t-5 ,QR t-10 ...QR t-5(i-1 )...QR t-5(N-1) }; Among them, QR t-5(i-1) is the recycled water flow rate corresponding to 5 (i-1) minutes before the current time t; The coagulant dosage sequence AR of recycled water consumption is: AR={AR t , AR t-5 , AR t-10 ...ON t-5(i-1) ...ON t-5(N-1) }; Among them, AR t-5(i-1) is the amount of coagulant consumed by the recycled water corresponding to 5 (i-1) minutes before the current time t; The coagulant dosage A corresponding to the nth water source 5 (i-1) minutes before the current time t (n)t-5(i-1) It is calculated by formula (1); Wherein, the formula (1) is: (n)t-5(i-1) =K (n)t-5(i-1) '×Tu (n)t-5(i-1) '×C T(n)t-5(i-1) '×C PH(n)t-5(i-1) '×C COD(n)t-5(i-1) '; Among them, K (n)t-5(i-1) ' is the pre-set comprehensive proportional coefficient of the amount of alum added and turbidity corresponding to the nth water source; Tu (n)t-5(i-1) ' is the comprehensive inlet turbidity corresponding to the nth water source 5 (i-1) minutes before the current time t; CT (n)t-5(i-1) ' is the comprehensive temperature correction coefficient corresponding to the nth water source 5 (i-1) minutes before the current time t; C PH(n)t-5(i-1) ' is the comprehensive PH correction coefficient corresponding to the nth water source 5 (i-1) minutes before the current time t; C COD(n)t-5(i-1) ' is the comprehensive organic matter correction coefficient corresponding to the nth water source 5 (i-1) minutes before the current time t; The comprehensive temperature correction coefficient C corresponding to the nth water source 5 (i-1) minutes before the current time t T(n)t-5(i-1) 'Calculated by formula (2); The formula (2) is: C T(n)t-5(i-1) '=w1×C T(n)t-5(i-1) +w2×C T(n)t-5(i-1)-5 +w3×C T(n)t-5(i-1)-10 ....+w m ×C T(n)t-5(i-1)-5(m-1) ; C T(n)t-5(i-1)-5(m-1) is the temperature correction coefficient corresponding to the nth water source F minutes before the current time t; w m is the pre-set mth weight coefficient; where F=5(i-1)+5(m-1); The comprehensive pH correction coefficient C corresponding to the nth water source 5 (i-1) minutes before the current time t PH(n)t-5(i-1) ' is calculated by formula (3); The formula (3) is: C PH(n)t-5(i-1) '=w1×C PH(n)t-5(i-1) +w2×C PH(n)t-5(i-1)-5 +w3×C PH(n)t-5(i-1)-10 ....+w m ×C PH(n)t-5(i-1)-5(m-1) ; C PH(n)t-5(i-1)-5(m-1) is the pH correction coefficient corresponding to the nth water source F minutes before the current time t; The comprehensive organic matter correction coefficient C corresponding to the nth water source 5 (i-1) minutes before the current time t COD(n)t-5(i-1) ' is calculated by formula (4); The formula (4) is: C COD(n)t-5(i-1) '=w1×C COD(n)t-5(i-1) +w2×C COD(n)t-5(i-1)-5 +w3×C COD(n)t-5(i-1)-10 ....+w m ×C COD(n)t-5(i-1)-5(m-1) ; C COD(n)t-5(i-1)-5(m-1) is the organic matter correction coefficient corresponding to the nth water source F minutes before the current time t; The temperature correction coefficient C corresponding to the nth water source F minutes before the current time t T(n)t-5(i-1)-5(m-1) It is calculated by formula (5); The formula (5) is: ; in, is the inlet water temperature corresponding to F minutes before the current time t; is the standard temperature; is the first empirical constant set in advance; The pH correction coefficient C corresponding to the nth water source F minutes before the current time t PH(n)t-5(i-1)-5(m-1) It is calculated by formula (6); The formula (6) is: ; in, is the pH value corresponding to F minutes before the current time t; It is the preset optimal pH value; is a preset second empirical constant; The organic matter correction coefficient C corresponding to the nth water source F minutes before the current time t COD(n)t-5(i-1)-5(m-1) It is calculated by formula (7); Wherein, the formula (7) is: ; in, is the chemical oxygen demand corresponding to 5 (i-1) minutes before the current time t; is a pre-set threshold; is a third preset empirical constant; The first empirical constant It is obtained by fitting the first type of temperature correction coefficient in advance; the first type of temperature coefficient is the temperature correction coefficient corresponding to the effluent turbidity monitored in the historical time period when it meets the preset conditions; the second empirical constant It is obtained by fitting the first type of PH correction coefficient in advance; the first type of PH correction coefficient is the PH correction coefficient corresponding to the effluent turbidity monitored in the historical time period when it meets the preset conditions; the third empirical constant It is obtained by fitting the first type of organic matter correction coefficient in advance; the first type of organic matter correction coefficient is the organic matter correction coefficient corresponding to the effluent turbidity monitored in the historical time period when it meets the preset conditions; The dosing condition is one of the first preset dosing condition, the second preset dosing condition and the third preset dosing condition; The first preset addition condition is: ,or, ,or, ;in, is the inlet water temperature corresponding to 5c minutes after the current time t; the first time interval is greater than or equal to 5c minutes; is the corresponding inlet water temperature 5 (c-1) minutes after the current time t; is the pH value corresponding to 5c minutes after the current time t; is the pH value corresponding to 5 (c-1) minutes after the current time t; is the chemical oxygen demand corresponding to 5c minutes after the current time t; is the chemical oxygen demand corresponding to 5 (c-1) minutes after the current time t; The second preset addition condition is: ; in, is the coagulant dosage corresponding to the nth water source 5c minutes after the current time t; is the coagulant dosage corresponding to the nth water source 5 (c-1) minutes after the current time t; the third preset dosage condition is: the water source switching device for switching water sources in the water plant receives a water source switching instruction.
2. The intelligent coagulant dosing method for a water plant under multi-water source switching according to claim 1 is characterized in that: The mth weight coefficient w m It is calculated by formula (8); The formula (8) is: ; is a preset value, and .
3. The intelligent coagulant dosing method for a waterworks under multi-water source switching according to claim 2 is characterized in that: The specific value of each weight coefficient in the first weight coefficient sequence is determined by optimizing through a genetic algorithm based on the first type of sequence data corresponding to the historical time period; Wherein, the first weight coefficient sequence is: <h2 style=";text-align:left;direction:ltr">W={w1, w2, w3...w<h2 style=";text-align:left;direction:ltr"> m <h2 style=";text-align:left;direction:ltr">}; The optimization goal of the genetic algorithm is to minimize the difference between the calculated coagulant dosage and the actual coagulant demand; Among them, the actual coagulant demand is the corresponding coagulant dosage when the effluent turbidity meets the pre-set conditions.
Citation Information
Patent Citations
Rural safe water production feedback regulation process and system based on water quality monitoring
CN104181894A
Water purification plant coagulant addition intelligent modeling method based on big data analysis
CN111718028A
