Professional Documents
Culture Documents
By
CSIR-IIP Modelling & Simulation Group
Introduction
• What is process simulation? – representative modelling/mimic of process
• Aspen Plus
• Developer:Aspen Tech
• Commercial
• Hysys
• Developer:Aspen Tech
• Commercial
• Pro/II
• Developer:AVEVA SimSci
• Commercial
• ChemCAD
• Developer:Chemstations Inc
• Commercial
• UniSim
• Developer:Honeywell
• Commercial
• DWSIM
• Developer:Daniel Medeiros
• Open source
Introduction to DWSIM
• DWSIM is a free and open source Chemical Process Simulator
• Runs on Windows, Linux and macOS
• Features set comparable to commercial simulators
• You can see how calculations are done
• Solution Inspector (new in v5.2 onwards)
Installation of DWSIM on Windows
• Download DWSIM.
Scroll
Down
Wait for 5-10 sec till download link is generated
Save the file to PC
After downloading to start installation double click on
‘DWSIM_bin_v58u6_setup_win7win8win10_64bit’ Application(.exe) file
Select language for installation and click ‘ok’
• Read and click on ‘I Agree’ to agree GNU General Public License terms and
conditions.
• The GNU general Public License is a free license for software and other kind of work
Select all the setups u want to install
Browse and select destination for installation
Click ‘Install’ to start installation
Wait for installation
Click ‘Next’ when installation is completed.
• Click ‘Finish’
Introduction to interface
• First window that appears on opening DWSIM.
Introduction to interface
• Click on New Steady State Simulation to start simulation
Introduction to interface
• Click on next to start simulation.
Introduction to interface
• Search the compounds required for process & check the box to add to simulation.
Introduction to interface
• All the added compounds appear in the list. After adding all compounds click on Next
Introduction to interface
• New window to add property packages appear. Double clicking on property package to add to
simulation. All added property packages appear in the right window. Click next to continue.
Introduction to interface
• Select suitable system of units for simulation and click on Finish
Introduction to interface
• Blank simulation window appears.
Mixing Stream
• Problem Statement
At present 90 wt% pure ethanol is available at room temperature 25 °C. For a process 70 wt% is
required at 60 °C at flow rate of 100kg/hr.
Mixing Stream
• Problem Statement
At present 90 wt% pure ethanol is available at room temperature 25 °C. For a process 70 wt% is
required at 60 °C at flow rate of 100kg/hr.
Mass balance
E+W=100
Compositions
Temperature, Pressure, Flowrate
• Drag and drop Mixer to simulation window.
• Click on mixer and connect inlet an outlet streams.
Inlet Connection
Outlet Connection
Stream Heater
• PROBLEM STATEMENT
𝜀 0.0015
= = 0.05
𝐷 0.02664
Centrifugal Pump
𝜀
= 0.05
𝐷
𝑓 = 0.075
𝑅𝑒 = 7.4831 ∗ 104
Centrifugal Pump
𝟏𝟕𝟎𝟖
𝑷= = 𝟐𝟖𝟒𝟕 𝑾
𝟎. 𝟔
Centrifugal Pump
• Mixture of Methanol(10 mole %) and carbon dioxide(90 mole %) at 50 bar and 273 K is flashed
in flash drum operating at 5 bar and 283 K.
• Add and specify material stream composition, temperature and pressure
• Add Gas-Liquid separator from Separator/Tank tab
• Add outlet streams and energy streams to separator tank.
• Specify calculation parameters, Temperature and pressure of separator tank.
Flash drum examples
• Equimolar mixture of benzene and toluene at 5 bar and 423 K is flashed in flash drum
operating at atmospheric pressure.
• Add and specify feed stream composition, temperature and pressure.
• Add a pressure reducing valve and set outlet pressure as atmospheric pressure.
• Add Gas-Liquid separator from Separator/Tank tab
• Connect inlet stream and add outlet streams and energy streams to separator tank.
• Specify energy stream duty as 0 kW.
Flash drum examples
Heat Exchanger
• Problem Statement
• Design a shell and tube heat exchanger to sub-cool condensate from a methanol condenser
from 95 °C to 40 °C.
Flow-rate of methanol 100,000 kg/h. Brackish water will be used as the coolant, with a
temperature rise from 25 °C to 40 °C.
Heat Exchanger
95 − 40 − 40 − 25
𝛥𝑇𝑙𝑚 = = 30.79°𝐶
95 − 40
ln
40 − 25
Heat Exchanger
𝑅 = 3.67
0.85
𝑆 = 0.21
Heat Exchanger
600 W/m2 ºC
Heat Exchanger
U= 600 W/m2 C
Q=UAΔTm
4340∗103
𝐴𝑟𝑒𝑎 = = 278m2
26∗600
Number of tubes=278/0.303=917.49≈918
𝐷𝑠 894 𝐺𝑠 868 𝑚
𝐵𝑎𝑓𝑓𝑙𝑒 𝑠𝑝𝑎𝑐𝑖𝑛𝑔 = 𝑙𝐵 = = = 178 𝑚𝑚 𝐿𝑖𝑛𝑒𝑎𝑟 𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦 = 𝑢𝑠 = = = 1.16
5 5 𝜌 750 𝑠
Shell side pressure drop 𝐺𝑠 𝑑𝑒
𝑅𝑒 = = 36762
𝜇
𝑝−𝑑 Viscosity of methanol=0.34*10-3 Ns/m2
𝐴= ∗ 𝐷𝑠 ∗ 𝐵𝑎𝑓𝑓𝑙𝑒𝑠𝑝𝑎𝑐𝑖𝑛𝑔 = 0.032 𝑚2
𝑝
From the fig. for Re=36762
𝑝 𝜋 𝑑2
4 2 ∗ 0.87𝑝 − 2 4 1.10 2 𝐽𝑓 = 4 ∗ 10−2
𝑑𝑒 = = 𝑝 − 0.917𝑑 2 = 14.4 𝑚𝑚
𝜋𝑑 𝑑
2 Neglect viscosity correction
𝑊 27.78 𝑘𝑔 𝐷𝑠 𝐿 𝜌𝑢𝑠2
𝐺𝑠 = = = 868 2 ∆𝑃 = 8𝐽𝑓
𝐴 0.032 𝑚 𝑠 𝑑𝑒 𝑙𝐵 2
• Problem Statement
A mixture of benzene and toluene containing 40 mole percent benzene is to be separated
to give a product containing 96 mole percent benzene at the top, and a bottom product
containing not more than 4 mole percent benzene. The feed enters the column at its boiling
point.
• Add a material stream and specify its conditions and composition
• Add a Shortcut Distillation column
• Connect feed distillate and residue streams.
Also connect energy streams to reboiler and condenser
• Specify type of condenser, light and heavy component and required compositions of
distillate and residue.
Distillation using shortcut column
• Define column general specifications like maximum number of stages (calculated using
shortcut column)
• In column specifications we also need to give condenser specifications like pressure,
pressure drop and type of condenser total condenser, partial condenser, total reflux.
Distillation using Rigorous distillation column
• Problem Statement
• Mixture of Benzene, toluene and xylene is to be separated.
feed composition- Feed at boiling point
Benzene 0.4
Toluene 0.3
M-xylene 0.1
O-xylene 0.1
P-xylene 0.1
Ternary distillation column
• 99% pure benzene is required in distillate and only 0.01% Should go in bottom stream.
• Calculating actual number of stages, feed stage, minimum and maximum reflux ratio using shortcut column.
• 99% pure Toluene is required in distillate and only 0.01% Should go in bottom stream.
• Calculating actual number of stages, feed stage, minimum and maximum reflux ratio using shortcut column.
Number of stages 20
Number of stages 20
Feed stage 9 Feed stage 9
40
Benzene 0.4 99.97 37.99 03.24 2.01 06.71 2.01 2.06E-06 6.59E-07
30
Toluene 0.3 00.02 0.0079 48.36 29.98 93.23 27.96 6.305 2.01
10
M-xylene 0.1 1.70E-06 6.46E-07 16.12 9.99 0.02 0.008 31.22 9.99
10
O-xylene 0.1 2.45E-07 9.33E-08 16.12 9.99 7.78E-03 0.002 31.24 9.99
10
P-xylene 0.1 1.24E-06 4.72E-07 16.12 9.99 0.02 0.007 31.22 9.99
Separation of Refinery Light Ends
• Light ends from refinery are to be separated. Purity of product must be more than 99%
• The stream composition is as follows
Mole
Component
Fraction
Ethane 0.0005
Propane 0.3321
Isobutane 0.3583
N-butane 0.1543
Isopentane 0.1030
N-pentane 0.0518
Separation of Refinery Light Ends
• Three distillation columns are required for separating propane, pentane, n-butane and i-butane.
• Add three ChemSep columns and connect inlet and outlet streams as shown in figure.
Depropanizer
Give number of stages and feed stage.
Give operating top and bottom pressure of column
Give Top and Bottom specifications
Similarly specify second and third column
Debutanizer
Ethane 0.0005 6.0165 0.1506% 6.0168 2.8E-18 5.20E-17 1.65E-11 7.22E-10 1.95E-15 3.54E-14
Propane 0.3321 3996.159 99.83% 3987.1 4.8E-9 8.99E-08 0.18% 8.0394 1.38E-15 2.50E-14
i-Butane 0.1543 1856.692 3.44E-05 0.39935 0.01% 0.2035 97.81% 4274 2% 36.29
N-Butane 0.3583 4311.424 0.01% 0.00137 0.02% 3.708 2% 87.4040 97.28% 1765
Pentane 0.1548 1862.708 4.83E-12 1.93E-10 99.81 1850.47 1.46E-14 6.40E-13 7.13E-01 1.29E+01
Equilibrium Reactor
Select Base
Component
Reaction
Stoichiometry
Displays OK when
stoichiometry is
balanced
Reaction
phase
Click OK
• After successfully adding reaction to simulation it will be displayed in Chemical Reactions
window.
• Heater and Cooler specifications
• Distillation column specifications
• Feed to distillation columns
Column 1 Column 2
Minimum Reflux Ratio 0.0954447 Minimum Reflux Ratio 0.836618
Minimum Number of Stages 2.34385 Minimum Number of Stages 6.74419
Actual Number of Stages 10.7968 Actual Number of Stages 11.8305
Optimal Feed Stage 5.37673 Optimal Feed Stage 5.33176
Stripping Liquid 974.69 mol/s Stripping Liquid 1297 mol/s
Rectify Liquid 50.018 mol/s Rectify Liquid 478.782 mol/s
Stripping Vapor 155.656 mol/s Stripping Vapor 797.152 mol/s
Rectify Vapor 550.198 mol/s Rectify Vapor 797.971 mol/s
Condenser Duty 12503.7 kW Condenser Duty 28742.5 kW
Reboiler Duty 5039.5 kW Reboiler Duty 28973.2 kW
Feed (1000 mol/s) D1(500 mol/s) B1(820 mol/s) D2(319 mol/s) B2(500 mol/s)
DME 0 98.97 1.00 2.57 6.66E-10
Methanol 100 1.00 38.19 96.43 1.00
Water 0 0.03 60.81 1.00 99.00
Conversion Reactor
• Combustion of methane using conversion reactor. Pure methane and air is available at room
temperature.
Reaction :-
Methane Stream
Air Stream
Add conversion reaction to simulation
• Add conversion reactor connect inlet and outlet streams and energy stream to
reactor.
• Run the simulation.
• Result :-
Plug Flow Reactor
• Steam reforming process :-
For the above reaction equation for rate (r) is determined experimentally
Numerator
240100
4.22 ∗ 1015 𝑒𝑥𝑝 − 𝑃13 𝑃2
8.314 ∗ 𝑇 𝑅1𝑅2 −
𝑃12.5 27106
𝑒𝑥𝑝 30.42 −
𝑟= 𝑇
2
70650 38280 88680 𝑅2 82900
1 + 8.23 ∗ 10−5 𝑒𝑥𝑝 𝑃2 + 6.65 ∗ 10−4 𝑒𝑥𝑝 𝑅1 + 1.77 ∗ 105 𝑒𝑥𝑝 − + 6.12 ∗ 10−9 𝑒𝑥𝑝 𝑃
8.314𝑇 8.314𝑇 8.314𝑇 𝑃1 8.314𝑇 1
Expression Variables: Temperature (T) in K, reactant amount (R1, R2) and product
amount (P1, P2) in the selected amount unit, reaction rate (r) in the selected velocity
unit. Denominator
• Add material streams.
• Adding heterogeneous catalytic reaction to simulation.
Numerator
Denominator
• Add a Plug Flow Reactor.
• Result :-
Concentration profile
Reactive Distillation
Reaction :
r = k*C(Isopropanol)
rʹ = kʹ*C(Isopropyl Ac.)
Methyl Acetate Isopropanol Isopropyl Acetate Methanol
Forward reaction:
It is first order reaction with respect to Isopropyl Alcohol
k = A exp(-E/RT)
A = 461 sec-1 E = 5600 J/mol