CN117762012A - Knowledge and data hybrid driving urban sewage treatment process optimization control method - Google Patents

Knowledge and data hybrid driving urban sewage treatment process optimization control method Download PDF

Info

Publication number
CN117762012A
CN117762012A CN202311317238.2A CN202311317238A CN117762012A CN 117762012 A CN117762012 A CN 117762012A CN 202311317238 A CN202311317238 A CN 202311317238A CN 117762012 A CN117762012 A CN 117762012A
Authority
CN
China
Prior art keywords
kappa
time
sewage treatment
value
treatment process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311317238.2A
Other languages
Chinese (zh)
Inventor
韩红桂
王玉爽
刘峥
孙浩源
乔俊飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Technology
Original Assignee
Beijing University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Technology filed Critical Beijing University of Technology
Priority to CN202311317238.2A priority Critical patent/CN117762012A/en
Publication of CN117762012A publication Critical patent/CN117762012A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

The invention provides a knowledge and data mixed driving urban sewage treatment process optimization control method, which realizes the dissolution of oxygenS O And nitrate nitrogenS NO The optimal control of the concentration achieves the purposes of improving the water quality of the effluent and reducing the energy consumption of operation. The method designs a multi-objective optimization model of the urban sewage treatment process, and establishes an optimization model of the effluent quality and the operation energy consumption by using a radial basis function; the designed knowledge-driven method for solving the optimal control set point of the urban sewage treatment process realizes the rapid solving of the optimal set point, and improves the speed and the precision of the optimal set point of the process variable; and a proportional-integral-derivative controller is used for controlling the process variable to track and optimize the set value in real time, so that stable tracking control is realized.

Description

Knowledge and data hybrid driving urban sewage treatment process optimization control method
Technical Field
Aiming at the problem of optimizing operation of the urban sewage treatment process, the invention designs a knowledge and data hybrid-driven urban sewage treatment process optimizing control method, establishes an urban sewage treatment process optimizing control target model based on a radial basis function, designs a knowledge-driven urban sewage treatment process optimizing control set value solving method to obtain an optimizing set point, and uses a proportional-integral-differential controller to track and control the optimizing set point. The invention not only belongs to the water research field, but also belongs to the intelligent optimization control field, and has great significance in ensuring the water quality of effluent and reducing energy consumption at the same time, and high-efficiency stable operation of the urban sewage treatment process.
Background
With the increasing population of cities, the scale of urban sewage treatment is gradually increased, and the problem of urban domestic sewage treatment is increasingly prominent. The urban sewage treatment can purify water quality, improve ecological environment, promote water resource circulation and has important significance for urban development. As a typical high-energy-consumption industry, urban sewage treatment plants have increasingly high energy consumption for operation in order to ensure the quality of effluent. In order to improve the running effect and efficiency of urban sewage treatment, an optimal control strategy has been widely applied to the urban sewage treatment process.
The aim of the optimization control of the urban sewage treatment process is to ensure that the effluent quality reaches the standard and reduce the running energy consumption. However, the operation mechanism of the urban sewage treatment process is complex, and the effluent quality and the operation energy consumption have strong conflict. Therefore, balancing the relation between the water quality of the effluent and the operation energy consumption, and reducing the operation energy consumption while ensuring that the water quality of the effluent reaches the standard is an important research topic. In the process of establishing the sewage quality and energy consumption model, as the dynamics of the urban sewage treatment process have complex nonlinearity, the mechanism model is difficult to accurately express and optimize the target model. Therefore, it is of great importance to accurately describe the optimization objective of the urban sewage treatment process by adopting a data-based modeling method. In addition, multiple objectives in the municipal wastewater treatment process conflict with each other, affecting the quality of the solution of the optimization set point. Meanwhile, the goal is dynamic change in the urban sewage treatment process, and the speed of solving the optimal set point greatly influences the performance of optimal control. Therefore, the design of the optimal control method based on knowledge and data not only can improve the quality and speed of solving the optimal set point, reduce the energy consumption while guaranteeing the water quality of the effluent, but also is a key for the stable and efficient operation of the sewage treatment process.
According to the invention, through analyzing the characteristics of the urban sewage treatment process, the running performance index comprising the effluent quality and the running energy consumption is established, the knowledge-driven method for solving the optimal control set value of the urban sewage treatment process is designed, the speed and the precision for solving the optimal set value are improved, and the efficient and stable running of the sewage treatment process is realized.
Disclosure of Invention
The invention provides an optimization control method for the urban sewage treatment process driven by mixed knowledge and data, which reduces energy consumption while guaranteeing the quality of effluent. The method designs an urban sewage treatment process optimization control target model based on a radial basis function in the urban sewage treatment process, designs a knowledge-driven urban sewage treatment process optimization control set value solving method, and uses a proportional-integral-derivative controller to control a process variable to track an optimization set value in real time.
The invention adopts the following technical scheme and implementation steps:
1. the knowledge and data mixed driving urban sewage treatment process optimization control method specifically comprises the following steps:
(1) Establishing an urban sewage treatment process optimization control target model based on radial basis function
Taking the running energy consumption and the effluent quality of the urban sewage treatment process as optimization targets, and establishing an urban sewage treatment process optimization control target model:
min J(t)=[J 1 (t),J 2 (t)] (1)
wherein J (t) is an urban sewage treatment process optimization control target model at the moment t, J 1 (t) is a model of the effluent quality of the urban sewage treatment process at the moment t, J 2 (t) an energy consumption model for running the urban sewage treatment process at the moment t;
water quality model J 1 (t) is:
wherein W is 1,h (t) the connection weight of the h kernel function of the water quality of the outlet water at the moment t and the initial value is [0,1]Random number x of (x) 1 (t)=[S O (t),S NO (t),S NH (t),SS(t)],S O (t) dissolved oxygen concentration at time t, S NO (t) is the nitrate nitrogen concentration at the moment t, S NH (t) is ammonia nitrogen concentration at t moment, SS (t) is suspended matter concentration at t moment,the central value of the h kernel function of the water quality of the water discharged at the moment t is 0,1]Random number b of (b) 1,h (t) the width value of the h kernel function of the water quality of the outlet water at the moment t and the initial value is [0,1]Updating the effluent quality model J 1 Parameters of (t):
wherein W is 1,h (t+1) is the connection weight of the h kernel function of the water quality of the effluent at the moment t+1,the central value of the h kernel function of the water quality of the water discharged at the time t+1, b 1,h (t+1) is the width value of the h kernel function of the water quality of the effluent at the moment t+1;
operating energy consumption model J 2 (t) is:
wherein W is 2,h (t) the connection weight of the h kernel function of the energy consumption operated at the moment t and the initial value is [0,1 ]]Random number x of (x) 2 (t)=[S O (t),S NO (t),MLSS(t)]MLSS (t) is the concentration of the mixed suspension at time t,the central value of the h kernel function for the energy consumption of t time operation is 0,1]Random number b of (b) 2,h (t) the width value of the h kernel function of the operation energy consumption at the moment t and the initial value is [0,1 ]]Updating the running energy consumption model J 2 Parameters of (t):
wherein W is 2,h (t+1) is the connection weight of the h kernel function of the running energy consumption at the time of t+1,the central value of the h kernel function of the energy consumption of the operation at the time t+1, b 2,h (t+1) is the width value of the h kernel function of the running energy consumption at the time t+1;
(2) Design knowledge driven method for solving optimization control set value in urban sewage treatment process
Establishing a knowledge-guided global optimal particle selection mechanism: setting the total iteration number of solving the optimized set value as kappa max =500, particle population size Λ=50, position and velocity of particles are:
z t,n (κ)=[z t,n,1 (κ),z t,n,2 (κ)] (10)
v t,n (κ)=[v t,n,1 (κ),v t,n,2 (κ)] (11)
wherein z is t,n (kappa) is the position vector from the nth particle to the kth generation at time t, z t,n,1 (kappa) is z t,n First component of (kappa) and z t,n,2 (kappa) is z t,n The second component of (kappa), v t,n (kappa) is the velocity vector from the nth particle evolution to the kth generation at time t, v t,n,1 (kappa) is v t,n The first component of (kappa), v t,n,2 (kappa) is v t,n A second component of (κ); the individual optimal positions for each particle are calculated as:
wherein p is t,n (kappa+1) the individual optimal position of the nth particle evolving to the kappa+1 generation at time t, p t,n (kappa) is the individual optimal position at time t at which the nth particle evolved to the kth generation, z t,n (kappa+1) is a position vector at time t for the nth particle to evolve to the kappa+1 generation, f representing the dominance and defined as:
if it isOr->Then
z t,n (κ+1)fp t,n (kappa) (13) wherein J 1 (z t,n (kappa+1)) is z t,n (kappa+1) effluent quality, J 2 (z t,n (kappa+1)) is z t,n Operational energy consumption (κ+1), J 1 (p t,n (kappa)) is p t,n (kappa) effluent quality, J 2 (p t,n (kappa)) is p t,n (κ) operational energy consumption; non-dominant solution of particle evolution to kth generation at time t is stored in archive A t In (κ), A t (κ)={z * t,1 (κ),…,z * t,d (κ),...,z * t,D (κ)},z * t,d (κ) is the D-th non-dominant solution evolving from time t to the kth generation, d=50 is a t Size of (κ);
global optimum position g t (kappa) updating g for optimal position of all particles of population evolution to kth generation at time t t (κ):
s(z * t,d (kappa)) is the non-dominant solution z of the evolution of the population to the kth generation at time t * t,d The sum of the guided knowledge of (κ) calculates s (z * t,d (κ)) is:
z * t,d′ (kappa) is archive A t The d' th non-dominant solution in (kappa),is a non-dominant solution z * t,d′ Normalized fitness value of (κ) mth target, +.>Is a non-dominant solution z * t,d Normalized fitness value of (κ) mth target, calculateThe method comprises the following steps:
wherein J is min m (z * t (kappa)) is archive A t Minimum value of mth target fitness value of non-dominant solution in (κ), J max m (z * t (kappa)) is archive A t The maximum value of the mth target fitness value of the non-dominant solution in (κ);
update mode of particle speed and position of knowledge decision: the development knowledge of all particles from population evolution to the kth generation at time t is:
wherein, tau is the recorded historical iteration times, tau is more than or equal to 1 and less than or equal to 5,individual optimal p for the nth particle to evolve to the kth- τ+1st generation at time t t,n Normalized fitness value of (κ - τ+1) mth target, +.>Individual optimal p for the evolution of the nth particle to the kth- τ generation at time t t,n Normalized fitness value of (κ - τ+1) mth target;
when E is t (κ)≤E t At (κ+1), the velocity of the particles is updated as:
v t,n (κ+1)=0.7v t,n (κ)+0.5μ 1 (p t,n (κ)-z t,n (κ))+0.5μ 2 (g t (κ)-z t,n (κ)) (18)
wherein v is t,n (kappa+1) is the velocity vector, mu, of the nth particle evolution to the kappa+1 generation at time t 1 Random numbers are evolved for individuals and the value ranges are [0,1 ]],μ 2 Random numbers are evolved for the population and the value ranges are [0,1];
When E is t (κ)>E t At (κ+1), the velocity of the particles is updated as:
v t,n (κ+1)=0.7v t,n (κ)+0.5μ 1 (p t,n (κ)-z t,n (κ))+0.5μ 2 (g t (κ)-z t,n (κ))+0.5μ 3 K t,n (κ)(19)
wherein mu 3 Knowledge random numbers are developed for population evolution and the value range is [0,1 ]],K t,n (κ)=[p t,n (κ)-p t,n (κ-1),…,p t,n (κ-4)-p t,n (κ-5)]For time t particle n evolve toThe evolution direction difference vector of the individual optimal position of the kth generation for 5 successive generations;
the location of the particles is updated as:
z t,n (κ+1)=z t,n (κ)+v t,n (κ+1) (20)
wherein z is t,n (kappa+1) is the position at which the nth particle evolved to the kappa+1 generation at time t;
detecting whether the evolution process reaches a stopping condition: if algebra of evolution kappa<κ max The algebra kappa increases by 1 and updates the speed and position of the particles again; if algebra k=k max Terminating the evolution process from the kth max Archive A of the generation tmax )=[z * t,1max ),…,z * t,dmax ),...,z * t,Dmax )]Randomly selecting a solution as the optimal set value y of the process variable * (t)=[S * O (t),S * NO (t)],S * O (t) is the optimized set value of dissolved oxygen in the aerobic reactor at the moment t, S * NO (t) is a nitrate nitrogen optimization set value in the anoxic reactor at the moment t;
(3) Optimizing set value for tracking and controlling urban sewage treatment process
Solving the optimal set point by using multivariable proportional-integral-derivative control algorithm [ S * O (t),S * NO (t)]Tracking control is performed:
wherein Δu (t) = [ Δk ] L a(t),ΔQ a (t)] T For the operating variable matrix at time t, ΔK L a (t) is the variation of the transfer coefficient of dissolved oxygen at time t, ΔQ a (t) is the variation of the circulation flow rate at the time t, and C= [20,10]As a proportionality coefficient, l= [5,3]As an integral time constant, f= [2,1]E (t) =y as differential time constant * (t) -y (t) is a control error vector at time t, y (t) =[S O (t),S NO (t)]Is the actual dissolved oxygen concentration S at the time t O (t) and nitrate nitrogen concentration S NO (t);
Adjusting the transfer coefficient of dissolved oxygen and the internal reflux amount by using Deltau (t):
K L a(t+1)=K L a(t)+△K L a(t) (22)
Q a (t+1)=Q a (t)+△Q a (t) (23)
wherein K is L a (t+1) is the dissolved oxygen transfer coefficient, K, at time t+1 L a (t) is the dissolved oxygen transfer coefficient at time t, Q a (t+1) is the internal reflux amount at time t+1, Q a (t) is the internal reflux amount at time t;
the input of the urban sewage treatment control system at the time t is the change delta K of the dissolved oxygen transfer coefficient L a (t) and the amount of change Δq of the internal reflux amount a (t) by operating the dissolved oxygen transfer coefficient K L a (t) realizes the set value S of the concentration of the dissolved oxygen * O Tracking control of (t) by operating the internal reflux quantity Q a (t) realizing the set value S of the concentration of the paranitronitrogen * NO Tracking control of (t), the dissolved oxygen concentration is adjusted to S * O (t) the nitrate nitrogen concentration is adjusted to S * NO (t)。
Drawings
FIG. 1 shows the dissolved oxygen concentration S of the present invention O Optimizing a control effect diagram and an error diagram;
FIG. 2 shows the nitrate nitrogen concentration S of the present invention NO Optimizing a control effect diagram and an error diagram.
Detailed Description
1. The knowledge and data mixed driving urban sewage treatment process optimization control method specifically comprises the following steps:
(1) Establishing an urban sewage treatment process optimization control target model based on radial basis function
Taking the running energy consumption and the effluent quality of the urban sewage treatment process as optimization targets, and establishing an urban sewage treatment process optimization control target model:
min J(t)=[J 1 (t),J 2 (t)] (24)
wherein J (t) is an urban sewage treatment process optimization control target model at the moment t, J 1 (t) is a model of the effluent quality of the urban sewage treatment process at the moment t, J 2 (t) an energy consumption model for running the urban sewage treatment process at the moment t;
water quality model J 1 (t) is:
wherein W is 1,h (t) the connection weight of the h kernel function of the water quality of the outlet water at the moment t and the initial value is [0,1]Random number x of (x) 1 (t)=[S O (t),S NO (t),S NH (t),SS(t)],S O (t) dissolved oxygen concentration at time t, S NO (t) is the nitrate nitrogen concentration at the moment t, S NH (t) is ammonia nitrogen concentration at t moment, SS (t) is suspended matter concentration at t moment,the central value of the h kernel function of the water quality of the water discharged at the moment t is 0,1]Random number b of (b) 1,h (t) the width value of the h kernel function of the water quality of the outlet water at the moment t and the initial value is [0,1]Updating the effluent quality model J 1 Parameters of (t):
wherein W is 1,h (t+1) is the connection weight of the h kernel function of the water quality of the effluent at the moment t+1,the central value of the h kernel function of the water quality of the water discharged at the time t+1, b 1,h (t+1) is the width value of the h kernel function of the water quality of the effluent at the moment t+1;
operating energy consumption model J 2 (t) is:
wherein W is 2,h (t) the connection weight of the h kernel function of the energy consumption operated at the moment t and the initial value is [0,1 ]]Random number x of (x) 2 (t)=[S O (t),S NO (t),MLSS(t)]MLSS (t) is the concentration of the mixed suspension at time t,the central value of the h kernel function for the energy consumption of t time operation is 0,1]Random number b of (b) 2,h (t) the width value of the h kernel function of the operation energy consumption at the moment t and the initial value is [0,1 ]]Updating the running energy consumption model J 2 Parameters of (t):
wherein W is 2,h (t+1) is the connection weight of the h kernel function of the running energy consumption at the time of t+1,the central value of the h kernel function of the energy consumption of the operation at the time t+1, b 2,h (t+1) is the width value of the h kernel function of the running energy consumption at the time t+1;
(2) Design knowledge driven method for solving optimization control set value in urban sewage treatment process
Establishing a knowledge-guided global optimal particle selection mechanism: setting the total iteration number of solving the optimized set value as kappa max =500, particle population size Λ=50, position and velocity of particles are:
z t,n (κ)=[z t,n,1 (κ),z t,n,2 (κ)] (33)
v t,n (κ)=[v t,n,1 (κ),v t,n,2 (κ)] (34)
wherein z is t,n (kappa) is the position vector from the nth particle to the kth generation at time t, z t,n,1 (kappa) is z t,n First component of (kappa) and z t,n,2 (kappa) is z t,n The second component of (kappa), v t,n (kappa) is the velocity vector from the nth particle evolution to the kth generation at time t, v t,n,1 (kappa) is v t,n The first component of (kappa), v t,n,2 (kappa) is v t,n A second component of (κ); the individual optimal positions for each particle are calculated as:
wherein p is t,n (kappa+1) the individual optimal position of the nth particle evolving to the kappa+1 generation at time t, p t,n (kappa) is the individual optimal position at time t at which the nth particle evolved to the kth generation, z t,n (kappa+1) is a position vector at time t for the nth particle to evolve to the kappa+1 generation, f representing the dominance and defined as:
if it isOr->Then
z t,n (κ+1)fp t,n (kappa) (36) wherein J 1 (z t,n (kappa+1)) is z t,n (kappa+1) effluent quality, J 2 (z t,n (kappa+1)) is z t,n Operational energy consumption (κ+1), J 1 (p t,n (kappa)) is p t,n (kappa) effluent quality, J 2 (p t,n (kappa)) is p t,n (κ) operational energy consumption; non-dominant solution of particle evolution to kth generation at time t is stored in archive A t In (κ), A t (κ)={z * t,1 (κ),…,z * t,d (κ),...,z * t,D (κ)},z * t,d (κ) is the D-th non-dominant solution evolving from time t to the kth generation, d=50 is a t Size of (κ);
global optimum position g t (kappa) updating g for optimal position of all particles of population evolution to kth generation at time t t (κ):
s(z * t,d (kappa)) is the non-dominant solution z of the evolution of the population to the kth generation at time t * t,d The sum of the guided knowledge of (κ) calculates s (z * t,d (κ)) is:
z * t,d′ (kappa) is archive A t The d' th non-dominant solution in (kappa),is a non-dominant solution z * t,d′ Normalized fitness value of (κ) mth target, +.>Is a non-dominant solution z * t,d Normalized fitness value of (κ) mth target, calculateThe method comprises the following steps:
wherein J is min m (z * t (kappa)) is archive A t Minimum value of mth target fitness value of non-dominant solution in (κ), J max m (z * t (kappa)) is archive A t The maximum value of the mth target fitness value of the non-dominant solution in (κ);
update mode of particle speed and position of knowledge decision: the development knowledge of all particles from population evolution to the kth generation at time t is:
wherein, tau is the recorded historical iteration times, tau is more than or equal to 1 and less than or equal to 5,individual optimal p for the nth particle to evolve to the kth- τ+1st generation at time t t,n Normalized fitness value of (κ - τ+1) mth target, +.>Individual optimal p for the evolution of the nth particle to the kth- τ generation at time t t,n Normalized fitness value of (κ - τ+1) mth target;
when E is t (κ)≤E t At (κ+1), the velocity of the particles is updated as:
v t,n (κ+1)=0.7v t,n (κ)+0.5μ 1 (p t,n (κ)-z t,n (κ))+0.5μ 2 (g t (κ)-z t,n (κ)) (41)
wherein v is t,n (kappa+1) is the velocity vector, mu, of the nth particle evolution to the kappa+1 generation at time t 1 Evolving random numbers for individuals and taking valuesIn the range of [0,1 ]],μ 2 Random numbers are evolved for the population and the value ranges are [0,1];
When E is t (κ)>E t At (κ+1), the velocity of the particles is updated as:
v t,n (κ+1)=0.7v t,n (κ)+0.5μ 1 (p t,n (κ)-z t,n (κ))+0.5μ 2 (g t (κ)-z t,n (κ))+0.5μ 3 K t,n (κ)(42)
wherein mu 3 Knowledge random numbers are developed for population evolution and the value range is [0,1 ]],K t,n (κ)=[p t,n (κ)-p t,n (κ-1),…,p t,n (κ-4)-p t,n (κ-5)]The evolution direction difference vector of 5 successive generations for the individual optimal positions from the particle n to the kth generation at the moment t;
the location of the particles is updated as:
z t,n (κ+1)=z t,n (κ)+v t,n (κ+1) (43)
wherein z is t,n (kappa+1) is the position at which the nth particle evolved to the kappa+1 generation at time t;
detecting whether the evolution process reaches a stopping condition: if algebra of evolution kappa<κ max The algebra kappa increases by 1 and updates the speed and position of the particles again; if algebra k=k max Terminating the evolution process from the kth max Archive A of the generation tmax )=[z * t,1max ),…,z * t,dmax ),...,z * t,Dmax )]Randomly selecting a solution as the optimal set value y of the process variable * (t)=[S * O (t),S * NO (t)],S * O (t) is the optimized set value of dissolved oxygen in the aerobic reactor at the moment t, S * NO (t) is a nitrate nitrogen optimization set value in the anoxic reactor at the moment t;
(3) Optimizing set value for tracking and controlling urban sewage treatment process
Solving the optimal set point by using multivariable proportional-integral-derivative control algorithm [ S * O (t),S * NO (t)]Tracking control is performed:
wherein Δu (t) = [ Δk ] L a(t),ΔQ a (t)] T For the operating variable matrix at time t, ΔK L a (t) is the variation of the transfer coefficient of dissolved oxygen at time t, ΔQ a (t) is the variation of the circulation flow rate at the time t, and C= [20,10]As a proportionality coefficient, l= [5,3]As an integral time constant, f= [2,1]E (t) =y as differential time constant * (t) -y (t) is a control error vector at time t, y (t) = [ S ] O (t),S NO (t)]Is the actual dissolved oxygen concentration S at the time t O (t) and nitrate nitrogen concentration S NO (t);
Adjusting the transfer coefficient of dissolved oxygen and the internal reflux amount by using Deltau (t):
K L a(t+1)=K L a(t)+△K L a(t) (45)
Q a (t+1)=Q a (t)+△Q a (t) (46)
wherein K is L a (t+1) is the dissolved oxygen transfer coefficient, K, at time t+1 L a (t) is the dissolved oxygen transfer coefficient at time t, Q a (t+1) is the internal reflux amount at time t+1, Q a (t) is the internal reflux amount at time t;
the input of the urban sewage treatment control system at the time t is the change delta K of the dissolved oxygen transfer coefficient L a (t) and the amount of change Δq of the internal reflux amount a (t) by operating the dissolved oxygen transfer coefficient K L a (t) realizes the set value S of the concentration of the dissolved oxygen * O Tracking control of (t) by operating the internal reflux quantity Q a (t) realizing the set value S of the concentration of the paranitronitrogen * NO Tracking control of (t), the dissolved oxygen concentration is adjusted to S * O (t) the nitrate nitrogen concentration is adjusted to S * NO (t)。

