1 Self-optimizing control From key performance indicators to control of biological systems Sigurd Skogestad Department of Chemical Engineering Norwegian.

Slides:



Advertisements
Similar presentations
Advanced Controls Technology An Industrial and Academic Perspective on Plantwide Control James J. Downs Eastman Chemical Company Sigurd Skogestad Norwegian.
Advertisements

1 CONTROLLED VARIABLE AND MEASUREMENT SELECTION Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Technology (NTNU)
1 Effective Implementation of optimal operation using Self- optimizing control Sigurd Skogestad Institutt for kjemisk prosessteknologi NTNU, Trondheim.
1 Fremtidige trender innen prosessoptimalisering Sigurd Skogestad Institutt for kjemisk prosessteknologi NTNU, Trondheim Effective Implementation of optimal.
Concentrator case SIGURD’S RULES FOR CV1-SELECTION 1.Always control active constraints! (almost always) 2.Purity constraint on expensive product always.
1 Feedback: The simple and best solution. Applications to self-optimizing control and stabilization of new operating regimes Sigurd Skogestad Department.
GHGT-8 Self-Optimizing and Control Structure Design for a CO 2 Capturing Plant Mehdi Panahi, Mehdi Karimi, Sigurd Skogestad, Magne Hillestad, Hallvard.
Optimal operation of distillation columns and link to control Distillation Course Berlin Summer Sigurd Skogestad. Part 3.
1 Coordinator MPC for maximization of plant throughput Elvira Marie B. Aske* &, Stig Strand & and Sigurd Skogestad* * Department of Chemical Engineering,
First African Control Conference, Cape Town, 04 December 2003
1 Outline Skogestad procedure for control structure design I Top Down Step S1: Define operational objective (cost) and constraints Step S2: Identify degrees.
1 Plantwide control: Towards a systematic procedure Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU)
PSE and PROCESS CONTROL
1 Feedback control theory: An overview and connections to biochemical systems theory Sigurd Skogestad Department of Chemical Engineering Norwegian University.
1 1 Economic Plantwide Control, July 2015 ECONOMIC PLANTWIDE CONTROL Sigurd Skogestad Dept. of Chemical Engineering, Norwegian University of Science and.
1 1 V. Minasidis et. al. | Simple Rules for Economic Plantwide ControlSimple Rules for Economic Plantwide Control, PSE & ESCAPE 2015 SIMPLE RULES FOR ECONOMIC.
1 Structure of the process control system Benefits from MPC (Model Predictive Control) and RTO (Real Time Optimization) Sigurd Skogestad Department of.
1 Practical Implementation of Optimal Operation using Off-Line Computations Sigurd Skogestad Department of Chemical Engineering Norwegian University of.
1 A Plantwide Control Procedure Applied to the HDA Process Antonio Araújo and Sigurd Skogestad Department of Chemical Engineering Norwegian University.
1 Outline About Trondheim and myself Control structure design (plantwide control) A procedure for control structure design I Top Down Step 1: Degrees of.
1 E. S. Hori, Maximum Gain Rule Maximum Gain Rule for Selecting Controlled Variables Eduardo Shigueo Hori, Sigurd Skogestad Norwegian University of Science.
1 PLANTWIDE CONTROL Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU) Trondheim, Norway.
1 Feedback: The simple and best solution. Applications to self-optimizing control and stabilization of new operating regimes Sigurd Skogestad Department.
1 Self-optimizing control Theory. 2 Step S3: Implementation of optimal operation Optimal operation for given d * : min u J(u,x,d) subject to: Model equations:
1 Active constraint regions for economically optimal operation of distillation columns Sigurd Skogestad and Magnus G. Jacobsen Department of Chemical Engineering.
Sigurd Skogestad Department of Chemical Engineering
1 A SYSTEMATIC APPROACH TO PLANTWIDE CONTROL Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU) Trondheim,
1 Plantwide control: Towards a systematic procedure Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU)
1 Outline Control structure design (plantwide control) A procedure for control structure design I Top Down Step 1: Degrees of freedom Step 2: Operational.
1 Selv-optimaliserende regulering Anvendelser mot prosessindustrien, biologi og maratonløping Sigurd Skogestad Institutt for kjemisk prosessteknologi,
1 Decentralized control Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU) Trondheim, Norway.
1 From process control to business control: A systematic approach for CV-selection Sigurd Skogestad Department of Chemical Engineering Norwegian University.
1 Self-optimizing control From key performance indicators to control of biological systems Sigurd Skogestad Department of Chemical Engineering Norwegian.
1 PLANTWIDE CONTROL Identifying and switching between active constraints regions Sigurd Skogestad and Magnus G. Jacobsen Department of Chemical Engineering.
1 Feedback: The simple and best solution. Applications to self-optimizing control and stabilization of new operating regimes Sigurd Skogestad Department.
1 Outline Skogestad procedure for control structure design I Top Down Step S1: Define operational objective (cost) and constraints Step S2: Identify degrees.
1 II. Bottom-up Determine secondary controlled variables and structure (configuration) of control system (pairing) A good control configuration is insensitive.
1 Self-optimizing control: Simple implementation of optimal operation Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science.
1 Feedback: The simple and best solution. Applications to self-optimizing control and stabilization of new operating regimes Sigurd Skogestad Department.
1 Feedback Applications to self-optimizing control and stabilization of new operating regimes Sigurd Skogestad Department of Chemical Engineering Norwegian.
1 Unconstrained degrees of freedom: C. Optimal measurement combination (Alstad, 2002) Basis: Want optimal value of c independent of disturbances ) – 
1 Self-optimizing control Theory. 2 Outline Skogestad procedure for control structure design I Top Down Step S1: Define operational objective (cost) and.
1 A SYSTEMATIC APPROACH TO PLANTWIDE CONTROL ( ) Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology.
Control Structure Design: New Developments and Future Directions Vinay Kariwala and Sigurd Skogestad Department of Chemical Engineering NTNU, Trondheim,
1 Outline About Trondheim and myself Control structure design (plantwide control) A procedure for control structure design I Top Down Step 1: Degrees of.
1 Effective Implementation of optimal operation using Self- optimizing control Sigurd Skogestad Institutt for kjemisk prosessteknologi NTNU, Trondheim.
1 Combination of Measurements as Controlled Variables for Self-optimizing Control Vidar Alstad † and Sigurd Skogestad Department of Chemical Engineering,
1 Controllability of feedback systems Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU) Trondheim,
1 Feedback: Still the simplest and best solution Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Technology (NTNU)
1 Control structure design for complete chemical plants (a systematic procedure to plantwide control) Sigurd Skogestad Department of Chemical Engineering.
Coordinator MPC with focus on maximizing throughput
Process Dynamics and Operations Group (DYN) TU-Dortmund
A systematic procedure for economic plantwide control
Economic Plantwide Control:
Feedback: The simple and best solution
Feedback: The simple and best solution
Sigurd Skogestad Institutt for kjemisk prosessteknologi
Plantwide control: Towards a systematic procedure
PLANTWIDE CONTROL Sigurd Skogestad Department of Chemical Engineering
CONTROLLED VARIABLE AND MEASUREMENT SELECTION
Plantwide control: Towards a systematic procedure
Example : Optimal blending of gasoline
Sigurd Skogestad Institutt for kjemisk prosessteknologi
Economic plantwide control: A systematic approach for CV-selection
Vidar Alstad† and Sigurd Skogestad Department of Chemical Engineering,
Plantwide control: Towards a systematic procedure
Example regulatory control: Distillation
Optimal measurement selection for controlled variables in Kaibel Distillation Column: A MIQP formulation Ramprasad Yelchuru (PhD Candidiate) Professor.
Outline Control structure design (plantwide control)
Presentation transcript:

