Process Systems Engineering Chapter 4 Optimization of Process Systems
Process Systems Engineering Chapter 4 Optimization of Process Systems
By
Dr. Eng. Shegaw Ahmed
School of Chemical & Bio Engineering
Addis Ababa Institute of Technology
Addis Ababa University
March, 2018
1
SCHOOL OF CHEMICAL AND BIO ENGINEERING
ADDIS ABABA INSTITUTE OF TECHNOLOGY(AAiT)
ADDIS ABABA UNIVERSITY (AAU)
CBEg 6152-PSE-Outline
CHAPTER-1-Introduction to Process
CHAPTER-3-Introduction to Process Integration
Systems Engineering
• Definitions of Process Systems Engineering • Synthesis of Heat Exchange Networks
• The Concept of Systems Engineering • Synthesis of Mass Exchange Networks
• The Paradigms of Process Systems Engineering
• One of the most important engineering tools for addressing these issues is
OPTIMIZATION
• Optimization is concerned with selecting the best among the entire set
by efficient quantitative methods.
insight about what the appropriate performance objectives are (i.e., what is to be
accomplished), and
4
Chapter 4. …What Optimization is all about?
o want to find
• the conditions
• that give the BEST performance
5
Chapter 4. …What Optimization is all about?
Objective(s)
Technique(s)
6
Chapter 4. …Models as basis for optimization
7
Chapter 4. …Building a model/Modelling
8
Chapter 4. …General Formulation
9
Chapter 4. …General Formulation
11
Chapter 4. …Examples of applications of Optimization
13
Chapter 4. …Introduction to Optimization
Key characteristic
o A tradeoff exists between one or more variables and the objective function.
o We must identify the key tradeoffs before building mathematical models!
o We must understand the problem qualitatively, before we solve it quantitatively.
14
Chapter 4. …Optimization Examples
15
Chapter 4. …Optimization Examples
16
Chapter 4. …Development Stages-Optimization Problem Formulation
Solution of an optimization
problem requires all of the steps
o The conclusions are drawn from the model (mathematical program), not
from the problem!
o An inadequate model typically leads to false conclusions
o The model must be computationally tractable: its analysis must be practical!
20
Chapter 4. …Example
A Transportation Problem
Let’s begin with a much simplified example of a problem that might arise in
manufacturing and transportation. A chemical company has 2 factories F1 and F2 and a
dozen retail outlets R1, R2, . . . , R12. Each factory Fi can produce ai tons of a certain
chemical product each week; ai is called the capacity of the plant. Each retail outlet Rj
has a known weekly demand of bj tons of the product. The cost of shipping one ton of the
product from factory Fi to retail outlet Rj is cij.
The problem is to determine how much of the product to ship from each factory to each
outlet so as to satisfy all the requirements and minimize cost. The variables of the
problem are xij , i = 1, 2, j = 1, 2, . . . , 12, where xij is the number of tons of the product
shipped from factory Fi to retail outlet Rj;
21
Chapter 4. …Example
22
Chapter 4. …Optimization Model Formulation
Standard Model
Optimization models (also called mathematical programs)
represent problem choices as decision variables and seek values
that maximize (or minimize) objective functions of the decision
variables subject to constraints on variable values expressing the
limits on possible decision choices
23
Chapter 4. …Decision Variables, x
24
Chapter 4. …Decision Variables, x
Heuristics
When there is an option, modeling with continuous variables is preferred to discrete
variables
To clarify these ideas let us consider a simple example. A company manufactures four
products, requiring time on two machines and two types (skilled and unskilled) of labour. The
amount of machine time and labor (in hours) needed to produce a unit of each product and
the sales prices in dollars per unit of each product are given in the following table:
Each month, 700 hours are available on machine 1 and 500 hours on machine 2. Each
month, the company can purchase up to 600 hours of skilled labour at $8 per hour and up to
650 hours of unskilled labour at $6 per hour. The company wants to determine how much of
each product it should produce each month and how much labor to purchase in order to
maximize its profit (i.e., revenue from sales minus labour costs).
You need to determine the variables, the objective function, & the constraints
26
Chapter 4. …Solution
The formulation
o We wish to find a formulation for this problem, i.e. we need to determine the
variables, the objective function, and the constraints
Variables
o The company must decide how much of each product to manufacture; we capture
this by introducing a variable xi for each i ∈ {1, 2, 3, 4} for the number of units of
product i to manufacture.
o As part of the planning process, the company must also decide on the number of
hours of skilled, ys, and unskilled, yu, labour that it wants to purchase.
Objective function
o Deciding on a production plan now amounts to finding values for variables x1, . . .
, x4, ys and yu. Once the values for these variables have been found, company’s
profit is easily expressed by the following function
27
Chapter 4. …Solution
28
Chapter 4. …Unimodal and multi modal functions
29
Chapter 4. …Convexity and Concavity of function
30
Chapter 4. …Analytical Techniques: Classical Optimization Techniques
31
Chapter 4. … Analytical Techniques-single variable optimization
32
Chapter 4. … Analytical Techniques-single variable optimization
33
Chapter 4. …Analytical Techniques: Classical Optimization Techniques
34
Chapter 4. …Analytical Techniques: Classical Optimization Techniques
35
Chapter 4. …Example
36
Chapter 4. …Unconstrained Multivariable Optimization
39
Chapter 4. …Unconstrained Multivariable Optimization
42
Chapter 4. …Example
43
Chapter 4. … Unconstrained multivariable optimization problem
44
Chapter 4. … Unconstrained multivariable optimization problem
47
Chapter 4. …Unconstrained multivariable optimization problem
48
Chapter 4. …Linear Programing (LP)
• LP is one of the most widely used optimization techniques and perhaps the most
effective
• It deals with the optimization (maximization or minimization) of linear objective
functions subject to linear constraints.
solution methods
o Graphical Solution
o Simplex Method
• LP problems involving only two variables can be effectively solved by a graphical
technique which provides a pictorial representation of the solution.
• step 1: formulate the given problem as a linear programming problem
• step 2: plot the given constraints as equalities on x1 − x2 coordinate plane and determine the
convex region formed by them
• step 3: determine the vertices of the convex region and find the value of objective function at
each vertex. The vertex which gives the optimal value of the objective function gives the desired
optimal solution to the problem. 49
Chapter 4. …Graphical Solution Example 1
Solution
50
Chapter 4. …Example 2
Solution
51
Chapter 4. …Example 3
Solution
52
Chapter 4. …Example 3
Solution
53
Chapter 4. …Standard form of LP
54
Chapter 4. …Simplex Method
56
Chapter 4. …Simplex Method
57
Chapter 4. …Simplex Method
58
Chapter 4. …Simplex Method
59
Chapter 4. …Simplex Method-Pivoting
60
Chapter 4. …Simplex Method
61
Chapter 4. …Simplex Method
62
Chapter 4. …Simplex Method-Pivoting
63
Chapter 4. …Simplex Method-Pivoting
64
Chapter 4. …Simplex Method-Example
65
Chapter 4. …Simplex Method-Example
66
Chapter 4. …Simplex Method-Example
67
Chapter 4. …Non-Linear Programming
68
Chapter 4. …Non-Linear Programming
o Direct Substitution
o Lagrange multiplier method
69
Chapter 4. …Non-Linear Programming-Direct Substitution
70
Chapter 4. …Non-Linear Programming-Direct Substitution
71
Chapter 4. …Non-Linear Programming-Lagrangian Multiplier Method
72
Chapter 4. …Non-Linear Programming-Lagrangian Multiplier Method
Example
73
Chapter 4. …Non-Linear Programming-Problems Containing only Equality
Constraints
74
Chapter 4. …Non-Linear Programming-Problems Containing only Equality
Constraints
75
Chapter 4. …Non-Linear Programming-Problems Containing only inequality
Constraints
76
Chapter 4. …Non-Linear Programming-Problems Containing only inequality
Constraints
77
Chapter 4. …Non-Linear Programming-Example
78
Chapter 4. …Non-Linear Programming-solution
79
Chapter 4. …Non-Linear Programming-Solution
80
Chapter 4. …Non-Linear Programming-Solution
81
Chapter 4. …Non-Linear Programming-Examples
82
Chapter 4. …Non-Linear Programming-Example
83
Chapter 4. …Non-Linear Programming-Example
84
Chapter 4. …Non-Linear Programming-Example
85
Chapter 4. …Non-Linear Programming-Exercise
86
Chapter 4. …Mixed Integer Programming-Reading assignment
87
Chapter 4. …Classification of the types of problems that are encountered in
optimization with discrete variables
88
Chapter 4. …-Some Integer-Programming Models
89
Chapter 4. …-Some Integer-Programming Models
90
Chapter 4. …-More Examples in Chemical Engineering
91
Chapter 4. …-More Examples in Chemical Engineering
92