Real-Time Optimization (RTO) In previous chapters we have emphasized control system performance for load and set-point changes. Now we will be concerned.

Slides:



Advertisements
Similar presentations
Linear Programming Models & Case Studies
Advertisements

Session II – Introduction to Linear Programming
Chapter 2: Modeling with Linear Programming & sensitivity analysis
Optimization : The min and max of a function
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Operation Research Chapter 3 Simplex Method.
1 Chapter 8: Linearization Methods for Constrained Problems Book Review Presented by Kartik Pandit July 23, 2010 ENGINEERING OPTIMIZATION Methods and Applications.
ENGR 351 Numerical Methods Instructor: Dr. L.R. Chevalier
Optimization Methods One-Dimensional Unconstrained Optimization
Optimization Linear Programming and Simplex Method
1 Real-Time Optimization (RTO) In previous chapters we have emphasized control system performance for disturbance and set-point changes. Now we will be.
Advanced Topics in Optimization
Optimization Methods One-Dimensional Unconstrained Optimization
Optimization of Linear Problems: Linear Programming (LP) © 2011 Daniel Kirschen and University of Washington 1.
Linear-Programming Applications
CHE 185 – PROCESS CONTROL AND DYNAMICS OPTIMIZATION AND PRIMARY LOOP ELEMENTS.
Introduction to Optimization (Part 1)
456/556 Introduction to Operations Research Optimization with the Excel 2007 Solver.
1 Overview of Control System Design Chapter 13 1.Safety. It is imperative that industrial plants operate safely so as to promote the well-being of people.
Chapter 15 Constrained Optimization. The Linear Programming Model Let : x 1, x 2, x 3, ………, x n = decision variables Z = Objective function or linear.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Process Operability Class Materials Copyright © Thomas Marlin 2013
ERT 210/4 Process Control & Dynamics
1 Chapter 8 Nonlinear Programming with Constraints.
ENCI 303 Lecture PS-19 Optimization 2
84 b Unidimensional Search Methods Most algorithms for unconstrained and constrained optimisation use an efficient unidimensional optimisation technique.
1 Chapter 1 USES OF OPTIMIZATION FORMULATION OF OPTIMIZATION PROBLEMS OVERVIEW OF COURSE.
Linear Programming: Basic Concepts
Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin 12 Financial and Cost- Volume-Profit Models.
STDM - Linear Programming 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
1 DSCI 3023 Linear Programming Developed by Dantzig in the late 1940’s A mathematical method of allocating scarce resources to achieve a single objective.
Nonlinear Programming (NLP) Operation Research December 29, 2014 RS and GISc, IST, Karachi.
Nonlinear Programming.  A nonlinear program (NLP) is similar to a linear program in that it is composed of an objective function, general constraints,
Nonlinear Programming
Optimization of Process Flowsheets S,S&L Chapter 24 T&S Chapter 12 Terry A. Ring CHEN 5253.
Chapter 7 Optimization. Content Introduction One dimensional unconstrained Multidimensional unconstrained Example.
Chem Math 252 Chapter 5 Regression. Linear & Nonlinear Regression Linear regression –Linear in the parameters –Does not have to be linear in the.
1 Chapter 7 Linear Programming. 2 Linear Programming (LP) Problems Both objective function and constraints are linear. Solutions are highly structured.
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Process Optimization By Dr : Mona Ossman.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
Introduction to Process Control Prepared by; Mrs Azduwin Binti Khasri Chapter 1 ERT 321 PROCESS CONTROL & DYNAMICS.
Introduction to linear programming:- - Linear programming (LP) applies to optimization models in which the objective and constraints functions are strictly.
Chapter 20 1 Overall Objectives of Model Predictive Control 1.Prevent violations of input and output constraints. 2.Drive some output variables to their.
A comparison between PROC NLP and PROC OPTMODEL Optimization Algorithm Chin Hwa Tan December 3, 2008.
Chapter 2 Modeling Approaches  Physical/chemical (fundamental, global) Model structure by theoretical analysis  Material/energy balances  Heat, mass,
1 Ref: Seider et al, Product and process design principles, 2 nd ed., Chapter 4, Wiley, 2004.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
MPC in Statoil. 2 In-house tool Septic, Statoil Estimation and Prediction Tool for Identification and Control Developed and maintained by the process.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
LINEAR PROGRAMMING. Linear Programming Linear programming is a mathematical technique. This technique is applied for choosing the best alternative from.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
1 Optimization Linear Programming and Simplex Method.
PROCESS DESIGN DEVELOPMENT
OPTIMIZATION PROBLEMS OF ELECTRIC POWER SUPPLY Томский политехнический университет.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Linear Programming.
Chapter 12: Kay and Edwards
Engineering Economics (2+0)
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Exam 1 Review/Instructions
Constrained Optimization
Optimization of Process Flowsheets
Process Optimization.
CH EN 5253 – Process Design II
What are optimization methods?
Presentation transcript:

