Real-Time Optimization (RTO)

Similar documents
Lab Team Member #1 Member #2 Member #3

CHAPTER 2: QUADRATIC PROGRAMMING

Numerical Optimization. Review: Unconstrained Optimization

Introduction to LP. Types of Linear Programming. There are five common types of decisions in which LP may play a role

Overview of Control System Design

UCLA Chemical Engineering. Process & Control Systems Engineering Laboratory

ISM206 Lecture Optimization of Nonlinear Objective with Linear Constraints

ECO 317 Economics of Uncertainty Fall Term 2009 Slides to accompany 13. Markets and Efficient Risk-Bearing: Examples and Extensions

NONLINEAR. (Hillier & Lieberman Introduction to Operations Research, 8 th edition)

School of Business. Blank Page

Nonlinear Programming (Hillier, Lieberman Chapter 13) CHEM-E7155 Production Planning and Control

Model predictive control of industrial processes. Vitali Vansovitš

3E4: Modelling Choice. Introduction to nonlinear programming. Announcements

Process Design Decisions and Project Economics Prof. Dr. V. S. Moholkar Department of Chemical Engineering Indian Institute of Technology, Guwahati

Chapter III. Unconstrained Univariate Optimization

Subject: Optimal Control Assignment-1 (Related to Lecture notes 1-10)

Paris'09 ECCI Eduardo F. Camacho MPC Constraints 2. Paris'09 ECCI Eduardo F. Camacho MPC Constraints 4

PART I PROBLEM FORMULATION

Homework 1. 3x 12, 61.P (x) = 3t 21 Section 1.2

Lecture 18: Optimization Programming

Process Unit Control System Design

Optimization Methods

Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions

MULTIOBJECTIVE OPTIMIZATION CONSIDERING ECONOMICS AND ENVIRONMENTAL IMPACT

Lecture 6: Sections 2.2 and 2.3 Polynomial Functions, Quadratic Models

2. Linear Programming Problem

Improved hydrogen yield in catalytic reforming

Abstract Process Economics Program Report 37B ACETIC ACID AND ACETIC ANHYDRIDE (November 1994)

CONSTRAINED OPTIMIZATION LARS IMSLAND

Optimisation. 3/10/2010 Tibor Illés Optimisation

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

CBE495 LECTURE IV MODEL PREDICTIVE CONTROL

3 rd Generation Stabilized Front End Selective Hydrogenation Catalysts Enhance Operational Stability and Maximize Ethylene Gain

Implementation issues for real-time optimization of a crude unit heat exchanger network

DYNAMIC SIMULATOR-BASED APC DESIGN FOR A NAPHTHA REDISTILLATION COLUMN

Unconstrained Multivariate Optimization

Computational Finance

Computational Methods CMSC/AMSC/MAPL 460. Solving nonlinear equations and zero finding. Finding zeroes of functions

Solution Methods. Richard Lusby. Department of Management Engineering Technical University of Denmark

Time scale separation and the link between open-loop and closed-loop dynamics

6.252 NONLINEAR PROGRAMMING LECTURE 10 ALTERNATIVES TO GRADIENT PROJECTION LECTURE OUTLINE. Three Alternatives/Remedies for Gradient Projection

Economic Model Predictive Control Historical Perspective and Recent Developments and Industrial Examples

LIST OF ABBREVIATIONS:

Advanced Olefin Polymer Reactor Fundamentals and Troubleshooting

Appendix A Solving Systems of Nonlinear Equations

minimize x subject to (x 2)(x 4) u,

Introduction to Operations Research. Linear Programming

Introduction to Linear Programming (LP) Mathematical Programming (MP) Concept (1)

Maximum Theorem, Implicit Function Theorem and Envelope Theorem

Overview of Control System Design

Aspen Polymers. Conceptual design and optimization of polymerization processes

Linear programming: introduction and examples

Introduction to Operations Research

Polymer plants continue to seek ways to increase production and efficiency without compromising safety.

Chemical Plant Design I Basic Concept of Process Design. Dr.Eng. Yulius Deddy Hermawan

EC611--Managerial Economics

LINEAR PROGRAMMING MODULE Part 1 - Model Formulation INTRODUCTION

MS-E2140. Lecture 1. (course book chapters )

1 Numerical optimization

Numerical Methods. V. Leclère May 15, x R n

Large Scale Process System Optimization

IE 5531: Engineering Optimization I

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University

Multidisciplinary System Design Optimization (MSDO)

PROCESS ECONOMICS PROGRAM

CS711008Z Algorithm Design and Analysis

Review of Optimization Basics

Optimization. Next: Curve Fitting Up: Numerical Analysis for Chemical Previous: Linear Algebraic and Equations. Subsections

