CN101794117B - Method for optimizing and controlling operation of membrane bioreactor based on mechanism model - Google Patents

Method for optimizing and controlling operation of membrane bioreactor based on mechanism model Download PDF

Info

Publication number
CN101794117B
CN101794117B CN2010101094135A CN201010109413A CN101794117B CN 101794117 B CN101794117 B CN 101794117B CN 2010101094135 A CN2010101094135 A CN 2010101094135A CN 201010109413 A CN201010109413 A CN 201010109413A CN 101794117 B CN101794117 B CN 101794117B
Authority
CN
China
Prior art keywords
msup
mrow
model
membrane bioreactor
control
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.)
Active
Application number
CN2010101094135A
Other languages
Chinese (zh)
Other versions
CN101794117A (en
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.)
Harbin Institute of Technology
Original Assignee
Harbin Institute 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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN2010101094135A priority Critical patent/CN101794117B/en
Publication of CN101794117A publication Critical patent/CN101794117A/en
Application granted granted Critical
Publication of CN101794117B publication Critical patent/CN101794117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)

Abstract

The invention relates to a method for optimizing and controlling operation of membrane bioreactor based on mechanism model, relating to the sewage treatment system process target control field. The invention solves the problem that self optimization control of the existing membrane bioreactor based on experience is lack of effective control, no-noise signal is input to a DPS model to obtain a predicted optimization path of control variable and control target; noise-containing signal is input to a NMPC model, and meanwhile input quantity set u and output quantity set y are obtained combining the predicted optimization path, input parameter is selected from the input quantity set u and is input to a basic control BC module, actual input parameter ubc is obtained, when the output target under the actual input parameter ubc accords with preset target y, the input parameter is selected as operation parameter of the membrane bioreactor, and optimization and control on operation of the membrane bioreactor is completed. The invention is applicable to effective control of sewage treatment system.

Description