Claims (1)

1. A knowledge and data hybrid driving urban sewage treatment process optimization control method is characterized by comprising the following steps of: establishing an urban sewage treatment process optimization control target model based on a radial basis function, designing a knowledge-driven method for solving an urban sewage treatment process optimization control set value, and tracking and controlling the urban sewage treatment process optimization set value, wherein the method specifically comprises the following steps of:
(1) Establishing an urban sewage treatment process optimization control target model based on radial basis function
Taking the running energy consumption and the effluent quality of the urban sewage treatment process as optimization targets, and establishing an urban sewage treatment process optimization control target model:
minJ(t)=[J 1 (t),J 2 (t)] (1)
wherein J (t) is an urban sewage treatment process optimization control target model at the moment t, J 1 (t) is a model of the effluent quality of the urban sewage treatment process at the moment t, J 2 (t) an energy consumption model for running the urban sewage treatment process at the moment t;
water quality model J 1 (t) is:
wherein W is 1,h (t) the connection weight of the h kernel function of the water quality of the outlet water at the moment t and the initial value is [0,1]Random number x of (x) 1 (t)=[S O (t),S NO (t),S NH (t),SS(t)],S O (t) dissolved oxygen concentration at time t, S NO (t) is the nitrate nitrogen concentration at the moment t, S NH (t) is ammonia nitrogen concentration at t moment, SS (t) is suspended matter concentration at t moment,the central value of the h kernel function of the water quality of the water discharged at the moment t is 0,1]Random number b of (b) 1,h (t) the width value of the h kernel function of the water quality of the outlet water at the moment t and the initial value is [0,1]Updating the effluent quality model J 1 Parameters of (t):
wherein W is 1,h (t+1) is the connection weight of the h kernel function of the water quality of the effluent at the moment t+1,the central value of the h kernel function of the water quality of the water discharged at the time t+1, b 1,h (t+1) is the width value of the h kernel function of the water quality of the effluent at the moment t+1;
operating energy consumption model J 2 (t) is:
wherein W is 2,h (t) the connection weight of the h kernel function of the energy consumption operated at the moment t and the initial value is [0,1 ]]Random number x of (x) 2 (t)=[S O (t),S NO (t),MLSS(t)]MLSS (t) is the concentration of the mixed suspension at time t,the central value of the h kernel function for the energy consumption of t time operation is 0,1]Random number b of (b) 2,h (t) the width value of the h kernel function of the operation energy consumption at the moment t and the initial value is [0,1 ]]Updating the running energy consumption model J 2 Parameters of (t):
wherein W is 2,h (t+1) is the connection weight of the h kernel function of the running energy consumption at the time of t+1,the central value of the h kernel function of the energy consumption of the operation at the time t+1, b 2,h (t+1) is the width value of the h kernel function of the running energy consumption at the time t+1;
(2) Design knowledge driven method for solving optimization control set value in urban sewage treatment process
Establishing a knowledge-guided global optimal particle selection mechanism: setting the total iteration number of solving the optimized set value as kappa max =500, particle population size Λ=50, position and velocity of particles are:
z t,n (κ)=[z t,n,1 (κ),z t,n,2 (κ)] (10)
v t,n (κ)=[v t,n,1 (κ),v t,n,2 (κ)] (11)
wherein z is t,n (kappa) is the position vector from the nth particle to the kth generation at time t, z t,n,1 (kappa) is z t,n First component of (kappa) and z t,n,2 (kappa) is z t,n The second component of (kappa), v t,n (kappa) is the velocity vector from the nth particle evolution to the kth generation at time t, v t,n,1 (kappa) is v t,n The first component of (kappa), v t,n,2 (kappa) is v t,n A second component of (κ); calculating individual best for each particleThe preferred positions are:
wherein p is t,n (kappa+1) the individual optimal position of the nth particle evolving to the kappa+1 generation at time t, p t,n (kappa) is the individual optimal position at time t at which the nth particle evolved to the kth generation, z t,n (kappa+1) is a position vector at time t for the nth particle to evolve to the kappa+1 generation, f representing the dominance and defined as:
if it isOr->Then
z t,n (κ+1)f p t,n (kappa) (13) wherein J 1 (z t,n (kappa+1)) is z t,n (kappa+1) effluent quality, J 2 (z t,n (kappa+1)) is z t,n Operational energy consumption (κ+1), J 1 (p t,n (kappa)) is p t,n (kappa) effluent quality, J 2 (p t,n (kappa)) is p t,n (κ) operational energy consumption; non-dominant solution of particle evolution to kth generation at time t is stored in archive A t In (κ), A t (κ)={z * t,1 (κ),…,z * t,d (κ),...,z * t,D (κ)},z * t,d (κ) is the D-th non-dominant solution evolving from time t to the kth generation, d=50 is a t Size of (κ);
global optimum position g t (kappa) updating g for optimal position of all particles of population evolution to kth generation at time t t (κ):
s(z * t,d (kappa)) is the non-dominant solution z of the evolution of the population to the kth generation at time t * t,d The sum of the guided knowledge of (κ) calculates s (z * t,d (κ)) is:
z * t,d′ (kappa) is archive A t The d' th non-dominant solution in (kappa),is a non-dominant solution z * t,d′ Normalized fitness value of (κ) mth target, +.>Is a non-dominant solution z * t,d Normalized fitness value of (κ) mth target, calculateThe method comprises the following steps:
wherein J is min m (z * t (kappa)) is archive A t Minimum value of mth target fitness value of non-dominant solution in (κ), J max m (z * t (kappa)) is archive A t The maximum value of the mth target fitness value of the non-dominant solution in (κ);
update mode of particle speed and position of knowledge decision: the development knowledge of all particles from population evolution to the kth generation at time t is:
wherein, tau is the recorded historical iteration times, tau is more than or equal to 1 and less than or equal to 5,individual optimal p for the nth particle to evolve to the kth- τ+1st generation at time t t,n Normalized fitness value of (κ - τ+1) mth target, +.>Individual optimal p for the evolution of the nth particle to the kth- τ generation at time t t,n Normalized fitness value of (κ - τ+1) mth target;
when E is t (κ)≤E t At (κ+1), the velocity of the particles is updated as:
v t,n (κ+1)=0.7v t,n (κ)+0.5μ 1 (p t,n (κ)-z t,n (κ))+0.5μ 2 (g t (κ)-z t,n (κ)) (18)
wherein v is t,n (kappa+1) is the velocity vector, mu, of the nth particle evolution to the kappa+1 generation at time t 1 Random numbers are evolved for individuals and the value ranges are [0,1 ]],μ 2 Random numbers are evolved for the population and the value ranges are [0,1];
When E is t (κ)>E t At (κ+1), the velocity of the particles is updated as:
v t,n (κ+1)=0.7v t,n (κ)+0.5μ 1 (p t,n (κ)-z t,n (κ))+0.5μ 2 (g t (κ)-z t,n (κ))+0.5μ 3 K t,n (κ) (19)
wherein mu 3 Knowledge random numbers are developed for population evolution and the value range is [0,1 ]],K t,n (κ)=[p t,n (κ)-p t,n (κ-1),…,p t,n (κ-4)-p t,n (κ-5)]The evolution direction difference vector of 5 successive generations for the individual optimal positions from the particle n to the kth generation at the moment t;
the location of the particles is updated as:
z t,n (κ+1)=z t,n (κ)+v t,n (κ+1) (20)
wherein z is t,n (kappa+1) is the position at which the nth particle evolved to the kappa+1 generation at time t;
detecting whether the evolution process reaches a stopping condition: if algebra of evolution kappa<κ max The algebra kappa increases by 1 and updates the speed and position of the particles again; if algebra k=k max Terminating the evolution process from the kth max Archive A of the generation tmax )=[z * t,1max ),…,z * t,dmax ),...,z * t,Dmax )]Randomly selecting a solution as the optimal set value y of the process variable * (t)=[S * O (t),S * NO (t)],S * O (t) is the optimized set value of dissolved oxygen in the aerobic reactor at the moment t, S * NO (t) is a nitrate nitrogen optimization set value in the anoxic reactor at the moment t;
(3) Optimizing set value for tracking and controlling urban sewage treatment process
Solving the optimal set point by using multivariable proportional-integral-derivative control algorithm [ S * O (t),S * NO (t)]Tracking control is performed:
wherein Δu (t) = [ Δk ] L a(t),ΔQ a (t)] T For the operating variable matrix at time t, ΔK L a (t) is the variation of the transfer coefficient of dissolved oxygen at time t, ΔQ a (t) is the variation of the circulation flow rate at the time t, and C= [20,10]As a proportionality coefficient, l= [5,3]As an integral time constant, f= [2,1]E (t) =y as differential time constant * (t) -y (t) is a control error vector at time t, y (t) = [ S ] O (t),S NO (t)]Is the actual dissolved oxygen concentration S at the time t O (t) and nitrate nitrogen concentration S NO (t);
Adjusting the transfer coefficient of dissolved oxygen and the internal reflux amount by using Deltau (t):
K L a(t+1)=K L a(t)+△K L a(t) (22)
Q a (t+1)=Q a (t)+△Q a (t) (23)
wherein K is L a (t+1) is the dissolved oxygen transfer coefficient, K, at time t+1 L a (t) is the dissolved oxygen transfer coefficient at time t, Q a (t+1) is the internal reflux amount at time t+1, Q a (t) is the internal reflux amount at time t;
the input of the urban sewage treatment control system at the time t is the change delta K of the dissolved oxygen transfer coefficient L a (t) and the amount of change Δq of the internal reflux amount a (t) by operating the dissolved oxygen transfer coefficient K L a (t) realizes the set value S of the concentration of the dissolved oxygen * O Tracking control of (t) by operating the internal reflux quantity Q a (t) realizing the set value S of the concentration of the paranitronitrogen * NO Tracking control of (t), the dissolved oxygen concentration is adjusted to S * O (t) the nitrate nitrogen concentration is adjusted to S * NO (t)。
CN202311317238.2A 2023-10-12 2023-10-12 Knowledge and data hybrid driving urban sewage treatment process optimization control method Pending CN117762012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311317238.2A CN117762012A (en) 2023-10-12 2023-10-12 Knowledge and data hybrid driving urban sewage treatment process optimization control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311317238.2A CN117762012A (en) 2023-10-12 2023-10-12 Knowledge and data hybrid driving urban sewage treatment process optimization control method

