REAL TIME OPTIMIZATION: A Parametric Programming Approach Vivek Dua You Only Solve Once.

Slides:



Advertisements
Similar presentations
Fetal Pig Dissection.
Advertisements

Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
CHEN 4460 – Process Synthesis, Simulation and Optimization
Selective Catalytic Reduction (SCR) by NH 3 in a Fixed-Bed Reactor HEE JE SEONG The Department of Energy and Geo-Environmental Engineering The Pennsylvania.
Introduction to Algorithms
Fossil fuels Section 1.
(Real time MPC) Prepared by : Kamal Reza Varhoushi December – 2011.
30 th ISTC Japan Workshop on Advanced Catalysis Technologies in Russia Fluidized bed catalytic pyrolysis and gasification of biomass for production of.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.
By: Lance Hammell. What are catalysts? Simply put, catalysts are substances which, when added to a reaction, increase the rate of reaction by providing.
PROCESS INTEGRATED DESIGN WITHIN A MODEL PREDICTIVE CONTROL FRAMEWORK Mario Francisco, Pastora Vega, Omar Pérez University of Salamanca – Spain University.
IQC analysis of linear constrained MPC W.P. Heath*, G. Li*, A.G. Wills†, B. Lennox* *University of Manchester †University of Newcastle, Australia.
INTEGRATED DESIGN OF WASTEWATER TREATMENT PROCESSES USING MODEL PREDICTIVE CONTROL Mario Francisco, Pastora Vega University of Salamanca – Spain European.
Feasibility, uncertainty and interpolation J. A. Rossiter (Sheffield, UK)
Practical Process Control Using Control Station
Dual Problem of Linear Program subject to Primal LP Dual LP subject to ※ All duality theorems hold and work perfectly!
ENGR 351 Numerical Methods Instructor: Dr. L.R. Chevalier
NORM BASED APPROACHES FOR AUTOMATIC TUNING OF MODEL BASED PREDICTIVE CONTROL Pastora Vega, Mario Francisco, Eladio Sanz University of Salamanca – Spain.
Support Vector Machines Formulation  Solve the quadratic program for some : min s. t.,, denotes where or membership.  Different error functions and measures.
STUDENT PRESENTATION CONTEST 2005 STUDENT CHAPTER OF CAMPINAS A Web-Based Platform for Solution of Generalized Gas- Lift Optimization Problems Augusto.
Explicit Non-linear Optimal Control Law for Continuous Time Systems via Parametric Programming Vassilis Sakizlis, Vivek Dua, Stratos Pistikopoulos Centre.
Unconstrained Optimization Problem
Lecture outline Support vector machines. Support Vector Machines Find a linear hyperplane (decision boundary) that will separate the data.
Certifying the robustness of model predictive controllers W. P. Heath and B. Lennox Control Systems Centre The University of Manchester.
1 Real-Time Optimization (RTO) In previous chapters we have emphasized control system performance for disturbance and set-point changes. Now we will be.
Introduction to API Process Simulation
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
1 Approaches to increase the range of use of Model predictive control Miguel Rodriguez Advisor: Cesar De Prada Systems Engineering and Automatic Control.
Ramesh R. Rao Isermann Department of Chemical Engineering Rensselaer Polytechnic Institute Applications of Model Predictive Control Glass Forehearth Control.
Real-Time Optimization (RTO) In previous chapters we have emphasized control system performance for load and set-point changes. Now we will be concerned.
Figure 2. The efficiency with the different optimizations compared to the standard design. 100 % effeciency indicates no improvement compared to the standard.
Introduction Clinical Setting - Glucoregulatory system - Patients and Data Assessment Proc. - Glucose sensors - Glycemia control system Control System.
Optimization of Process Flowsheets S,S&L Chapter 24 T&S Chapter 12 Terry A. Ring CHEN 5253.
1 Model Predictive Control: On-line optimization versus explicit precomputed controller Espen Storkaas Trondheim,
1 Chapter 7 Linear Programming. 2 Linear Programming (LP) Problems Both objective function and constraints are linear. Solutions are highly structured.
Opener. Notes: 3.4 Linear Programming Optimization  Many real-life problems involve a process called optimization.  This means finding a maximum or.
Engineering Optimization Second Edition Authors: A. Rabindran, K. M. Ragsdell, and G. V. Reklaitis Chapter-1 (Introduction) Presenter: Pulak Chowdhury.
3.5 Linear Programming Warm-up (IN) 1. Solve the system: (5, 2)
Linear Programming – Simplex Method
1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering.
Warm-Up 3.4 1) Solve the system. 2) Graph the solution.
Fuel-Air Modeling of Combustion in I.C. Engines P M V Subbarao Professor Mechanical Engineering Department Another Step towards Phenomenological Modeling.….
CONTROL ENGINEERING IN DRYING TECHNOLOGY FROM 1979 TO 2005: REVIEW AND TRENDS by: Pascal DUFOUR IDS’06, Budapest, 21-23/08/2006.
Risk Management with Coherent Measures of Risk IPAM Conference on Financial Mathematics: Risk Management, Modeling and Numerical Methods January 2001.
Optimization unconstrained and constrained Calculus part II.
Integer LP In-class Prob
1 Self-optimizing control From key performance indicators to control of biological systems Sigurd Skogestad Department of Chemical Engineering Norwegian.
A Recap. Absolute Optimization 1.The domain is constrained to a closed and bounded region most of the time. 2.Closed and bounded regions are guaranteed.
Linear Programming Water Resources Planning and Management Daene McKinney.
Calculus-Based Optimization AGEC 317 Economic Analysis for Agribusiness and Management.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
3-5: Linear Programming. Learning Target I can solve linear programing problem.
Common Intersection of Half-Planes in R 2 2 PROBLEM (Common Intersection of half- planes in R 2 ) Given n half-planes H 1, H 2,..., H n in R 2 compute.
1 Self-optimizing control From key performance indicators to control of biological systems Sigurd Skogestad Department of Chemical Engineering Norwegian.
1Korea University of Technology and Education 2 Generation Common Rail VGT Variable Swirl 32Bit Computer Elec. Controlled EGR Flap C P F Electronically.
Solver Feature Excel’s KY San Jose State University Engineering 10.
Solver Feature Excel’s KY San Jose State University Engineering 10.
Optimization of Process Flowsheets
3-3 Optimization with Linear Programming
دانشجو: ناصر علمی غیاثی استاد درس: دکتر توحید خواه پاییز 89
Linear Programming Example: Maximize x + y x and y are called
Linear Programming Introduction.
Fossil fuels Section 1.
Blood/Subcutaneous Glucose Dynamics Estimation Techniques
Linear Programming Introduction.
1.6 Linear Programming Pg. 30.
CH EN 5253 – Process Design II
Presentation transcript:

