A coupling mechanism-mathematical model method to reduce the environmental impact of sewage treatment plants

Through the coupling mechanism-mathematical model method, the process parameters of the sewage treatment plant are optimized, which solves the challenges of reducing environmental impact and energy consumption of the sewage treatment plant, and achieves the environmental protection goals and efficiency improvement of the sewage treatment plant.

CN118568457BActive Publication Date: 2024-10-18SUN YAT SEN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411001804.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-18
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

In the process of minimizing the impact of effluent water quality on the environment, sewage treatment plants often lead to an increase in energy consumption and environmental impact. It is difficult to effectively optimize process parameters to reduce these impacts with existing technology.

Method used

Using the coupling mechanism-mathematical model method, by obtaining the design data and online monitoring data of the sewage treatment plant, a mechanism model is constructed and combined with the life cycle assessment method to calculate the environmental impact data. An optimized active learning algorithm is used to train the mathematical model and filter out the smallest environment. The target process parameter combination corresponding to the impact data.

Benefits of technology

It reduces the environmental impact and energy consumption of the sewage treatment plant, improves the efficiency of obtaining the optimal process parameter combination, and achieves the environmental protection goals of energy conservation and carbon reduction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568457B_ABST
    Figure CN118568457B_ABST
Patent Text Reader

Abstract

The present application discloses a method for reducing the environmental impact of a sewage treatment plant by coupling a mechanism-mathematical model, which relates to the field of environmental data processing technology. The method includes: obtaining and constructing a mechanism model of a sewage treatment plant based on the design data and online monitoring data of the sewage treatment plant, and calculating the first environmental impact data based on the mechanism model and the life cycle assessment method; then calculating the first environmental impact data under different target process parameter combinations as a large data set, iteratively training the mathematical model based on an optimized active learning algorithm to improve the prediction performance of the mathematical model, and after stopping the iterative training, the optimal target process parameter combination can be screened out from the verified process parameter combinations. Screening out the optimal target process parameter combination according to this method can not only reduce the environmental impact of the sewage treatment plant during operation and achieve the environmental protection goal of energy saving and carbon reduction, but also improve the efficiency of obtaining the optimal process parameter combination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of environmental data processing, and in particular to a method for reducing the environmental impact of a sewage treatment plant by using a coupling mechanism-mathematical model. Background Art

[0002] With the rapid development of economy and the continuous improvement of people's living standards, the amount and types of sewage generated by production and life are increasing. However, in the sewage treatment process, the effluent quality directly reflects the treatment effect of the sewage treatment plant on pollutants. In order to minimize the impact of effluent quality on the environment, sewage treatment plants often choose a more conservative operation mode, resulting in higher energy consumption and environmental impact. Summary of the invention

[0003] The main purpose of the embodiments of the present application is to propose a method for reducing the environmental impact of a sewage treatment plant by coupling a mechanism-mathematical model, so as to optimize the process parameters of the sewage treatment plant and reduce operating energy consumption and environmental impact.

[0004] To achieve the above objectives, the present application proposes a method for reducing the environmental impact of a sewage treatment plant by coupling a mechanism-mathematical model, the method comprising the following steps:

[0005] Obtain design data and online monitoring data of sewage treatment plants;

[0006] Constructing a mechanism model of the sewage treatment plant based on the design data and the online monitoring data;

[0007] Based on the mechanism model and the life cycle assessment method, first environmental impact data of the sewage treatment plant under different target process parameter combinations are calculated;

[0008] constructing a mathematical model of the sewage treatment plant using the first environmental impact data;

[0009] The mathematical model is trained based on an optimized active learning algorithm, and the trained mathematical model is used to screen and obtain the target process parameter combination corresponding to the minimum first environmental impact data.

[0010] In some embodiments, the step of obtaining design data and online monitoring data of a sewage treatment plant comprises the following steps:

[0011] Acquiring the process flow of the sewage treatment plant, the parameters of each sewage treatment unit and the parameters of each process device as the design data;

[0012] The inlet and outlet water quality parameters of the sewage treatment plant are obtained as the online monitoring data.

[0013] In some embodiments, the constructing the mechanism model of the sewage treatment plant based on the design data and the online monitoring data comprises the following steps:

[0014] Constructing the mechanism model according to the process flow of the sewage treatment plant;

[0015] Calculate the average values ​​of the inlet and outlet water quality parameters of the sewage treatment plant based on the design data and the online monitoring data;

