Flow Sheet Optimization Presentation
Flow Sheet Optimization Presentation
PRESENTATION OUTLINE
Introduction
Optimization basics.
Classification of Optimization problems
Development of process(mathematical models) constrains in
optimization problems.
Components of an optimization model
Types of optimization models.
Steps for optimization
Steps used to solve optimization problems.
Optimization example.(Non-Linear Programming)
Introduction to LINGO optimization software
Merits and demerits of optimization.
Safety and environment.
INTRODUCTION
PROCESS FLOWSHEET
Also known as process flow diagram(PFD) is a diagram commonly used in
chemical and process engineering to indicate the general flow of plant processes
and equipment.
It displays the relationship between major equipment of a plant facility and does
not show minor details such as piping details and designations .
3
OPTIMIZATION BASICS
WHAT IS OPTIMIZATION?
OPTIMIZATION BASICS
Common objectives in optimization of an industrial
process are:
1.Achieve lower capital cost design.
2.Increase process production.
3.Deduct unit operation cost.
4.Reduce environmental impact.
5.Deduct energy consumption.
5
where f (x,y) is the objective function (e.g., cost, energy consumption, etc.), h(x,y) = 0 are the
equations that describe the performance of the system (e.g., material balances, production rates),
and the inequality constraints g(x,y) 0 can define process specifications or constraints for feasible
plans and schedules. Note that the operator max f (x,y) is equivalent to min f (x,y). We define the
real n-vector x to represent the continuous variables while the t-vector y represents the discrete
variables, which, without loss of generality, are often restricted to take 0/1 values to define logical
or discrete decisions, such as assignment of equipment and sequencing of tasks. (These variables
can also be formulated to take on other integer values as well.)
2.
3.
5.
6.
DEGREES OF FREEDOM
These are the number of input variables you need to specify
A degree of freedom analysis is incorporated in the development of each
subroutine that simulate a process unit.
1. Over specified problem: too much information and it is either redundant
or inconsistent.
Nvariables >> Nequations
Fitting data
2. Equally specified problem: proceed solving the problem
Units in flow sheet
Nvariables= Nequations
3. Under specified problem: some values are underdetermined-can be
manipulated to optimize the process.
Optimization
11
Nvariables<< Nequations
COMPONENTS OF AN OPTIMIZATION
MODEL
An optimization model has three main components:
An objective function. This is a function that needs to be optimised.
A collection of decision variables. The solution to the optimization
problem is the set of values of decision variables for which the objective
function reaches its optimal value.
A collection of constraints that restrict the value of decision variables.
The mathematical approach is represented as follows:
Any optimization problem can be represented as, min or max f(x), c(x)=0 , g(x)
6.
Draw and label a picture. Optimization problems often involve geometry. Draw a picture
of the situation. Include any information you are given in the problem. Identify the quantities
under your control and assign variables to them.
Find the objective function. What is the quantity you want to maximize or minimize?
Write a formula for it in terms of the variables in your picture.
Identify the constraints. If your objective function has more than one variable, you will
need to use one or more constraints in the problem to write equations that relate the variables
together.
Reduce the objective function to one variable. Solve each of the constraint equations for
one of the variables and substitute this into the objective function. At the end, the objective
function should contain just one variable.
Identify the domain of the objective function. Now that your objective function has a
single variable, what values of that variable make sense in the problem? Think about what the
variable means in the problemfor example, lengths cannot be negative. There may be both
a lower bound and an upper bound for meaningful values of the variable; if so, make sure you
identify both of them. If the domain has both a lower and an upper bound, and the endpoints of
this interval do not cause any mathematical problems in the objective function (such as division
by zero), consider including the endpoints even if they dont quite make sense in the problem;
this will allow you to use the Closed Interval Method in step 8.
Differentiate the objective function.
7. Find the critical numbers. Critical numbers are values of the variable that cause the derivative
to equal zero or
be undefined. These numbers are potential local maxima or minima. Ignore
any critical numbers that are outside the domain of the objective function.
8. Test the critical numbers (and possibly the endpoints of the domain). The critical numbers
are not automatically the answer. You need to test each one to see if its a local minimum, a
local maximum, or neither. Usually you can use one of the following tests:
i.
Closed Interval Method. Requirements: The domain of the objective function must
be a closed, bounded interval (that is, an interval that has endpoints on both ends, and
includes those endpoints). Test: Evaluate the objective function at all critical numbers
and at the endpoints of the domain, and choose the largest value (if you are maximizing)
or the smallest value (if you are minimizing).
ii.
First Derivative Test. Requirements: There must be only one critical number in the
domain. Test: Evaluate the first derivative of the objective function at two numbers in
the domain, one of which is less than the critical number and the other of which is greater
than the critical number. If the first derivative is positive to the left of the critical number
and negative to the right, then the critical number represents the absolute maximum. If
the first derivative is negative to the left of the critical number and positive to the right,
then the critical number represents the absolute minimum.
iii. Second Derivative Test. Requirements: There must be only one critical number in
the domain. Test: Find the second derivative of the objective function and evaluate it
at the critical number. If this value is negative, then the critical number represents the
absolute maximum. If the value is positive, then the critical number represents the
absolute
minimum.
9.
Answer the question. The critical number itself may not be the answer to the question.
Reread the question to see exactly what it is asking for. If it is asking for the dimensions of a
rectangle, for example, make sure you give the width and height of the rectangle, not just the
area. And dont forget units!
The accepted procedure, linear programming (LP), has become quite popular, solving a
wide range of industrial problems. It is increasingly being used for on-line optimization. For
processing plants, there are several different kinds of linear constraints that may arise,
making the LP method of great utility.
1. Production limitation due to equipment throughput restrictions, storage limits, or market
constraints.
2. Raw material (feedstock) limitation.
3 . Safety restrictions on allowable operating temperatures and pressures.
4. Physical property specifications placed on the composition of the final product.
5. Material and energy balances of the steady-state model.
Qc = F Cp(Tm Tout),
INTRODUCTION TO LINGO
WHAT IS LINGO ???????
Several set looping functions are also available for use in LINGO. These functions are as follows:
@FOR generates constraints over members of a set.
@SUM sums an expression over all members of the set.
@MIN computes the minimum of an expression over all members of the set.
@MAX computes the maximum of an expression over all members of the set.
MODEL:
OBJECTIVE
FUNCTION
CONSTRAINTS
ADVANTAGES OF OPTIMIZATION
1.
2.
5.
6.
7.
DISADVANTAGES OF OPTIMIZATION
1.Application to systems is vexatious
2.Involve complex mathematical models
3.Optimization at large scale is dependent on high quality expensive
machines
4.Involve high computational input of data onto computer packages such
as ASPEN, MATLAB and LINGO
5.Requires more time to simulate changes.
6.Produce a compromising product conversion that sometimes produce
high toxins