Method for optimizing and controlling operation of membrane bioreactor based on mechanism model
Technical Field
The invention relates to the field of process target control of a sewage treatment system, in particular to a method for optimally controlling the operation of a membrane bioreactor based on a mechanism model.
Background
The Membrane Bioreactor (MBR) appears under the background of global water resource shortage, is a brand-new biological sewage treatment process, and has attracted extensive attention in the industry and hopefully since the birth of MBR for 15 years due to its excellent effluent quality, efficient sludge-water separation and small occupied space.
However, compared with the outstanding advantages of the MBR process, the disadvantages of membrane pollution are not negligible, how to realize effective regulation and control of the MBR system and slow down the occurrence of the membrane pollution phenomenon has become a popular subject in the research field of MBR, however, until now, people still know very little about the MBR membrane pollution mechanism, the complex action between biological phase and membrane filtration, etc., and at present, the methods for MBR optimal regulation and control are mostly established on the basis of the experience of the traditional biological treatment process and are realized by the univariate cycle control and the self-optimization control of the optimal input and output matching. Specifically, the method for regulating and controlling the biological phase to move the traditional activated sludge is only slightly changed in the aspects of sludge concentration and the like, indexes such as dissolved oxygen, ammonia nitrogen and the like are regulated in a PID control mode, and the operation of the membrane module is guided by parameters provided by a manufacturer or suggestions of experienced operators. The disadvantage of this approach is that it assumes that the biological processes of MBR and traditional activated sludge processes are considered to be similar, and therefore the resulting optimized parameters are difficult to really adapt to MBR processes.
Disclosure of Invention
In order to solve the problem that the self-optimization control of the existing membrane bioreactor based on experience is lack of effective regulation and control, the invention provides a method for optimally controlling the operation of a membrane bioreactor based on a mechanism model.
The invention relates to a method for optimizing and controlling the operation of a membrane bioreactor based on a mechanism model, which comprises the following specific processes:
the method comprises the following steps: obtaining an initial state x of an operating membrane bioreactor0And initial model parameter p of activated sludge system model ASM in membrane bioreactor0
Step two: will be in the initial state x0And initial model parameters p0Inputting an extended Kalman Filter EKF model, the extended Kalman Filter EKF model corresponding to the initial state x0And initial model parameters p0Estimating to obtain the initial state of the membrane bioreactor without noise
Figure GSB00000720672600021
And initial model parameters without noise
Figure GSB00000720672600022
While obtaining a noisy initial stateAnd initial mode of noiseForm parameter
Figure GSB00000720672600024
Step three: will not contain noise initial state
Figure GSB00000720672600025
And initial model parameters without noise
Figure GSB00000720672600026
Inputting the data into a dynamic prediction set DPS model which is set with a membrane bioreactor operation preset target y, and adopting a separation modeling thought and a mixed logic dynamic optimization MLDO model to control the membrane bioreactor operation
Figure GSB00000720672600027
And membrane bioreactor operation control variable
Figure GSB00000720672600028
Performing dynamic real-time optimization on the D-RTO to obtain the operation control variable of the membrane bioreactor
Figure GSB00000720672600029
Membrane bioreactor operation control target
Figure GSB000007206726000210
The predicted optimization trajectory of (1);
step four: in-membrane bioreactor operation control objective
Figure GSB000007206726000211
Selecting control variables in the vicinity of the preset target y of the predicted optimization trajectory
Figure GSB000007206726000212
And will include the initial state of noise
Figure GSB000007206726000213
And initial model parameters including noise
Figure GSB000007206726000214
Adding the model into a nonlinear model predictive control NMPC model, and obtaining the operation input parameters of the membrane bioreactor by adopting a model predictive control MPC model
Figure GSB000007206726000215
Step five: inputting the operation parameters of the membrane bioreactor
Figure GSB000007206726000216
Inputting the operation parameters into a basic control BC module which inputs the operation input parameters of the membrane bioreactorThe real-time transmission of the real-time parameter u to the membrane bioreactor is carried out without difference, and the actual parameter u is simultaneously transmitted to the membrane bioreactorreFeedback to the basic control BC module
Figure GSB000007206726000218
At the moment, the membrane bioreactor outputs the operation output target of the membrane bioreactor
Figure GSB000007206726000219
Step six: judging the operation output target of the membrane bioreactor
Figure GSB00000720672600031
If yes, executing step eight, otherwise executing step seven;
step seven: operating the membrane bioreactor at the current input parameters
Figure GSB00000720672600032
The state x and model parameters p under the condition are respectively defined as a new initial state x0And new initial model parameters p0Go back to executionStep two;
step eight: outputting the operation of the membrane bioreactor to a target
Figure GSB00000720672600033
Corresponding membrane bioreactor operation input parameter
Figure GSB00000720672600034
Is defined as the operation parameter of the membrane bioreactor, and completes the optimization control of the operation of the membrane bioreactor.
The invention has the beneficial effects that: the method optimizes and controls the operation parameters of the membrane bioreactor in real time by setting a DPS model, a nonlinear model predictive control NMPC model and an extended Kalman filtering EKF model through dynamic prediction, and is more suitable for the membrane bioreactor process than the existing free control established on the basis of experience; in the invention, a user can automatically set the operation preset target of the membrane bioreactor in the dynamic prediction set DPS model according to the requirement.
Drawings
Fig. 1 is a flow chart of a method for optimizing and controlling the operation of a membrane bioreactor based on a mechanism model, fig. 2 is a schematic diagram of a setting result of an operation scheme in a dynamic prediction setting DPS model, fig. 3 is a schematic diagram of discretization characterization of a nonlinear model predictive control NMPC model, and fig. 4 is a schematic diagram of a working principle of a fourth embodiment.
Detailed Description
The first embodiment is as follows: the embodiment is specifically illustrated in the attached drawing 1 of the specification, and the method for optimizing and controlling the operation of the membrane bioreactor based on the mechanism model comprises the following specific processes:
the method comprises the following steps: obtaining an initial state x of an operating membrane bioreactor0And initial model parameter p of activated sludge system model ASM in membrane bioreactor0
Step two: will be in the initial state x0And initial model parameters p0Inputting an extended Kalman Filter EKF model, the extended Kalman Filter EKF model corresponding to the initial state x0And initial model parameters p0Estimating to obtain the initial state of the membrane bioreactor without noise
Figure GSB00000720672600041
And initial model parameters without noise
Figure GSB00000720672600042
While obtaining a noisy initial stateAnd initial model parameters including noise
Figure GSB00000720672600044
Step three: will not contain noise initial state
Figure GSB00000720672600045
And initial model parameters without noise
Figure GSB00000720672600046
Inputting the data into a dynamic prediction set DPS model which is set with a membrane bioreactor operation preset target y, and adopting a separation modeling thought and a mixed logic dynamic optimization MLDO model to control the membrane bioreactor operation
Figure GSB00000720672600047
And membrane bioreactor operation control variable
Figure GSB00000720672600048
Performing dynamic real-time optimization on the D-RTO to obtain the operation control variable of the membrane bioreactor
Figure GSB00000720672600049
Membrane bioreactor operation control targetThe predicted optimization trajectory of (1);
step four: in-membrane bioreactor operation control objective
Figure GSB000007206726000411
Selecting control variables in the vicinity of the preset target y of the predicted optimization trajectoryAnd will include the initial state of noise
Figure GSB000007206726000413
And initial model parameters including noise
Figure GSB000007206726000414
Adding the model into a nonlinear model predictive control NMPC model, and obtaining the operation input parameters of the membrane bioreactor by adopting a model predictive control MPC model
Figure GSB000007206726000415
Step five: inputting the operation parameters of the membrane bioreactor
Figure GSB000007206726000416
Inputting the operation parameters into a basic control BC module which inputs the operation input parameters of the membrane bioreactor
Figure GSB000007206726000417
The real-time transmission of the real-time parameter u to the membrane bioreactor is carried out without difference, and the actual parameter u is simultaneously transmitted to the membrane bioreactorreFeedback to the basic control BC module
Figure GSB000007206726000418
At this time, the filmBioreactor output membrane bioreactor operation output target
Figure GSB000007206726000419
Step six: judging the operation output target of the membrane bioreactorIf yes, executing step eight, otherwise executing step seven;
step seven: operating the membrane bioreactor at the current input parametersThe state x and model parameters p under the condition are respectively defined as a new initial state x0And new initial model parameters p0Returning to execute the step two;
step eight: outputting the operation of the membrane bioreactor to a target
Figure GSB00000720672600051
Corresponding membrane bioreactor operation input parameter
Figure GSB00000720672600052
Is defined as the operation parameter of the membrane bioreactor, and completes the optimization control of the operation of the membrane bioreactor.
The second embodiment is as follows: in the first step, the initial state x of the operating membrane bioreactor is obtained by performing online monitoring on the membrane bioreactor, performing offline monitoring on the membrane bioreactor or estimating by using an activated sludge system model (ASM)0And initial model parameter p of activated sludge system model ASM in membrane bioreactor0
The third concrete implementation mode: the present embodiment is a modification of the first embodimentOne step illustrates that in the first specific embodiment, in the third step, the membrane bioreactor operation control target is optimized by adopting the separation modeling idea and the mixed logic dynamic optimization MLDO model
Figure GSB00000720672600053
And membrane bioreactor operation control variable
Figure GSB00000720672600054
The method for dynamically optimizing the D-RTO in real time comprises the following steps:
step three, firstly: selecting an optimal time range t0≤t≤tfAnd dividing the optimal time range into M stages, wherein the start time of the jth stage is
Figure GSB00000720672600055
And is provided with
Figure GSB00000720672600056
The end time of the jth stage is
Figure GSB00000720672600057
And is provided with
Figure GSB00000720672600058
The duration of the jth phase is
Figure GSB00000720672600059
j is in the range of { 1.,....,. M }, and has
Figure GSB000007206726000510
j∈{1,......,M-1};
Step three: each stage has i operating schemes, i ∈ { 0., N }, each of which satisfies the following four conditions at each stage:
the conditions are as follows, <math> <mrow> <mn>0</mn> <mo>=</mo> <msubsup> <mi>f</mi> <mi>i</mi> <mi>j</mi> </msubsup> <mrow> <mo>(</mo> <msup> <mover> <mi>x</mi> <mo>&CenterDot;</mo> </mover> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>x</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>y</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>u</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>d</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>p</mi> <mi>j</mi> </msup> <mo>)</mo> </mrow> <mo>,</mo> </mrow> </math>
The second condition, <math> <mrow> <mn>0</mn> <mo>&GreaterEqual;</mo> <msubsup> <mi>g</mi> <mi>i</mi> <mi>j</mi> </msubsup> <mrow> <mo>(</mo> <msup> <mi>x</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>y</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>u</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>d</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>p</mi> <mi>j</mi> </msup> <mo>)</mo> </mrow> <mo>,</mo> </mrow> </math>
The third condition, 0 = h eq , i j ( x j ( t f ) , y j ( t f ) , u j ( t f ) , d j ( t f ) , p j ( t f ) ) ,
The condition IV, <math> <mrow> <mn>0</mn> <mo>&GreaterEqual;</mo> <msubsup> <mi>h</mi> <mi>i</mi> <mi>j</mi> </msubsup> <mrow> <mo>(</mo> <msup> <mi>x</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>y</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>u</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>d</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>p</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>)</mo> </mrow> <mo>,</mo> </mrow> </math>
According to the four conditions, the initial state without noise is introduced
Figure GSB00000720672600063
And initial model parameters without noise
Figure GSB00000720672600064
Obtaining the objective function of each scheme in the j stage <math> <mrow> <msubsup> <mi>&phi;</mi> <mi>i</mi> <mi>j</mi> </msubsup> <mo>=</mo> <msubsup> <mi>&phi;</mi> <mi>i</mi> <mi>j</mi> </msubsup> <mrow> <mo>(</mo> <msup> <mi>x</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>y</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>u</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>d</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>p</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>)</mo> </mrow> </mrow> </math> Wherein,representing the equation of state of the ith solution at the jth stage,representing the differential state quantity, x, of the j-th stagejRepresents the state quantity of the j stage, yjOutput quantity, u, representing the j-th stagejRepresenting the input of the j stage, djRepresenting the noise of the j stage, pjThe model parameters representing the jth stage are,
Figure GSB00000720672600068
the inequality path constraint equation representing the jth stage,
Figure GSB00000720672600069
the equation node representing the ith scheme at the jth stage constrains the equations,
Figure GSB000007206726000610
representing an inequality node constraint equation of the ith scheme in the jth stage;
step three: introducing Boolean parameter Yi jE { True, False }, and is in accordance with
Figure GSB000007206726000611
Obtaining the optimal scheme i selected from the i schemes in the j stage*Is an objective function of
Figure GSB000007206726000612
i ∈ { 0.,. N }, where,
Figure GSB000007206726000613
indicating whether the ith scheme is selected in the jth stage, if soIf the value is True, selecting the ith scheme in the jth stage, otherwise, not selecting the ith scheme in the jth stage, wherein V represents exclusive operation;
step three and four: obtaining a global optimization objective function
Figure GSB00000720672600071
And satisfy algebraic expressions within an optimal time range <math> <mrow> <msubsup> <mi>q</mi> <mn>1</mn> <mi>j</mi> </msubsup> <mo>+</mo> <msubsup> <mi>q</mi> <mn>2</mn> <mi>j</mi> </msubsup> <mo>+</mo> <mi>K</mi> <mo>+</mo> <msubsup> <mi>q</mi> <mi>N</mi> <mi>j</mi> </msubsup> <mo>=</mo> <mn>1</mn> <mo>,</mo> <mi>j</mi> <mo>&Element;</mo> <mo>{</mo> <mn>1</mn> <mo>,</mo> <mi>K</mi> <mo>,</mo> <mi>M</mi> <mo>}</mo> <mo>,</mo> </mrow> </math> Solving an objective function simultaneously
Figure GSB00000720672600073
Obtaining the operation control target of the membrane bioreactor
Figure GSB00000720672600074
And membrane bioreactor operation control variable
Figure GSB00000720672600075
Completing the control of the target
Figure GSB00000720672600076
And a control variableIn real time, wherein,
Figure GSB00000720672600078
representation and Boolean parameters
Figure GSB00000720672600079
A related binary variable, if
Figure GSB000007206726000710
If the value is True, the corresponding binary variable is obtained
Figure GSB000007206726000711
Is 1, otherwise, the corresponding binary variableThe value of (d) is 0.
In the embodiment, the abstract relationship between the control target and the control parameter is explored by adopting a separate modeling idea and a hybrid logic dynamic optimization (MLDO) model. All control parameters are sequenced in sequence and optimized by a programmed control target. Because different optimization schemes can produce different results, comparison needs to be carried out on an optimization platform, for this reason, each optimization process is divided into a plurality of stages, and the length of each stage can be fixed or can have certain floating.
The result of setting the operation recipe in the DPS model by dynamic prediction in this embodiment is shown in fig. 2.
The fourth concrete implementation mode: the first embodiment is further explained, in the fourth embodiment, the model predictive control MPC model is adopted to obtain the operation input parameters of the membrane bioreactor
Figure GSB000007206726000713
The method comprises the following steps:
step four, firstly: introducing the amount of time interval Δ tcDiscretizing the optimization time of the non-linear model predictive control NMPC model, wherein the optimization time of the non-linear model predictive control NMPC model is the selected control variableCorresponding time, and dividing the optimized time of the non-linear model predictive control NMPC model into N time intervals of delta tcThe discrete time index is:
tk=tN,0+k·Δtc
wherein k is in accordance with { 0.,. An, N }, tN,0The starting time of the optimization time of the non-linear model predictive control NMPC model is represented;
step four and step two: introducing noisy initial states
Figure GSB00000720672600081
And initial model parameters including noise
Figure GSB00000720672600082
And according to the expression of model predictive control MPC model under discrete condition
0=f(xk+1,yk,uk,pk,dk),
Obtaining at each discrete time index tkInput amount u ofkAnd an output yk
Step four and step three: according to the obtained index t at each discrete timekInput amount u ofkAnd an output ykObtaining a set of inputs over an optimization time of a non-linear model predictive control (NMPC) modelu=[(u0)T,K(uk)T,K,(uN)T]TAnd output quantity sety=[(y0)T,Λ(yk)T,(yN)T]T
Step four: setting dynamic predictions to control variables on a predictive optimization trajectory of a DPS model over an optimization time of a non-linear model predictive control NMPC model
Figure GSB00000720672600083
And control target
Figure GSB00000720672600084
Are respectively defined as discrete control variables
Figure GSB00000720672600085
And discrete control targets
Figure GSB00000720672600086
And obtaining the difference value of the input parameters of the nonlinear model predictive control NMPC model and the dynamic prediction setting DPS model in the optimization time of the nonlinear model predictive control NMPC model
Figure GSB00000720672600087
And difference of output parameters
Figure GSB00000720672600088
And there is:
y minyy max
u minuu max
<math> <mrow> <mi>&Delta;</mi> <msubsup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>min</mi> <mi>d</mi> </msubsup> <mo>&le;</mo> <mi>&Delta;</mi> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>&le;</mo> <mi>&Delta;</mi> <msubsup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>max</mi> <mi>d</mi> </msubsup> <mo>,</mo> </mrow> </math>
wherein, Deltau dRepresenting input parameter difference u obtained by non-linear model predictive control NMPC model in two timesdA difference of (d);
step four and five: calculating a second order objective function
<math> <mrow> <msub> <mi>&phi;</mi> <mn>2</mn> </msub> <mo>=</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <msup> <mrow> <mo>(</mo> <msup> <munder> <mi>y</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>)</mo> </mrow> <mi>T</mi> </msup> <mi>Q</mi> <msup> <munder> <mi>y</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>+</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <msup> <mrow> <mo>(</mo> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>)</mo> </mrow> <mi>T</mi> </msup> <mi>R</mi> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>+</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <msup> <mrow> <mo>(</mo> <mi>&Delta;</mi> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>)</mo> </mrow> <mi>T</mi> </msup> <mi>S&Delta;</mi> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>,</mo> </mrow> </math> And calculateWill make phi2Obtained at a minimumuSelected as the operation input parameter of the membrane bioreactorWhere Q represents the output weight matrix, R represents the input weight matrix, and S represents the input difference weight matrix.
The operation principle of the present embodiment is shown in fig. 4.
In the present embodiment, the main purpose is to reduce the input parameters
Figure GSB00000720672600094
And a control variable
Figure GSB00000720672600095
Difference between and control target
Figure GSB00000720672600096
And output the target
Figure GSB00000720672600097
The difference between them.
In this embodiment, the NMPC model may be controlled using a linear time variable LTV model.
In this embodiment, the state x includes various components in the first row of the ASM model matrix, such as:
SSreadily biodegradable organic substrates, SNH-Ammonia Nitrogen, SNO-nitrate nitrogen content;
controlled variable
Figure GSB00000720672600098
The method comprises the following parameters: temperature, dissolved oxygen, hydraulic retention time, sludge retention time (and sludge age), and adjusting these parameters to achieve output goals
Figure GSB00000720672600099
Control of (2);
output targetThe method comprises the following steps: economic goals, ecological goals, and MBR system impact load resistance goals,
1) the economic target is as follows: the aeration rate and the membrane passing pressure value are controlled within a certain range, so that the energy consumption and the cost for washing and replacing the membrane are reduced;
2) ecological goals: the quality of the membrane filtration effluent reaches the national sewage discharge standard;
3) MBR system impact load resistance target: when the water inlet quantity and the water quality are greatly changed, the stable growth of the activated sludge in the reactor is not influenced as much as possible. Here, the F/M value, i.e., the ratio of nutrients to microorganisms, is controlled to be within a certain range. Nutrients here refer to the content of organic matter, ammonia nitrogen, nitrate nitrogen, etc.