[0016] Performing sensitivity analysis on built-in parameters of the mechanism model according to the average value to obtain sensitivity analysis results;

[0017] The built-in parameters are adjusted according to the sensitivity analysis results and the adjusted built-in parameters are verified.

[0018] In some embodiments, the step of constructing the mechanism model according to the process flow of the sewage treatment plant comprises the following steps:

[0019] Determine the corresponding sewage treatment units according to the water quality parameters treated by the sewage treatment plant, and determine the target process flow corresponding to each sewage treatment unit;

[0020] The mechanism model is constructed according to the target process flow and the water inlet characteristic information of the target process flow.

[0021] In some embodiments, the calculating the average value of the inlet and outlet water quality parameters of the sewage treatment plant based on the design data and the online monitoring data comprises the following steps:

[0022] Acquire various water quality parameters of the inlet and outlet water of the sewage treatment plant based on the design data and the online monitoring data;

[0023] Eliminate abnormal values ​​in each of the inlet and outlet water quality parameters;

[0024] Divide each of the inlet and outlet water quality parameters into a correction set and a verification set according to a set ratio;

[0025] The average values ​​corresponding to the correction set and the verification set are calculated respectively.

[0026] In some embodiments, performing a sensitivity analysis on the built-in parameters of the mechanism model according to the average value to obtain a sensitivity analysis result comprises the following steps:

[0027] Inputting the average value corresponding to the correction set into the water inlet unit of the mechanism model, and adjusting the built-in parameters of the mechanism model to obtain multiple effluent water quality parameter values;

[0028] The sensitivity coefficients corresponding to the inlet and outlet water quality parameters are calculated based on the values ​​of the outlet water quality parameters as the sensitivity analysis results.

[0029] In some embodiments, adjusting the built-in parameters according to the sensitivity analysis results and verifying the adjusted built-in parameters comprises the following steps:

[0030] Selecting the built-in parameter corresponding to the sensitivity coefficient that reaches the preset threshold value for adjustment to reduce the error of each of the effluent water quality parameter values;

[0031] When the errors of the effluent water quality parameter values ​​are all lower than the corresponding expected values, the average values ​​corresponding to the validation set are input into the water inlet unit of the mechanism model to obtain the current effluent water quality parameter values;

[0032] If the errors of the current values ​​of the outlet water quality parameters are equal to or higher than the corresponding expected values, return to the built-in parameters corresponding to the sensitivity coefficient that reaches the preset threshold and adjust them until the errors of the current values ​​of the outlet water quality parameters are lower than the corresponding expected values.

[0033] In some embodiments, the environmental impact data of the sewage treatment plant under different process parameter combinations are calculated based on the mechanism model and the life cycle assessment method, comprising the following steps:

[0034] Based on the mechanism model, energy consumption data, water quality parameters and greenhouse gas emission data of each sewage treatment unit of the sewage treatment plant are obtained;

[0035] The life cycle assessment method is used to calculate the environmental impact data under different combinations of the process parameters based on the energy consumption data, the water quality parameters and the greenhouse gas emission data.

[0036] In some embodiments, the use of the environmental impact data to construct a mathematical model of the sewage treatment plant comprises the following steps:

[0037] Using each preset algorithm and the environmental impact data to construct a corresponding machine learning prediction model;

[0038] The machine learning prediction model with the highest prediction accuracy is selected as the mathematical model.

[0039] In some embodiments, the mathematical model is trained based on an optimized active learning algorithm, and the trained mathematical model is used to screen and obtain the target process parameter combination corresponding to the minimum first environmental impact data, comprising the following steps:

[0040] Using a genetic algorithm to calculate a first process parameter combination in the mathematical model;

[0041] Combining the first process parameter combination and each randomly generated second process parameter combination to obtain a third process parameter combination;

[0042] Determine the effluent water quality discharge standard value, and calculate the representative coefficient of each combination of the third process parameters according to the effluent water quality discharge standard value and the learning function;

[0043] Selecting each third process parameter combination whose representative coefficient reaches the set coefficient threshold as a representative parameter combination, inputting each representative parameter combination into the mechanism model, and obtaining corresponding second environmental impact data;

[0044] Combining the first environmental impact data and the second environmental impact data as third environmental impact data, verifying each of the representative parameter combinations according to the third environmental impact data, and merging the verified each of the representative parameter combinations into each of the target process parameter combinations;

