DYNAMIC MULTI-OBJECTIVE PARTICLE SWARM OPTIMIZATION-BASED OPTIMAL CONTROL METHOD FOR WASTEWATER TREATMENT PROCESS
20200385286 ยท 2020-12-10
Inventors
Cpc classification
C02F2209/10
CHEMISTRY; METALLURGY
Y02P90/02
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
C02F1/008
CHEMISTRY; METALLURGY
G06N3/006
PHYSICS
G06F17/16
PHYSICS
International classification
G06F17/16
PHYSICS
Abstract
A dynamic multi-objective particle swarm optimization based optimal control method is provided to realize the control of dissolved oxygen (S.sub.O) and the nitrate nitrogen (S.sub.NO) in wastewater treatment process. In this method, dynamic multi-objective particle swarm optimization was used to optimize the operation objectives of WWTP, and the optimal solutions of S.sub.O and S.sub.NO can be calculated. Then PID controller was introduced to trace the dynamic optimal solutions of S.sub.O and S.sub.NO. The results demonstrated that the proposed optimal control strategy can address the dynamic optimal control problem, and guarantee the efficient and stable operation. In addition, this proposed optimal control method in this present invention can guarantee the effluent qualities and reduce the energy consumption.
Claims
1. A dynamic multi-objective particle swarm optimization-based optimal control method for a wastewater treatment process (WWTP), comprising: (1) design models of performance indices for the wastewater treatment process: {circle around (1)} analysis dynamic characteristics and operation data of the WWTP, obtain process variables: influent flow rate (Q.sub.in) dissolved oxygen (S.sub.O), nitrate nitrogen (S.sub.NO), ammonia nitrogen (S.sub.NH), suspended solids (SS), which are related to the performance indices including pumping energy (PE), aeration energy (AE) and effluent quality (EQ); {circle around (2)} establish models of the performance indices based on the operation time of S.sub.O and S.sub.NO, the operation time of S.sub.O is thirty minutes, and the operation time of S.sub.NO is two hours, the established models of the performance indices are adjusted per thirty minutes; if an operation time meets the operation time of S.sub.NO only, then the models are designed as:
x.sub.k,i(t+1)=x.sub.k,i(t)+v.sub.k,i(t+1) (3)
v.sub.k,i(t+1)=(t)v.sub.k,i(t)+c.sub.1.sub.1(pBest.sub.k,i(t)x.sub.k,i(t))+c.sub.2.sub.2(gBest.sub.k(t)(t)) (4) where x.sub.k,i(t+1) is the position of ith particle in kth iteration at t+1th time, v.sub.k,i(t+1) is the velocity of the ith particle in the kth iteration at the t+1th time, is inertia weight, a range of is [0, 1], cl.sub.1 and c.sub.2 are learning parameters, .sub.1 and .sub.2 are uniformly distributed random numbers, pBest.sub.k,i(t) is personal optimal position of the ith particle in the kth iteration at the tth time, and gBest.sub.k(t) is personal optimal position in the kth iteration at the tth time; (2)-4 design diversity index and convergence index based on the Chebyshev distance, the diversity index is designed to measure distribution quality of non-dominated solutions,
.sub.k(t)=.sub.k1(t)p.sub.k1(t), if f.sub.h(a.sub.k.Math.(t))f.sub.h(p.sub.k(t)), h=1,2,3 (11) where is a relationship of combine, if a value of pBest.sub.k1(t) is lower than an objective value of a.sub.k1,.Math.(t), then the pBest.sub.k1(t) will be saved in the archive, otherwise, a.sub.k1,.Math.(t) will be saved, then gBest.sub.k(t) will be selected from the archive according to the density method; (2)-8 if the current iteration is greater than the preset T.sub.max, then return to step (2)-9, otherwise, return to step (2)-3; (2)-9 select a set of global optimal solutions gBest.sub.Tmax(t) from the archive randomly, and gBest.sub.Tmax(t)=[Q.sub.in,Tmax*(t), S.sub.O,Tmax*(t), S.sub.NO,Tmax*(t), S.sub.NH,Tmax*(t), SS.sub.Tmax*(t)], where Q.sub.in,Tmax*(t) is an optimal solution of influent flow rate, S.sub.O,Tmax*(t) is an optimal solution of dissolved oxygen, S.sub.NO,Tmax*(t) is an optimal solution of nitrate nitrogen, S.sub.NH,Tmax*(t) is an optimal solution of ammonia nitrogen, SS.sub.Tmax*(t) is an optimal solution of suspend solid; (3) tracking control of the optimal solutions in WWTP (3)-1 design the multivariable PID controller, the output of PID controller is shown as
e(t)=z(t)y(t) (13) where e(t)=[e.sub.1(t), e.sub.2(t)].sup.T, e.sub.1(t) and e.sub.2(t) are errors of S.sub.O and S.sub.NO, respectively; z(t)=[z.sub.1(t), z.sub.2(t)].sup.T, z.sub.1(t) is an optimal set-point concentration of S.sub.O at time t, z.sub.2(t) is an optimal set-point concentration of S.sub.NO at time t, y(t)=[y.sub.1(t), y.sub.2(t)].sup.T, y.sub.1(t) is the concentration of S.sub.O at time t, y.sub.2(t) is the concentration of S.sub.NO at time t; (3)-2 outputs of PID controller are variation of manipulated variables oxygen transfer coefficient (K.sub.La) and internal circulation return flow (Q.sub.a); (4) take K.sub.La and Q.sub.a as an input of a control system of WWTP, and then control S.sub.O and S.sub.NO by the calculated K.sub.La and Q.sub.a, and outputs of the control system in WWTP are real concentrations of S.sub.O and S.sub.NO.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0028]
[0029]
DETAILED DESCRIPTION
[0030] A dynamic multi-objective particle swarm optimization-based optimal control method is designed for wastewater treatment process (WWTP), the steps are:
[0031] (1) design the models of performance indices for wastewater treatment process:
[0032] {circle around (1)} analysis the dynamic characteristics and the operation data of WWTP, obtain the related process variables of the key performance indices pumping energy (PE), aeration energy (AE) and effluent quality (EQ): influent flow rate (Q.sub.in), dissolved oxygen (S.sub.O), nitrate nitrogen (S.sub.NO), ammonia nitrogen (S.sub.NH), suspended solids (SS);
[0033] {circle around (2)} establish the models of the performance indices based on the operation time of S.sub.O and S.sub.NO, the operation time of S.sub.O is thirty minutes, and the operation time of S.sub.NO is two hours, the established models of the performance indices are adjusted per thirty minutes; if the operation time meets the operation time of S.sub.NO, then the models are designed as:
where f.sub.1(t) is PE model at the tth time, f.sub.2(t) is EQ model at the tth time, e.sup.x(t)c.sup.
where f.sub.3(t) is AE model at the tth time, e.sup.s(t)c.sup.
[0034] (2) dynamic optimization of the control variables for WWTP
[0035] (2)-1 set the maximum iterative numbers of the optimization process T.sub.max, T.sub.max=200;
[0036] (2)-2 take the established models of performance indices as optimization objectives;
[0037] (2)-3 regard the inputs of the optimization objectives x(t)=[Q.sub.in(t), S.sub.O(t), S.sub.NO(t), S.sub.NH(t), SS(t)] as the position of the particles, calculate values of the optimization objectives, update the personal optimal position (pBest.sub.k,i(t)) and the position and the velocity of the particles, the update process are:
x.sub.k,i(t+1)=x.sub.k,i(t)+v.sub.k,i(t+1) (3)
v.sub.k,i(t+1)=(t)v.sub.k,i(t)+c.sub.1.sub.1(pBest.sub.k,i(t)x.sub.k,i(t))+c.sub.2.sub.2(gBest.sub.k(t)x.sub.k,i(t)) (4)
where x.sub.k,i(t+1) is the position of the ith particle in the kth iteration at the t+1th time, v.sub.k,i(t+1) is the velocity of the ith particle in the kth iteration at the t+1th time, is the inertia weight, =0.8, c.sub.1 and c.sub.2 are the learning parameters, c.sub.1=0.4, c.sub.2=0.4, .sub.1 and .sub.2 are the uniformly distributed random numbers, .sub.1=0.2, .sub.2=0.2, pBest.sub.k,i(t) is the personal optimal position of the ith particle in the kth iteration at the tth time, and gBest.sub.k(t) is the personal optimal position in the kth iteration at the tth time;
[0038] (2)-4 design the diversity index and the convergence index based on the Chebyshev distance, diversity index is designed to measure the distribution quality of the non-dominated solutions,
where U(t) is the diversity of the optimal solutions at the tth time, m=1, 2, . . . , NS(t), NS(t) is the number of non-dominated solutions at time t, (t) is the average distance of all the Chebyshev distance D.sub.m(t), D.sub.m(t) is the Chebyshev distance of consecutive solutions of the mth solution; and convergence index is developed to obtain the degree of proximity, which are calculated as
where A(t) is the convergence of the optimal solutions at the tth time, d.sub.l(t) is the
[0039] Chebyshev distance of the lth solution between the kth iteration and the k1th iteration;
[0040] (2)-5 judge the changes of the optimization objectives, if the number of the objectives is changed, return to step (2)-6; otherwise, return to (2)-7;
[0041] (2)-6 when the number of the objectives is increased, some particles will be changed to enhance the diversity performance, the update process of the population size is
where N.sub.k+1(t) and N.sub.k(t) are the population size in the kth iteration and in the k+1th iteration at the tth time respectively, .sub.k(t) is the gradient of diversity in the kth iteration at the tth time, which is calculated as
where is the adjusted frequency of population size, and the range of is [1, 200]; if the number of the objectives is decreased, some particles will be changed to improve the convergence performance, the update process of the population size is
where .sub.k(t) is the gradient of convergence in the kth iteration at the tth time, which is calculated as
[0042] (2)-7 compare pBest.sub.k(t) with the solutions .sub.k1(t) in the archive, where .sub.k1(t)=[.sub.k1,1(t), .sub.k1,2(t), . . . , .sub.k1,.Math.(t)], .sub.k1,.Math.(t) is the .Math.th optimal solutions in the k-1th iteration at the tth time of the archive, the archive .sub.k(t) is updated by the dominated relationship, and the calculation process of the dominated relationship can be shown as
.sub.k(t)=.sub.k1(t)p.sub.k1(t), if f.sub.h(a.sub.ki(t))f.sub.h(p.sub.k(t)), h=1, 2, 3 (11)
where is the relationship of combine, if the value of pBest.sub.k-1(t) is lower than the objective value of a.sub.k1,.Math.(t), then the pBest.sub.k1(t) will be saved in the archive, otherwise, a.sub.k1,i.Math.(t) will be saved, then gBest.sub.k(t) will be selected from the archive according to the density method;
[0043] (2)-8 if the current iteration is greater than the preset T.sub.max, then return to step (2)-9, otherwise, return to step (2)-3;
[0044] (2)-9 select a set of global optimal solutions gBest.sub.Tmax(t) from the archive randomly, and gBest.sub.Tmax(t)=[Q.sub.in,Tmax*(t), S.sub.O,Tmax*(t), S.sub.NO,Tmax*(t), S.sub.NH,Tmax*(t), SS.sub.Tmax*(t)], where Q.sub.in,Tmax* (t) is the optimal solution of influent flow rate, S.sub.O,Tmax*(t) is the optimal solution of dissolved oxygen, S.sub.NO,Tmax*(t) is the optimal solution of nitrate nitrogen, S.sub.NH,Tmax*(t) is the optimal solution of ammonia nitrogen, SS.sub.Tmax*(t) is the optimal solution of suspend solid;
[0045] (3) tracking control of the optimal solutions in WWTP
[0046] (3)-1 design the multivariable PID controller, the output of PID controller is shown as
where u(t)=[K.sub.La.sub.5(t), Q.sub.a(t)].sup.T, K.sub.La.sub.5(t) is the error of the oxygen transfer coefficient in the fifth unit at time t, Q.sub.a(t) is the error of the internal recycle flow rate at time t, K.sub.p is the proportionality coefficient; H.sub. is the integral time constants; H.sub.d is the differential time constants; e(t) is the error between the real output and the optimal solution
e(t)=z(t)y(t) (13)
where e(t)=[e.sub.1(t), e.sub.2(t)].sup.T, e.sub.1(t) and e.sub.2(t) are the errors of S.sub.O and S.sub.NO, respectively; z(t)=[z.sub.1(t), z.sub.2(t)].sup.T, z.sub.1(t) is the optimal set-point concentration of S.sub.O at time t, z.sub.2(t) is the optimal set-point concentration of S.sub.NO at time t, y(t)=[y.sub.1(t), y.sub.2(t)].sup.T, y.sub.1(t) is the concentration of S.sub.O at time t, y.sub.2(t) is the concentration of S.sub.NO at time t;
[0047] (3)-2 the outputs of PID controller are the variation of the manipulated variables oxygen transfer coefficient (K.sub.La) and internal circulation return flow (Q.sub.a);
[0048] (4) take K.sub.La and Q.sub.a as the input of the control system of WWTP, and then control S.sub.O and S.sub.NO by the calculated K.sub.La and Q.sub.a, and the outputs of the control system in WWTP are the real concentration of S.sub.O and S.sub.NO.
[0049] The outputs of the control system based on DMOPSO-based optimal control method is the concentration of S.sub.O and S.sub.NO.