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 PDFInfo
- 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
Links
- 239000012528 membrane Substances 0.000 title claims abstract description 106
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000007246 mechanism Effects 0.000 title claims abstract description 12
- 238000005457 optimization Methods 0.000 claims abstract description 42
- 230000008569 process Effects 0.000 claims description 11
- 239000010802 sludge Substances 0.000 claims description 11
- 239000011159 matrix material Substances 0.000 claims description 7
- 238000000926 separation method Methods 0.000 claims description 6
- 230000014509 gene expression Effects 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 claims description 3
- 239000010865 sewage Substances 0.000 abstract description 5
- 230000026676 system process Effects 0.000 abstract 1
- 230000001276 controlling effect Effects 0.000 description 7
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 230000033228 biological regulation Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- IJGRMHOSHXDMSA-UHFFFAOYSA-N Atomic nitrogen Chemical compound N#N IJGRMHOSHXDMSA-UHFFFAOYSA-N 0.000 description 2
- XKMRRTOUMJRJIA-UHFFFAOYSA-N ammonia nh3 Chemical compound N.N XKMRRTOUMJRJIA-UHFFFAOYSA-N 0.000 description 2
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 2
- 230000014759 maintenance of location Effects 0.000 description 2
- 238000005374 membrane filtration Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 235000015097 nutrients Nutrition 0.000 description 2
- 239000001301 oxygen Substances 0.000 description 2
- 229910052760 oxygen Inorganic materials 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 229910002651 NO3 Inorganic materials 0.000 description 1
- MMDJDBSEMBIJBB-UHFFFAOYSA-N [O-][N+]([O-])=O.[O-][N+]([O-])=O.[O-][N+]([O-])=O.[NH6+3] Chemical compound [O-][N+]([O-])=O.[O-][N+]([O-])=O.[O-][N+]([O-])=O.[NH6+3] MMDJDBSEMBIJBB-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000005273 aeration Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000031018 biological processes and functions Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000012010 growth Effects 0.000 description 1
- 244000005700 microbiome Species 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 229910052757 nitrogen Inorganic materials 0.000 description 1
- 239000005416 organic matter Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
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
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 noiseAnd initial model parameters without noiseWhile obtaining a noisy initial stateAnd initial mode of noiseForm parameter
Step three: will not contain noise initial stateAnd initial model parameters without noiseInputting 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 operationAnd membrane bioreactor operation control variablePerforming dynamic real-time optimization on the D-RTO to obtain the operation control variable of the membrane bioreactorMembrane bioreactor operation control targetThe predicted optimization trajectory of (1);
step four: in-membrane bioreactor operation control objectiveSelecting control variables in the vicinity of the preset target y of the predicted optimization trajectoryAnd will include the initial state of noiseAnd initial model parameters including noiseAdding 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
Step five: inputting the operation parameters of the membrane bioreactorInputting 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 moduleAt the moment, the membrane bioreactor outputs the operation output target of the membrane bioreactor
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 p0Go back to executionStep two;
step eight: outputting the operation of the membrane bioreactor to a targetCorresponding membrane bioreactor operation input parameterIs 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 noiseAnd initial model parameters without noiseWhile obtaining a noisy initial stateAnd initial model parameters including noise
Step three: will not contain noise initial stateAnd initial model parameters without noiseInputting 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 operationAnd membrane bioreactor operation control variablePerforming dynamic real-time optimization on the D-RTO to obtain the operation control variable of the membrane bioreactorMembrane bioreactor operation control targetThe predicted optimization trajectory of (1);
step four: in-membrane bioreactor operation control objectiveSelecting control variables in the vicinity of the preset target y of the predicted optimization trajectoryAnd will include the initial state of noiseAnd initial model parameters including noiseAdding 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
Step five: inputting the operation parameters of the membrane bioreactorInputting 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 moduleAt this time, the filmBioreactor output membrane bioreactor operation output target
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 targetCorresponding membrane bioreactor operation input parameterIs 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 modelAnd membrane bioreactor operation control variableThe 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 isAnd is provided with
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>·</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>≥</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,
The condition IV, <math>
<mrow>
<mn>0</mn>
<mo>≥</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 introducedAnd initial model parameters without noiseObtaining the objective function of each scheme in the j stage <math>
<mrow>
<msubsup>
<mi>φ</mi>
<mi>i</mi>
<mi>j</mi>
</msubsup>
<mo>=</mo>
<msubsup>
<mi>φ</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,the inequality path constraint equation representing the jth stage,the equation node representing the ith scheme at the jth stage constrains the equations,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 withObtaining the optimal scheme i selected from the i schemes in the j stage*Is an objective function ofi ∈ { 0.,. N }, where,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 functionAnd 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>∈</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 simultaneouslyObtaining the operation control target of the membrane bioreactorAnd membrane bioreactor operation control variableCompleting the control of the targetAnd a control variableIn real time, wherein,representation and Boolean parametersA related binary variable, ifIf the value is True, the corresponding binary variable is obtainedIs 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 bioreactorThe 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 statesAnd initial model parameters including noiseAnd 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 modelAnd control targetAre respectively defined as discrete control variablesAnd discrete control targetsAnd 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 parametersAnd there is:
y min≤y≤y max,
u min≤u≤u max,
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
The operation principle of the present embodiment is shown in fig. 4.
In the present embodiment, the main purpose is to reduce the input parametersAnd a control variableDifference between and control targetAnd output the targetThe 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 variableThe method comprises the following parameters: temperature, dissolved oxygen, hydraulic retention time, sludge retention time (and sludge age), and adjusting these parameters to achieve output goalsControl 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 noiseAnd initial model parameters without noiseWhile obtaining a noisy initial stateAnd initial model parameters including noise
Step three: will not contain noise initial stateAnd initial model parameters without noiseInputting 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 operationAnd membrane bioreactor operation control variablePerforming dynamic real-time optimization on the D-RTO to obtain the operation control variable of the membrane bioreactorMembrane bioreactor operation control targetThe predicted optimization trajectory of (1);
step four: in-membrane bioreactor operation control objectiveSelecting control variables in the vicinity of the preset target y of the predicted optimization trajectoryAnd will include the initial state of noiseAnd initial model parameters including noiseAdding 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
Step five: inputting the operation parameters of the membrane bioreactorInputting 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 moduleAt the moment, the membrane bioreactor outputs the operation output target of the membrane bioreactor
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;
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 logicAnd membrane bioreactor operation control variableThe 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 isAnd is provided with
Step three: each stage has i operating schemes, i ∈ { 0., N }, each of which satisfies the following four conditions at each stage:
The second condition, <math>
<mrow>
<mn>0</mn>
<mo>≥</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,
The condition IV, <math>
<mrow>
<mn>0</mn>
<mo>≥</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 introducedAnd initial model parameters without noiseObtaining the objective function of each scheme in the j stage <math>
<mrow>
<msubsup>
<mi>φ</mi>
<mi>i</mi>
<mi>j</mi>
</msubsup>
<mo>=</mo>
<msubsup>
<mi>φ</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,the inequality path constraint equation representing the jth stage,the equation node representing the ith scheme at the jth stage constrains the equations,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
Obtaining the optimal scheme i selected from the i schemes in the j stage*Is an objective function ofi ∈ { 0.,. N }, where,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 functionAnd 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>∈</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 simultaneouslyObtaining the operation control target of the membrane bioreactorAnd membrane bioreactor operation control variableCompleting the control of the targetAnd a control variableIn real time, wherein,representation and Boolean parametersA related binary variable, ifIf the value is True, the corresponding binary variable is obtainedIs 1, otherwise, the corresponding binary variableThe 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 bioreactorThe 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 statesAnd initial model parameters including noiseAnd 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 modelAnd control targetAre respectively defined as discrete control variablesAnd discrete control targetsAnd 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 parametersAnd there is:
y min≤y≤y max,
u min≤u≤u max,
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
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)
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)
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 |
-
2010
- 2010-02-11 CN CN2010101094135A patent/CN101794117B/en active Active
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 |