[0045] Calculating a stop index of the mathematical model, and if the stop index is equal to or greater than a set value, returning to the first process parameter combination calculated in the mathematical model using the genetic algorithm until the stop index is less than the set value, thereby obtaining the trained mathematical model;

[0046] The target process parameter combination corresponding to the minimum first environmental impact data is obtained by screening out the first process parameter combination calculated by the trained mathematical model.

[0047] The embodiments of the present application include at least the following beneficial effects:

[0048] This application obtains the design data and online monitoring data of the sewage treatment plant, then builds a mechanism model of the sewage treatment plant based on the design data and online monitoring data, and calculates the first environmental impact data based on the mechanism model and life cycle assessment method; then calculates the first environmental impact data under different target process parameter combinations as a large data set, and iteratively trains the mathematical model based on an optimized active learning algorithm to improve the prediction performance of the mathematical model. After stopping the iterative training, the optimal target process parameter combination can be screened out from the verified process parameter combinations. Screening out the optimal target process parameter combination according to this method can not only reduce the impact of the sewage treatment plant on the environment during operation and achieve the environmental protection goal of energy saving and carbon reduction, but also improve the efficiency of obtaining the optimal process parameter combination. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 A schematic flow chart of a method for reducing the environmental impact of a sewage treatment plant by a coupling mechanism-mathematical model provided in an embodiment of the present application;

[0051] Figure 2 An example diagram of the process flow of a sewage treatment plant provided in an embodiment of the present application;

[0052] Figure 3 A flowchart of a loop iteration of an active learning algorithm provided in an embodiment of the present application;

[0053] FIG4( a ) is an iterative change diagram of eutrophication potential as a stop indicator provided in an embodiment of the present application;

[0054] FIG4(b) is a diagram of a mathematical model provided in an embodiment of the present application. R 2 A graph of iterative changes as a stopping indicator. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.

[0056] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".

[0057] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.

[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0059] The embodiment of the present application provides a method for reducing the environmental impact of a sewage treatment plant by a coupling mechanism-mathematical model, and relates to the field of environmental data processing technology. The method for reducing the environmental impact of a sewage treatment plant by a coupling mechanism-mathematical model provided in the embodiment of the present application can be applied to a terminal, can be applied to a server, or can be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or can be configured as a server cluster or distributed system composed of multiple physical servers, and can also be configured to provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms and other basic cloud computing services. The server can also be a node server in a blockchain network; the software can be an application of a method for implementing a coupling mechanism-mathematical model to reduce the environmental impact of a sewage treatment plant, etc., but is not limited to the above forms.

[0060] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0061] Reference Figure 1The embodiment of the present application provides a method for reducing the environmental impact of a sewage treatment plant by coupling a mechanism-mathematical model. The method may include but is not limited to S100 to S140, as follows:

[0062] S100: Obtain design data and online monitoring data of sewage treatment plants.

[0063] Furthermore, S100 may include S101-S102:

[0064] S101: Acquire the process flow of the sewage treatment plant, the parameters of each sewage treatment unit and the parameters of each process device as the design data.

[0065] S102: Acquire the inlet and outlet water quality parameters of the sewage treatment plant as the online monitoring data.

[0066] S110: Constructing a mechanism model of the sewage treatment plant based on the design data and the online monitoring data.

[0067] Furthermore, S110 may include S111 to S114:

[0068] S111: The process flow of the sewage treatment plant constructs the mechanism model.

[0069] Furthermore, S111 may include S1111~S1112:

[0070] S1111: Determine the corresponding sewage treatment units according to the water quality parameters treated by the sewage treatment plant, and determine the target process flow corresponding to each of the sewage treatment units.

[0071] S1112: Constructing the mechanism model according to the target process flow and the water inlet characteristic information of the target process flow.

[0072] S112: Calculate the average values ​​of the inlet and outlet water quality parameters of the sewage treatment plant based on the design data and the online monitoring data.

[0073] Furthermore, S112 may include S1121 to S1124:

[0074] S1121: Acquire various inlet and outlet water quality parameters of the sewage treatment plant based on the design data and the online monitoring data.

[0075] S1122: Eliminate abnormal values ​​in each of the inlet and outlet water quality parameters.

[0076] S1123: Divide each of the inlet and outlet water quality parameters into a correction set and a verification set according to a set ratio.

[0077] S1124: Calculate the average values ​​corresponding to the correction set and the verification set respectively.

