Real-Time Feasibility of Nonlinear Predictive Control for Semi-batch Reactors

Similar documents
SCALE-UP OF BATCH PROCESSES VIA DECENTRALIZED CONTROL. A. Marchetti, M. Amrhein, B. Chachuat and D. Bonvin

Slovak University of Technology in Bratislava Institute of Information Engineering, Automation, and Mathematics PROCEEDINGS

Model-based On-Line Optimization Framework for Semi-batch Polymerization Reactors

arxiv: v1 [cs.sy] 2 Oct 2018

Dynamic Real-Time Optimization via Tracking of the Necessary Conditions of Optimality

Integrated Knowledge Based System for Process Synthesis

MOST control systems are designed under the assumption

Facing New Products Demand through Simultaneous Structural and Operational Decisions in the Design of the Control Recipe

Run-to-Run MPC Tuning via Gradient Descent

Adaptive Nonlinear Model Predictive Control with Suboptimality and Stability Guarantees

Robust Optimal Control for Nonlinear Dynamic Systems

Strategies for Numerical Integration of Discontinuous DAE Models

Dynamic Real-Time Optimization: Linking Off-line Planning with On-line Optimization

EE C128 / ME C134 Feedback Control Systems

Model-based Control and Optimization with Imperfect Models Weihua Gao, Simon Wenzel, Sergio Lucia, Sankaranarayanan Subramanian, Sebastian Engell

Control and Optimization of Batch Chemical Processes

Time scale separation and the link between open-loop and closed-loop dynamics

Open/Closed Loop Bifurcation Analysis and Dynamic Simulation for Identification and Model Based Control of Polymerization Reactors

Process design decisions and project economics Dr. V. S. Moholkar Department of chemical engineering Indian Institute of Technology, Guwahati

CHAPTER 2 CONTINUOUS STIRRED TANK REACTOR PROCESS DESCRIPTION

Chemical Reaction Engineering. Multiple Reactions. Dr.-Eng. Zayed Al-Hamamre

Nonlinear Stochastic Modeling and State Estimation of Weakly Observable Systems: Application to Industrial Polymerization Processes

Prashant Mhaskar, Nael H. El-Farra & Panagiotis D. Christofides. Department of Chemical Engineering University of California, Los Angeles

Model-based Conceptual Design and Tool Support for the Development of Continuous Chemical Processes

Dynamic Operability for the Calculation of Transient Output Constraints for Non-Square Linear Model Predictive Controllers

Model-Based Linear Control of Polymerization Reactors

ROBUST STABLE NONLINEAR CONTROL AND DESIGN OF A CSTR IN A LARGE OPERATING RANGE. Johannes Gerhard, Martin Mönnigmann, Wolfgang Marquardt

Paris'09 ECCI Eduardo F. Camacho MPC Constraints 2. Paris'09 ECCI Eduardo F. Camacho MPC Constraints 4

A Definition for Plantwide Controllability. Process Flexibility

A CHANCE CONSTRAINED ROBUST MPC AND APPLICATION TO HOT ROLLING MILLS

Model Predictive Control Design for Nonlinear Process Control Reactor Case Study: CSTR (Continuous Stirred Tank Reactor)

Implementation issues for real-time optimization of a crude unit heat exchanger network

Robust Dynamic Optimization of a Semi-Batch Emulsion Polymerization Process with Parametric Uncertainties - A Heuristic Approach -

Nonlinear Behaviour of a Low-Density Polyethylene Tubular Reactor-Separator-Recycle System

Recovering from a Gradual Degradation in MPC Performance

Genetic-Algorithm-Based Optimisation for Exothermic Batch Process

Model Predictive Controller of Boost Converter with RLE Load

FAULT-TOLERANT CONTROL OF CHEMICAL PROCESS SYSTEMS USING COMMUNICATION NETWORKS. Nael H. El-Farra, Adiwinata Gani & Panagiotis D.

A Novel Dissolution-Diffusion Model for Investigation of Drug Release from Polymeric Microspheres

Learning Model Predictive Control for Iterative Tasks: A Computationally Efficient Approach for Linear System

Overview of Control System Design

Semi-empirical Process Modelling with Integration of Commercial Modelling Tools

