1 / 26

REAL TIME OPTIMIZATION: A Parametric Programming Approach

REAL TIME OPTIMIZATION: A Parametric Programming Approach. Vivek Dua. Y ou Only Solve O nce. Parametric Programming. Given: a performance criterion to minimize/maximize a vector of constraints a vector of parameters Obtain:

lidia
Download Presentation

REAL TIME OPTIMIZATION: A Parametric Programming Approach

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. 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

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

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

  5. Parametric Solution KPE KPE Region #1 Region #2 GPE GPE Only 2 optimization problems solved!

  6. Real Time Optimization OPTIMIZER Control Actions System State SYSTEM

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

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

  9. 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

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

  11. Multi-parametric Quadratic Programs Theorem 1: Theorem 2:

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

  13. Real Time Optimization POP PARAMETRIC PROFILE OPTIMIZER CONTROLACTIONS SYSTEMSTATE Control Actions SYSTEMS System State SYSTEM Function Evaluation!

  14. Example

  15. Explicit Solution 1 2,4

  16. Explicit Solution 1 2,4 3 5 6 7,8 9

  17. 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 Regionswhere these functions are valid State-of-the-art Performance on a simple computational hardware

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

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

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

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

  22. Tr Ca Control of Pilot Plant Reactor Ff Product Controller Feed Tj Reactor & Cooling Jacket Cooling Water

  23. Control of Catalytic Converter (Balenovic and Backx, 2001) CATALYTIC CONVERTER MODEL Air CATALYTIC CONVERTER CAR ENGINE Exhaust Gas Clean Gas Fuel • 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

  24. Parametric Control of Catalytic Converter AFR = -0.68 OC - 0.0059 EMF + 0.60 -115.58 OC – EMF <= -84.77 -60.88 OC + EMF <= 33.67 70.90 OC + EMF <= 85.10 186.70 OC – EMF <= 44.10 AFR EMF EMF OC OC: (Fractional) Oxygen Coverage EMF: Exhaust Mass Flowrate (kg/hr) AFR: (Normalised) Air to Fuel Ratio OC

  25. 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: www.parostech.com

  26. 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, 2005. • 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, 189-201. • 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, 715-733. • 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, 175-185. • Bemporad, A., Morari, M., Dua, V.,  Pistikopoulos, E.N.  (2002) The explicit linear quadratic regulator for constrained systems, Automatica, 38, 3-20.

More Related