[0078] S113: Performing sensitivity analysis on the built-in parameters of the mechanism model according to the average value to obtain sensitivity analysis results.

[0079] Furthermore, S113 may include S1131~S1132:

[0080] S1131: Input the average value corresponding to the correction set into the water inlet unit of the mechanism model, and adjust the built-in parameters of the mechanism model to obtain multiple effluent water quality parameter values.

[0081] S1132: Calculate the sensitivity coefficients corresponding to the inlet and outlet water quality parameters according to the outlet water quality parameter values ​​as the sensitivity analysis results.

[0082] S114: adjusting the built-in parameters according to the sensitivity analysis results and verifying the adjusted built-in parameters.

[0083] Further, S114 may include S1141 to S1143:

[0084] S1141: Select the built-in parameter corresponding to the sensitivity coefficient that reaches the preset threshold value for adjustment to reduce the error of each of the outlet water quality parameter values.

[0085] S1142: When the errors of the various effluent water quality parameter values ​​are lower than the corresponding expected values, the average values ​​corresponding to the verification set are input into the water inlet unit of the mechanism model to obtain the current values ​​of the various effluent water quality parameter values.

[0086] S1143: If the errors of the current values ​​of the outlet water quality parameters are equal to or higher than the corresponding expected values, return to the built-in parameters corresponding to the sensitivity coefficient that reaches the preset threshold and adjust them until the errors of the current values ​​of the outlet water quality parameters are lower than the corresponding expected values.

[0087] S120: Calculate and obtain first environmental impact data of the sewage treatment plant under different target process parameter combinations based on the mechanism model and the life cycle assessment method.

[0088] Furthermore, S120 may include S121-S122:

[0089] S121: Obtaining energy consumption data, water quality parameters and greenhouse gas emission data of each sewage treatment unit of the sewage treatment plant based on the mechanism model.

[0090] S122: Calculate the first environmental impact data under different combinations of the process parameters using the life cycle assessment method according to the energy consumption data, the water quality parameters, and the greenhouse gas emission data.

[0091] S130: Constructing a mathematical model of the sewage treatment plant using the first environmental impact data.

[0092] Further, S130 may include S131-S132:

[0093] S131: Utilize each preset algorithm and the environmental impact data to construct a corresponding machine learning prediction model.

[0094] S132: Select the machine learning prediction model with the highest prediction accuracy as the mathematical model.

[0095] S140: Training the mathematical model based on an optimized active learning algorithm, and using the trained mathematical model to screen and obtain the target process parameter combination corresponding to the minimum first environmental impact data.

[0096] Further, S140, including S141 to S147:

[0097] S141: using a genetic algorithm to calculate a first process parameter combination in the mathematical model;

[0098] S142: combining the first process parameter combination and the randomly generated second process parameter combinations to obtain a third process parameter combination;

[0099] S143: Determine the effluent water quality discharge standard value, and calculate the representative coefficient of each combination of the third process parameters according to the effluent water quality discharge standard value and the learning function;

[0100] S144: selecting each third process parameter combination whose representative coefficient reaches the set coefficient threshold as a representative parameter combination, inputting each representative parameter combination into the mechanism model, and obtaining corresponding second environmental impact data;

[0101] S145: combining the first environmental impact data and the second environmental impact data as third environmental impact data, verifying each representative parameter combination according to the third environmental impact data, and combining each verified representative parameter combination into each target process parameter combination;

[0102] S146: Calculate the stop index of the mathematical model. If the stop index is equal to or greater than a set value, return to the step of using the genetic algorithm to calculate the first process parameter combination in the mathematical model until the stop index is less than the set value, thereby obtaining the trained mathematical model.

[0103] S147: Filtering the target process parameter combination corresponding to the minimum first environmental impact data from the first process parameter combination calculated by the trained mathematical model.

[0104] Next, the solution of the embodiment of the present application will be described in detail and explained in conjunction with specific application examples:

[0105] Specifically, this embodiment includes the following steps:

[0106] S1. Obtain sewage treatment plant design data and online monitoring data;

[0107] S1.1. Obtain the design data and online monitoring data of the sewage treatment plant, including the process flow, parameters of each sewage treatment unit, parameters of each process device, inlet and outlet water quality parameters, etc.;

[0108] For example, Figure 2 The process flow chart provided for this embodiment is determined based on the design data of a sewage treatment plant.

[0109] S1.2. According to the optimization objectives of the sewage treatment plant, select appropriate online monitoring data to build the original database;