IJSRD - International Journal for Scientific Research & Development Vol. 1, Issue 8, 2013 ISSN (online):

Model-based Optimal Control of Industrial Batch Crystallizers

Lecture (9) Reactor Sizing. Figure (1). Information needed to predict what a reactor can do.

Journal of Process Control

A Comparison of Predictive Control and Fuzzy- Predictive Hybrid Control Performance Applied to a Three-Phase Catalytic Hydrogenation Reactor

Theory in Model Predictive Control :" Constraint Satisfaction and Stability!

CHAPTER 5 Batch and Semi-Batch Operations

Optimizing the Open-and Closed-Loop Operations of a Batch Reactor

Supply chain monitoring: a statistical approach

Optimizing Control of Hot Blast Stoves in Staggered Parallel Operation

Synergy between Data Reconciliation and Principal Component Analysis.

Design and Optimisation of Batch Reactors

DRSM Model for the Optimization and Control of Batch Processes

Tube Model Predictive Control Using Homothety & Invariance

Economic Model Predictive Control Historical Perspective and Recent Developments and Industrial Examples

Closed-loop Formulation for Nonlinear Dynamic Real-time Optimization

Development of Dynamic Models. Chapter 2. Illustrative Example: A Blending Process

CBE495 LECTURE IV MODEL PREDICTIVE CONTROL

Incremental identification of transport phenomena in wavy films

Application of Decomposition Methodology to Solve Integrated Process Design and Controller Design Problems for Reactor-Separator-Recycle Systems

UNIVERSITY OF CALIFORNIA. Los Angeles. Integrated Fault Detection and Isolation and. Fault-Tolerant Control of Nonlinear Process Systems

Predictive Functional Control Applied to Multicomponent Batch Distillation Column

Real-Time Implementation of Nonlinear Predictive Control

Dynamic Evolution of the Particle Size Distribution in Multistage Olefin Polymerization Reactors

Distributed and Real-time Predictive Control

Constrained State Estimation Using the Unscented Kalman Filter

Robust Internal Model Control for Impulse Elimination of Singular Systems

IMPLEMENTATIONS OF TRACKING MULTIPARAMETRIC PREDICTIVE CONTROLLER. Pregelj Boštjan, Gerkšič Samo. Jozef Stefan Institute, Ljubljana, Slovenia

Stochastic MPC Design for a Two-Component Granulation Process

A Holistic Approach to the Application of Model Predictive Control to Batch Reactors

Computational Strategies for the Optimal Operation of Large-Scale Chemical Processes

Stochastic Models, Estimation and Control Peter S. Maybeck Volumes 1, 2 & 3 Tables of Contents

A novel optimization framework for integrated design and control using a dynamic inversely controlled process model

Technical Resource Package 1

Active Fault Diagnosis for Uncertain Systems

Chemical Kinetics and Reaction Engineering

Control System Design

Principles of Optimal Control Spring 2008

Batch-to-batch strategies for cooling crystallization

FINITE HORIZON ROBUST MODEL PREDICTIVE CONTROL USING LINEAR MATRIX INEQUALITIES. Danlei Chu, Tongwen Chen, Horacio J. Marquez

Integration of Scheduling and Control Operations

A Hybrid Systems Approach to Trajectory Tracking Control for Juggling Systems

Chapter 2 Optimal Control Problem

THE USE OF DEWAR CALORIMETRY IN THE ASSESSMENT OF CHEMICAL REACTION HAZARDS

Improved Crude Oil Processing Using Second-Order Volterra Models and Nonlinear Model Predictive Control

Giulio Betti, Marcello Farina and Riccardo Scattolini

A FAST, EASILY TUNED, SISO, MODEL PREDICTIVE CONTROLLER. Gabriele Pannocchia,1 Nabil Laachi James B. Rawlings

Nonlinear Model Predictive Control Tools (NMPC Tools)

Robust Process Control by Dynamic Stochastic Programming

Stochastic Optimization Methods

Reduced Order Modeling of High Purity Distillation Columns for Nonlinear Model Predictive Control

CONTROL PROPERTIES ANALYSIS OF ALTERNATE SCHEMES TO THERMALLY COUPLED DISTILLATION SCHEMES