Claims (3)

1. A method for optimizing and controlling the operation of a membrane bioreactor based on a mechanism model is characterized by comprising the following specific processes:
the method comprises the following steps: obtaining an initial state x of an operating membrane bioreactor0And initial model parameter p of activated sludge system model ASM in membrane bioreactor0
Step two: will be in the initial state x0And initial model parameters p0Inputting an extended Kalman Filter EKF model, the extended Kalman Filter EKF model corresponding to the initial state x0And (c) aStarting model parameter p0Estimating to obtain the initial state of the membrane bioreactor without noise
Figure FSB00000720672500011
And initial model parameters without noise
Figure FSB00000720672500012
While obtaining a noisy initial state
Figure FSB00000720672500013
And initial model parameters including noise
Figure FSB00000720672500014
Step three: will not contain noise initial state
Figure FSB00000720672500015
And initial model parameters without noise
Figure FSB00000720672500016
Inputting the data into a dynamic prediction set DPS model which is set with a membrane bioreactor operation preset target y, and adopting a separation modeling thought and a mixed logic dynamic optimization MLDO model to control the membrane bioreactor operation
Figure FSB00000720672500017
And membrane bioreactor operation control variable
Figure FSB00000720672500018
Performing dynamic real-time optimization on the D-RTO to obtain the operation control variable of the membrane bioreactor
Figure FSB00000720672500019
Membrane bioreactor operation control target
Figure FSB000007206725000110
The predicted optimization trajectory of (1);
step four: in-membrane bioreactor operation control objective
Figure FSB000007206725000111
Selecting control variables in the vicinity of the preset target y of the predicted optimization trajectory
Figure FSB000007206725000112
And will include the initial state of noise
Figure FSB000007206725000113
And initial model parameters including noise
Figure FSB000007206725000114
Adding the model into a nonlinear model predictive control NMPC model, and obtaining the operation input parameters of the membrane bioreactor by adopting a model predictive control MPC model
Figure FSB000007206725000115
Step five: inputting the operation parameters of the membrane bioreactor
Figure FSB000007206725000116
Inputting the operation parameters into a basic control BC module which inputs the operation input parameters of the membrane bioreactor
Figure FSB000007206725000117
The real-time transmission of the real-time parameter u to the membrane bioreactor is carried out without difference, and the actual parameter u is simultaneously transmitted to the membrane bioreactorreFeedback to the basic control BC module
Figure FSB000007206725000118
At the moment, the membrane bioreactor outputs the operation output target of the membrane bioreactor
Figure FSB000007206725000119
Step six: judging the operation output target of the membrane bioreactor
Figure FSB000007206725000120
If yes, executing step eight, otherwise executing step seven;
step seven: operating the membrane bioreactor at the current input parametersThe state x and model parameters p under the condition are respectively defined as a new initial state x0And new initial model parameters p0Returning to execute the step two;
step eight: outputting the operation of the membrane bioreactor to a targetCorresponding membrane bioreactor operation input parameter
Figure FSB00000720672500023
Is defined as the operation parameter of the membrane bioreactor, and completes the optimization control of the operation of the membrane bioreactor.
2. The method for optimizing the operation of a membrane bioreactor based on a mechanism model according to claim 1, wherein in step three, the MLDO model is dynamically optimized to control the operation of the membrane bioreactor by adopting a separation modeling idea and a mixed logic
Figure FSB00000720672500024
And membrane bioreactor operation control variable
Figure FSB00000720672500025
The method for dynamically optimizing the D-RTO in real time comprises the following steps:
step three, firstly: selecting an optimal time range t0≤t≤tfAnd dividing the optimal time range into M stages, wherein the start time of the jth stage is
Figure FSB00000720672500026
And is provided with
Figure FSB00000720672500027
The end time of the jth stage is
Figure FSB00000720672500028
And is provided with
Figure FSB00000720672500029
The duration of the jth phase is
Figure FSB000007206725000210
j is in the range of {1, KK, M }, and has
Figure FSB000007206725000211
j∈{1,KK,M-1};
Step three: each stage has i operating schemes, i ∈ { 0., N }, each of which satisfies the following four conditions at each stage:
the conditions are as follows,
Figure FSB000007206725000212
The second condition, <math> <mrow> <mn>0</mn> <mo>&GreaterEqual;</mo> <msubsup> <mi>g</mi> <mi>i</mi> <mi>j</mi> </msubsup> <mrow> <mo>(</mo> <msup> <mi>x</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>y</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>u</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>d</mi> <mi>j</mi> </msup> <mo>,</mo> <msup> <mi>p</mi> <mi>j</mi> </msup> <mo>)</mo> </mrow> <mo>,</mo> </mrow> </math>
The third condition, 0 = h eq , i j ( x j ( t f ) , y j ( t f ) , u j ( t f ) , d j ( t f ) , p j ( t f ) ) ,
The condition IV, <math> <mrow> <mn>0</mn> <mo>&GreaterEqual;</mo> <msubsup> <mi>h</mi> <mi>i</mi> <mi>j</mi> </msubsup> <mrow> <mo>(</mo> <msup> <mi>x</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>y</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>u</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>d</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>p</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>)</mo> </mrow> <mo>,</mo> </mrow> </math>
According to the four conditions, the initial state without noise is introduced
Figure FSB00000720672500031
And initial model parameters without noise
Figure FSB00000720672500032
Obtaining the objective function of each scheme in the j stage <math> <mrow> <msubsup> <mi>&phi;</mi> <mi>i</mi> <mi>j</mi> </msubsup> <mo>=</mo> <msubsup> <mi>&phi;</mi> <mi>i</mi> <mi>j</mi> </msubsup> <mrow> <mo>(</mo> <msup> <mi>x</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>y</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>u</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>d</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>,</mo> <msup> <mi>p</mi> <mi>j</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>t</mi> <mi>f</mi> </msub> <mo>)</mo> </mrow> <mo>)</mo> </mrow> </mrow> </math> Wherein,
Figure FSB00000720672500034
representing the equation of state of the ith solution at the jth stage,representing the differential state quantity, x, of the j-th stagejRepresents the state quantity of the j stage, yjOutput quantity, u, representing the j-th stagejRepresenting the input of the j stage, djRepresenting the noise of the j stage, pjThe model parameters representing the jth stage are,
Figure FSB00000720672500036
the inequality path constraint equation representing the jth stage,
Figure FSB00000720672500037
the equation node representing the ith scheme at the jth stage constrains the equations,
Figure FSB00000720672500038
representing an inequality node constraint equation of the ith scheme in the jth stage;
step three: introducing Boolean parameter Yi jE { True, False }, and is in accordance with
Figure FSB00000720672500039
Obtaining the optimal scheme i selected from the i schemes in the j stage*Is an objective function of
Figure FSB000007206725000310
i ∈ { 0.,. N }, where,
Figure FSB000007206725000311
indicating whether the ith scheme is selected in the jth stage, if so
Figure FSB000007206725000312
If the value is True, selecting the ith scheme in the jth stage, otherwise, not selecting the ith scheme in the jth stage, wherein V represents exclusive operation;
step three and four: obtaining a global optimization objective function
Figure FSB000007206725000313
And satisfy algebraic expressions within an optimal time range <math> <mrow> <msubsup> <mi>q</mi> <mn>1</mn> <mi>j</mi> </msubsup> <mo>+</mo> <msubsup> <mi>q</mi> <mn>2</mn> <mi>j</mi> </msubsup> <mo>+</mo> <mi>K</mi> <mo>+</mo> <msubsup> <mi>q</mi> <mi>N</mi> <mi>j</mi> </msubsup> <mo>=</mo> <mn>1</mn> <mo>,</mo> <mi>j</mi> <mo>&Element;</mo> <mo>{</mo> <mn>1</mn> <mo>,</mo> <mi>K</mi> <mo>,</mo> <mi>M</mi> <mo>}</mo> <mo>,</mo> </mrow> </math> Solving an objective function simultaneously
Figure FSB00000720672500042
Obtaining the operation control target of the membrane bioreactor
Figure FSB00000720672500043
And membrane bioreactor operation control variableCompleting the control of the target
Figure FSB00000720672500045
And a control variable
Figure FSB00000720672500046
In real time, wherein,
Figure FSB00000720672500047
representation and Boolean parameters
Figure FSB00000720672500048
A related binary variable, if
Figure FSB00000720672500049
If the value is True, the corresponding binary variable is obtained
Figure FSB000007206725000410
Is 1, otherwise, the corresponding binary variable
Figure FSB000007206725000411
The value of (d) is 0.
3. The method for optimizing the operation of a membrane bioreactor based on a mechanism model as claimed in claim 1, wherein in step four, the model predictive control MPC model is used to obtain the operation input parameters of the membrane bioreactor
Figure FSB000007206725000412
The method comprises the following steps:
step four, firstly: introducing the amount of time interval Δ tcDiscretizing the optimization time of the non-linear model predictive control NMPC model, wherein the optimization time of the non-linear model predictive control NMPC model is the selected control variableCorresponding time, and dividing the optimized time of the non-linear model predictive control NMPC model into N time intervals of delta tcThe discrete time index is:
tk=tN,0+k·Δtc
wherein k is in accordance with { 0.,. An, N }, tN,0The starting time of the optimization time of the non-linear model predictive control NMPC model is represented;
step four and step two: introducing noisy initial states
Figure FSB000007206725000414
And initial model parameters including noise
Figure FSB000007206725000415
And according to the expression of model predictive control MPC model under discrete condition
0=f(xk+1,yk,uk,pk,dk),
Obtaining at each discrete time index tkInput amount u ofkAnd an output yk
Step four and step three: according to the obtained index t at each discrete timekInput amount u ofkAnd an output ykObtaining a set of inputs over an optimization time of a non-linear model predictive control (NMPC) modelu=[(u0)T,K(uk)T,K,(uN)T]TAnd the set of output quantities y ═ y [ ("y0)T,Λ(yk)T,(yN)T]T
Step four: setting dynamic predictions to control variables on a predictive optimization trajectory of a DPS model over an optimization time of a non-linear model predictive control NMPC model
Figure FSB00000720672500051
And control target
Figure FSB00000720672500052
Are respectively defined as discrete control variables
Figure FSB00000720672500053
And discrete control targets
Figure FSB00000720672500054
And obtaining the difference value of the input parameters of the nonlinear model predictive control NMPC model and the dynamic prediction setting DPS model in the optimization time of the nonlinear model predictive control NMPC modelAnd difference of output parameters
Figure FSB00000720672500056
And there is:
y minyy max
u minuu max
<math> <mrow> <mi>&Delta;</mi> <msubsup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>min</mi> <mi>d</mi> </msubsup> <mo>&le;</mo> <mi>&Delta;</mi> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>&le;</mo> <mi>&Delta;</mi> <msubsup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>max</mi> <mi>d</mi> </msubsup> <mo>,</mo> </mrow> </math>
wherein, Deltau dRepresenting the difference value of input parameters obtained by a nonlinear model predictive control NMPC model in two timesu dA difference of (d);
step four and five: calculating a second order objective function
<math> <mrow> <msub> <mi>&phi;</mi> <mn>2</mn> </msub> <mo>=</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <msup> <mrow> <mo>(</mo> <msup> <munder> <mi>y</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>)</mo> </mrow> <mi>T</mi> </msup> <mi>Q</mi> <msup> <munder> <mi>y</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>+</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <msup> <mrow> <mo>(</mo> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>)</mo> </mrow> <mi>T</mi> </msup> <mi>R</mi> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>+</mo> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <msup> <mrow> <mo>(</mo> <mi>&Delta;</mi> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>)</mo> </mrow> <mi>T</mi> </msup> <mi>S&Delta;</mi> <msup> <munder> <mi>u</mi> <mo>&OverBar;</mo> </munder> <mi>d</mi> </msup> <mo>,</mo> </mrow> </math> And calculate
Figure FSB00000720672500059
Will make phi2Obtained at a minimumuSelected as the operation input parameter of the membrane bioreactor
Figure FSB000007206725000510
Where Q represents the output weight matrix, R represents the input weight matrix, and S represents the input difference weight matrix.
CN2010101094135A 2010-02-11 2010-02-11 Method for optimizing and controlling operation of membrane bioreactor based on mechanism model Active CN101794117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101094135A CN101794117B (en) 2010-02-11 2010-02-11 Method for optimizing and controlling operation of membrane bioreactor based on mechanism model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101094135A CN101794117B (en) 2010-02-11 2010-02-11 Method for optimizing and controlling operation of membrane bioreactor based on mechanism model

Publications (2)

Publication Number Publication Date
CN101794117A CN101794117A (en) 2010-08-04
CN101794117B true CN101794117B (en) 2012-05-09

Family

ID=42586853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101094135A Active CN101794117B (en) 2010-02-11 2010-02-11 Method for optimizing and controlling operation of membrane bioreactor based on mechanism model

Country Status (1)

Country Link
CN (1) CN101794117B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2842824C (en) * 2011-07-26 2023-03-14 General Electric Company Wastewater treatment plant online monitoring and control
CN107942682B (en) * 2017-12-22 2020-10-30 太原理工大学 Dynamic economic performance optimization and control integrated design method of non-Gaussian system
CN117964023A (en) * 2024-04-01 2024-05-03 山东中研环保设备有限公司 Sewage treatment control system based on artificial intelligence algorithm control

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
HUE024179T4 (en) * 2005-10-06 2016-05-30 Evoqua Water Tech Llc Dynamic control of membrane bioreactor system
CN101609309B (en) * 2009-07-11 2011-03-23 大连理工大学 Membrane pollution optimized control specialist system of membrane reactor

Also Published As

Publication number Publication date
CN101794117A (en) 2010-08-04

Similar Documents

Publication Publication Date Title
Schmitt et al. Development of artificial neural networks to predict membrane fouling in an anoxic-aerobic membrane bioreactor treating domestic wastewater
CN106873379B (en) Sewage treatment optimal control method based on iterative ADP algorithm
Santín et al. Applying variable dissolved oxygen set point in a two level hierarchical control structure to a wastewater treatment process
CN102411308A (en) Adaptive control method of dissolved oxygen (DO) based on recurrent neural network (RNN) model
Vilanova et al. N-removal on wastewater treatment plants: A process control approach
Do et al. A design of higher-level control based genetic algorithms for wastewater treatment plants
CN108536106B (en) Aeration system dissolved oxygen online regulation and control method based on Kalman filtering-extreme learning machine
Caraman et al. Predictive Control of aWastewater Treatment Process
Qiao et al. Adaptive optimal control for a wastewater treatment plant based on a data-driven method
Robles et al. Advanced control system for optimal filtration in submerged anaerobic MBRs (SAnMBRs)
Vlad et al. Indirect control of substrate concentration for a wastewater treatment process by dissolved oxygen tracking
Piotrowski et al. Mixed integer nonlinear optimization of biological processes in wastewater sequencing batch reactor
CN117390549A (en) Aeration control method for town sewage plant
CN101794117B (en) Method for optimizing and controlling operation of membrane bioreactor based on mechanism model
WO2023181276A1 (en) Water treatment control system and control method for water treatment device
Han et al. Robust optimal control for anaerobic-anoxic-oxic reactors
Volcke et al. Coupling the SHARON process with Anammox: Model-based scenario analysis with focus on operating costs
Dey et al. Fractional-order models identification and control within a supervisory control framework for efficient nutrients removal in biological wastewater treatment plants
Lee et al. Advances in distributed parameter approach to the dynamics and control of activated sludge processes for wastewater treatment
Swarnalatha Simulation and Analysis of Ammonium-Based Aeration Control Strategies to Enhance Efficiency in Wastewater Treatment Plant
Ludwig et al. Simulation and optimization of an experimental membrane wastewater treatment plant using computational intelligence methods
CN116822346A (en) Sewage treatment nitrate nitrogen concentration control method based on Q learning
Revollar et al. Economic model predictive control of a wastewater treatment plant using neural and fuzzy models
Revollar et al. Economic optimization of wastewater treatment plants using Non Linear model predictive control
Holenda Development of modelling, control and optimization tools for the activated sludge process

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant