Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "REAL TIME OPTIMIZATION: A Parametric Programming Approach Vivek Dua You Only Solve Once."— 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) Obtain optimal solution as a function of parameters Critical Region

4 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)

5 Parametric Solution Only 2 optimization problems solved! Profit = 4.66 GPE + 87.5 KPE + 286759 Crude#1 = 1.72 GPE – 7.59 KPE + 26207 Crude#2 = -0.86 GPE + 13.79 KPE + 6897 if -0.14 GPE + 4.21 KPE < 896.55 0 < GPE < 6000 0 < KPE (REGION #1) Profit = 7.53 GPE + 30541 Crude#1 = 1.48 GPE + 24590 Crude#2 = -0.41GPE + 9836 if -0.14 GPE + 4.21 KPE > 896.55 0 < GPE < 6000 KPE < 500 (REGION #2) GPE KPE GPE KPE Region #2 Region #1

6 Real Time Optimization OPTIMIZER SYSTEM System State Control Actions

7 Model Predictive Control (MPC) past future target output manipulated variable k k+1k+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 SYSTEM System State Control Actions Function Evaluation! OPTIMIZER SYSTEMS SYSTEMSTATE SYSTEM STATE CONTROLACTIONS CONTROL ACTIONS

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

18 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)

19 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

20 Control of Anesthesia RESPIRATORY SYSTEM 1 54 2 1.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

21 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

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

23 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

24 Parametric Control of Catalytic Converter OC: (Fractional) Oxygen Coverage EMF: Exhaust Mass Flowrate (kg/hr) AFR: (Normalised) Air to Fuel Ratio OC EMF -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 = -0.68 OC - 0.0059 EMF + 0.60 EMF OC AFR

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.


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

Similar presentations


Ads by Google