Decentralized and distributed control

Simulation Study on Pressure Control using Nonlinear Input/Output Linearization Method and Classical PID Approach

Model Predictive Control For Interactive Thermal Process

Theoretical Models of Chemical Processes

Introduction to Operations Research. Linear Programming

MPC Infeasibility Handling

Transcription:

European Symposium on Computer Arded Aided Process Engineering 15 L. Puigjaner and A. Espuña (Editors) 2005 Elsevier Science B.V. All rights reserved. Real-Time Feasibility of Nonlinear Predictive Control for Semi-batch Reactors Harvey Arellano-Garcia *, Tilman Barz, Moritz Wendt and Günter Wozny Department of Process Dynamics and Operation, Technical University of Berlin TU Berlin, Sekr. KWT-9, D-10623 Berlin, Germany Abstract In this work a nonlinear model predictive control scheme for on-line optimization of semi-batch reactors is presented. Since the true process optimum occasionally lies on a boundary of the feasible region defined by one or more active constraints, the process is forced into an infeasible region due to the uncertainty in the parameters and measurement errors. An alternative new approach is proposed to assure both robustness and feasibility with respect to input and output constraints. This approach is based on the backing off of the constrained output variable bound along the moving horizon. With this strategy, a trajectory of mathematical constraint limits will be formed. The trajectory of these bounds is dependent on the amount of measurement error and parameter variation including uncertainty. The performance of the proposed approach is assessed via an application to a semi-batch reactor under safety constraints, where a strongly exothermic series reaction conducted in a non-isothermal batch reactor is considered to show the analytical steps of the approach, and to demonstrate the efficiency of the proposed online framework. Keywords: NMPC, Output-Constraints, Dynamic Real Time Optimization, Batch Processes, Safety. 1. Introduction Batch processing provides greater flexibility in the production of specialty and pharmaceutical chemicals. The trend in the chemical industry towards high value products has increased interest in the optimal, model-based control of batch processes. These control problems are generally posed as tracking problems for time-varying reference trajectories defined over a finite time interval. However, during the course of a typical batch, process variables swing over wide ranges and process dynamics go through significant changes due to nonlinearity. Furthermore, batch processes are characterized by significant uncertainties, a certain number of noisy measurements and the fact that the controlled properties are usually not measured on-line. Therefore, the potential advantages of a model based control system are likely to lead to significant tracking errors. With the aim of dealing with model uncertainties and process disturbances, the optimal control problem can also be solved on-line. The on-line * Author to whom correspondence should be addressed: arellano-garcia@tu-berlin.de

optimization problem is generally non-convex for NMPC. Thus, practical implementation of NMPC becomes difficult for any reasonably nontrivial nonlinear system (Mayne D. Q., 2000). However, critical issues are robustness and the feasibility of the optimization problem, i.e. the presence of an input profile that satisfies the constraints. In this contribution an alternative new approach is proposed to assure both robustness and feasibility with respect to input and output constraints. 2. Problem Formulation A strongly exothermic series reaction conducted in a non-isothermal batch reactor is considered to demonstrate the efficiency of the proposed online framework. The reaction kinetics are second-order for the first reaction producing B from A, and an undesirable consecutive first-order reaction converting B to C. The intermediate product B is deemed to be the desired product. Since the heat removal is limited, the temperature is controlled by the feed rate of the reactant A and the flow rate of the cooling liquid in the nominal operation. The reactor is equipped with a jacket cooling system. At the start, the reactor partly contains the total available amount of A. The remainder is then fed and its feed flow rate is optimized to maximize the yield. However, the accumulation of A at the start of the batch time must be prevented, otherwise, as the batch proceeds; exhaustion of the cooling system capacity can not be avoided. Furthermore, whilst the reaction proceeds, the reactor s volume diminishes so that the computation of the corresponding cooling capacity is adapted according to the remaining cooling jacket area. The developed model takes in both the reactor and the cooling jacket energy balance. Thus, the dynamic performance between the cooling medium flow rate as manipulated variable and the controlled reactor temperature is also included in the model equations. Thereby, it can be guaranteed that later the computed temperature trajectory can be implemented by the controller. Moreover, by this means the limitations of the cooling system (pump capacity) can explicitly be taken into account for the optimization. The resulting model comprises 5 differential states, 2 algebraic state variables, and 3 time-varying operational degrees of freedom. The objective is to maximize the production of C B while minimizing the total batch time subject to diverse operational, quality as well as safety related constraints during the batch and at its final time. The objective function then reads: 1 min (-CB ( t f ) + t f ) with = 70 V cool,feed, t There are path and end point constraints for the reaction process to be fulfilled by the open-loop optimal recipes. First, a limited available amount of A to be converted by the final time is fixed to NA tot (t f )=500mol. Furthermore, so as to consider the shut-down operation, the reactor temperature of at the final batch time must not exceed a limit. r ( ) 303 f T t K There are path constraints for the reactor temperature and the adiabatic end temperature T () t 356 K (3) r (1) (2) T () t 500 K ad (4)