Optimization of Batch Processes

GTC Technology. Rethinking Xylenes Production via Toluene Methylation

MAXIMIZATION OF MULTIVARIABLE FUNCTIONS USING INTERVAL ANALYSIS. Yasuo Fujii Educational Center for Information Processing Kyoto University

Slovak University of Technology in Bratislava Institute of Information Engineering, Automation, and Mathematics PROCEEDINGS

Constrained optimization: direct methods (cont.)

Linear Programming. Formulating and solving large problems. H. R. Alvarez A., Ph. D. 1

Optimization Methods in Management Science

I would like to thank the following people for their contributions to this project:

Automating Wet Chemical Analysis. William Lipps Market Specialist for Water Analyzer Products December 11, 2008

The Pooling Problem - Applications, Complexity and Solution Methods

The Transportation Problem

CE 191: Civil and Environmental Engineering Systems Analysis. LEC 05 : Optimality Conditions

Economic Plant-wide Control. Sigurd Skogestad

Example - Newton-Raphson Method

SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND

The Graph of a Quadratic Function. Quadratic Functions & Models. The Graph of a Quadratic Function. The Graph of a Quadratic Function

ACID CONSUMPTION AND ACID RUNAWAY IN A SULFURIC ACID ALKYLATION UNIT

Jointly Developed FCC Catalysts with Novel Mesoporous Zeolite Deliver Higher Yields and Economic Value to Refiners

An Introduction to Pharmaceutical & Chemical Process Technology. Paul Ashall

4F3 - Predictive Control

SINOPEC MTP and MTX technologies

Cyclic short-term scheduling of multiproduct batch plants using continuous-time representation

A Stochastic-Oriented NLP Relaxation for Integer Programming

Study Unit 3 : Linear algebra

Handout 1: Introduction to Dynamic Programming. 1 Dynamic Programming: Introduction and Examples

ECONOMIC PLANTWIDE CONTROL: Control structure design for complete processing plants

Math 273a: Optimization

Subject: Introduction to Process Control. Week 01, Lectures 01 02, Spring Content

Root-finding and optimisation

CONTROL OF MULTIVARIABLE PROCESSES

Technical Resource Package 1

1 Column Generation and the Cutting Stock Problem

Transcription:

Real-Time Optimization (RTO) In previous chapters we have emphasized control system performance for disturbance and set-point changes. Now we will be concerned with how the set points are specified. In real-time optimization (RTO), the optimum values of the set points are re-calculated on a regular basis (e.g., every hour or every day). These repetitive calculations involve solving a constrained, steady-state optimization problem. Necessary information: 1. Steady-state process model 2. Economic information (e.g., prices, costs) 3. A performance Index to be maximized (e.g., profit) or minimized (e.g., cost). Note: Items # 2 and 3 are sometimes referred to as an economic model. 1

Process Operating Situations That Are Relevant to Maximizing Operating Profits Include: 1. Sales limited by production. 2. Sales limited by market. 3. Large throughput. 4. High raw material or energy consumption. 5. Product quality better than specification. 6. Losses of valuable or hazardous components through waste streams. 2

Common Types of Optimization Problems 1. Operating Conditions Distillation column reflux ratio Reactor temperature 2. Allocation Fuel use Feedstock selection 3. Scheduling Cleaning (e.g., heat exchangers) Replacing catalysts Batch processes 3

(days-months ) 5. Planning and Scheduling (hours-days ) 4. Real-Time Optimization (minutes-hours ) (seconds-minutes ) (< 1 second ) 3b. Multivariable and Constraint Control 3a. Regulatory Control 2. Safety, Environment and Equipment Protection Figure 19.1 Hierarchy of process control activities. (< 1 second ) 1. Measurement and Actuation Process 4

BASIC REQUIREMENTS IN REAL-TIME OPTIMIZATION Objective Function: where: s r s r P = F V F C OC s r s s s r r r = sumof ( feedflow rate) x (unit cost) ( 19-1) P = operating profit/time FV = sum of ( product flow rate) x (product value) FC OC = operating costs/time Both the operating and economic models typically will include constraints on: 1. Operating Conditions 2. Feed and Production Rates 3. Storage and Warehousing Capacities 4. Product Impurities 5

The Interaction Between Set-point Optimization and Process Control Example: Reduce Process Variability Excursions in chemical composition => off-spec 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. 6

7

The Formulation and Solution of RTO Problems 1. The economic model: An objective function to be maximized or minimized, that includes costs and product values. 2. The operating model: A steady-state process model and constraints on the process variables. 8