Real-Time Optimization (RTO) In previous chapters we have emphasized control system performance for load and set-point changes. Now we will be concerned with how the set points are specified. In real-time optimization, a computer is used to optimize set points for control loops. Implementation of RTO/Supervisory Control: 1) Set point calculations are performed on a digital computer (e.g., steady-state optimization). 2) Set points could be transmitted to either: (a) analog controllers (before 1990) (b) digital controllers (after 1990) 3) Case (a) is referred to as "analog supervisory control"; case (b) is "direct digital control'. Chapter 19

Selection of Processes for RTO Sources of information for the analysis: 1) Profit and loss statements for the plant Sales, prices Manufacturing costs etc. 2) Operating records Material and energy balances Unit efficiencies, production rate etc. Categories of Interest: 1) Sales limited by production Increases in throughput desirable Incentives for improved operating conditions and schedules. 2) Sales limited by market Seek improvements in efficiency. Example: Reduction in manufacturing costs (utilities, feedstocks) 3) Large throughput units Small savings in production costs per unit are greatly magnified. Chapter 19

4) Process Variability Excursions in process variables => offspec products and a need for larger storage capacities. Reduction in variability allows set points to be moved closer to a limiting constraint, e.g. product quality. Chapter 19

5) High Raw Material or Energy Consumption e.g., Minimize energy consumption by optimal allocation of fuel supplies and steam. 6) Losses of Valuable Components in waste Streams Detect via chemical analysis plant exit streams (e.g., air and water). Adjust air/fuel ratio in furnace to minimize hydrocarbon consumption. Chapter 19

Common Types of Optimization Problems 1. Operating Conditions Tower reflux ratio Reactor temperature 2. Allocation Fuel use Feedstock selection 3. Scheduling Cleaning (e.g., heat exchangers) Maintenance Batch processes Chapter 19

Formulation and Solution of Optimization Problems (see book by Edgar et al., “Optimization of Chemical Processes”) In order to perform on-line optimization, a series of steps are required: Step 1: Determine the process variables of interest. Step 2: Definition of the Objective Function Difficult part of the problem! Example: Minimize the amount of offspec product from a distillation column while avoiding a flooding condition. - Relate off-spec product to costs of utilities and feedstocks. Treat flooding condition as a constraint on vapor and liquid flow rates. Specific objective functions will depend on plant configuration and supply and demand. (See TABLE 1 - next slide)

Chapter 19

Step 3. Development of Process Models Process model is used in on-line optimization. Consists of: - Equality constraints which relate principal process variables. - Inequality constraints (e.g., physical limits on pumps, compressors, metallurgical limits) Process model is usually a steady-state model. Some batch optimization methods use the process as the model. (e.g., design of experiments) Chapter 19

Step 4. Simplification of the Process Model Reduce the size of the optimization problem as much as possible without losing the essence of the problem. - Ignore process variables which have a negligible effect on the objective function. Step 5. Computation of the Optimum Choose a computational technique to determine optimum. Virtually all optimization techniques are iterative in nature – linear programming, nonlinear programming. Good estimate of the optimum accelerates convergence. - Experience on which inequality constraints might be active is also useful. Step 6. Sensitivity Studies Can be used to determine which variables and parameters are most important in determining the optimum. Chapter 19

One Dimensional Search Techniques Selection of a method involves a trade-off between the number of objective function evaluations (computer time) and complexity. (1) "Brute Force" Approach Small grid spacing (  x) and evaluate f(x) at each grid point  can get close to the optimum but very inefficient. (2) Equal Interval Search Example: Compare objective function values at 3 equally spaced points. Suppose we are interested in the region, a  x  b. Thus initially, the "region of uncertainty, L" is L 0 = b - a. Consider two cases: Chapter 19

