Documente Academic
Documente Profesional
Documente Cultură
Process Optimisation
Lec 07 1
Identify and represent quantitatively trade-offs in process design Develop understanding of role of optimisation in process design Develop understanding of how type of optimisation problem affects solution strategy Define and identify a simple optimisation problem and solve it
Lec 07 2
Operations including planning, scheduling, supply-chain management and selection of operating conditions benefit significantly from optimisation
Synthesis
Simulation
Parameter optimisation
Evaluation
Performance evaluation
o Which measure of performance (key performance indicator, KPI; objective function)?
Lec 07 4
Structural optimisation
Final flowsheet
Outline
1 Optimisation example: Heat exchanger design 2 Problem formulation 3 Objective functions 4 Convexity 5 Solving single-variable optimisation problems 6 Multivariable optimisation 7 Constrained optimisation
Lec 07 6
Design problem: How big should we make the heat exchanger ? How much heat should be recovered ?
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.1
Lec 07 9 Process Design & Simulation 2013
2. Mathematical model
mH = mass flowrate of hot stream (kg.s1)
TH out TC in
mC = mass flowrate of cold stream (kg.s1) CP H = heat capacity of hot stream (kJ.kg1.K1) CP C = heat capacity of cold stream (kJ.kg1.K1) QH = hot utility demand without heat recovery (kJ.s1) CE = unit cost of energy ($.kJ1 or $.kW1.h) A = heat exchange area (m2) U =overall heat transfer coefficient (kJ.m2.K1 s1) TLM = logarithamic mean temperature difference (K) a,b,c = cost coefficients AF = annualisation factor T = temperature (K)
QREC = mH CP H (TH in - TH out) - 1 QREC = mC CP C (TC out - TC in) - 2 Energy Cost = (QH - QREC) CE QREC UTLM 3 - 4
TH in
TH out TC out
Increase heat recovery
TC in
QREC
Energy Cost
Capital Cost
Optimum
Heat recovered
Recovery of heat from a waste steam involves a trade-off between reduced energy cost and increased capital cost of heat exchanger. Objective function: Total Annualised Cost (TAC) = Energy cost + Annualised Capital Cost Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.1
Sinnott and Towler, 2009, Chemical Engineering Design, Ch. 1.9.3 Process Design & Simulation 2013
Lec 07 13
2 Problem formulation
Integer vs. continuous variables
Process optimisation problems typically involve discrete decisions
o e.g. how many stages? which connection between equipment? how many of a given type of unit? o these often translate into integer variables
The overall problem formulation depends on that of the process model, the objective function and the constraints
Lec 07 14 Process Design & Simulation 2013
Energy Cost
Capital Cost
Energy Cost =
Heat recovered
Process Design & Simulation 2013
The benefits of a linear formulation are that the optimisation problems are much easier to solve ... and the optimum that is found is guaranteed to be the global optimum
Lec 07 16
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.5
Process Design & Simulation 2013
3 Objective function
The objective function measures how good the design is
o Is the design fit for purpose? How effectively does it satisfy customer needs? o Measure of performance is maximised or minimised
Good understanding of the important issues can allow a simpler objective to be set
o e.g. maximise yield
Objective functions
Example: Unimodal objective functions
In the heat exchanger design example there was only one 'extreme' point (minimum) in the objective function i.e. it was unimodal.
Cost Total Cost Capital Cost
Energy Cost
Optimum
Heat recovered
Stationary Points
Local Optimum
Discontinuous function
Multimodal function
x1
x2
x1
x2 x
If the function is to be minimised and all values of the function lie below the straight line convex function
Lec 07 20 Process Design & Simulation 2013
If the function is to be maximised and all values of the function lie above the straight line concave function
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.1
f(x)
f(x)
f(x)
x1
x2
x1
x2
x1
x2
convex function
Lec 07 21
concave function
Process Design & Simulation 2013
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.1
x1 x2
x1
x2
x1
x2
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.2
Lec 07 22
xOPT x1 x2 x3 x
Method can be extremely efficient However, the solution procedure can be unstable if function is not unimodal
Lec 07 23 Process Design & Simulation 2013
Two-variable problem Two-variable problem find highest peak in find mountain top mountain range
Lec 07 24
Global Optimum
Local Optimum
x1
The concepts of convexity and concavity can be extended to problems with more than one variable
If a straight line between any two points on the surface always lies above (or below) the surface, the function is concave (or convex, respectively)
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.1 Sinnott and Towler, 2009, Chemical Engineering Design, Ch. 1.9.7
Lec 07 25 Process Design & Simulation 2013
Indirect search
o use gradients to select search direction
Stochastic optimisation
o use random choices to guide search
Lec 07 26
Global Optimum
NOTE: Start at the wrong initialisation and we will find the local optimum.
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.3
Lec 07 27 Process Design & Simulation 2013
maximum rate of change of the objective function gives search direction problems caused by gradient changing significantly during search and choice of step size search can become extremely slow as the optimum is approached
x2
200 100 50 20
Global Optimum
NOTE : Start at the wrong initialisation and we will find the local optimum.
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.3
Lec 07 28 Process Design & Simulation 2013
Stochastic search methods generate a random path to the solution based on probabilities. Improvement in the objective function becomes the ultimate goal, rather than the immediate goal. Some deterioration of the objective function is tolerated, especially during the early stages of a search. Stochastic optimisation reduces the problem of becoming trapped in a local optimum, and of requiring good initial values.
Lec 07 29
Constraints in design
A good understanding of the design problem and its context is essential to formulate the problem constraints
o ... otherwise the optimal solution may be far from practical or feasiblet
Lec 07 30
Process Design & Simulation 2013 Sinnott and Towler, 2009, Chemical Engineering Design
Constrained optimisation
Most optimisation problems involve constraints General form of an optimisation problem involves three basic elements: 1 An objective function to be optimised (e.g. minimise total cost, maximise economic potential, etc.). 2 Equality constraints, which are equations describing the model of the process or equipment. 3 Inequality constraints, expressing minimum or maximum limits on various parameters. Inequality constraints reduce the solution space to be explored In general, the existence of constraints complicates the problem relative to the problem with no constraints
Lec 07 31 Process Design & Simulation 2013
Constrained optimisation
Graphical representation
Constraints on solution space are imposed on objective function
x2
Unconstrained optimum
x2
x2
Constrained optimum
Unconstrained optimum
Local optimum
Unconstrained optimum
Feasible region
x1
Feasible region x1
x1
A non-convex region might prevent the global optimum from being reached.
To ensure we reach the global optimum we need a convex function and a convex region
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.4
Lec 07 32 Process Design & Simulation 2013
Solutions
In the region of the optimum there are usually several solutions with very similar performance Don't concentrate on one solution with the absolute lowest value of the objective function
o always uncertainties in the data o many other factors to consider in the final design
Lec 07 33 Process Design & Simulation 2013
Summary
Models allow quantitative, mathematical representation of process, design objectives and constraints Optimisation employs systematic techniques to find the best process designs Optimisation can address fixed flowsheets and flowsheet generation
o discrete design decisions typically involve integer variables
Which optimisation strategy is appropriate depends on the nature of the mathematical formulations
structural vs. parametric variables, number of degrees of freedom, convexity of problem and objective function
Typically, process design problems are non-linear 'mixed integer' (both discrete and continuous variables), constrained, non-convex problems
o local optima, infeasibilities and discontinuities present significant challenges for process optimisation
Smith, 2005, Chemical Process Design and Integration, Wiley, Ch. 3.11
Lec 07 35 Process Design & Simulation 2013