reactor temperature [K] 355 335 315 295 500 1500 2500 3500 4500 time [s] adiabatic end temperature [K] 500 450 400 350 300 0 900 1800 2700 3600 4500 time [s] Figure 1. Path constraints: Reactor temperature (left) and adiabatic end temperature (right). T ad is used to determine the temperature after failure (Abel and Marquardt, 2000). Additionally, the cooling flow rate changes from interval to interval are restricted to an upper bound abs V cool ( k + 1) V cool ( k) 0,05 (5) The decision variables u(t) are the feed flow rate into the reactor, the cooling flow rate V cool, and the different time intervals. A multiple time-scale strategy based on the orthogonal collocation method in finite elements is applied for both discretization and implementation of the optimal policies according to the controller s discrete time intervals (6-12s; 600-700 intervals). The resulting trajectories of the reactor temperature and the adiabatic end temperature for which constraints have been formulated are depicted in Fig. 1. It can be observed that during a large part of the batch time both states variables evolve along the upper limit. The adiabatic end temperature, in particular, is an active constraint over a large time period. Although operation at this optimum is desired, it typically cannot be achieved with simultaneous satisfaction of all constraints, because of the influence of external disturbances (Loeblein and Perkins, 1999). Thus, an NMPC based approach is proposed to implement such an optimal strategy despite disturbances. 3. Nonlinear Model Predictive Control NMPC provides a systematic methodology to handle constraints on manipulated and controlled variables not being limited to a certain model structure. However, for the online optimization of the semi-batch process, the momentary criteria on the restricted controller horizon with regard to the entire batch operation are insufficient. Therefore, the original objective (eq. 1) must be substituted by an appropriate alternative which can be evaluated on the local MPC prediction horizon. min V cool N 2 ( N,, ) = δ( ) ˆ ( 1 2 )- ( ) λ( ) ( -1 U + + + Δ + ) j= N1 j= 1 N 2 U 2 J N N j y t j t w t j j u t j The optimization objective is reduced to a tracking problem. The first term stands for the task of keeping as close as possible to the calculated open loop optimal trajectory of the reactor temperature, whereas the second term corresponds to control activity under the consideration of the systems restriction s described above. Both reactor temperature and adiabatic end temperature are defined as hard-constraints. However, it is well known that hard output constraints can cause problems for two reasons: the optimization can become infeasible, and some of the constraints must then be relaxed or (6)

Figure 2. Back-off strategy within moving horizon. eliminated. In the latter both approaches rely on relaxation which is, in fact, inapplicable for safety restrictions. In this work an alternative new approach is proposed to assure both robustness and feasibility with respect to input and output constraints. This approach is based on the backing-off of the bound of the hard-constrained output variable along the moving horizon (8intervals). Thus, a trajectory of mathematical constraint limits will be formed. For the near future time points within the horizon, these limits (bounds) are more severe than the real physical constraints and will gradually be eased (logarithmic) for further time points (see Figure 2). The trajectory of these bounds is dependent on the amount of measurement error and parameter variation including uncertainty. The back-off strategy is introduced into the optimization to guarantee that the safety restrictions are not violated at all when the calculated trajectory is applied to the batch process. The basic idea is shown in Fig. 3. The true process optimum lies on the boundary of the feasible region defined by the active constraint. Due to the uncertainty in the parameters and the measurement errors, the process optimum and the set-point trajectory would be infeasible. By introducing a back-off from the active constraints in the optimization, the region of the set-point trajectory is moved inside the feasible region of the process to ensure, on the one hand, feasible operation, and to operate the process, on the other hand, still as closely to the true optimum as possible. active constraint u 2 optimum min u ( ) J u max Back-Off s.t. y y - y optimal backed off operating point feasible region active constraint optimal deterministic point with y=y(,u) u 1 Figure 3. Back-off from active constraints