[0110] Specifically, the online monitoring data used in this embodiment include the inlet and outlet water quality parameters of the sewage treatment plant (including flow rate, chemical oxygen demand, total nitrogen, ammonia nitrogen, total phosphorus, suspended solids, etc.), the sewage treatment device operation parameters (including aeration volume, dosage, internal and external recirculation volume, sludge retention time), etc.

[0111] S2. Build and optimize the mechanism model of the sewage treatment plant based on the activated sludge model;

[0112] S2.1. Calculate the average values ​​of the inlet and outlet water quality parameters of the sewage treatment plant;

[0113] S2.1.1. Calculate the average values ​​of the inlet and outlet water quality parameters of the sewage treatment plant;

[0114] Specifically, methods such as box plots were used to visualize the distribution of various inlet and outlet water quality parameters and to remove outliers.

[0115] S2.1.2. Divide each inlet and outlet water quality parameter into a correction set and a validation set at a ratio of 50:50 at random;

[0116] Specifically, in this embodiment, the inlet and outlet water quality parameters of the sewage treatment plant in 12 months of a year are separated and combined according to the first and second half of each month, wherein the inlet and outlet water quality parameters in the first half of the 12 months are the correction set, and the inlet and outlet water quality parameters in the second half of the 12 months are the verification set, with a ratio of 50:50.

[0117] S2.1.3. Calculate the average values ​​of various inlet and outlet water quality parameters of the correction set and the validation set;

[0118] Specifically, the average values ​​of each inlet and outlet water quality parameter in the correction set and the validation set were calculated for the construction of the subsequent mechanism model.

[0119] S2.2. Determine the research scope of the mechanism model and build the mechanism model according to the process flow of the sewage treatment plant;

[0120] S2.2.3. Determine the scope of the construction of the sewage treatment plant mechanism model, such as waterline and mudline, sludge disposal method and post-treatment technology selection;

[0121] Specifically, this embodiment can divide all the sewage treatment process flows of the mechanism model before building the mechanism model, and consider the location of the inlet and outlet water quality monitoring instruments, in order to model in a targeted manner, illustratively, this embodiment selects the process flow corresponding to the water discharge from the pre-anoxic tank to the water plant, including: water inlet, pre-anoxic tank, anoxic tank, anaerobic tank, aerobic tank, secondary sedimentation tank, outlet, dehydration device, dosing device, mud outlet. The above-mentioned sewage treatment units and pipelines are set in the mechanism model, and the basic parameters of each sewage treatment unit are adjusted according to the sewage treatment plant design data, including design size, flow rate, power, etc.

[0122] S2.2.4. Select an appropriate mechanism model based on the process used by the sewage treatment plant and the characteristics of the influent;

[0123] Specifically, in this embodiment, the Sumo4N model in the SUMO software is used to construct the mechanism model.

[0124] S2.3, perform sensitivity analysis on the built-in parameters of the mechanism model;

[0125] S2.3.1. Input the average values ​​of the inlet and outlet water quality parameters of the correction set into the inlet unit of the mechanism model;

[0126] S2.3.2. Adjust the built-in parameters of the mechanism model and calculate the sensitivity coefficients of various inlet and outlet water quality parameters in combination with the changes in the corresponding outlet water quality parameter values;

[0127] Specifically, the sensitivity coefficient of the built-in parameter is calculated according to the change range of the effluent water quality parameter value and the change range of the built-in parameter of the mechanism model. The specific calculation expression is:

[0128] ;

[0129] in: is the sensitivity coefficient; Simulate effluent water quality parameters for the mechanism model; Simulate the difference in effluent quality between the mechanism model before and after the built-in parameter adjustment; The difference before and after the built-in parameters are adjusted; It is the built-in parameter value before adjustment, which is generally the default parameter value of the mechanism model.

[0130] S2.4, correct the mechanism model and verify its accuracy;

[0131] S2.4.1. Select built-in parameters with higher sensitivity coefficients, optimize and adjust the built-in parameters, and reduce the prediction error of the effluent water quality parameters of the mechanism model;

[0132] Specifically, in this embodiment, 384 built-in parameters were adjusted by 10%, and the recorded effluent water quality parameters were chemical oxygen demand, total nitrogen, ammonia nitrogen, and total phosphorus.

[0133] S2.4.2. When the prediction errors of various effluent water quality parameters are less than the expected values, the built-in parameters of the mechanism model will no longer be adjusted;