REAL TIME OPTIMIZATION: A Parametric Programming Approach Vivek Dua You Only Solve Once

Parametric Programming Given:  a performance criterion to minimize/maximize  a vector of constraints  a vector of parameters Obtain:  the performance criterion and the optimization variables as a function of the parameters  the regions in the space of parameters where these functions remain valid

Parametric Optimization (POP) Obtain optimal solution as a function of parameters Critical Region

An Example – Linear Model Crude Oil # 1 Crude Oil # 2 REFINERY Gasoline Kerosene Fuel Oil Residual Objective: Maximize Profit Parameters: Gasoline Prod. Expansion (GPE) Kerosene Prod. Expansion (KPE) Solve optimization problems at many points? 24,000 bbl/day 2,000 bbl/day 6,000 bbl/day Current Max. Prod. GPE KPE (Edgar and Himmelblau, 1989)

Parametric Solution Only 2 optimization problems solved! Profit = 4.66 GPE KPE Crude#1 = 1.72 GPE – 7.59 KPE Crude#2 = GPE KPE if GPE KPE < < GPE < < KPE (REGION #1) Profit = 7.53 GPE Crude#1 = 1.48 GPE Crude#2 = -0.41GPE if GPE KPE > < GPE < 6000 KPE < 500 (REGION #2) GPE KPE GPE KPE Region #2 Region #1

Real Time Optimization OPTIMIZER SYSTEM System State Control Actions

Model Predictive Control (MPC) past future target output manipulated variable k k+1k+p Prediction Horizon

Model Predictive Control Solve an optimization problem at each time interval k

Model Predictive Control min A quadratic and convex function of discretized state and control variables s.t.1. Constraints linear in discretized state and control variables 2. Lower and upper bounds on state and control variables Solve a QP at each time interval

Parametric Programming Approach State variables  Parameters Control variables  Optimization variables MPC  Parametric Optimization problem Control variables = F(State variables)