Publications (1)

Publication Number Publication Date
CN117762012A true CN117762012A (en) 2024-03-26

Family

ID=90314926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311317238.2A Pending CN117762012A (en) 2023-10-12 2023-10-12 Knowledge and data hybrid driving urban sewage treatment process optimization control method

Country Status (1)

Country Link
CN (1) CN117762012A (en)

Similar Documents

Publication Publication Date Title
CN106873379B (en) Sewage treatment optimal control method based on iterative ADP algorithm
CN108549234B (en) Multi-objective optimization control method based on dynamic variable values
CN111474854B (en) Sewage treatment process optimization control method based on data-knowledge drive
CN110161995B (en) Urban sewage treatment process optimization control method based on dynamic multi-target particle swarm algorithm
CN109669352B (en) Oily sewage treatment process optimization control method based on self-adaptive multi-target particle swarm
CN109711070A (en) A kind of dissolved oxygen concentration optimization method based on activated sludge water process
CN114671523B (en) Sewage treatment energy-saving method based on predictive control
CN114488822B (en) Intelligent sewage treatment process optimization method based on high-dimensional multi-objective evolutionary algorithm
CN111484124A (en) Intelligent control and biochemical process intensive method and system for sewage treatment
CN113189881A (en) Multi-objective optimization control method and system for sewage treatment
CN113589684A (en) Sewage treatment process optimization control method based on self-adjusting multitask particle swarm algorithm
Han et al. Robust optimal control for anaerobic-anoxic-oxic reactors
CN117762012A (en) Knowledge and data hybrid driving urban sewage treatment process optimization control method
CN116881742A (en) Task clustering-based multi-working-condition double-layer optimal control method for sewage treatment process
Hirsch et al. Supervisory control system for adaptive phase and work cycle management of sequencing wastewater treatment plant
Hirsch et al. Two-step model based adaptive controller for Dissolved Oxygen control in Sequencing Wastewater Batch Reactor
CN111399558B (en) Knowledge selection-based multi-objective optimization control method for sewage treatment process
CN112967761B (en) Sewage dephosphorization and dosing calculation method and medium based on self-organizing fuzzy neural network
CN112465185B (en) Self-adaptive evaluation multi-objective optimization control method for urban sewage treatment process
CN112147885B (en) Dissolved oxygen concentration intelligent optimization control method based on execution-judgment structure
CN113031445B (en) Mechanism model-based robust multivariable control method for sewage denitrification process
Swarnalatha Simulation and Analysis of Ammonium-Based Aeration Control Strategies to Enhance Efficiency in Wastewater Treatment Plant
Barbusiński et al. Simulation of the influence of wastewater quality indicators and operating parameters of a bioreactor on the variability of nitrogen in outflow and bulking of sludge: Data mining approach
CN113867276B (en) Sewage treatment process multitask optimization control method based on self-adaptive knowledge migration strategy
Piotrowski Comparison of two nonlinear predictive control algorithms for dissolved oxygen tracking problem at wwtp

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination