A sewage treatment process optimization method and system based on artificial intelligence
By combining cluster analysis and two-way long-short-term memory neural network to optimize process parameters, and using multi-layer perception fuzzy reasoning network to optimize aeration decisions, the lack of automation and intelligence in the sewage treatment process is solved, and the efficiency of energy consumption management is improved. Efficient automation and intelligence of the sewage treatment process have been achieved.
Patent Information
- Application Number
- CN202411104960.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-13
AI Technical Summary
Existing sewage treatment process optimization methods lack automated and intelligent process parameter optimization and energy consumption management support, resulting in insufficient automation, intelligence, and usability. The fixed settings of the aeration system result in waste of energy consumption, and the automatic analysis of dissolved oxygen concentration is complicated. And lack of effective links.
A combination of cluster analysis and two-way long short-term memory neural network is used to optimize process parameters. Features are extracted through cluster analysis and random forest algorithm, and the Sparrow algorithm is used to optimize model parameters. At the same time, a multi-layer perceptual fuzzy inference network is used for aeration decision-making. Optimize aeration volume and dissolved oxygen concentration analysis to provide intelligent energy consumption management solutions.
It improves the accuracy of process parameter optimization and the energy consumption management efficiency of the aeration system, improves the automation and intelligence level of the sewage treatment process, reduces energy waste, and enhances the usability and accuracy of the method.
Smart Images