For case (1), maximum lies in (x 2, b) For case (2), maximum lies in (x 1, x 3 ) Chapter 19

Polynomial fitting technique Fit quadratic polynomial to three data points. Find analytical optimum, then calculate f(x * ). Discard worst value of f, then repeat the process. Chapter 19

Multivariable Optimization Computational efficiency is important. "Brute force" techniques are not practical for problems with more than 3 or 4 variables to be optimized. Typical Approach: Reduce the multivariable optimization problem to a series of one dimensional problems: (1) From a given starting point, specify a search direction. (2) Find the optimum along the search direction, i.e., a one-dimensional search. (3) Determine a new search direction. (4) Repeat steps (2) and (3) until the optimum is located Two general categories for MV optimization techniques: (1) Methods requiring derivatives of the objective function. (2) Methods that do not require derivatives. Chapter 19

Nonderivative methods are attractive for real-time optimization applications where a process measurement is used in place of the objective function. Two nonderivative methods which have been used in industrial applications: (1) Evolutionary Operation (EVOP) (2) Simplex or Pattern Search Method. Evolutionary Operation (EVOP) Procedure: (1) Choose a base point. (2) Evaluate objective function at base point and a set of regularly spaced points around the base point. For 2 variables, form a square around the base point. For 3 variables, form a cube. (3) Move the process to the point that has the largest value of the objective function. (4) Use this point as the new base point. (5) Repeat steps (2) and (4) until no further improvement occurs. Chapter 19

Disadvantage of EVOP: - It is slow due to the large number of steadystate points which must be evaluated at each iteration. Sequential Simplex Method [8] Uses a regular geometric figure (a simplex) as a basis. - Two variable problem: use an equilateral triangle. - Three variable problem: use a regular tetrahedron. Objective function is evaluated at the vertices of the simplex. General direction of search is projected away form the worst vertex. Thus search direction can change and only one new operating point must be evaluated at each iteration. Example: The two variable problem, max f(x 1, x 2 ) Assume Chapter 19

Points 2,3, and 4 form a new equilateral triangle. The pattern search approach usually results in a zig-zag pattern as it moves to the optimum (see figure next slide). Constrained Optimization Optimization problems commonly involve equality and inequality constraints. Nonlinear Programming (NLP) Problems: a) Involve nonlinear objective function (and possible nonlinear constraints). b) Efficient off-line optimization methods are available (e.g. conjugate gradient, variable metric). c) On-line use? May be limited by computer time and storage requirements. Quadratic Programming (QP) Problems: a) Quadratic objective function plus linear equality and inequality constraints. b) Computationally efficient methods are available. Chapter 19

Linear Programming (LP) Problems Both objective function and constraints are linear. Solutions are highly structured and can be rapidly obtained. Linear Programming (LP) Has gained widespread industrial acceptance for on-line optimization, blending etc. Linear constraints can arise due to: 1. Production limitation e.g. equipment limitations, storage limits, market constraints. 2. Raw material limitation 3. Safety restrictions, e.g. allowable operating ranges for temperature and pressures. 4. Physical property specifications e.g. product quality constraints when a blend property can be calculated as an average of pure component properties: Chapter 19

5. Material and Energy Balances - Tend to yield equality constraints. - Constraints can change frequently, e.g. daily or hourly. Effect of Inequality Constraints - Consider the linear and quadratic objective functions on the next page. - Note that for the LP problem, the optimum must lie on one or more constraints. General Statement of the LP Problem: subject to: Solution of LP Problems - Simplex Method - Examine only constraint boundaries - Very efficient, even for large problems Chapter 19

The effect of an inequality constraint on the maximum of quadratic function, (The arrows indicate the allowable values of x.)

Chapter 19

Most LP applications involve more than two variables and can involve 1000s of variables. So we need a more general computational approach, based on the Simplex method. There are many variations of the Simplex method. One that is readily available is the Excel Solver. Basic features of LP: Linear objective function Linear equality/inequality constraints

Chapter 19

Nonlinear Programming (NLP) example -nonlinear objective function -nonlinear constraints

Chapter 19

Previous chapter Chapter 19 Next chapter