Table 1.Objective function parameter and hard-constraints back-off. T P prediction horizon 8 intervals T C control horizon 8 intervals λ MV variation weighting factor 3000 δ offset weighting factor α (Tp-j) with α=0,7 T max maximum allowable offline j T j = 2...8 = T - T. α max max max Reactor temperature with T max =356K T = 4 K, α = 0.5 max T ad maximum allowable offline T ( j = 2...8) = T - T. α max max max adiabatic end temperature with T max =508.5K T = 3 K, α = 0.5 max ( -2) ( ) For the formulation of the NMPC-based online optimization, the objective function parameters (eq. 6) and the hard-constraints back-off are presented in Table 1, respectively. The decision variable is again the cooling flow rate. In order to compare the performances of the open-loop nominal solution and the nominal NMPC with the proposed on-line framework under uncertainty, different disturbances have been considered, namely: catalyst activity mismatch and fluctuations of the reactor jacket cooling fluid temperature. Additionally, all measurements are corrupted with white noise e.g. component amount 8%, Temperature 2%. 4. Dynamic Real-Time Optimization The size of the dynamic operating region around the optimum (see Figure 3) is affected by fast disturbances. These are, however, efficiently rejected by the proposed regulatory NMPC-based approach. On the other hand, there are, in fact, slowly time-varying nonzero mean disturbances or drifting model parameters which change the plant optimum with time. Thus, a re-optimization i.e. dynamic real-time optimization (D-RTO) may be indispensable for an optimal operation. When on-line measurement gives access to the system state, on-line re-optimization promises considerably improvement. Moreover, additional constraints can be formulated. In this work, we assume that the state information is available. ( j-2) Feed T reactor. V cool Y Tad, Tmax Y Figure 4. On-line Framework: Integration of NMPC and dynamic re-optimization

reactor temperature [K] 350 335 320 305 290 1 2 3 re-optimizations reference trajectory 0 900 1800 2700 3600 4500 time [s] Figure 5. On-line re-optimization: reactor temperature In order to compensate slow disturbances, the on-line re-optimization problem is automatically activated three times along the batch process time according to a trigger defined as the bounded above difference between the reactor temperature and the temperature reference trajectory (see Figure 5). New recipes resulting from this are then updated as input to the on-line framework. Due to the different trigger time-points the current D-RTO problem progressively possesses a reduced number of variables within a shrinking horizon (Nagy and Braatz, 2003). As a result of this, and a catalyst contamination the total batch time increases. But, despite the large plant mismatch and the absence of kinetic knowledge nearly perfect control is accomplished. 5. Conclusions Feasibility and robustness with respect to input and output constraints have been achieved by the backing-off strategy. The resulting NMPC scheme embedded in the online re-optimization framework is viable for the optimization of the semi-batch reactor recipe while simultaneously guaranteeing the constraints compliance, both for nominal operation as well as for cases of large disturbances e.g. failure situation. The proposed scheme yields almost the same profit as the one of the off-line optimization operational profiles. Currently, the approach is extended to a probabilistically constrained nonlinear model predictive controller. References Abel O. and W. Marquardt, 2000, AIChE J., 46, 4, 803-823. Loeblein C. and J. D. Perkins, 1999, AIChE J., 45, 5, 1018-1029. Mayne D. Q., 2000, Automatica, 36, 789-814. Nagy, Z.K., and R.D. Braatz, 2003, AIChE J., 49, 1776-1786. Acknowledgements The authors gratefully acknowledge the financial support of the German Research Foundation Deutsche Forschungsgemeinschaft (DFG) under the contract WO 565/12-2.