Professional Documents
Culture Documents
• The software has to solve the mass and energy balance to find a stable
operating point. The goal of a process simulation is to find optimal
conditions for an examined process. This is essentially an optimization
problem which has to be solved in an iterative process.
Process Simulation History
• The history of process simulation is strongly related to the development of
the computer science and of computer hardware and programming
languages. Early working simple implementations of partial aspects of
chemical processes were introduced in the 1970s when suitable
hardware and software (here mainly the programming languages
FORTRAN and C) became available.
1976- A major development effort has been underway at M.I.T. from 1976 to
1979 to develop a next-generation process simulator and economic evaluation
system named ASPEN (Advanced System for Process ENgineering). The
150,000-line computer program will simulate the flowsheet of a proposed or
operating plant. In addition to calculating detailed heat and material balances,
ASPEN can also provide preliminary estimates of capital and operating costs and
economic viability. The project is funded by the Department of Energy which will
use ASPEN to evaluate process alternatives for fossil energy conversion.
• The simulation is also the starting point for equipment design, as it will
set the flow rates and duties for process equipment
• Modeling reactors
• Modeling separations
• User models
• Optimization
Structure of Process Simulators
• The user manipulates the
program through a GUI that is set
up to look similar to a PFD
Equipment • The executive program
sub-routines determines the calculation
sequence and calls the other
Thermodynamics subroutines
sub-routines
Executive Program
Graphical User
Convergence & Interface (GUI)
optimization
sub-routines
Physical
property data
Cost data
Example: UniSim Simulation of GE
LM6000 Engine
Click here
Basis Environment
Enter Enter
components reactions
Select
property
package
Specify
stoichiometry
Basis Environment
Enter
reactions
Specify conversion
Using the GUI: Object Palette
Click here
Object Palette
User can
Unit select
operations operations
from the
palette and
General
drag and
reactors
drop to the
Separator PFD
models
Adjust, Set,
Recycle
Spreadsheet
Dynamics functions
Using the GUI: Workbook View
Click here
Brings up all the basic
stream data such as
temperature, pressure,
flow rates, etc. in one
screen
Windows Can Be Configured to Show
PFD & Workbook
Editing the Flowsheet in the GUI
Sub-flowsheet
Generating Mass & Energy Balance
Reports
Report manager is on the Tools menu
• Modeling reactors
• Modeling separations
• User models
• Optimization
• Pure components
• Component library has thousands of pure components
• Mostly organic compounds, but some inorganic compounds
50
0
50 1050
Temperature (F)
50
0
50 1050
Temperature (F)
• Solids
• Some simulators recognize solid phase pure components when they are
formed
• Phase equilibrium with solid phase is often not well predicted: check the
model carefully against the literature
• Solid phases of mixed composition usually have to be defined as user
components (e.g.: cells, catalysts, coal, paper fibers, etc.)
• Some of the simulation programs have good models for solid handling
operations, including modeling the effect of particle size distribution
• Salts
• Ionic compounds in the presence of water must be treated as electrolytes
and require special phase equilibrium models
• Examples:
• Complex molecules for pharmaceutical APIs
• Specialty chemicals
• Proprietary compounds
• Advanced solvents
• Electrolytes
Create Hypo
Component
Enter or estimate
properties
Y
H2 Y N Polar or Y Y
Use P-R Hydrocarbon Use sour
present Hydrogen Sour Water
or R-K-S C5 or lighter water system
bonding
N N
N
Y Y H2 Y
Use B-W-R Use
T < 250 K Use G-S present Electrolytes
or L-K-P electrolyte
N N
N
Y Y N N γi
Use G-S P < 4 bar
P < 200 bar 0<T<750K experimental
or P-R T < 150ºC
data
N
N Y Y
Use UNIFAC to
Y estimate Two N Use Wilson, NRTL
Use R-K-S P < 350 bar Liq phases
interaction or UNIQUAC
parameters
N Y
Need more Select model that
Use NRTL
experimental gives best fit to
or UNIQUAC
data data
• Why?
• Modeling reactors
• Modeling separations
• User models
• Optimization
• Gibbs reactor
– Brings all species present to equilibrium at specified temperature or duty
– Be very careful to define all possible species if this is what you want
• Equilibrium reactor
– Calculates equilibrium only for defined reactions
– More useful than Gibbs, as all species seldom reach equilibrium
• Conversion reactor
– Solves for defined reactions in sequence to specified conversion function
• Yield reactor
– Allows user to specify any kind of yield pattern
– Allows reactions of pseudocomponents, solids, changes in particle size
distribution, etc.
• Real reactors can often be built from a combination of model reactors, e.g.
conversion then equilibrium
Methane
Fuel
CO2 Removal
• Partial oxidation:
CH4 + 0.5 O2 → CO + 2 H2
• Strongly exothermic
• Reduces hydrogen yield and requires expensive oxygen feed
RGibbs
REquil
• Modeling reactors
• Modeling separations
• User models
• Optimization
• Rigorous Columns
• Solve stage-to-stage
• Allow column sizing
• Can be used for absorbers, strippers, distillation, extraction, etc.
• Allow intermediate condensers, reboilers, side streams, side strippers, etc.
With good estimate of reflux ratio and number of trays, convergence is fast
Toluene in bottoms
• Poor initialization
• Use shortcut column to confirm R > Rmin, N > Nmin
• Remember stage efficiency is typically 0.7 or less
• Remember to allow for some pressure drop across the trays
• Modeling reactors
• Modeling separations
• User models
• Optimization
Enter code
• Modeling reactors
• Modeling separations
• User models
• Optimization
Feed A 2
4
Recycle
of B
Reactor 6
Lights
5
7 8
Product
Estimate Update
Feed B 1
Feed A 2
4
3a 3b
Recycle
of B
Reactor 6
Lights
5
7 8
Product
Feed B 1
3
Feed A 2
4
Recycle
of B
Reactor 6
Lights
5a 5b
7 8
Product
Make-up
gas Purge
Feed
Reactor
Product
• No purge, no converge!
• Modeling reactors
• Modeling separations
• User models
• Optimization