Professional Documents
Culture Documents
CAPD Unit 1 Lect 6 2023
CAPD Unit 1 Lect 6 2023
Define Divider
Problem Collect
additional
data
Mixer Reactor Separator
Analyze
results
Chemical Plant
Solve model
equations
3
Steady state simulation - solve algebraic equations
Develop
process
model
h(x, y) = 0
Define
Problem Divider
Collect
additional
data
Mixer Reactor Separator
Analyze
results
Chemical Plant
Solve model
equations -
AE solver
4
Process optimization - minimize function s.t. constraints
Develop
process
model
h(x, y) = 0
Define
Problem Divider
Collect
additional
data
Mixer Reactor Separator
Analyze
results
Chemical Plant
Solve model
Min ϕ (x, y)
equations -AE
solver + NLP s.t g(x, y) ≤ 0
method h1 (x,y) = 0
5
Dynamic simulation - solve ordinary differential equations
dx/dt = f(x,y)
Develop
process
model
h(x, y) = 0
Define
Problem Divider
Collect
additional
data
Mixer Reactor Separator
Analyze
results
Chemical Plant
Solve model
equations -
DAE solver
6
Problem Definition -
What information do we need?
Divider
Stream
Chemical Plant data
Equipment
Mixture Unit Process Known data
compounds operations flowsheet data
Operating
data
7
Problem Definition -
What do we need to select (from a simulator)?
Divider
Thermo-
Mixture Unit Process Library models
compounds operations flowsheet
Method of
solution
8
Some Definitions
• Module;
• Stream;
• Flowsheet decomposition; Partitions;
• Recycle loop;
• Tear stream;
• Calculation sequence;
• Simulation approach;
• Equation ordering
• Convergence technique 9
Let us consider an example : Production of
cyclohexane
Flowsheet Decomposition
* Identify partitions
* Identify recycle-loops
* Determine tear-streams
* Determine calculation order
Equation Ordering
• Basically, two different approaches can be applied for the simulation of a system
of unit operations interconnected by material and energy streams.
• The first method is the sequential modular (SM) mode widely used by process
simulators.
• This approach divides the mathematical model of the whole system consisting of
thousands of equations into smaller sub models (models or modules).
• The unit modules are then calculated independently of other modules, and the
output streams are evaluated based on the input streams and design parameters.
• The solution sequence is generally parallel to material flow in the process.
• If recycle stream present, the module input will change, and therefore the module
has to be re-evaluated.
• More complex systems can contain recycling loops at different levels.
• For each recycling loop, an iteration mechanism has to be defined.
• Final solution of the whole system is obtained after the convergence of all iteration
loops.
• For successful convergence, selection of good tear stream is very important.
• The advantage of the sequential modular approach is that a large problem
is decomposed into a number of small problems, which makes process
simulation initialization easier and more user-friendly.
• But the requirement for good tear streams for recycling loops convergence
is a disadvantage that makes sequential modular approach not suitable for
processes with a large number of recycling loops.
Give New
Estimates for Xt
Check
Ft < Error
Solve model
equation for unit K
Methodology for Simultaneous Modular Approach : flow chart/Algorithm of
problem solving
(Simultaneous = SM + EO)
Convergence (numerical)
Methods Convergence Techniques (Modular)
Wegstein Method
Convergence Techniques (Equation
Dominant Eigen-value method Oriented)
Newtons Method