A sewage treatment plant operation system and control method
By establishing a sludge moisture content prediction model and selecting optimal regulatory factors, the problem of low sludge dehydration rate in sewage treatment plants was solved, the sludge treatment efficiency was improved, resources were saved, and more efficient sludge treatment effects were achieved.
Patent Information
- Application Number
- CN202410221717.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-28
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-02-28
AI Technical Summary
The dehydration rate of sludge in sewage treatment plants is not efficient, resulting in waste of chemical reagents and mediocre treatment effects.
By obtaining the data parameters during sludge treatment, a prediction model for sludge moisture content is established, the influencing factors are set, the influencing factor with the largest difference is selected as the optimal regulating factor, and the sludge moisture content is adjusted to achieve better regulating effects. Specific methods include delay compensation of data parameters, K-nearest neighbor mutual information change rate bidirectional selection algorithm screening, VMD algorithm decomposition, RBF neural network construction and BSO optimization algorithm hyperparameter optimization. Build a prediction model and train it to determine the optimal control impact. factor.
It improves the efficiency of sludge dehydration control, reduces the amount of control, saves cost and time, and achieves better treatment results.
Smart Images

Figure CN118092349B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sewage treatment control systems, and in particular to an operation system and a control method for a sewage treatment plant. Background Art
[0002] The operating system of a sewage treatment plant usually includes the following parts: Water inlet system: used to receive and transport sewage to the treatment plant, including sewage pipes, pumping stations and other facilities. Pretreatment system: used to remove large particles of impurities, sand, grease and other substances, usually including screens, sand pools, oil-water separators and other equipment. Biochemical treatment system: mainly includes biological treatment processes, such as activated sludge method, biofilm method, etc., used to remove organic matter, nitrogen, phosphorus and other pollutants. Sludge treatment system: used to treat the sludge generated in the biochemical treatment process, usually including sludge concentration, dehydration, drying and other equipment. Control system: used to monitor and adjust the entire treatment process, including automatic control systems, monitoring equipment, etc.
[0003] This plan mainly involves the improvement of the control system. In the current sewage pool treatment, there are certain requirements for the dehydration rate of sludge. The conventional technology is to monitor the value of the dehydration rate and then add the corresponding chemical reagents. However, this treatment method is not efficient and there is no targeted change to a certain value to achieve a better treatment effect, which may lead to a waste of chemical reagents and mediocre treatment effects. Summary of the invention
[0004] The purpose of the present invention is to provide a sewage treatment plant operation system and control method to solve the problem of low dehydration efficiency.
[0005] The embodiments of the present invention are implemented by the following technical solutions:
[0006] In a first aspect, the present invention provides a method for controlling an operation system of a sewage treatment plant, comprising:
[0007] Obtain data parameters during sludge treatment and pre-process the data parameters;
[0008] A prediction model for sludge moisture content is established through data parameters, default parameters are set, and a first sludge moisture content is calculated through the default parameters and the prediction model;
[0009] and setting a number of influencing factors, and obtaining a second sludge moisture content calculated by the prediction model for a number of different influencing factors according to the influencing factors and the prediction model;
[0010] Compare the moisture content of several second sludges with the moisture content of the first sludge, and select the influencing factor corresponding to the moisture content of the second sludge with the largest difference as the optimal control influencing factor;
[0011] Set the sludge moisture content threshold, obtain the sludge moisture content at the inlet, treatment and outlet, and compare it with the sludge moisture content threshold to change the value of the optimal control influencing factor.
[0012] In one embodiment of the present invention, the establishment of a prediction model for sludge moisture content through data parameters includes:
[0013] Select several data parameters and perform delay compensation on each data parameter;
[0014] The data parameters with added delay are screened by using the K nearest neighbor mutual information change rate bidirectional selection algorithm, redundant data parameters are removed, and the optimal subset consisting of the remaining data parameters is generated;
[0015] The VMD algorithm is used to decompose the optimal subset, and the decomposed IMF components are calculated and screened through mutual information to determine the final input of the prediction model;
[0016] Construct an RBF neural network, use the BSO optimization algorithm to optimize the hyperparameters of the neural network, bring the final input of the prediction model into the model, perform training and testing, and obtain the final result.
[0017] In one embodiment of the present invention, the screening of the data parameters with added delay by using the K nearest neighbor mutual information change rate bidirectional selection algorithm includes:
[0018] Step 1: Set the optimal subset, calculate the one-dimensional mutual information value between any data in the data parameter and the output, and arrange them from large to small, and take the variable with the largest mutual information value and put it into the optimal subset;
[0019] Step 2: Calculate the change rate of the remaining data parameters that have not been included in the optimal subset, set a threshold, and select the corresponding data parameters whose change rate is less than the threshold to add to the optimal subset;
[0020] Step 3: Repeat step 2 until all data parameters are selected and the data screening is completed to form the final optimal subset.
[0021] In one embodiment of the present invention, optimizing the hyperparameters of the neural network using the BSO optimization algorithm includes:
[0022] Step 1: Obtain the data parameters of the optimal subset, and calculate the initial adaptation function for the data parameters to obtain the initial optimal solution;
[0023] Step 2: Use the position x of the two whiskers of the longhorn beetle l 、x r Calculate the update speed v and update position x of the longhorn beetle group;
[0024] Step 3: Calculate the fitness function value according to the position x, and update the individual optimal and global optimal solutions;
[0025] Step 4: Determine whether the maximum number of iterations has been reached. If so, output the global optimal solution. If not, start from step 2 and loop to solve until the maximum number of iterations is reached.
[0026] In one embodiment of the present invention, the method according to a number of influencing factors and prediction models includes:
[0027] By changing the value of one of the influencing factors and keeping the other influencing factors unchanged, the second sludge moisture content corresponding to the influencing factor can be calculated through the prediction model, and it can be determined whether the influencing factor is positive feedback or negative feedback;
[0028] The above steps are repeated until all influencing factors are changed in rotation, and the moisture content of the second sludge corresponding to all calculations is obtained.
[0029] In one embodiment of the present invention, the obtaining of the sludge moisture content at the water inlet, during treatment and at the water outlet and comparing the sludge moisture content with the sludge moisture content threshold value comprises:
[0030] Compare the sludge moisture content at the water inlet with the sludge moisture content threshold. If the optimal control factor is positive feedback, when the sludge moisture content at the water inlet is greater than the sewage moisture content threshold, the value of the optimal control factor is reduced. Similarly, it is increased.
[0031] On the contrary, if the optimal control influencing factor is negative feedback, when the sludge moisture content at the water inlet is greater than the sewage moisture content threshold, the value of the optimal control influencing factor will increase, and similarly, it will decrease.
[0032] In one embodiment of the present invention, it also includes setting a threshold error of sludge moisture content;
[0033] When the difference between the sludge moisture content in treatment and the sludge moisture content threshold is within the sludge moisture content threshold error, the numerical change of the optimal control influencing factor is stopped.
[0034] In one embodiment of the present invention, it includes:
[0035] The sludge moisture content at the outlet is compared with the sludge moisture content threshold to calculate the difference. If it is not within the sludge moisture content threshold error, the influencing factor corresponding to the second largest difference between the second sludge moisture content and the sludge moisture content threshold is selected as the secondary control influencing factor;
[0036] And according to whether the secondary control influencing factor is positive feedback or negative feedback, the value of the secondary control influencing factor is adjusted until the difference between the sludge moisture content at the outlet and the sludge moisture content threshold is within the sludge moisture content threshold error.
[0037] In a second aspect, the present invention further provides a sewage treatment plant operation system, comprising:
[0038] A parameter acquisition module is configured to acquire data parameters during sludge treatment and pre-process the data parameters;
[0039] A prediction model building module is configured to build a prediction model of sludge moisture content through data parameters, set default parameters, and calculate a first sludge moisture content through the default parameters and the prediction model;
[0040] The influencing factor calculation module is configured to set a plurality of influencing factors, and obtain the second sludge moisture content calculated by the prediction model based on the plurality of influencing factors and the prediction model;
[0041] The influencing factor judgment module compares the moisture content of the second sludge with the moisture content of the first sludge, and selects the influencing factor corresponding to the moisture content of the second sludge with the largest difference as the optimal control influencing factor;
[0042] The control module sets the sludge moisture content threshold, obtains the sludge moisture content at the water inlet, during treatment and at the water outlet, and compares it with the sludge moisture content threshold to change the value of the optimal control influencing factor;
[0043] A main control device, which is connected to the parameter acquisition module, the prediction model establishment module, the influence factor calculation module, the influence factor judgment module and the regulation module, and is used to execute the above-mentioned sewage treatment plant operation system control method.
[0044] The technical solution of the embodiment of the present invention has at least the following advantages and beneficial effects:
[0045] The scheme provided by the present invention mainly includes obtaining data parameters during sludge treatment, establishing a prediction model for sludge moisture content through data parameters, setting default parameters, and calculating the first sludge moisture content through the default parameters and the prediction model; and setting several influencing factors to obtain the second sludge moisture content calculated by the prediction model for several different influencing factors; comparing the several second sludge moisture contents with the first sludge moisture content, and selecting the influencing factor corresponding to the second sludge moisture content with the largest difference as the optimal control influencing factor. After the optimal control influencing factor is selected through the above method, the optimal control influencing factor can be controlled to achieve a better control effect with the minimum control amount as the goal, which can not only improve the control efficiency, but also use the minimum control amount to achieve a better effect of saving costs or saving working time. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0047] Figure 1 It is a schematic diagram of the process of the present invention; DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, 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 part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0049] The terms "first, second" and the like in the specification and claims of this application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The named or numbered process steps can be changed in the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.
[0050] Please refer to Figure 1 The present invention provides a method for controlling an operation system of a sewage treatment plant, comprising:
[0051] S101: Acquire data parameters during sludge treatment and pre-process the data parameters;
[0052] The data parameters in this embodiment may be sludge particle size, temperature, pH value, redox potential and sludge treatment time.
[0053] S102: establishing a prediction model for sludge moisture content through data parameters, setting default parameters, and calculating a first sludge moisture content through the default parameters and the prediction model;
[0054] The default parameters can be set arbitrarily, and the main purpose is to obtain the first sludge moisture content for comparison.
[0055] S103: setting a number of influencing factors, and obtaining a second sludge moisture content calculated by the prediction model based on the number of influencing factors and the prediction model;
[0056] Specifically, the value of one of the influencing factors is changed, and the other influencing factors remain unchanged. The prediction model is used to calculate the second sludge moisture content corresponding to the influencing factor, and it is determined whether the influencing factor is positive feedback or negative feedback; the above steps are repeated until all the influencing factors are changed in rotation, and the second sludge moisture content corresponding to all calculations is obtained.
[0057] S104: comparing the moisture content of the second sludge with the moisture content of the first sludge, and selecting the influencing factor corresponding to the moisture content of the second sludge with the largest difference as the optimal control influencing factor;
[0058] Among them, the greater the difference between the second sludge moisture content and the first sludge moisture content, the greater the influence of the regulation of the influencing factor corresponding to the second sludge moisture content on the sludge moisture content. The second sludge moisture content calculated by the above model algorithm is compared and screened to find the second sludge moisture content with the largest difference, that is, to obtain the influencing factor with the best regulation effect, which is used as the optimal regulation influencing factor.
[0059] S105: Setting a sludge moisture content threshold, obtaining the sludge moisture content at the water inlet, during treatment and at the water outlet, and comparing it with the sludge moisture content threshold to change the value of the optimal control influencing factor.
[0060] In an exemplary embodiment of the present invention, establishing a prediction model for sludge moisture content through data parameters includes:
[0061] S201: Selecting a number of data parameters and performing delay compensation on each of the data parameters;
[0062] Delay compensation for parameters refers to compensating for the delay of system parameter changes in the control system to improve the stability and performance of the system. In the control system, there is usually a delay in parameter changes, which may be caused by factors such as sensor response speed, signal transmission delay, actuator response speed, etc.
[0063] The time delay compensation of parameters can be achieved through different methods, such as predictive control algorithm, timing compensation algorithm, etc. By compensating the delay of system parameter changes, the control system can respond to changes more quickly, improve the stability and robustness of the system, and thus improve the performance and efficiency of the system.
[0064] In the sewage treatment system, the time delay compensation of parameters can be applied to various links in the control system, such as adjusting sewage treatment process parameters, controlling the operating status of equipment, etc., to ensure that the system can respond to changes in a timely and effective manner and achieve better treatment results.
[0065] S202: Screening the data parameters with added delays by using a K-nearest neighbor mutual information change rate bidirectional selection algorithm, removing redundant data parameters, and generating an optimal subset consisting of the remaining data parameters;
[0066] S203: Decomposing the optimal subset using the VMD algorithm, and determining the final input of the prediction model through mutual information calculation and screening of the decomposed IMF components;
[0067] S204: Construct an RBF neural network, use the BSO optimization algorithm to optimize the hyperparameters of the neural network, bring the final input of the prediction model into the model, perform training and testing, and obtain the final result.
[0068] Specifically, the screening of the data parameters with added delay by using the K nearest neighbor mutual information change rate bidirectional selection algorithm includes:
[0069] K nearest neighbor mutual information is calculated by the Euclidean distance between samples.
[0070] S301: Setting the optimal subset, calculating the one-dimensional mutual information value between any data in the data parameter and the output, and arranging them from large to small, taking the variable with the largest mutual information value and putting it into the optimal subset;
[0071] S302: Calculate the change rate of the remaining data parameters that have not been included in the optimal subset, set a threshold, and select the corresponding data parameters whose change rate is less than the threshold to add to the optimal subset;
[0072] The calculation of the rate of change is as follows:
[0073]
[0074] In the formula, E(D+d i , Y) is the rate of change, I{x1, x2, …, x m , Y}, is the low-dimensional K-nearest neighbor mutual information analogized to the high-dimensional K-nearest neighbor mutual information; D is the sample input set, D = {x1, x2, ..., x m}, Y is the output, d i Any newly added variable, m is the number of variables.
[0075] S303: Repeat S302 until all data parameters are selected, completing the data screening to form the final optimal subset.
[0076] Secondly, the BSO optimization algorithm is used to optimize the hyperparameters of the neural network, including;
[0077] S401: Obtain data parameters of the optimal subset, and calculate an initial adaptation function for the data parameters to obtain an initial optimal solution;
[0078] S402: Passing through the positions of the two whiskers of the longicorn l 、x r Calculate the update speed v and update position x of the longhorn beetle group;
[0079] Specifically, initialize the beetle, set the initial centroid position of the beetle to x, and the left whisker to x l , the right side must be x r , the distance between the two whiskers is d0, the dimension is k, and the step length is N step , the number of iterations is n, and the initial direction is D ir .
[0080] D ir =rands(k,1)
[0081] Among them, rands is a k-dimensional random variable with a value between 0 and 1.
[0082] After normalizing the directions, the left and right whisker positions were calculated using the following formula.
[0083]
[0084] Calculate the odor perception intensity of the left and right whiskers of the longhorn beetle, that is, calculate the fitness function values of the left and right whiskers, and then substitute the values of the left and right functions into the following formula to update the position of the longhorn beetle.
[0085] x=xN step ×D ir ×sign(f(x l )·f(x r ))In the formula, f(x l )、f(x r ) is the fitness function value of the left and right whiskers of the longicorn beetle; sign is the sign function, which is used to indicate the positive or negative value.
[0086] Among them, the distance between the two whiskers of the longhorn beetle d0 and the moving step length N step They are updated iteratively through the following formulas respectively.
[0087] d0=N step / c
[0088] N step t =λN step t-1
[0089] In the formula, c is a fixed value. λ is the attenuation coefficient, usually 0.95.
[0090] Determine whether the number of iterations has been reached or the requirements for stopping iterations have been met. If not, continue iterating until the end.
[0091] Among them, the speed v updated according to the BSO optimization algorithm is:
[0092] v=w×v0+c1×r1×(p ibest -x)+c2×r2×(g best -x)+c3×r3×u0
[0093] In the formula, w is the inertia weight, c1, c2, c3 are learning factors, which are 1.2, and p ibest is the optimal solution for the individual at the current position, g best is the global optimal solution for the current position.
[0094] About location updates:
[0095] x i+1 =x i +v i+1
[0096] In the formula, x i+1 is the position of the longicorn in the (i+1)th iteration; v i+1 is the (i+1)th iteration longicorn speed.
[0097] Longhorn step length update:
[0098] Since the attenuation coefficient of the step length is fixed during the iteration of the BSO algorithm, this will cause the search accuracy to decrease in the early stage of the search iteration due to the long step length, and the search efficiency to deteriorate due to the slow attenuation in the later stage. Therefore, a dynamic attenuation strategy is proposed:
[0099]
[0100] Where N step0 is the initial step length.
[0101] S403: Calculate the fitness function value according to the position x, and update the individual optimal solution and the global optimal solution;
[0102] S404: Determine whether the maximum number of iterations has been reached. If so, output the global optimal solution. If not, start looping from step 2 until the maximum number of iterations has been reached.
[0103] In an exemplary embodiment of the present invention, obtaining the sludge moisture content at the water inlet, during treatment and at the water outlet and comparing it with the sludge moisture content threshold value comprises:
[0104] The sludge moisture content at the water inlet is compared with the sludge moisture content threshold. If the optimal control influencing factor is positive feedback, when the sludge moisture content at the water inlet is greater than the sewage moisture content threshold, the value of the optimal control influencing factor is reduced. Similarly, if it is increased, it will increase. On the contrary, if the optimal control influencing factor is negative feedback, when the sludge moisture content at the water inlet is greater than the sewage moisture content threshold, the value of the optimal control influencing factor is increased. Similarly, if it is decreased.
[0105] That is, if under the current environment, the pH value is used as an influencing factor, and its impact on the dehydration rate is the optimal control influencing factor, and it is a positive feedback, then when the sludge moisture content at the water inlet is greater than the sewage moisture content threshold, the pH value of the sludge entering the treatment tank is reduced to make the sludge moisture content close to the set sludge moisture content threshold, otherwise it will increase.
[0106] Similarly, if in the current environment, the temperature value is used as the optimal control influencing factor and is a negative feedback, then when the sludge enters the treatment tank, the sludge temperature is increased to make the sludge moisture content close to the set sludge moisture content threshold, otherwise it is reduced.
[0107] Secondly, it also includes setting a sludge moisture content threshold error; when the difference between the sludge moisture content being treated and the sludge moisture content threshold is within the sludge moisture content threshold error, the numerical change of the optimal control influencing factor is stopped.
[0108] In an exemplary embodiment of the present invention, if the water content of the sludge in the treated sewage still does not reach the set sludge water content threshold, the sludge water content at the outlet is compared with the sludge water content threshold to calculate the difference. If it is not within the sludge water content threshold error, the influencing factor corresponding to the second largest difference between the second sludge water content and the sludge water content threshold is selected as the secondary control influencing factor;
[0109] And according to whether the secondary control influencing factor is positive feedback or negative feedback, the value of the secondary control influencing factor is adjusted until the difference between the sludge moisture content at the outlet and the sludge moisture content threshold is within the sludge moisture content threshold error.
[0110] In this embodiment, the purpose of selecting the influencing factor corresponding to the second largest difference between the second adjustment factor and the sludge moisture content threshold as the secondary control influencing factor is to reduce the operation complexity of the entire system and avoid the situation in which, during the adjustment of the optimal control influencing factor in the previous process, a completely different adjustment method occurs in the subsequent process, which leads to a more complex system algorithm and an increased error rate. Therefore, another influencing factor is regulated, and the influence second only to the optimal control influencing factor is selected for regulation to maximize the processing efficiency.
[0111] In a second aspect, the present invention further provides a sewage treatment plant operation system, comprising:
[0112] A parameter acquisition module is configured to acquire data parameters during sludge treatment and pre-process the data parameters;
[0113] A prediction model building module is configured to build a prediction model of sludge moisture content through data parameters, set default parameters, and calculate a first sludge moisture content through the default parameters and the prediction model;
[0114] The influencing factor calculation module is configured to set a plurality of influencing factors, and obtain the second sludge moisture content calculated by the prediction model based on the plurality of influencing factors and the prediction model;
[0115] The influencing factor judgment module compares the moisture content of the second sludge with the moisture content of the first sludge, and selects the influencing factor corresponding to the moisture content of the second sludge with the largest difference as the optimal control influencing factor;
[0116] The control module sets the sludge moisture content threshold, obtains the sludge moisture content at the water inlet, during treatment and at the water outlet, and compares it with the sludge moisture content threshold to change the value of the optimal control influencing factor;
[0117] The main control device is connected with the parameter acquisition module, the prediction model establishment module, the influence factor calculation module, the influence factor judgment module and the regulation module, and is used to execute the above-mentioned sewage treatment plant operation system control method.
[0118] The technical solution of the embodiment of the present invention has at least the following advantages and beneficial effects:
[0119] The scheme provided by the present invention mainly includes obtaining data parameters during sludge treatment, establishing a prediction model for sludge moisture content through data parameters, setting default parameters, and calculating the first sludge moisture content through the default parameters and the prediction model; and setting several influencing factors to obtain the second sludge moisture content calculated by the prediction model for several different influencing factors; comparing the several second sludge moisture contents with the first sludge moisture content, and selecting the influencing factor corresponding to the second sludge moisture content with the largest difference as the optimal control influencing factor. After the optimal control influencing factor is selected through the above method, the optimal control influencing factor can be controlled to achieve a better control effect with the minimum control amount as the goal, which can not only improve the control efficiency, but also use the minimum control amount to achieve a better effect of saving costs or saving working time.
[0120] Secondly, based on the above content, the present invention provides an exemplary embodiment for explanation:
[0121] Based on the sewage treatment platform, it includes a digital water plant and a physical water plant. The physical water plant includes relevant equipment for sewage treatment, and the digital water plant includes a control system for sewage treatment. The treatment of the physical water plant is controlled, data is collected and processed through sensors, and data parameters during sludge treatment are obtained. The control method provided by this solution is set in the control system of the digital water plant, and then a prediction model for sludge moisture content is established through the model simulation system in the digital water plant combined with the data parameters.
[0122] The data parameters include temperature, humidity, aeration flow, aeration time, dosage, and carbon source dosage. According to this method, the optimal control factor affecting the sludge moisture content in sewage treatment is found, and the digital water plant sends the control signal to the physical water plant for implementation. If the optimal control factor is the aeration time, the aeration flow control system in the digital water plant sends the aeration system data to the relevant equipment of the aeration tank for adjustment; if the optimal control factor is the carbon source dosage, the carbon source addition control system in the digital water plant sends the carbon source addition system data to the relevant equipment of the carbon source addition process, and the remaining equipment or processes are similar to the above-mentioned carbon source addition system or aeration flow control system.
[0123] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0124] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for controlling an operation system of a sewage treatment plant, It is characterized in that include; Obtain data parameters during sludge treatment and pre-process the data parameters; A prediction model for sludge moisture content is established through data parameters, default parameters are set, and a first sludge moisture content is calculated through the default parameters and the prediction model; and setting a number of influencing factors, and obtaining a second sludge moisture content calculated by the prediction model for a number of different influencing factors according to the influencing factors and the prediction model; Compare the moisture content of several second sludges with the moisture content of the first sludge, and select the influencing factor corresponding to the moisture content of the second sludge with the largest difference as the optimal control influencing factor; Set the sludge moisture content threshold, obtain the sludge moisture content at the water inlet, during treatment and at the water outlet, and compare it with the sludge moisture content threshold to change the value of the optimal control influencing factor; The method of establishing a prediction model for sludge moisture content through data parameters includes: Select several data parameters and perform delay compensation on each data parameter; The data parameters with added delay are screened by using the K nearest neighbor mutual information change rate bidirectional selection algorithm, redundant data parameters are removed, and the optimal subset consisting of the remaining data parameters is generated; The VMD algorithm is used to decompose the optimal subset, and the decomposed IMF components are calculated and screened through mutual information to determine the final input of the prediction model; Construct an RBF neural network, use the BSO optimization algorithm to optimize the hyperparameters of the neural network, bring the final input of the prediction model into the model, perform training and testing, and obtain the final result; The screening of the data parameters with added delay by using the K nearest neighbor mutual information change rate bidirectional selection algorithm includes: Step 1: Set the optimal subset, calculate the one-dimensional mutual information value between any data in the data parameter and the output, and arrange them from large to small, and take the variable with the largest mutual information value and put it into the optimal subset; Step 2: Calculate the change rate of the remaining data parameters that have not been included in the optimal subset, set a threshold, and select the corresponding data parameters whose change rate is less than the threshold to add to the optimal subset; Step 3: Repeat step 2 until all data parameters are selected, completing the data screening to form the final optimal subset; The said several influencing factors and prediction models include; By changing the value of one of the influencing factors and keeping the other influencing factors unchanged, the second sludge moisture content corresponding to the influencing factor can be calculated through the prediction model, and it can be determined whether the influencing factor is positive feedback or negative feedback; Repeat the above steps until all influencing factors are changed in rotation, and obtain the second sludge moisture content corresponding to all calculations; The obtaining of the sludge moisture content at the water inlet, during treatment and at the water outlet and comparing the sludge moisture content with the sludge moisture content threshold value comprises: Compare the sludge moisture content at the water inlet with the sludge moisture content threshold. If the optimal control factor is positive feedback, when the sludge moisture content at the water inlet is greater than the sewage moisture content threshold, the value of the optimal control factor is reduced. Similarly, it is increased. On the contrary, if the optimal control influencing factor is negative feedback, when the sludge moisture content at the water inlet is greater than the sewage moisture content threshold, the value of the optimal control influencing factor will increase, and similarly, it will decrease.
2. A sewage treatment plant operation system control method according to claim 1, It is characterized in that The method of optimizing the hyperparameters of the neural network using the BSO optimization algorithm includes: Step 1: Obtain the data parameters of the optimal subset, and calculate the initial adaptation function for the data parameters to obtain the initial optimal solution; Step 2: Use the position x of the two whiskers of the longhorn beetle i 、x r Calculate the update speed v and update position x of the longhorn beetle group; Step 3: Calculate the fitness function value according to the position x, and update the individual optimal and global optimal solutions; Step 4: Determine whether the maximum number of iterations has been reached. If so, output the global optimal solution. If not, start from step 2 and repeat the solution until the maximum number of iterations has been reached.
3. A sewage treatment plant operation system control method according to claim 1, It is characterized in that It also includes setting the threshold error of sludge moisture content; When the difference between the sludge moisture content in treatment and the sludge moisture content threshold is within the sludge moisture content threshold error, the numerical change of the optimal control influencing factor is stopped.
4. A sewage treatment plant operation system control method according to claim 3, It is characterized in that include: The sludge moisture content at the outlet is compared with the sludge moisture content threshold to calculate the difference between the two. If it is not within the sludge moisture content threshold error, the influencing factor corresponding to the second largest difference between the second sludge moisture content and the sludge moisture content threshold is selected as the secondary control influencing factor; And according to whether the secondary control influencing factor is positive feedback or negative feedback, the value of the secondary control influencing factor is adjusted until the difference between the sludge moisture content at the outlet and the sludge moisture content threshold is within the sludge moisture content threshold error.
5. A sewage treatment plant operation system, It is characterized in that include; A parameter acquisition module is configured to acquire data parameters during sludge treatment and pre-process the data parameters; A prediction model building module is configured to build a prediction model of sludge moisture content through data parameters, set default parameters, and calculate a first sludge moisture content through the default parameters and the prediction model; The influencing factor calculation module is configured to set a plurality of influencing factors, and obtain the second sludge moisture content calculated by the prediction model based on the plurality of influencing factors and the prediction model; The influencing factor judgment module compares the moisture content of the second sludge with the moisture content of the first sludge, and selects the influencing factor corresponding to the moisture content of the second sludge with the largest difference as the optimal control influencing factor; The control module sets the sludge moisture content threshold, obtains the sludge moisture content at the water inlet, during treatment and at the water outlet, and compares it with the sludge moisture content threshold to change the value of the optimal control influencing factor; A main control device, which is connected to the parameter acquisition module, the prediction model establishment module, the influence factor calculation module, the influence factor judgment module and the regulation module, and is used to execute a sewage treatment plant operation system control method as described in any one of claims 1-4.