1 Self-optimizing control From key performance indicators to control of biological systems Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Technology (NTNU) Trondheim PSE 2003, Kunming, Jan. 2004

2 Outline Optimal operation Implememtation of optimal operation: Self-optimizing control What should we control? Applications –Marathon runner –KPI’s –Biology –... Optimal measurement combination Optimal blending example Focus: Not optimization (optimal decision making) But rather: How to implement decision in an uncertain world

3 Optimal operation of systems Theory: –Model of overall system –Estimate present state –Optimize all degrees of freedom Problems: –Model not available and optimization complex –Not robust (difficult to handle uncertainty) Practice –Hierarchical system –Each level: Follow order (”setpoints”) given from level above –Goal: Self-optimizing

4 Process operation: Hierarchical structure PID RTO MPC

5 Engineering systems Most (all?) large-scale engineering systems are controlled using hierarchies of quite simple single-loop controllers –Large-scale chemical plant (refinery) –Commercial aircraft 1000’s of loops Simple components: on-off + P-control + PI-control + nonlinear fixes + some feedforward Same in biological systems

6 What should we control? y 1 = c ? (economics) y 2 = ? (stabilization)

7 Self-optimizing Control Self-optimizing control is when acceptable operation can be achieved using constant set points (c s ) for the controlled variables c (without re-optimizing when disturbances occur). c=c s

8 Optimal operation (economics) Define scalar cost function J(u 0,d) –u 0 : degrees of freedom –d: disturbances Optimal operation for given d: min u0 J(u 0,d) subject to: f(u 0,d) = 0 g(u 0,d) < 0

9 Implementation of optimal operation Idea: Replace optimization by setpoint control Optimal solution is usually at constraints, that is, most of the degrees of freedom u 0 are used to satisfy “active constraints”, g(u 0,d) = 0 CONTROL ACTIVE CONSTRAINTS! –Implementation of active constraints is usually simple. WHAT MORE SHOULD WE CONTROL? –Find variables c for remaining unconstrained degrees of freedom u.

10 Unconstrained variables Cost J Selected controlled variable (remaining unconstrained) c opt J opt

11 Implementation of unconstrained variables is not trivial: How do we deal with uncertainty? 1. Disturbances d 2. Implementation error n c s = c opt (d * ) – nominal optimization n c = c s + n d Cost J  J opt (d)

12 Problem no. 1: Disturbance d Cost J Controlled variable c opt (d * ) J opt d*d*d*d* d ≠ d * Loss with constant value for c ) Want c opt independent of d

13 Problem no. 2: Implementation error n Cost J c s =c opt (d * ) J opt d*d*d*d* Loss due to implementation error for c c = c s + n ) Want n small and ”flat” optimum

14 Optimizer Controller that adjusts u to keep c m = c s Plant cscs c m =c+n u c n d u c J c s =c opt u opt n ) Want c sensitive to u (”large gain”)

15 Which variable c to control? Define optimal operation: Minimize cost function J Each candidate variable c: With constant setpoints c s compute loss L for expected disturbances d and implementation errors n Select variable c with smallest loss

16 Constant setpoint policy: Loss for disturbances (“problem 1”) Acceptable loss ) self-optimizing control

17 Good candidate controlled variables c (for self-optimizing control) Requirements: The optimal value of c should be insensitive to disturbances (avoid problem 1) c should be easy to measure and control (rest: avoid problem 2) The value of c should be sensitive to changes in the degrees of freedom (Equivalently, J as a function of c should be flat) For cases with more than one unconstrained degrees of freedom, the selected controlled variables should be independent. Singular value rule (Skogestad and Postlethwaite, 1996): Look for variables that maximize the minimum singular value of the appropriately scaled steady-state gain matrix G from u to c

18 Examples self-optimizing control Marathon runner Central bank Cake baking Business systems (KPIs) Investment portifolio Biology Chemical process plants: Optimal blending of gasoline Define optimal operation (J) and look for ”magic” variable (c) which when kept constant gives acceptable loss (self- optimizing control)

19 Self-optimizing Control – Marathon Optimal operation of Marathon runner, J=T –Any self-optimizing variable c (to control at constant setpoint)?

20 Self-optimizing Control – Marathon Optimal operation of Marathon runner, J=T –Any self-optimizing variable c (to control at constant setpoint)? c 1 = distance to leader of race c 2 = speed c 3 = heart rate c 4 = level of lactate in muscles