The Formulation and Solution of RTO Problems Table 19.1 Alternative Operating Objectives for a Fluidized Catalytic Cracker 1. Maximize gasoline yield subject to a specified feed rate. 2. Minimize feed rate subject to required gasoline production. 3. Maximize conversion to light products subject to load and compressor/regenerator constraints. 4. Optimize yields subject to fixed feed conditions. 5. Maximize gasoline production with specified cycle oil production. 6. Maximize feed with fixed product distribution. 7. Maximize FCC gasoline plus olefins for alkylate. 9

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 rates, 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. 10

The Formulation and Solution of RTO Problems Step 1. Identify the process variables. Step 2. Select the objective function. Step 3. Develop the process model and constraints. Step 4. Simplify the model and objective function. Step 5. Compute the optimum. Step 6. Perform sensitivity studies. Example 19.1 11

12

UNCONSTRAINED OPTIMIZATION The simplest type of problem No inequality constraints An equality constraint can be eliminated by variable substitution in the objective function. 13

Single Variable Optimization A single independent variable maximizes (or minimizes) an objective function. Examples: 1. Optimize the reflux ratio in a distillation column 2. Optimize the air/fuel ratio in a furnace. Typical Assumption: The objective function f (x) is unimodal with respect to x over the region of the search. Unimodal Function: For a maximization (or minimization) problem, there is only a single maximum (or minimum) in the search region. 14

Different Types of Objective Functions 15

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. Newton s Method It is based on the necessary condion for optimality: f ( x) =0. Example: Find a minimum of f( x). Newton's method gives, x k+ 1 k k f ( x ) = x k f ( x ) 16

3. Quadratic Polynomial fitting technique 1. Fit a quadratic polynomial, f (x) = a 0 +a 1 x+a 2 x 2, to three data points in the interval of uncertainty. Denote the three points by x a, x b, and x c, and the corresponding values of the function as f a, f b, and f c. 2. Find the optimum value of x for this polynomial: ( 2 2) ( 2 2) ( 2 2 + + ) 1 xb xc fa xc xa fb xa xb fc x* = 19 8 2 x x f x x f x x f ( ) + ( ) + ( ) b c a c a b a b c ( ) 4. Evaluate f (x*) and discard the x value that has the worst value of the objective function. (i.e., discard either x a, x b, or x c ). 5. Choose x* to serve as the new, third point. 6. Repeat Steps 1 to 5 until no further improvement in f (x*) occurs. 17

Equal Interval Search: Consider two cases Case 1: The maximum lies in (x 2, b). Case 2: The maximum lies in (x 1, x 3 ). 18

Multivariable Unconstrained Optimization ( x) ( ) f f x, x,..., x 1 2 N V Computational efficiency is important when N is large. "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. 19

Constrained Optimization Problems 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 execution time and storage requirements. Quadratic Programming (QP) Problems: a. Quadratic objective function plus linear equality and inequality constraints. b. Computationally efficient methods are available. Linear Programming (QP) Problems: a. Both the objective function and constraints are b. Solutions are highly structured and can be rapidly obtai 20

LP Problems (continued) 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. Recall the basic features of LP problems: Linear objective function Linear equality/inequality constraints 21

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: P = n i= 1 y P i i α 22

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. Solution of LP Problems - Simplex Method - Examine only constraint boundaries - Very efficient, even for large problems 23

Linear Programming Concepts For a linear process model, y=ku (19-18) 24

25

26

27

28

29

30

31

32

33

34

35

36

QUADRATIC AND NONLINEAR PROGRAMMING The most general optimization problem occurs when both the objective function and constraints are nonlinear, a case referred to as nonlinear programming (NLP). The leading constrained optimization methods include: 1. Quadratic programming 2. Generalized reduced gradient 3. Successive quadratic programming (SQP) 4. Successive linear programming (SLP) 37

Quadratic Programming A quadratic programming problem minimizes a quadratic function of n variables subject to m linear inequality or equality constraints. In compact notation, the quadratic programming problem is Minimize f x c x 1 x Qx 2 Subject to Ax = b x 0 19 32 ( ) = T + T ( 19 31) ( ) where c is a vector (n x 1), A is an m x n matrix, and Q is a symmetric n x n matrix. 38

Nonlinear Programming a) Constrained optimum: The optimum value of the profit is obtained when x=x a. Implementation of an active constraint is straightforward; for example, it is easy to keep a valve closed. b) Unconstrained flat optimum: In this case the profit is insensitive to the value of x, and small process changes or disturbances do not affect profitability very much. c) Unconstrained sharp optimum: A more difficult problem for implementation occurs when the profit is sensitive to the value of x. If possible, we may want to select a different input variable for which the corresponding optimum is flatter so that the operating range can be wider. 39

Nonlinear Programming (NLP) Example - nonlinear objective function - nonlinear constraints 40