Professional Documents
Culture Documents
Exercise D5: Separate
Exercise D5: Separate
Copyright © IA Karimi 1
Each Process has Physicochemical Operations
• Reaction
• Heating
• Cooling
• ?
• ?
• ?
• ?
• ?
• ?
• ?
Copyright © IA Karimi 2
Example 1
Copyright © IA Karimi 3
Example 2
Copyright © IA Karimi 4
Example 3
Copyright © IA Karimi 5
Example 4
Copyright © IA Karimi 6
Example 5
Copyright © IA Karimi 7
Example 6
Copyright © IA Karimi 8
Example 7
Hydrogen Feed
(100% pure, 3 MPa, 200 C)
Nitrogen Feed
(100% pure, 1 MPa, 100 C)
Copyright © IA Karimi 10
Install Reaction, Connect, & Fix Conditions
Hydrogen Feed
(100% pure,
3 MPa, 200 C)
Reaction Ammonia
20 MPa N2 + 3H2 2NH3
20 MPa
P1? P2? Product
20 MPa, adiabatic
25% Conversion (20 MPa)
Nitrogen Feed
(100% pure, Single feed, so only
1 MPa, 100 C) one block P1 & P2
Copyright © IA Karimi 11
Identify State Changes across P1
Hydrogen Feed
(100% pure,
3 MPa, 200 C)
Reaction Ammonia
20 MPa N2 + 3H2 2NH3
P1? Product
20 MPa, adiabatic
25% Conversion (20 MPa)
Nitrogen Feed
(100% pure, Single
1 MPa, 100 C) Stoichiometric
feed
Copyright © IA Karimi 12
Install Mix, Connect, & Fix Conditions
Hydrogen Feed
(100% pure, P3?
3 MPa, 200 C)
A
20 MPa Reaction Ammonia
Mix C N2 + 3H2 2NH3 Product
P? T?
P5? 20 MPa, adiabatic
25% Conversion (20 MPa)
Nitrogen Feed B
(100% pure, P4?
1 MPa, 100 C)
Copyright © IA Karimi 13
Decide Pressures at A & B
ΔP = 0 ΔP = 0
A (3 MPa) B (1 MPa)
●
C (20 MPa)
Copyright © IA Karimi 15
Fix Phases (Temperature) at A & B, thus C
Hydrogen Feed Gas @20 MPa
(100% pure, P3?
3 MPa, 200 C)
Reaction Ammonia
Mix 20 MPa N2 + 3H2 2NH3 Product
(20 Mpa) 20 MPa, adiabatic
25% Conversion (20 MPa)
Nitrogen Feed
(100% pure, P4?
1 MPa, 100 C) Gas @20 MPa
Consider P4.
s-change? c-change? f-change? P-change?
What operation in P4?
Copyright © IA Karimi 16
Replace P4 by Compress
Hydrogen Feed
(100% pure, P3?
3 MPa, 200 C)
20 MPa Reaction Ammonia
Mix 20 MPa N2 + 3H2 2NH3 Product
(20 Mpa) 20 MPa, adiabatic
25% Conversion (20 MPa)
20 MPa
Nitrogen Feed
(100% pure, Compress
1 MPa, 100 C)
Consider P3.
s-change? c-change? f-change? P-change?
What operation in P3?
Copyright © IA Karimi 17
Replace P3 by Compress
Hydrogen Feed
(100% pure, Compress
3 MPa, 200 C)
20 MPa Reaction Ammonia
Mix 20 MPa N2 + 3H2 2NH3 Product
(20 Mpa) 20 MPa, adiabatic
25% Conversion (20 MPa)
20 MPa
Nitrogen Feed
(100% pure, Compress
1 MPa, 100 C)
Copyright © IA Karimi 18
PFD for Ammonia Process
Crude
Feed H2 Ammonia
(3 MPa, 200 C)
Product
??
Feed N2
(1 MPa, 100 C)
??
Copyright © IA Karimi 19
General Process Synthesis Problem
Given:
PFD?
Given:
Raw Materials Final Products
Stream Variables Stream Variables
P, T, F, x, y, f, … P, T, F, x, y, f, …
Copyright © IA Karimi 20
Algorithm for Process Synthesis: PFD via BFD
Select an unknown BFD box.
If no unknown box, then DONE.
Reaction reaches equilibrium (zero net reaction rate) before exit (Reactor is equilibrium-controlled).
Will reaction conversion increase, if we increase reactor length?
Reaction cannot reach equilibrium. Reaction rate > 0 at exit (Reactor is rate-controlled).
Will reaction conversion increase, if we increase reactor length? 24
Copyright © IA Karimi
Algorithm for Selecting a Hysys Reactor
Do you know the reactions and stoichiometries?
No Yes
No Yes No
Yes No
Gibbs Yield Equilibrium
Reactor. Reactor Reactor PFR CSTR
Copyright © IA Karimi 25
Simulate Ammonia Synthesis Process
• Components? FP?
What type of components? Is any polar?
Do we have a liquid phase? Ideal gases?
No need for COMThermo: EOS is good for both liquid and vapor.
Use SRK (Suave-Redlich-Kwong) from Hysys databank.
• Which Hysys reactor will you use? What RM?
Copyright © IA Karimi 26
Add Reaction using RM = Conversion
Copyright © IA Karimi 27
Conversion Model – Stoichiometry & Data
MUST Add to FP
at the end.
Reaction Phase
Copyright © IA Karimi 28
Simulate Ammonia Synthesis
• Enter simulation.
• Draw stream A (N2)
Set composition, P = 1 MPa, T = 100 C, and flow = 100 kgmol/h.
• Draw stream B (H2).
Set composition, P = 3 MPa, and T = 200 C.
• How about flow of B? Do we know?
Recall stoichiometric feed?
• Should we enter it manually?
• Can we get Hysys to do it automatically?
Copyright © IA Karimi 29
Set
• Logical module with no physical operation
Acts like a ratio controller with offset
• Fixes a “Target Variable” as a linear function of a “Source”
automatically.
Target Variable = Multiplier * Source + Offset
Multiplier and offset are known parameters.
Copyright © IA Karimi 30
Set – Target/Source Objects & Variables
Copyright © IA Karimi 31
Set - Parameters
Copyright © IA Karimi 32
Revise BFD. Add Blocks in Hysys.
Pure H2
Compress
(3 MPa, 200 C)
Set
Product
Mix React (20 MPa)
Pure N2
Compress
(1 MPa, 100 C)
Performance curves
from vendor.
Why warning?
Copyright © IA Karimi 34
Install Next Block in Flow Sequence: Mixer
• Install a Mixer with A1 and B1 as inputs, and C as output.
• Mixer mixes multiple material/energy streams adiabatically into
one stream.
• How does Hysys compute pressure for Mixer output (C here)?
It assumes zero pressure drop.
It assigns pressure automatically using two options.
Option 1: Equalize All (This sets all input P’s to outlet P).
Option 2: Set Outlet to Lowest Inlet.
Copyright © IA Karimi 35
Install Next Block: Conversion Reactor
• Install Conversion reactor from Reactor block.
• How to make it adiabatic?
• What is the temperature of ammonia product?
Is it higher or lower than feed? Why?
• How to achieve an exit temperature of 450 C?
• What if we did not know reactor conversion?
Use reactor selection algorithm: Reactor? RM? What did we assume?
• Equilibrium reactor needs a reaction with RM = Equilibrium!
What to do?
Copyright © IA Karimi 36
Add Reaction using RM = Equilibrium
Ammonia synthesis reaction
1. Properties
2. Reactions
3. Set-1
Copyright © IA Karimi 37
Equilibrium Model - Stoichiometry
Double Click
Stoichiometry coefficients
Units of concentration
must be atm for partial
pressure, if Gibbs free energy
is used.)
Balance error must be zero!
Heat of reaction
Copyright © IA Karimi 38
Equilibrium Model - Keq
B
ln( K eq ) A C ln(T ) DT ET 2 FT 3 GT 4 HT 5
T
(T in K)
First, add to FP
Copyright © IA Karimi 40
Equilibrium Reactor - Connections
Specify
Input
Streams
Select
Reaction Set
Needs duty View
Reaction Details
Copyright © IA Karimi 42
Equilibrium Reactor - Design Parameters
Specify ΔP or
outlet pressure Hysys is done!
Specify duty or outlet (reactor) temperature (Assume 450 C)
Copyright © IA Karimi 43
Equilibrium Reactor – Results
Copyright © IA Karimi 45
Adjust
Adjusted Variable
• Logical module (Feedback Controller)
• Manipulate an “Adjusted Variable” to
achieve a “Specified Target Value”
for a “Target Variable”.
Variables can be stream conditions or
equipment parameters.
Manipulate temperature or pressure to
achieve a desired reactor conversion.
• What is Adjusted Variable?
Target Variable
Target Value = 1 L/min • What is Target Variable?
• What is Target Value?
“Illusion” on Blackpool Pleasure
Beach, England
Source: http://www.flickr.com/photos/59303791@N00/2316207351/
Copyright © IA Karimi 46
Recommended Procedure for Adjust - 1
• Guess a value for Adjusted Variable.
Is BFD converged? Anything red/yellow/cyan/purple?
Are results reasonable? (e.g. no conversion)
If so, then check BFD and ALL inputs.
Do NOT proceed further, until BFD is working correctly.
• Vary Adjusted Variable manually to find a range [Minimum,
Maximum] for the desired answer (to achieve target value).
The smaller the range, the better for Adjust.
• Set Adjusted Variable ~ 0.5*(Minimum + Maximum).
• Drag & install Adjust in BFD.
Select Target and Adjusted Variables, specify target value.
Copyright © IA Karimi 47
Adjust - Connections
2. Select Target.
Ways to specify
a target value
Copyright © IA Karimi 48
Recommended Procedure for Adjust - 2
• Open Parameters, even if Adjust has converged.
Decide & set tolerance (desired accuracy for Target Value).
Conversion within 0.001%, temperature within 0.01 C, etc.
Set step size = 0.1*(Maximum–Minimum).
Specify Minimum and Maximum.
Click Start to begin iterations, if needed, or change the value of
Adjusted variable slightly to restart Adjust.
[Minimum, Maximum]
Range of adjusted variable, which
surely includes the correct answer
(Use trial & error to identify range.)
Concentration in the
rate expression.
Units of concentration.
Orders of reactions
What is the rate expression?
Copyright © IA Karimi 53
Map Expression to RM Form for Parameters
𝑻𝒐𝒍𝒖𝒆𝒏𝒆 𝑯𝟐 → 𝑩𝒆𝒏𝒛𝒆𝒏𝒆 𝑴𝒆𝒕𝒉𝒂𝒏𝒆 T = Toluene
H = Hydrogen
𝒍𝒃𝒎𝒐𝒍 𝟓𝟎𝟗𝟎𝟔 𝒌𝒄𝒂𝒍/𝒌𝒈𝒎𝒐𝒍 T = temperature (K)
𝟏/𝟐
𝒓𝟏 𝟑. 𝟔𝟖𝟓𝟖 𝟏𝟎𝟕 𝒆𝒙𝒑 𝒑𝑻 𝒑𝑯 𝒑 = partial pressure (psia)
𝒎𝒊𝒏 · 𝒇𝒕𝟑 𝑹𝑻
Which RM has the above rate form? Which parts are 𝒌? 𝒇 𝒃𝒂𝒔𝒊𝒔 ? 𝒌 ? 𝒇 𝒃𝒂𝒔𝒊𝒔 ?
What values are 𝑨? 𝒂? 𝒃? 𝒄? 𝒂 ? 𝑬?
2 𝑩𝒆𝒏𝒛𝒆𝒏𝒆 ↔ 𝑫𝒊𝒑𝒉𝒆𝒏𝒚𝒍 𝑯𝟐
𝒌𝒄𝒂𝒍 𝒌𝒄𝒂𝒍
𝒍𝒃𝒎𝒐𝒍 𝟓𝟎𝟗𝟎𝟔 𝟓𝟎𝟗𝟎𝟔
𝒌𝒈𝒎𝒐𝒍 𝟐 𝒌𝒈𝒎𝒐𝒍
𝒓𝟐 𝟓. 𝟗𝟖𝟕 𝟏𝟎𝟒 𝒆𝒙𝒑 𝒑𝑩 𝟐. 𝟓𝟓𝟑 𝟏𝟎𝟓 𝒆𝒙𝒑 𝒑𝑫 𝒑𝑯
𝒎𝒊𝒏 · 𝒇𝒕𝟑 𝑹𝑻 𝑹𝑻
B = Benzene, D = Diphenyl, T = temperature (K), 𝒑 = partial pressure (psia)
Which RM has the above rate form? Which parts are 𝒌? 𝒇 𝒃𝒂𝒔𝒊𝒔 ? 𝒌 ? 𝒇 𝒃𝒂𝒔𝒊𝒔 ?
What values are 𝑨? 𝑨 ? 𝒂? 𝒃? 𝒄? 𝒂 ? 𝒃 ? 𝒄? 𝑬?
Copyright © IA Karimi 54