Figure CN118645181B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sewage treatment process optimization, and specifically to a sewage treatment process optimization method and system based on artificial intelligence. Background Art
[0002] The artificial intelligence-based sewage treatment process optimization method and system utilize machine learning algorithms and sensor data to monitor and analyze key parameters in the sewage treatment process in real time. By adaptively adjusting operating conditions and control strategies, it improves treatment efficiency and stability, reduces energy consumption and operating costs, and realizes intelligent and automated sewage treatment management.
[0003] However, among the existing sewage treatment process optimization methods, there are traditional methods that focus more on the direct treatment of sewage and sludge, and perform hardware replacement or manual process optimization, while the automated process optimization methods lack feasible artificial intelligence solutions for automatic optimization of process parameters and support for energy consumption management, resulting in technical problems that automation, intelligence and usability need to be improved; among the existing sewage treatment process optimization methods, there are technical problems that the process of process parameter optimization lacks analysis and extraction of potential factors for a variety of important physical, biological and chemical process parameters in the existing methods, resulting in insufficient actual accuracy and usability of process parameter optimization; among the existing sewage treatment process optimization methods, there are technical problems that when aeration systems are applied to sewage treatment processes, fixed aeration volumes are often used, which easily leads to waste, while automatic analysis of dissolved oxygen concentration faces a complex data processing process and lacks the connection with aeration volume adjustment. Summary of the invention
[0004] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a sewage treatment process optimization method and system based on artificial intelligence. In view of the fact that in the existing sewage treatment process optimization methods, traditional methods focus more on the direct treatment of sewage and sludge, and perform hardware replacement or manual process optimization, while the automated process optimization methods lack feasible artificial intelligence solutions in terms of automatic optimization of process parameters and energy consumption management support, resulting in technical problems that automation, intelligence and availability need to be improved. This solution creatively adopts a method that combines process parameter optimization and energy consumption optimization of the aeration system to optimize the sewage treatment process, thereby providing automatic and intelligent technical support for the sewage treatment process from two directions; in view of the fact that in the existing sewage treatment process optimization methods, the process for process parameter optimization lacks analysis and extraction of potential factors for a variety of important physical, biological and chemical process parameters in the existing methods, resulting in technical problems that the actual accuracy and availability of process parameter optimization are not high enough, this solution The scheme creatively adopts a bidirectional long short-term memory neural network method combining cluster analysis and parameter optimization to optimize process parameters. It extracts features through cluster analysis combined with a random forest algorithm, discovers potential influencing factors, and then uses the sparrow algorithm to simultaneously screen features and optimize the model parameters of the bidirectional long short-term memory network. The overall depth of feature extraction and the deep mining of process parameter influencing factors are improved, and the accuracy and usable value of the method are improved. In the existing sewage treatment process optimization methods, there is a problem that the aeration system is applied to the sewage treatment process, and the fixed aeration volume is often easily wasted, while the automatic analysis of the dissolved oxygen concentration faces a complex data processing process and the lack of connection with the aeration volume adjustment. The scheme creatively adopts a multi-layer perception fuzzy reasoning network combined with parameter optimization. Through the multi-layer perception fuzzy reasoning network, a feasible solution for aeration decision-making based on dissolved oxygen concentration analysis in the sewage treatment process is provided, which provides better intelligent support for the overall automation of the method and the energy consumption management of the aeration system.
[0005] The technical solution adopted by the present invention is as follows: The present invention provides a sewage treatment process optimization method based on artificial intelligence, the method comprising the following steps:
[0006] Step S1: data collection;
[0007] Step S2: data optimization processing;
[0008] Step S3: Optimizing wastewater treatment process parameters;
[0009] Step S4: Optimization of wastewater treatment energy consumption management;
[0010] Step S5: Optimization of sewage treatment process.
[0011] Further, in step S1, the data collection is used to collect the basic data set required for the artificial intelligence optimization of the sewage treatment process, specifically from the historical operation measurement data records of the sewage treatment system and the energy consumption records of the aeration system, to obtain the original data for the sewage treatment process optimization through data collection;
[0012] The sewage treatment process optimization raw data specifically includes process parameter data and energy consumption data.
[0013] Furthermore, in step S2, the data optimization processing is used to optimize and enhance the original data, specifically to optimize and enhance the original data of the sewage treatment process to obtain an enhanced sewage treatment data set.
[0014] Further, in step S3, the sewage treatment process parameter optimization is used to optimize and adjust the process parameters of the physical, biological and chemical reactors in the sewage treatment system and perform real-time control, specifically, based on the enhanced sewage treatment data set, a bidirectional long short-term memory neural network method combining cluster analysis and parameter optimization is used to optimize the sewage treatment process parameters to obtain process parameter optimization strategy data;
[0015] The bidirectional long short-term memory neural network combining cluster analysis and parameter optimization specifically includes a cluster analysis operator, a factor feature extraction operator, a sparrow optimization operator and a bidirectional long short-term memory subnet;
[0016] The cluster analysis operator is used to analyze the influencing factors and potential relationships of process parameters using the entropy weighted k-means method, and cluster the process parameters with greater influence;
[0017] The factor feature extraction operator is used to extract important process parameter features in combination with the results of cluster analysis;
[0018] The sparrow optimization operator is used to simultaneously perform feature screening and subsequent model parameter optimization using a sparrow search algorithm;
[0019] The bidirectional long short-term memory subnetwork is used to process the basic prediction network for process parameter optimization;
[0020] The step of optimizing the sewage treatment process parameters by using the bidirectional long short-term memory neural network method combining cluster analysis and parameter optimization to obtain process parameter optimization strategy data includes:
[0021] Step S31: cluster analysis, specifically, using the entropy weighted K-means method to perform cluster analysis on process parameter influencing factors, and by updating the partition matrix, cluster centers and dimension weights, performing objective function minimization calculation, and performing cluster analysis through the objective function minimization calculation to obtain characteristic clustering data of process parameter influencing factors, and then using the Davis-Boulding index to verify the clustering results to obtain cluster analysis data;
[0022] Step S32: extracting factor features, specifically constructing a random forest model to extract features, and calculating the importance scores of the process parameter influencing factors by calculating the influencing factor error values, and ranking the feature importance based on the results of the importance score calculation to obtain an influencing factor feature data set;
[0023] Step S33: constructing a sparrow optimization operator for performing process parameter feature screening and parameter updating and optimization of the process parameter optimization model, specifically comprising the following steps:
[0024] Step S331: The algorithm is initialized and the initial fitness value is calculated. The calculation formula is:
[0025] ;
[0026] In the formula, It is The fitness value corresponding to the sparrow, wherein the sparrow is used to represent the process parameter feature combination or the parameter combination of the process parameter optimization model, f(·) is the objective function, It is The location of the sparrow;
[0027] Step S332: population division, specifically setting a division threshold p, and taking the first p% of sparrows in the sparrow population as discoverers, and the rest as followers;
[0028] Step S333: The discoverer's location is updated, and the calculation formula is:
[0029] ;
[0030] In the formula, It is The position of the sparrow at the t+1th iteration, which is specifically used here to indicate the position of the discoverer sparrow. t is the iteration index, t max is the maximum number of iterations, It is is the position of the sparrow at the tth iteration, a is the control parameter of the discoverer's exploration ability, q is the random parameter of the discoverer's position update that follows the normal distribution, is the global optimal sparrow position at the tth iteration;
[0031] Step S334: Follower position update, the calculation formula is:
[0032] ;
[0033] In the formula, It is The position of the only sparrow at the t+1th iteration, which is specifically used here to represent the position of the follower sparrow. It is The position of the sparrow at the tth iteration, is the worst sparrow position at the tth iteration, u is the random parameter for follower position update that follows a normal distribution, r2 is a random number in the range [0,1], and ST is the sparrow alert threshold;
[0034] Step S335: constructing boundary constraints to ensure that the sparrow positions are within the parameter range, specifically setting the maximum sparrow position and the minimum sparrow position, setting the sparrow position exceeding the maximum position as the maximum position, and setting the sparrow position less than the minimum position as the minimum position;
[0035] Step S336: iterative solution, specifically repeating the operations from step S333 to step S335 until the maximum number of iterations is reached or convergence is achieved, to obtain the sparrow optimization data, wherein the sparrow optimization data is specifically used to represent the optimal feature combination of the process parameter feature screening and the optimal parameter combination of the process parameter optimization model;
[0036] Step S34: constructing a bidirectional long short-term memory subnetwork, specifically constructing a standard bidirectional long short-term memory subnetwork including a forget gate, an input gate, an output gate, and a unit state, and performing bidirectional weighted prediction by setting a forward network factor and a backward network factor to obtain process parameter optimization prediction data;
[0037] Step S35: Process parameter optimization model training, specifically, through the cluster analysis, the factor feature extraction, the construction of the sparrow optimization operator and the construction of the bidirectional long short-term memory subnet, the process parameter optimization model training is performed, and the sparrow optimization operator is called to optimize the model parameters to obtain the process parameter optimization model Model RP ;
[0038] Step S36: process parameter optimization, specifically, using the process parameter optimization model Model according to the enhanced sewage treatment data set RP , optimize the process parameters and obtain the process parameter optimization strategy data.
[0039] Further, in step S4, the sewage treatment energy consumption management optimization is used for the operation energy consumption optimization and intelligent control of the aeration system in the sewage treatment system, specifically, based on the enhanced sewage treatment data set, a multi-layer perceptual fuzzy inference network combined with parameter optimization is used to optimize the sewage treatment energy consumption management, and obtain energy consumption management optimization strategy data;
[0040] The multi-layer perceptual fuzzy reasoning network combined with parameter optimization specifically includes a sparrow optimization operator and a multi-layer perceptual fuzzy reasoning network;
[0041] The sparrow optimization operator is used to simultaneously perform subsequent model parameter optimization using the sparrow search algorithm;
[0042] The multi-layer perceptual fuzzy reasoning network is used as a basic prediction subnet for energy consumption management optimization;
[0043] The step of optimizing the energy consumption management of sewage treatment by using a multi-layer perceptual fuzzy inference network combined with parameter optimization to obtain energy consumption management optimization strategy data includes:
[0044] Step S41: constructing a sparrow optimization operator, specifically, according to the operation of step S33, constructing a sparrow optimization operator for parameter optimization of the energy consumption management optimization model;
[0045] Step S42: constructing a multi-layer perceptual fuzzy reasoning network, specifically constructing a multi-layer perceptual fuzzy reasoning network including an input layer, a first perceptual layer, a first fuzzy rule layer, a continuation layer, a second fuzzy rule layer, a second perceptual layer and an output layer, which is used as a basic prediction subnet for energy consumption management optimization;
[0046] Step S43: Energy consumption management optimization model training, specifically, by constructing the sparrow optimization operator and the multi-layer perceptual fuzzy inference network, the energy consumption management optimization model training is performed to obtain the energy consumption management optimization model Model RR ;
[0047] Step S44: Energy consumption management optimization, specifically, using the energy consumption management optimization model Model according to the enhanced sewage treatment data set RR , perform energy consumption management optimization and obtain energy consumption management optimization strategy data.
[0048] Further, in step S5, the sewage treatment process optimization is used to combine process parameter optimization and energy consumption management optimization to perform overall control optimization and monitoring feedback of the sewage treatment process, specifically combining the process parameter optimization strategy data and the energy consumption management optimization strategy data to perform overall optimization of the sewage treatment process, obtain the sewage treatment process optimization management strategy, and perform real-time monitoring and intelligent control of the sewage treatment process according to the sewage treatment process optimization management strategy;
[0049] The wastewater treatment process optimization management strategy specifically includes a process parameter adjustment reference strategy and an energy consumption management adjustment reference strategy;
[0050] The process parameter adjustment reference strategy is used to provide intelligent adjustment index suggestions for physical, biological and chemical process parameters in the sewage treatment system;
[0051] The energy consumption management adjustment reference strategy is used to provide dissolved oxygen concentration adjustment index suggestions for aeration equipment and intelligent aeration volume control strategies.
[0052] The present invention provides an artificial intelligence-based sewage treatment process optimization system, which includes a data acquisition module, a data optimization processing module, a sewage treatment process parameter optimization module, a sewage treatment energy consumption management optimization module and a sewage treatment process optimization module;
[0053] The data acquisition module is used for data acquisition, and obtains the original data of sewage treatment process optimization through data acquisition, and sends the original data of sewage treatment process optimization to the data optimization processing module;
[0054] The data optimization processing module is used for data optimization processing, and obtains an enhanced sewage treatment data set through data optimization processing, and sends the enhanced sewage treatment data set to the sewage treatment process parameter optimization module and the sewage treatment energy consumption management optimization module;
[0055] The sewage treatment process parameter optimization module is used for optimizing sewage treatment process parameters, obtaining process parameter optimization strategy data through sewage treatment process parameter optimization, and sending the process parameter optimization strategy data to the sewage treatment process optimization module;
[0056] The sewage treatment energy consumption management optimization module is used for sewage treatment energy consumption management optimization, obtains energy consumption management optimization strategy data through sewage treatment energy consumption management optimization, and sends the energy consumption management optimization strategy data to the sewage treatment process optimization module;
[0057] The sewage treatment process optimization module is used for optimizing the sewage treatment process, and through the optimization of the sewage treatment process, a sewage treatment process optimization management strategy is obtained.
[0058] The beneficial effects achieved by the present invention using the above scheme are as follows:
[0059] (1) Among the existing sewage treatment process optimization methods, traditional methods focus on the direct treatment of sewage and sludge, and perform hardware replacement or manual process optimization. However, the automated process optimization methods lack feasible artificial intelligence solutions in terms of automatic optimization of process parameters and energy consumption management support, which leads to technical problems that automation, intelligence and usability need to be improved. This solution creatively adopts a method that combines process parameter optimization and energy consumption optimization of the aeration system to optimize the sewage treatment process, thereby providing automatic and intelligent technical support for the sewage treatment process from two directions;
[0060] (2) In view of the fact that the existing wastewater treatment process optimization methods lack the analysis and extraction of potential factors of various important physical, biological and chemical process parameters in the process of process parameter optimization, which leads to the technical problem that the actual accuracy and usability of process parameter optimization are not high enough, this scheme creatively adopts a bidirectional long short-term memory neural network method combining cluster analysis and parameter optimization to optimize process parameters. By extracting features through cluster analysis combined with random forest algorithm and discovering potential influencing factors, the sparrow algorithm is used to simultaneously screen features and optimize the model parameters of the bidirectional long short-term memory network. Overall, the depth of feature extraction and the deep mining of process parameter influencing factors are improved, and the accuracy and usability of the method are improved;
[0061] (3) In the existing sewage treatment process optimization methods, there is a problem that when the aeration system is applied to the sewage treatment process, a fixed aeration volume is often set, which easily leads to waste, while the automatic analysis of dissolved oxygen concentration faces a complex data processing process and lacks technical problems in the connection between the adjustment of aeration volume. This scheme creatively adopts a multi-layer perceptual fuzzy reasoning network combined with parameter optimization. Through the multi-layer perceptual fuzzy reasoning network, a feasible solution for aeration decision-making based on dissolved oxygen concentration analysis in the sewage treatment process is provided, which provides better intelligent support for the overall automation of the method and the energy consumption management of the aeration system. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 A schematic diagram of a sewage treatment process optimization method based on artificial intelligence provided by the present invention;
[0063] Figure 2 A schematic diagram of a sewage treatment process optimization system based on artificial intelligence provided by the present invention;
[0064] Figure 3 This is a schematic diagram of the process of data optimization processing in step S2;
[0065] Figure 4 A schematic diagram of the process for optimizing the wastewater treatment process parameters in step S3;
[0066] Figure 5 Schematic diagram of the process for optimizing energy consumption management of sewage treatment in step S4.
[0067] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION
[0068] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0069] In the description of the present invention, it should be understood that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.
[0070] Example 1, see Figure 1 The present invention provides a sewage treatment process optimization method based on artificial intelligence, which comprises the following steps:
[0071] Step S1: data collection;
[0072] Step S2: data optimization processing;
[0073] Step S3: Optimizing wastewater treatment process parameters;
[0074] Step S4: Optimization of wastewater treatment energy consumption management;
[0075] Step S5: Optimization of sewage treatment process.
[0076] By executing the above operations, in the existing sewage treatment process optimization methods, there are traditional methods that focus more on the direct treatment of sewage and sludge, and perform hardware replacement or manual process optimization, while the automated process optimization methods lack feasible artificial intelligence solutions in automatic optimization of process parameters and energy consumption management support, resulting in technical problems that automation, intelligence and usability need to be improved. This solution creatively adopts a method that combines process parameter optimization and energy consumption optimization of the aeration system to optimize the sewage treatment process, thereby providing automatic and intelligent technical support for the sewage treatment process from two directions.
[0077] Example 2, see Figure 1 and Figure 2 In step S1, the data collection is used to collect the basic data set required for artificial intelligence optimization of the sewage treatment process, specifically, from the historical operation measurement data records of the sewage treatment system and the energy consumption records of the aeration system, to obtain the original data for the optimization of the sewage treatment process through data collection;
[0078] The original data of the sewage treatment process optimization, specifically including process parameter data and energy consumption data;
[0079] The process parameter data specifically refers to the historical operation and measurement data of the sewage treatment system, including flow data, temperature data, pH data, dissolved oxygen concentration data, sludge concentration data, biochemical oxygen demand data, ammonia nitrogen data and phosphorus pollution data;
[0080] The energy consumption data specifically refers to the energy consumption record data of the aeration equipment, including aeration volume time series data, aeration energy consumption time series data and dissolved oxygen concentration sensor data.
[0081] Example 3, see Figure 1 , Figure 2 and Figure 3 This embodiment is based on the above embodiment. In step S2, the data optimization process is used to optimize and enhance the original data, specifically to optimize and enhance the original data of the sewage treatment process to obtain an enhanced sewage treatment data set, including the following steps:
[0082] Step S21: data cleaning, specifically, performing missing value processing, duplicate value processing and data consistency processing on the original data of the sewage treatment process optimization in sequence to obtain a cleaned and optimized data set;
[0083] Step S22: data standardization, specifically using a Z-score standardization method to standardize the data in the cleaned and optimized data set to obtain a standardized data set;
[0084] Step S23: data denoising, specifically, using a smoothing filtering method to perform weighted moving average calculation on the data in the standardized data set to denoise the data and obtain a denoised optimized data set;
[0085] Step S24: outlier processing, specifically, setting an outlier threshold according to the Z score calculated in the standardized data set, marking the data in the denoised optimized data set that is greater than the outlier threshold as outlier data, and processing the outliers by deletion and mean replacement to obtain an outlier optimized data set;
[0086] Step S25: data optimization processing, specifically obtaining an enhanced sewage treatment data set through the data cleaning, data standardization, data denoising and outlier processing.
[0087] Example 4, see Figure 1 , Figure 2 and Figure 4 , this embodiment is based on the above embodiment. In step S3, the sewage treatment process parameter optimization is used to optimize and adjust the process parameters of the physical, biological and chemical reactors in the sewage treatment system and perform real-time control. Specifically, based on the enhanced sewage treatment data set, a bidirectional long short-term memory neural network method combining cluster analysis and parameter optimization is used to optimize the sewage treatment process parameters to obtain process parameter optimization strategy data;
[0088] The bidirectional long short-term memory neural network combining cluster analysis and parameter optimization specifically includes a cluster analysis operator, a factor feature extraction operator, a sparrow optimization operator and a bidirectional long short-term memory subnet;
[0089] The cluster analysis operator is used to analyze the influencing factors and potential relationships of process parameters using the entropy weighted k-means method, and cluster the process parameters with greater influence;
[0090] The factor feature extraction operator is used to extract important process parameter features in combination with the results of cluster analysis;
[0091] The sparrow optimization operator is used to simultaneously perform feature screening and subsequent model parameter optimization using a sparrow search algorithm;
[0092] The bidirectional long short-term memory subnetwork is used to process the basic prediction network for process parameter optimization;
[0093] The step of optimizing the sewage treatment process parameters by using the bidirectional long short-term memory neural network method combining cluster analysis and parameter optimization to obtain process parameter optimization strategy data includes:
[0094] Step S31: cluster analysis, specifically, using the entropy weighted K-means method to perform cluster analysis on process parameter influencing factors, and by updating the partition matrix, cluster centers and dimension weights, performing objective function minimization calculation, and performing cluster analysis through the objective function minimization calculation to obtain characteristic clustering data of process parameter influencing factors, and then using the Davis-Boulding index to verify the clustering results to obtain cluster analysis data;
[0095] The calculation formula for minimizing the objective function is:
[0096] ;
[0097] Where, F(·) is the objective function, W is the partition matrix, Z is the cluster center, A is the dimension weight, and the characteristic clustering data of the process parameter influencing factors is obtained by calculating the local minimum value of the objective function. K is the total number of clusters, k is the cluster index, N is the total number of process parameters, j is the process parameter index, M is the total number of process parameter influencing factors, i is the process parameter influencing factor index, is the membership parameter of the jth process parameter corresponding to the kth cluster, is the influence weight of the i-th process parameter influencing factor corresponding to the k-th cluster, is the cluster center of the kth cluster corresponding to the i-th process parameter influencing factor, x ji is the original data input of the jth process parameter corresponding to the influencing factor of the ith process parameter, is a control parameter with a positive value, is the sum of the distances from the kth cluster to the cluster center corresponding to the i-th process parameter influencing factor, is the weight of the influence weight calculation;
[0098] Step S32: extracting factor features, specifically constructing a random forest model to extract features, and calculating the importance scores of the process parameter influencing factors by calculating the influencing factor error values, and ranking the feature importance based on the results of the importance score calculation to obtain an influencing factor feature data set;
[0099] The calculation formula for calculating the importance score of the process parameter influencing factors is:
[0100] ;
[0101] Where V i is the importance score of the i-th process parameter influencing factor, M is the total number of process parameter influencing factors, i is the process parameter influencing factor index, is the influencing factor error calculated after random modification of the influencing factor of the i-th process parameter, is the original influencing factor error;
[0102] Step S33: constructing a sparrow optimization operator for performing process parameter feature screening and parameter updating and optimization of the process parameter optimization model, specifically comprising the following steps:
[0103] Step S331: The algorithm is initialized and the initial fitness value is calculated. The calculation formula is:
[0104] ;
[0105] In the formula, It is The fitness value corresponding to the sparrow, wherein the sparrow is used to represent the process parameter feature combination or the parameter combination of the process parameter optimization model, f(·) is the objective function, It is The location of the sparrow;
[0106] Step S332: population division, specifically setting a division threshold p, and taking the first p% of sparrows in the sparrow population as discoverers, and the rest as followers;
[0107] The division threshold is initially set to 60;
[0108] Step S333: The discoverer's location is updated, and the calculation formula is:
[0109] ;
[0110] In the formula, It is The position of the sparrow at the t+1th iteration, which is specifically used here to indicate the position of the discoverer sparrow. t is the iteration index, t max is the maximum number of iterations, It is is the position of the sparrow at the tth iteration, a is the control parameter of the discoverer's exploration ability, q is the random parameter of the discoverer's position update that follows the normal distribution, is the global optimal sparrow position at the tth iteration;
[0111] Step S334: Follower position update, the calculation formula is:
[0112] ;
[0113] In the formula, It is The position of the only sparrow at the t+1th iteration, which is specifically used here to represent the position of the follower sparrow. It is The position of the sparrow at the tth iteration, is the worst sparrow position at the tth iteration, u is the random parameter for follower position update that follows a normal distribution, r2 is a random number in the range [0,1], and ST is the sparrow alert threshold;
[0114] Step S335: constructing boundary constraints to ensure that the sparrow positions are within the parameter range, specifically setting the maximum sparrow position and the minimum sparrow position, setting the sparrow position exceeding the maximum position as the maximum position, and setting the sparrow position less than the minimum position as the minimum position;
[0115] Step S336: iterative solution, specifically repeating the operations from step S333 to step S335 until the maximum number of iterations is reached or convergence is achieved, to obtain the sparrow optimization data, wherein the sparrow optimization data is specifically used to represent the optimal feature combination of the process parameter feature screening and the optimal parameter combination of the process parameter optimization model;
[0116] Step S34: constructing a bidirectional long short-term memory subnetwork, specifically constructing a standard bidirectional long short-term memory subnetwork including a forget gate, an input gate, an output gate, and a unit state, and performing bidirectional weighted prediction by setting a forward network factor and a backward network factor to obtain process parameter optimization prediction data;
[0117] Step S35: Process parameter optimization model training, specifically, through the cluster analysis, the factor feature extraction, the construction of the sparrow optimization operator and the construction of the bidirectional long short-term memory subnet, the process parameter optimization model training is performed, and the sparrow optimization operator is called to optimize the model parameters to obtain the process parameter optimization model Model RP ;
[0118] Step S36: process parameter optimization, specifically, using the process parameter optimization model Model according to the enhanced sewage treatment data set RP , optimize the process parameters and obtain the process parameter optimization strategy data.
[0119] By performing the above operations, in view of the fact that in the existing sewage treatment process optimization methods, there is a lack of analysis and extraction of potential factors of various physical, biological and chemical important process parameters in the process of process parameter optimization, which leads to the technical problem that the actual accuracy and availability of process parameter optimization are not high enough, this scheme creatively adopts a bidirectional long short-term memory neural network method combining cluster analysis and parameter optimization to optimize process parameters. By extracting features through cluster analysis combined with random forest algorithm and discovering potential influencing factors, the sparrow algorithm is used to simultaneously screen features and optimize the model parameters of the bidirectional long short-term memory network, which improves the depth of feature extraction and the deep mining of process parameter influencing factors as a whole, and improves the accuracy and usability of the method.
[0120] Example 5, see Figure 1 , Figure 2 , Figure 5 , this embodiment is based on the above embodiment. In step S4, the sewage treatment energy consumption management optimization is used for the operation energy consumption optimization and intelligent control of the aeration system in the sewage treatment system. Specifically, based on the enhanced sewage treatment data set, a multi-layer perceptual fuzzy inference network combined with parameter optimization is used to optimize the sewage treatment energy consumption management and obtain energy consumption management optimization strategy data;
[0121] The multi-layer perceptual fuzzy reasoning network combined with parameter optimization specifically includes a sparrow optimization operator and a multi-layer perceptual fuzzy reasoning network;
[0122] The sparrow optimization operator is used to simultaneously perform subsequent model parameter optimization using the sparrow search algorithm;
[0123] The multi-layer perceptual fuzzy reasoning network is used as a basic prediction subnet for energy consumption management optimization;
[0124] The step of optimizing the energy consumption management of sewage treatment by using a multi-layer perceptual fuzzy inference network combined with parameter optimization to obtain energy consumption management optimization strategy data includes:
[0125] Step S41: constructing a sparrow optimization operator, specifically, according to the operation of step S33, constructing a sparrow optimization operator for parameter optimization of the energy consumption management optimization model;
[0126] Step S42: constructing a multi-layer perceptual fuzzy reasoning network, specifically constructing a multi-layer perceptual fuzzy reasoning network including an input layer, a first perceptual layer, a first fuzzy rule layer, a continuation layer, a second fuzzy rule layer, a second perceptual layer and an output layer, which is used as a basic prediction subnet for energy consumption management optimization;
[0127] The input layer is used to receive input data and construct input variable combinations;
[0128] The first perception layer is used to preliminarily perceive and process the input variable combination, and calculate a first perception output vector;
[0129] The first fuzzy rule layer is used to fuzzify the output of the first perception output vector according to the fuzzy logic rules of the first fuzzy rule layer to obtain a first fuzzified output;
[0130] The continuation layer is used to perform intermediate conversion on the first fuzzified output and transfer it to the second fuzzy rule layer to obtain a continuation layer output;
[0131] The second fuzzy rule layer is used to fuzzify the continuation layer output according to the fuzzy logic rules of the second fuzzy rule layer to obtain a second fuzzified output;
[0132] The second perception layer is used to perceive and process the second fuzzified output to obtain a second perception output vector;
[0133] The output layer is used to use the second perception vector as the final output result of the model;
[0134] Step S43: Energy consumption management optimization model training, specifically, by constructing the sparrow optimization operator and the multi-layer perceptual fuzzy inference network, the energy consumption management optimization model training is performed to obtain the energy consumption management optimization model Model RR ;
[0135] Step S44: Energy consumption management optimization, specifically, using the energy consumption management optimization model Model according to the enhanced sewage treatment data set RR , perform energy consumption management optimization and obtain energy consumption management optimization strategy data.
[0136] By executing the above operations, in view of the fact that in the existing sewage treatment process optimization methods, when the aeration system is applied to the sewage treatment process, a fixed aeration volume is often set, which easily leads to waste, and the automatic analysis of the dissolved oxygen concentration faces a complex data processing process and lacks the technical problem of the connection between the adjustment of the aeration volume. This scheme creatively adopts a multi-layer perceptual fuzzy reasoning network combined with parameter optimization. Through the multi-layer perceptual fuzzy reasoning network, a feasible solution for aeration decision-making based on dissolved oxygen concentration analysis in the sewage treatment process is provided, which provides better intelligent support for the overall automation of the method and the energy consumption management of the aeration system.
[0137] Example 6, see Figure 1 and Figure 2 This embodiment is based on the above embodiment. In step S5, the sewage treatment process is optimized to combine process parameter optimization and energy consumption management optimization to perform overall control optimization and monitoring feedback of the sewage treatment process. Specifically, the sewage treatment process is optimized as a whole by combining the process parameter optimization strategy data and the energy consumption management optimization strategy data to obtain an optimization management strategy for the sewage treatment process. In addition, the sewage treatment process is monitored in real time and intelligently controlled according to the optimization management strategy for the sewage treatment process.
[0138] The wastewater treatment process optimization management strategy specifically includes a process parameter adjustment reference strategy and an energy consumption management adjustment reference strategy;
[0139] The process parameter adjustment reference strategy is used to provide intelligent adjustment index suggestions for physical, biological and chemical process parameters in the sewage treatment system;
[0140] The energy consumption management adjustment reference strategy is used to provide dissolved oxygen concentration adjustment index suggestions for aeration equipment and intelligent aeration volume control strategies.
[0141] Embodiment 7, see Figure 1 and Figure 2, this embodiment is based on the above embodiment, and the present invention provides a sewage treatment process optimization system based on artificial intelligence, including a data acquisition module, a data optimization processing module, a sewage treatment process parameter optimization module, a sewage treatment energy consumption management optimization module and a sewage treatment process optimization module;
[0142] The data acquisition module is used for data acquisition, and obtains the original data of sewage treatment process optimization through data acquisition, and sends the original data of sewage treatment process optimization to the data optimization processing module;
[0143] The data optimization processing module is used for data optimization processing, and obtains an enhanced sewage treatment data set through data optimization processing, and sends the enhanced sewage treatment data set to the sewage treatment process parameter optimization module and the sewage treatment energy consumption management optimization module;
[0144] The sewage treatment process parameter optimization module is used for optimizing sewage treatment process parameters, obtaining process parameter optimization strategy data through sewage treatment process parameter optimization, and sending the process parameter optimization strategy data to the sewage treatment process optimization module;
[0145] The sewage treatment energy consumption management optimization module is used for sewage treatment energy consumption management optimization, obtains energy consumption management optimization strategy data through sewage treatment energy consumption management optimization, and sends the energy consumption management optimization strategy data to the sewage treatment process optimization module;
[0146] The sewage treatment process optimization module is used for optimizing the sewage treatment process, and through the optimization of the sewage treatment process, a sewage treatment process optimization management strategy is obtained.
[0147] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0148] While the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the invention.
[0149] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.
Claims
1. A sewage treatment process optimization method based on artificial intelligence, characterized in that: The method comprises the following steps: Step S1: Data collection, which is used to collect the basic data set required for artificial intelligence optimization of the sewage treatment process, specifically from the historical operation measurement data records of the sewage treatment system and the energy consumption records of the aeration system, to obtain the original data for sewage treatment process optimization through data collection; The original data of the sewage treatment process optimization, specifically including process parameter data and energy consumption data; The process parameter data specifically refers to the historical operation and measurement data of the sewage treatment system, including flow data, temperature data, pH data, dissolved oxygen concentration data, sludge concentration data, biochemical oxygen demand data, ammonia nitrogen data and phosphorus pollution data; The energy consumption data specifically refers to the energy consumption record data of the aeration equipment, including aeration volume time series data, aeration energy consumption time series data and dissolved oxygen concentration sensor data; Step S2: data optimization processing, specifically optimizing and enhancing the original data of the sewage treatment process to obtain an enhanced sewage treatment data set; Step S3: Optimization of sewage treatment process parameters, which is used to optimize and adjust the process parameters of physical, biological and chemical reactors in the sewage treatment system and perform real-time control. Specifically, based on the enhanced sewage treatment data set, a bidirectional long short-term memory neural network method combining cluster analysis and parameter optimization is used to optimize the sewage treatment process parameters to obtain process parameter optimization strategy data, which specifically includes the following steps: Step S31: cluster analysis, specifically, using the entropy weighted K-means method to perform cluster analysis on process parameter influencing factors, and by updating the partition matrix, cluster centers and dimension weights, performing objective function minimization calculation, and performing cluster analysis through the objective function minimization calculation to obtain characteristic clustering data of process parameter influencing factors, and then using the Davis-Boulding index to verify the clustering results to obtain cluster analysis data; Step S32: extracting factor features, specifically constructing a random forest model to extract features, and calculating the importance scores of the process parameter influencing factors by calculating the influencing factor error values, and ranking the feature importance based on the results of the importance score calculation to obtain an influencing factor feature data set; Step S33: constructing a sparrow optimization operator for screening process parameter features and updating and optimizing parameters of a process parameter optimization model; Step S34: constructing a bidirectional long short-term memory subnetwork, specifically constructing a standard bidirectional long short-term memory subnetwork including a forget gate, an input gate, an output gate, and a unit state, and performing bidirectional weighted prediction by setting a forward network factor and a backward network factor to obtain process parameter optimization prediction data; Step S35: Process parameter optimization model training, specifically, through the cluster analysis, the factor feature extraction, the construction of the sparrow optimization operator and the construction of the bidirectional long short-term memory subnet, the process parameter optimization model training is performed, and the sparrow optimization operator is called to optimize the model parameters to obtain the process parameter optimization model Model RP ; Step S36: process parameter optimization, specifically, using the process parameter optimization model Model according to the enhanced sewage treatment data set RP , optimize the process parameters and obtain the process parameter optimization strategy data; Step S4: Optimization of energy consumption management of sewage treatment, which is used for energy consumption optimization and intelligent control of the aeration system in the sewage treatment system. Specifically, based on the enhanced sewage treatment data set, a multi-layer perceptual fuzzy inference network combined with parameter optimization is used to optimize the energy consumption management of sewage treatment, and obtain energy consumption management optimization strategy data, which specifically includes the following steps: Step S41: constructing a sparrow optimization operator, specifically, according to the operation of step S33, constructing a sparrow optimization operator for parameter optimization of the energy consumption management optimization model; Step S42: constructing a multi-layer perceptual fuzzy reasoning network, specifically constructing a multi-layer perceptual fuzzy reasoning network including an input layer, a first perceptual layer, a first fuzzy rule layer, a continuation layer, a second fuzzy rule layer, a second perceptual layer and an output layer, which is used as a basic prediction subnet for energy consumption management optimization; Step S43: Energy consumption management optimization model training, specifically, by constructing the sparrow optimization operator and the multi-layer perceptual fuzzy inference network, the energy consumption management optimization model training is performed to obtain the energy consumption management optimization model Model RR ; Step S44: Energy consumption management optimization, specifically, using the energy consumption management optimization model Model according to the enhanced sewage treatment data set RR , perform energy consumption management optimization and obtain energy consumption management optimization strategy data; Step S5: Sewage treatment process optimization, which is used to combine process parameter optimization and energy consumption management optimization to perform overall control optimization and monitoring feedback of the sewage treatment process, specifically combining the process parameter optimization strategy data and the energy consumption management optimization strategy data to perform overall optimization of the sewage treatment process, obtain the sewage treatment process optimization management strategy, and perform real-time monitoring and intelligent control of the sewage treatment process according to the sewage treatment process optimization management strategy; The wastewater treatment process optimization management strategy specifically includes a process parameter adjustment reference strategy and an energy consumption management adjustment reference strategy; The process parameter adjustment reference strategy is used to provide intelligent adjustment index suggestions for physical, biological and chemical process parameters in the sewage treatment system; The energy consumption management adjustment reference strategy is used to provide dissolved oxygen concentration adjustment index suggestions for aeration equipment and intelligent aeration volume control strategies.
2. The method for optimizing sewage treatment process based on artificial intelligence according to claim 1, characterized in that: In step S33, the construction of the sparrow optimization operator specifically includes the following steps: Step S331: The algorithm is initialized and the initial fitness value is calculated. The calculation formula is: fitness i′ =f(x i′ ); Where, fitness i′ is the fitness value corresponding to the i′th sparrow, where the sparrow is used to represent the process parameter feature combination or the parameter combination of the process parameter optimization model, f(·) is the objective function, x i′ is the position of the i′th sparrow; Step S332: population division, specifically setting a division threshold p, and taking the first p% of sparrows in the sparrow population as discoverers, and the rest as followers; Step S333: The discoverer's location is updated, and the calculation formula is: In the formula, is the position of the i′th sparrow at the t+1th iteration, which is specifically used here to indicate the position of the discoverer sparrow. t is the iteration index, t max is the maximum number of iterations, is the position of the i′th sparrow at the tth iteration, a is the control parameter of the discoverer's exploration ability, q is the random parameter of the discoverer's position update that follows the normal distribution, is the global optimal sparrow position at the tth iteration; Step S334: Follower position update, the calculation formula is: In the formula, is the position of the i′th sparrow at the t+1th iteration, which is specifically used here to represent the position of the follower sparrow. is the position of the i′th sparrow at the tth iteration, is the worst sparrow position at the tth iteration, u is the random parameter for follower position update that follows a normal distribution, r2 is a random number in the range [0,1], and ST is the sparrow alert threshold; Step S335: constructing boundary constraints to ensure that the sparrow positions are within the parameter range, specifically setting the maximum sparrow position and the minimum sparrow position, setting the sparrow position exceeding the maximum position as the maximum position, and setting the sparrow position less than the minimum position as the minimum position; Step S336: iterative solution, specifically repeating the operations from step S333 to step S335 until the maximum number of iterations is reached or convergence occurs, to obtain sparrow optimization data, wherein the sparrow optimization data is specifically used to represent the optimal feature combination for screening process parameter features and the optimal parameter combination for the process parameter optimization model.
3. A sewage treatment process optimization system based on artificial intelligence, used to implement a sewage treatment process optimization method based on artificial intelligence as described in any one of claims 1-2, characterized in that: It includes data acquisition module, data optimization processing module, sewage treatment process parameter optimization module, sewage treatment energy consumption management optimization module and sewage treatment process optimization module.
4. The artificial intelligence-based sewage treatment process optimization system according to claim 3 is characterized by: The data acquisition module is used for data acquisition, and obtains the original data of sewage treatment process optimization through data acquisition, and sends the original data of sewage treatment process optimization to the data optimization processing module; The data optimization processing module is used for data optimization processing, and obtains an enhanced sewage treatment data set through data optimization processing, and sends the enhanced sewage treatment data set to the sewage treatment process parameter optimization module and the sewage treatment energy consumption management optimization module; The sewage treatment process parameter optimization module is used for optimizing sewage treatment process parameters, obtaining process parameter optimization strategy data through sewage treatment process parameter optimization, and sending the process parameter optimization strategy data to the sewage treatment process optimization module; The sewage treatment energy consumption management optimization module is used for sewage treatment energy consumption management optimization, obtains energy consumption management optimization strategy data through sewage treatment energy consumption management optimization, and sends the energy consumption management optimization strategy data to the sewage treatment process optimization module; The sewage treatment process optimization module is used for optimizing the sewage treatment process, and through the optimization of the sewage treatment process, a sewage treatment process optimization management strategy is obtained.
Citation Information
Patent Citations
Sewage treatment data processing method and device, computer equipment and storage medium
CN113033092A
Wastewater treatment monitoring method and system based on automatic optimization algorithm and deep learning
CN114944203A