[0134] Specifically, the expected value of the error in this embodiment is 15%.

[0135] S2.4.3. Input the average values ​​of the inlet and outlet water quality parameters of the validation set into the inlet unit of the mechanism model to obtain the current outlet water quality parameter values;

[0136] S2.3.4. Calculate the prediction error of the current effluent water quality parameter value of the validation set. If the error is smaller than the expected value, it means that the mechanism model has been corrected. Otherwise, re-optimize the built-in parameters of the mechanism model.

[0137] Specifically, the expected value of the error in this embodiment is 15%.

[0138] S3. Calculate the environmental impact data of the sewage treatment plant based on the mechanism model and life cycle assessment method;

[0139] S3.1. Obtain greenhouse gas emission data, water quality parameters, energy consumption data and other data of different sewage treatment units of sewage treatment plants based on the mechanism model;

[0140] Specifically, in this embodiment, the collected data include but are not limited to: nitrous oxide emissions, methane emissions, aeration fan energy consumption, secondary sedimentation tank sludge pump, excess sludge pump, etc.

[0141] S3.2. Integrate and summarize the greenhouse gas emission data, water quality parameters and energy consumption data of each sewage treatment unit, calculate the environmental impact data of the sewage treatment plant using the Life Cycle Assessment (LCA) method, and construct a mechanism model - LCA framework;

[0142] Specifically, the LCA analysis in this embodiment is carried out using the endpoint assessment method to analyze the specific impact of the material and energy consumption in the process on the quality of the ecosystem, human health, and resource consumption, and comprehensively evaluate the environmental impact data of the sewage treatment process through the sum of the three. The environmental impact data used in this embodiment is eutrophication potential.

[0143] S4. Calculate the environmental impact data of the sewage treatment plant under different process parameter combinations, construct a large data set of process parameter combination-environmental impact data, and establish a machine learning prediction model (i.e., mathematical model);

[0144] S4.1, based on the mechanism model-LCA framework constructed in S3.2, autonomously calculate the environmental impact data of the sewage treatment plant under different process parameter combinations with the help of Python;

[0145] Specifically, the process parameters used in this embodiment are: dissolved oxygen in the aerobic tank, internal recirculation ratio, sludge retention time, and dosage, and 500 sets of process parameter combinations are generated using a random data generation algorithm.

[0146] S4.2. Construct a large data set of process parameter combination-overall eutrophication potential, establish a machine learning prediction model using artificial neural network, random forest and other algorithms, and select the machine learning prediction model with the highest prediction accuracy as the mathematical model of this embodiment;

[0147] Specifically, in this embodiment, artificial neural network, random forest and K nearest neighbor algorithm are used to establish a machine learning prediction model, among which artificial neural network performs best and is selected for subsequent calculations.

[0148] S5. The performance of the optimized active learning algorithm is improved. According to the mechanism model, mathematical model and based on the improved active learning algorithm, the process parameter combination with the lowest eutrophication potential of the sewage treatment plant under the premise of meeting the discharge standards is screened out;

[0149] S5.1. Use optimization methods such as genetic algorithms to calculate the optimal process parameter combination and optimal value in the mathematical model;

[0150] S5.2. Combine the optimal process parameter combination with the randomly generated multiple process parameter combinations, limit the effluent quality to meet the discharge standards, and use the learning function to calculate the representative coefficients of the combined process parameter combinations;

[0151] Specifically, in this embodiment, the Latin hypercube sampling algorithm is used to generate 1000 groups of random process parameter combinations, which are merged with the optimal process parameter combination to obtain a data set of 1001 process parameter combinations.

[0152] At the same time, in this embodiment, the potential risk function is used to calculate the representative coefficient of each process parameter combination, and the specific calculation formula is:

[0153] ;

[0154] in: Indicates the process parameter combination for which representative coefficients need to be calculated; is the representativeness coefficient; is the spatial distance function; is the optimal value distance function; is the penalty function. The specific calculation formula of each function is:

[0155] ;

[0156] ;

[0157] ;

[0158] in: is the process parameter combination data set obtained after the current k iterations, and They are A process parameter combination in ; for The number of process parameter combinations; is the weight of the optimal value distance function; The optimal process parameter combination given by the optimization algorithm, combining data sets for process parameters to be selected; for The number of process parameter combinations; and Represents the process parameter combination and The predicted value of the target in the mechanistic model; Represents the process parameter combination The predicted values ​​of water discharge in the mechanism model; It is the numerical limit of effluent from sewage treatment plants; A custom penalty coefficient.