Multi-parametric Quadratic Programs Theorem 1: Theorem 2:

Critical Region (CR) CR: the region where a solution remains optimal  Feasibility Condition:  Optimality Condition: CR:  A polyhedron  Obtain: CR

Real Time Optimization POP PARAMETRIC PROFILE SYSTEM System State Control Actions Function Evaluation! OPTIMIZER SYSTEMS SYSTEMSTATE SYSTEM STATE CONTROLACTIONS CONTROL ACTIONS

Example

Explicit Solution 1 2,4

Explicit Solution 1 2, ,8 9

Parametric Programming Approach Model Predictive Control Real Time Optimization Problem Off-line Parametric Optimization Problem Measurements as Parameters Control Variables as Optimization variables Obtain Explicit Control Law (a) Explicit functions of measurements (b) Critical Regions where these functions are valid State-of-the-art Performance on a simple computational hardware

Blood Glucose Control Plasma Insulin I(t) Plasma Glucose G(t) Effective Insulin X(t) Tissue Liver Exogenous Insulin U(t) Clearance Exercise, Meals D(t) State variables: G ( t ), I ( t ), X ( t ) Control variable: U ( t ) Parameters: P i, n (Bergman et al., 1981)

Parametric Glucose Control (Off-line) Mechanical Pump Patient Glucose Sensor Reference Meals, Exercise Insulin an in-vivo glucose sensor a parametric ‘look-up function’ to manipulate the insulin delivery rate given a sensor measurement a mechanical pump Parametric Control of Blood Glucose

Control of Anesthesia RESPIRATORY SYSTEM Lungs and Heart 2.Vessel rich organs (e.g. liver) 3.Muscles 4.Others 5.Fat DP, SNP Injection Isoflurane uptake Pharmacodynamic aspect Pharmacokinetic aspect 3

Surgery under Anesthesia 0.6% Isoflurane 0.3  g/kg/min SNP 4.5  g/kg/min DP 20 mmHg MAP drop DP stopped Isoflurane, SNP stopped

Control of Pilot Plant Reactor Cooling Water Product Reactor & Cooling Jacket Feed TrTr CaCa Controller FfFf TjTj

Control of Catalytic Converter Clean Exhaust Gas Control the amount of Oxygen stored on the Catalyst to an Optimal amount Use Converter Model as an inferential sensor Ensuring Minimum Energy Consumption and Maximum Emissions Reduction (Balenovic and Backx, 2001) CATALYTIC CONVERTER MODEL CAR ENGINE CATALYTIC CONVERTER Fuel Air Exhaust GasClean Gas

Parametric Control of Catalytic Converter OC: (Fractional) Oxygen Coverage EMF: Exhaust Mass Flowrate (kg/hr) AFR: (Normalised) Air to Fuel Ratio OC EMF OC – EMF <= OC + EMF <= OC + EMF <= OC – EMF <= AFR = OC EMF EMF OC AFR

Concluding Remarks Real Time Optimization  Solve optimization problem at regular time intervals Parametric Programming Approach  Obtain optimal solution as a set of functions of state variables  Optimality and satisfaction of constraints are guaranteed  Function Evaluations! PAROS plc:

References Dua, P., Doyle III, F.J., Pistikopoulos, E.N. (2006) Model based blood glucose control for type 1 diabetes via parametric programming, accepted for publication in IEEE Transactions on Biomedical Engineering. Dua, P., Dua, V., Pistikopoulos, E.N. (2005) Model based drug delivery for anesthesia, Proceedings of the 16th IFAC World Congress, Prague, Sakizlis, V., Kakalis, N.M.P., Dua, V., Perkins, J.D., Pistikopoulos, E.N. (2004) Design of robust model-based controllers via parametric programming, Automatica, 40, Dua, V., Bozinis, N. A., Pistikopoulos, E.N. (2002) A multiparametric programming approach for mixed-integer and quadratic process engineering problems, Computers & Chemical Engineering, 26, Pistikopoulos, E.N., Dua, V., Bozinis, N. A., Bemporad, A., Morari, M. (2002) On- line optimization via off-line parametric optimization tools, Computers & Chemical Engineering, 26, Bemporad, A., Morari, M., Dua, V., Pistikopoulos, E.N. (2002) The explicit linear quadratic regulator for constrained systems, Automatica, 38, 3-20.