21 Further examples Central bank. J = welfare. c=inflation rate (2.5%) Cake baking. J = nice taste, c = Temperature (200C) Business, J = profit. c = ”Key performance indicator (KPI), e.g. –Response time to order –Energy consumption pr. kg or unit –Number of employees –Research spending Optimal values obtained by ”benchmarking” Investment (portofolio management). J = profit. c = Fraction of investment in shares (50%) Biological systems: –”Self-optimizing” controlled variables c have been found by natural selection –Need to do ”reverse engineering” : Find the controlled variables used in nature From this identify what overall objective J the biological system has been attempting to optimize

22 Looking for “magic” variables to keep at constant setpoints. How can we find them? Consider available measurements y, and evaluate loss when they are kept constant (“brute force”): More general: Find optimal linear combination (matrix H):

23 Optimal measurement combination (Alstad) Basis: Want optimal value of c independent of disturbances ) –  c opt = 0 ¢  d Find optimal solution as a function of d: u opt (d), y opt (d) Linearize this relationship:  y opt = F  d F – sensitivity matrix Want: To achieve this for all values of  d: Always possible if

24 Example: Optimal blending of gasoline Stream 1 Stream 2 Stream 3 Stream 4 Product 1 kg/s Stream 199 octane0 % benzenep 1 = (0.1 + m 1 ) $/kg Stream 2105 octane0 % benzenep 2 = $/kg Stream 395 → 97 octane0 % benzenep 3 = $/kg Stream 499 octane2 % benzenep 4 = $/kg Product> 98 octane< 1 % benzene Disturbance m 1 = ? ( · 0.4) m 2 = ? m 3 = ? m 4 = ?

25 Optimal solution Degrees of freedom u o = (m  m 2 m 3 m 4 ) T Optimization problem:Minimize J =  i p i m i = (0.1 + m 1 ) m m m m 4 subject to m 1 + m 2 + m 3 + m 4 = 1 m 1 ¸ 0; m 2 ¸ 0; m 3 ¸ 0; m 4 ¸ 0 m 1 · m m m m 4 ¸ 98 (octane constraint) 2 m 4 · 1 (benzene constraint) Nominal optimal solution (d * = 95): u 0,opt = ( ) T ) J opt = $ Optimal solution with d=octane stream 3=97: u 0,opt = ( ) T ) J opt = $ 3 active constraints ) 1 unconstrained degree of freedom

26 Implementation of optimal solution Available ”measurements”: y = (m 1 m 2 m 3 m 4 ) T Control active constraints: –Keep m 4 = 0 –Adjust one (or more) flow such that m 1 +m 2 +m 3 +m 4 = 1 –Adjust one (or more) flow such that product octane = 98 Remaining unconstrained degree of freedom 1.c=m 1 is constant at ) Loss = $ 2.c=m 2 is constant at ) Infeasible (cannot satisfy octane = 98) 3.c=m 3 is constant at ) Loss = $ Optimal combination of measurements c = h 1 m 1 + h 2 m 2 + h 3 m a From optimization:  m opt = F  d where sensitivity matrix F = ( ) T Requirement: HF = 0 ) h 1 – 0.06 h h 3 = 0 This has infinite number of solutions (since we have 3 measurements and only ned 2): c = m 1 – 0.5 m 2 is constant at ) Loss = 0 c = 3 m 1 + m 3 is constant at 1.32 ) Loss = 0 c = 1.5 m 2 + m 3 is constant at 0.83 ) Loss = 0 Easily implemented in control system

27 Example of practical implementation of optimal blending Selected ”self-optimizing” variable: c = m 1 – 0.5 m 2 Changes in feed octane (stream 3) detected by octane controller (OC) Implementation is optimal provided active constraints do not change Price changes can be included as corrections on setpoint c s FC OC m tot.s = 1 kg/s m tot m3m3 m 4 = 0 kg/s Octane s = 98 Octane m2m2 Stream 2 Stream 1 Stream 3 Stream 4 c s = m 1 = c s m 2 Octane varies

28 Conlusion Operation of most real system: Constant setpoint policy (c = c s ) –Central bank –Business systems: KPI’s –Biological systems –Chemical processes Goal: Find controlled variables c such that constant setpoint policy gives acceptable operation in spite of uncertainty ) Self-optimizing control Method: Evaluate loss L = J - J opt Optimal linear measurement combination:  c = H  y where HF=0