[0159] S5.3. Select n groups of the most representative process parameter combinations and input them into the mechanism model-LCA framework to calculate the corresponding environmental impact data;

[0160] Specifically, in this embodiment, the number of process parameter combinations selected each time is 10.

[0161] S5.4. Merge the validated representative process parameter combinations into the original data set;

[0162] S5.5. Calculate the stop index of the iteration process. If it is less than the set value, the loop iteration stops. Otherwise, the mathematical model is trained based on the expanded data set and a new round of iteration begins.

[0163] Specifically, the specific calculation formula of the stop indicator is:

[0164] ;

[0165] in: For the stop indicator, and are the standard deviation and mean of the target values ​​selected in the last three iterations. In this embodiment, the setting value for stopping iteration is 0.01. R 2 ( R 2 The coefficient of determination and eutrophication potential are used as stop indicators. When the values ​​of both stop indicators are less than the set value, the cycle stops. The detailed active learning algorithm cycle process can be found in Figure 3 .

[0166] S5.6. After the cycle iteration is completed, the lowest value of the environmental impact data and the corresponding process parameter combination are selected from the multiple sets of verified optimal process parameter combinations, and the selected process parameter combination is the process parameter combination with the least environmental impact under the premise that the effluent of the sewage treatment plant meets the discharge standards;

[0167] Specifically, in this embodiment, 18 rounds of iterations are performed, and the detailed stop index iterations are shown in Figures 4(a) and 4(b). Figure 4(a) is an iterative change diagram of eutrophication potential as a stop index, and Figure 4(b) is an iterative change diagram of the mathematical model. R 2 A graph of iterative changes as a stopping indicator.

[0168] The optimal process parameter combination determined during the iteration process has a eutrophication potential that is 34% lower than the original process parameter combination of the sewage treatment plant, effectively reducing the impact of the sewage treatment plant on water eutrophication.

[0169] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0170] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0171] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0172] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0173] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0174] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for reducing the environmental impact of a sewage treatment plant by coupling a mechanism-mathematical model, characterized in that: The method comprises the following steps: Obtain design data and online monitoring data of sewage treatment plants; Constructing a mechanism model of the sewage treatment plant based on the design data and the online monitoring data; Based on the mechanism model and the life cycle assessment method, first environmental impact data of the sewage treatment plant under different target process parameter combinations are calculated; constructing a mathematical model of the sewage treatment plant using the first environmental impact data; The mathematical model is trained based on an optimized active learning algorithm, and the trained mathematical model is used to screen and obtain the target process parameter combination corresponding to the minimum first environmental impact data; The method of training the mathematical model based on the optimized active learning algorithm and using the trained mathematical model to screen and obtain the target process parameter combination corresponding to the minimum first environmental impact data comprises the following steps: Using a genetic algorithm to calculate a first process parameter combination in the mathematical model; Combining the first process parameter combination and each randomly generated second process parameter combination to obtain a third process parameter combination; Determine the effluent water quality discharge standard value, and calculate the representative coefficient of each combination of the third process parameters according to the effluent water quality discharge standard value and the learning function; Selecting each third process parameter combination whose representative coefficient reaches a set coefficient threshold as a representative parameter combination, inputting each representative parameter combination into the mechanism model, and obtaining corresponding second environmental impact data; Combining the first environmental impact data and the second environmental impact data as third environmental impact data, verifying each of the representative parameter combinations according to the third environmental impact data, and merging the verified each of the representative parameter combinations into each of the target process parameter combinations; Calculating a stop index of the mathematical model, and if the stop index is equal to or greater than a set value, returning to the first process parameter combination calculated in the mathematical model using the genetic algorithm until the stop index is less than the set value, thereby obtaining the trained mathematical model; The target process parameter combination corresponding to the minimum first environmental impact data is obtained by screening out the first process parameter combination calculated by the trained mathematical model.

2. The method of reducing the environmental impact of a sewage treatment plant by coupling mechanism-mathematical model according to claim 1 is characterized in that: The method of obtaining the design data and online monitoring data of the sewage treatment plant comprises the following steps: Acquiring the process flow of the sewage treatment plant, the parameters of each sewage treatment unit and the parameters of each process device as the design data; The inlet and outlet water quality parameters of the sewage treatment plant are obtained as the online monitoring data.

3. The method of reducing the environmental impact of a sewage treatment plant by coupling mechanism-mathematical model according to claim 1 is characterized in that: The mechanism model of the sewage treatment plant is constructed based on the design data and the online monitoring data, comprising the following steps: Constructing the mechanism model according to the process flow of the sewage treatment plant; Calculate the average values ​​of the inlet and outlet water quality parameters of the sewage treatment plant based on the design data and the online monitoring data; Performing sensitivity analysis on built-in parameters of the mechanism model according to the average value to obtain sensitivity analysis results; The built-in parameters are adjusted according to the sensitivity analysis results and the adjusted built-in parameters are verified.

4. The method of reducing the environmental impact of a sewage treatment plant by coupling mechanism-mathematical model according to claim 3 is characterized in that: The mechanism model is constructed according to the process flow of the sewage treatment plant, comprising the following steps: Determine the corresponding sewage treatment units according to the water quality parameters treated by the sewage treatment plant, and determine the target process flow corresponding to each sewage treatment unit; The mechanism model is constructed according to the target process flow and the water inlet characteristic information of the target process flow.

5. The method of reducing the environmental impact of a sewage treatment plant by coupling mechanism-mathematical model according to claim 3 is characterized in that: The method of calculating the average values ​​of the inlet and outlet water quality parameters of the sewage treatment plant based on the design data and the online monitoring data comprises the following steps: Acquire various water quality parameters of the inlet and outlet water of the sewage treatment plant based on the design data and the online monitoring data; Eliminate abnormal values ​​in each of the inlet and outlet water quality parameters; Divide each of the inlet and outlet water quality parameters into a correction set and a verification set according to a set ratio; The average values ​​corresponding to the correction set and the validation set are calculated respectively.

6. The method of reducing the environmental impact of a sewage treatment plant by coupling mechanism-mathematical model according to claim 5 is characterized in that: The step of performing sensitivity analysis on the built-in parameters of the mechanism model according to the average value to obtain sensitivity analysis results comprises the following steps: Inputting the average value corresponding to the correction set into the water inlet unit of the mechanism model, and adjusting the built-in parameters of the mechanism model to obtain multiple effluent water quality parameter values; The sensitivity coefficients corresponding to the inlet and outlet water quality parameters are calculated based on the values ​​of the outlet water quality parameters as the sensitivity analysis results.

7. The method of reducing the environmental impact of a sewage treatment plant by coupling mechanism-mathematical model according to claim 6 is characterized in that: The step of adjusting the built-in parameters according to the sensitivity analysis results and verifying the adjusted built-in parameters comprises the following steps: Selecting the built-in parameter corresponding to the sensitivity coefficient that reaches the preset threshold value for adjustment to reduce the error of each of the effluent water quality parameter values; When the errors of the effluent water quality parameter values ​​are all lower than the corresponding expected values, the average values ​​corresponding to the validation set are input into the water inlet unit of the mechanism model to obtain the current effluent water quality parameter values; If the errors of the current values ​​of the outlet water quality parameters are equal to or higher than the corresponding expected values, return to the built-in parameters corresponding to the sensitivity coefficient that reaches the preset threshold and adjust them until the errors of the current values ​​of the outlet water quality parameters are lower than the corresponding expected values.

8. The method of reducing the environmental impact of a sewage treatment plant by coupling mechanism-mathematical model according to claim 1 is characterized in that: The first environmental impact data of the sewage treatment plant under different target process parameter combinations is calculated based on the mechanism model and the life cycle assessment method, comprising the following steps: Based on the mechanism model, energy consumption data, water quality parameters and greenhouse gas emission data of each sewage treatment unit of the sewage treatment plant are obtained; The first environmental impact data under different combinations of the target process parameters are calculated using the life cycle assessment method according to the energy consumption data, the water quality parameters and the greenhouse gas emission data.

9. The method of reducing the environmental impact of a sewage treatment plant by coupling mechanism-mathematical model according to claim 1 is characterized in that: The method of constructing the mathematical model of the sewage treatment plant by using the first environmental impact data comprises the following steps: Using each preset algorithm and the first environmental impact data to construct a corresponding machine learning prediction model; The machine learning prediction model with the highest prediction accuracy is selected as the mathematical model.

Citation Information

Patent Citations

  • Water quality prediction method and system integrating hydrodynamic model and mathematical model

    CN116933949A

  • Method for calculating optimal control parameters in sewage treatment intelligent control process

    CN117032138A