Professional Documents
Culture Documents
ProMax Level IIAdvanced Simulation Methods Agenda ............................................... iv Customizing ProMax ............................................................................................................. 1 Modifying Options.xml File ............................................................................................ 1 Exercise 1: Add New Property to Process Streams ................................................... 2 Exercise 2: Add New Option in Drop Down Menu ................................................... 2 Exercise 3: New Tool Tip for Process Streams ......................................................... 2 Exercise 4: Create a Custom Unit Set ........................................................................ 2 Modifying Column Hardware.xml File ........................................................................... 3 Modifying Pipe Segment Data.xml File .......................................................................... 4 Creating Personalized Watermarks .................................................................................. 5 Exercise 5: Changing the ProMax Watermark .......................................................... 5 Property Stencils and Examples............................................................................................. 6 Recycles/Solvers and Prioritization ..................................................................................... 11 Exercise 6: Simple Example Demonstrating Prioritization Concept ....................... 12 Exercise 7: Prioritization of a Large Multi-Flowsheet Plant ................................... 13 User Value Sets .................................................................................................................... 14 Defining a User Value ................................................................................................... 14 Displaying a User Value in a Property Table ................................................................ 15 Modifying or Creating a Report for the User Value Set ................................................ 15 User Value Set Problems: .............................................................................................. 16 Exercise 8: Steam Rate Property User Value .......................................................... 16 Exercise 9: Tail Gas Ratio User Value .................................................................... 17 Exercise 10: Grains per 100 SCF User Value .......................................................... 17 Heat Exchanger Rating ........................................................................................................ 18 Exercise 11: Crude Oil Shell & Tube Exchanger .................................................... 18 Exercise 12: Rating a Multi-Sided Compact Heat Exchanger ................................. 20 ProMax Calculator Methods ................................................................................................ 22 Use of JScript in Simple Solvers ................................................................................... 22 Exercise 13: DEPG Acid Gas Removal with JScript Simple Solver ....................... 23 Exercise 14: MDEA Sweetening with JScript Simple Solver ................................. 24 Use of Advanced Calculators......................................................................................... 25 Creating an Advanced Calculator ............................................................................ 26 Accessing and Specifying the Advanced Calculator ............................................... 26 Advanced Specifiers ...................................................................................................... 27 Complex Mixed Refrigerant Plant Example ............................................................ 27 Exercise 15: XCHG-100 Hot End Approach Advanced Specifier .................... 28 Exercise 16: XCHG-101 Advanced Specifier ................................................... 29 Exercise 17: InterStage Pressure Advanced Specifier ....................................... 29 Advanced Solvers .......................................................................................................... 30 Exercise 18: Sulfur Hydrogenation Reactor Advanced Solver................................ 30
Exercise 19: Crude Oil Exchanger Advanced Solver .............................................. 32 Advanced Calculator Using Excel ................................................................................. 33 Exercise 20: Example Problem with Excel Calculator ............................................ 34 Advanced Column Configurations ...................................................................................... 35 Column Set-up ............................................................................................................... 35 Column Execution and Convergence............................................................................. 36 Column Fails to Execute .......................................................................................... 36 Column Fails to Converge ....................................................................................... 37 Exercise 21: Demonstration of Reboiler Options .......................................................... 39 Exercise 22: Sour Water Stripper with Pump-around and Thermosyphon Reboiler ..... 41 Exercise 23: Glycol Unit with Attached Stahl Column ................................................. 42 Exercise 24: Stabilizer with Heavy Liquid Draw .......................................................... 43 Reactors................................................................................................................................ 44 General Review of Chemical Reactions ........................................................................ 44 Reaction Sets .................................................................................................................. 46 General Reaction Information.................................................................................. 46 Equilibrium Reactions ............................................................................................. 46 Conversion Reactions .............................................................................................. 47 Kinetic Reactions ..................................................................................................... 47 Exercise 25: Defining a Simple Reaction Set .......................................................... 48 Reactor Blocks in ProMax ............................................................................................. 49 Gibbs Minimization Reactors .................................................................................. 50 Exercise 26: Incinerator/Fired-Boiler, Gibbs Minimization Reactor ................ 51 Equilibrium Reactor Blocks in ProMax ................................................................... 52 Exercise 27: Steam Methane Reforming (SMR), Equilibrium Reactor ............ 53 Exercise 28: COS Hydrolysis in an Equilibrium Reactor .................................. 54 Conversion Reactor Blocks in ProMax.................................................................... 55 Exercise 29: HF Alkylation using a Conversion Reactor .................................. 56 Exercise 30: Defining a Catalytic Reaction Set ................................................. 57 Plug Flow Reactor Blocks in ProMax ..................................................................... 58 Exercise 31: Water Shift Reactors, Plug Flow Reactor ..................................... 59 Stirred Tank Reactor Blocks in ProMax .................................................................. 60 Exercise 32: Allyl Chloride Production (CSTR and PFR) ................................ 61
ii
iii
Customizing ProMax
ProMax offers many different methods to customize it to your particular needs and usages. Several XML files are available to modify many options of ProMax, personalized stencils may be created allowing for easy drag-and-drop placement of complex units, watermarks can be customized, and binary interaction parameters can be calculated and modified based on any additional information you may have available.
- <Hardware Name="User Defined Structured Packing"> <Item Name="pmxStructuredPackingTypesEnum">pmxStructPackUserDefined</Item> <Item Name="pmxPackingMaterialTypesEnum">pmxPackingMaterialMetal</Item> <Item Name="pmxStructuredPackingFloodModelEnum"> pmxStructuredPackFloodModelBilletSchultes</Item> <Item Name="pmxStructuredPackingSurfaceArea">250</Item> <Item Name="pmxStructuredPackingVoidFraction">0.988</Item> <Item Name="Billet Cfl">2.464</Item> <Item Name="Billet Cp">0.292</Item> <Item Name="Billet Ch">0.554</Item> <Item Name="Billet CL">1.068</Item> <Item Name="Billet Cv">0.406</Item>
By default the file location is: %AllUsersProfile%\Application Data\Bryan Research & Engineering Inc\ProMax3\Data
Warning: Always back-up your original Column Hardware.xml file before modifying
By default the file location is: %AllUsersProfile%\Application Data\Bryan Research & Engineering Inc\ProMax3\Data
Warning: Always back-up your original Pipe Segment Data.xml file before modifying
Sum I/O Property This Property Calculator example sums a given property for all inlet or outlet streams. Select the target stream property of a stream of the desired type (inlet or outlet) in the Edit Variable dialog. Combining a new Sum I/O Property with a Property Connector that the moniker offset selected and connects to the desired stream type (inlet or outlet) produces the same effect. API Vapor Relief Area This Property Calculator example calculates the API Relief Valve Area for a vapor stream. This should be used as an example only; please use our stream analysis for Relief Valve sizing. API Steam Relief Area The steam-only (vent to atmosphere) version of API relief valve sizing, utilizes the same inputs as above with the exception of maximum backpressure. This should be used as an example only; please use our stream analysis for Relief Valve sizing. Data Exchange This Property Calculator example exchanges a ProMax property between ProMax and an embedded Excel workbook in a bidirectional manner. Selecting cells with the mouse can update the input box. Solver/Specifier Example This Property Calculator example is a shell that with appropriate VBScript edits supplies a value to a script-based ProMax Calculator. 1. Create a new ProMax calculator for the input variable you want to control. You will enter the Measured Variables in the Stencil dialog rather than on the calculator dialog. 2. In the Property Calculator Edit dialog, modify the moniker of CalcSource to reference the target ProMax Calculator Source. 3. Add Measured Variables to the grid that reference the required properties; then press Edit Script Function. 4. Use the added measured variables to design the Specifier value function, or the Solver residual error function and place this formula in the VBScript in place of the number 1 next to the comment Assign value to calculator. Cn+GPM Solver Example This Property Calculator/Connector example calculates a stream Cn+GPM to drive a script based ProMax Solver. The Process stream for the Cn+GPM calculation is selected by connecting the unconnected end of the Property Connector to the target stream.
Cn+ Flow/Frac This Property Calculator example displays the flow or fraction sum of Cn+ compounds in a process stream. This has a similar behavior to the Cn+GPM calculation but has a user selectable composition basis accessible through the Edit dialog. Flow Duplicator Example This Property Calculator transfers a process stream composition and sets the flow from one connected stream to the other. The Property connector with the double arrow connects to the reference stream, while the other connector designates the target stream. Solver priority, flow basis and flow specification are set via the Edit dialog. Only when a valid destination stream is connected can the flow specification be set (via the Edit dialog or direct entry in the shape). UA Wizard This Property Calculator example offers the user the capability to control heat exchanger performance. UA, minimum approach, LMTD and %OD may be targeted by controlling outlet stream conditions or unit duty. The tool queries the user for key decisions and automatically sets up a Simple ProMax Calculator when connected to a heat-integrated exchanger or separator. Elemental Flow Example This Property Calculator example sums the flow of a given element in a process stream. The element is defined by symbol in variable "TargetElement". A Companion element, assigned to variable "CompanionElement", restricts the molecules included in the sum. For Example, the organic carbon flow is calculated by setting the target element to C and the companion element to H. Clearing the companion element (or setting it to ) removes this restriction. Copy Stream Conditions This example transfers a process streams conditions from one connected stream to the other. This differs from the Flow Duplicator Example in that the flow spec is set from the source stream. The destination stream must be completely empty before connecting to this Property Calculator. This shape transfers molar enthalpy, pressure and component mole fraction automatically while a simple ProMax solver is used to set the destinations molar flow. [Cn+] Solver This example sums the flow or fraction of compounds containing n or more carbon atoms in a process stream to drive a script based ProMax Solver. The predefined Simple solver is linked to the shape via the dialog that appears on drop or double clicks.
Pipeline Mach Example Connect this example to a pipeline to display the maximum fluid Mach number. If a user set flow exists on the inlet or outlet process streams, a script based ProMax Solver is automatically setup to drive the maximum fluid Mach number to the value defined in TargetMach. Flow Multiplier Example This example transfers a process streams composition, temperature, and pressure from one connected stream to the other. This stencil then allows for the connected stream to have a multiple of the flow rate set by the original stream. The default is 2, doubling the flow rate. Orifice Plate The Orifice Plate may be used to simulate either an orifice plate or a nozzle/venturi, and is capable of solving for outlet pressure, inlet pressure, or mass flow. Membrane The membrane block simulates an asynchronous vapor phase separation using permeability data. This depends on the type and thickness of polymer used; patent, literature and vendor references should be used for the most appropriate values. This model operates irrespective of equipment geometry, and can provide separation based on a fixed area, or find required area for a desired separation. Component GPM This example displays the GPM for a component in a process stream (where GPM is Gallons Per MSCF). Salt Example This shape calculates the amounts of the compounds whose ions comprise a salt and the amount of water required to obtain a specified weight percent salt. The required amounts of the compounds are automatically added to a selected stream. Chart The Chart tool allows the user to generate simple plots such as a column temperature profile, or temperature by increment across an exchanger. Date Example Dragging this shape to the flowsheet automatically displays the Project and flowsheet names, page number, and dates created, saved, modified and solved. Phase Envelope Example This example is a modification of the Chart tool, and displays the phase diagram for a specified stream, with an X marking stream conditions.
Heat Transfer Example This example is a modification of the Chart tool, and displays the heat transfer curve for a specified exchanger. Sum Component Flow/Frac. This sums the flow or fraction of compounds that are defined by an array of names. Predefined groups include amines, BETX, mercaptans and Sx. Oil/Water Emulsion Example This example modifies the viscosity and specific gravity or an existing Single Oil to mimic an oil/water emulsion. The oil to be modified should be defined before dragging the shape to the flowsheet. Depressurization Example This will estimate an orifice diameter required to depressurize a vessel to a given pressure in a given amount of time. You will specify the vessel volume, vent pipe diameter, initial pressure, downstream pressure, target pressure, time to reach pressure, heat input into the vessel, etc P/H Diagram This example is a modification of the Chart tool, and displays the pressure-enthalpy curve for a specified stream. Inline Flow Multiplier This transfers a process stream conditions and composition from one stream to another, with an option to multiply the flow rate by a userdefined multiple. The inlet stream should be connected to the small inlet arrow on the block. Not all conditions must be transferred. HTRI Data Transfer This shape is designed to transfer data directly from a ProMax heat transfer unit operation to an HTRI (Heat Transfer Research Inc._ input file. A licensed copy of the HTRI software must be installed on the computer to use this tool. Inlet and outlet conditions for heat transfer, as well as thermodynamic property data required by HTRI are exported. Block Calculator Designer This tool allows the user to create a ProMax shape with associated preset properties, User Values and/or Calculators from an existing ProMax shape. This shape can be saved in a new shape stencil for later use. Shape Converter This shape allows the user to convert an ordinary Visio shape into a ProMax block. The new block can be saved for future use.
10
11
12
13
14
15
17
310C
Inlet Conditions: Temperature 150C Pressure 2.75 bar Mass Flow 130,000 kg/hr
Additional Process Information: The composition of each feed will be pure Lube or Crude oil. Assume a 0.3 bar pressure drop on each side of each exchanger. The crude oil is split equally to E3 and E4. Use the following temperature conditions: L1 = 225C, L2 = 215C, L3 = 207C and Lube Oil Out = 200C Upon successful execution, define each exchanger based on the attached exchanger specification sheet. You may use the Export and Import functions of the rating utility to aid in this operation.
Crude Oil Out Crude Oil In
Mixer 3 6 7
Splitter
Lube Oil In E1
L1 E2
L2 E3
L3 E4
5 4
18
19
Additional Process Information: Throttle the gas to 42 bar. The flash vapor side should reference the inlet gas stream and should exit 3C cooler than stream Inlet Gas. Determine the outlet temperature of the liquid required to balance the complex exchanger duty. Remember that your exchanger sides A, B and C may not match with the sides A, B and C of the specification sheet on the following page. Also note that the layers A, B and C do not necessarily correspond with the sides A, B and C of the exchanger.
Flash Vapor
Inlet Gas
2 VLVE-100
Flash
Flash Liquids
XCHG-100
20
21
22
Exercise 13: DEPG Acid Gas Removal with JScript Simple Solver
Simulate an AGR Contactor used to remove both CO2 and H2S from the feed stream. Create a single simple solver, using JScript functionality, to find the necessary DEPG flow rate to assure always meeting both 5 mol% CO2 and 35 ppm(mol) H2S in the sweet gas. Assume a saturated inlet gas with the following composition: Conditions: Temperature Pressure Flow Composition H2S CO2 C1 C2 Methyl Mercaptan Mole % 9 16 67.9 7 0.1
Additional Process Information Assume the Lean DEPG stream is 97.2 mass% DEPG, and contains residual H2S and CO2 each at 0.005 mass%; also assume the stream is 18 C Questions: Part 1 1. What is the necessary flow rate of the DEPG to meet the required specifications? 2. Which specification is determining this? Part 2 Now change the inlet composition to have 12 mol% H2S and 13 mol% CO2 1. What is the required flow rate of the DEPG to meet the required specifications? 2. Which specification is determining this?
Sweet Gas
Lean DEPG
AGR Tower
23
Additional Process Information The regenerator has a condenser temperature of 48C, and a reboiler steam rate of 0.12 kg/l amine. The rich flash operates at 5 barg, and the lean/rich exchanger heats the rich amine entering the regenerator to 100C. The amine is a 40 wt% solution Questions What flow rate is required to meet the specifications above? What flow rate is required to meet these specifications if the MDEA mixture is diluted over time to 36 wt%? Which constraint is controlling this flow rate?
Sweet Gas Makeup Lean Amine Cooler Duty 1 14 Recycle Guess Lean Amine Cooler Lean Amine to Absorber Circulation Pump Duty Saturator Dry Basis Sour Gas Sour Feed 7 Rich Amine Absorber Saturant (Water) 5 19 Rich Flash Lean/Rich Exch 6 10 2 1 Amine Circulation Blowdown 3 Recycle VSSL-100 4 Condenser Duty Circulation Pump Makeup/Blowdown Acid Gas
Utility Steam vg
Utility Condensate
24
25
26
Advanced Specifiers
Complex Mixed Refrigerant Plant Example
The following three exercises will show how to use advanced specifiers to control various properties of a project. In this example, calculators are used to set the temperature out of selected sides of the complex exchangers and the pressure for the first two stages of compression in a 3 stage compressor. This file can be found in your training session files as Exercise 15, 16, 17 Complex Heat Exchangers with Mixed Refrigerant. The unsolved version is executed, however does not include any of the Advanced Specifiers covered in the next several pages.
56
58 MIX-101
57 VLVE-102
54
53 VLVE-101
52
11
10
DeC2 Condenser 3 8 9 1
1 - Feed Gas
Q-1 7 Deethanizer
15
XCHG-100 7 14 16 - LPG
27
Variables can be added using the Moniker Tree or from pre-defined Short Moniker variables. For this example, the temperatures of streams 54, 11 and 4 should all be added as Calculated Variables. Each of these Calculated Variables should then have an Associated Measured Variable assigned as the temperature of the inlet stream (1-Feed Gas). In the Advanced Specifier dialog, click the "Code Source..." button to view the Scripting Development Environment dialog. This code sets the temperatures of the three streams relative to the 1-Feed Gas temperature.
28
29
Advanced Solvers
Exercise 18: Sulfur Hydrogenation Reactor Advanced Solver
The Simple Sulfur Hydrogenation Reactor example illustrates how to model a Hydrogenation or "TGCU" Reactor and the associated Reducing Gas Generator or "RGG" Reactor. An unsolved version can be found in the training session files as Exercise 18 Sulfur Hydrogenation Reactor.
From Claus Beds Stream: Inlet Conditions: Temperature 140C Pressure 0.6 barg Flowrate: 100 kmol/h
Simulation Discussion The Bone Dry Air stream is saturated to 70% in block Saturator then mixed with the Fuel gas before being fed to the Reducing Gas Burner. Use 100% Methane as the Fuel gas in this example. The Reducing Gas Burner effluent is mixed with the tail gas "From Claus Beds" before being fed to the Hydrogenation Reactor. The Hydrogenation Reactor converts all sulfur species to H2S before being fed to the Tail Gas Cleanup Unit (TGCU). This is an adiabatic reactor Type "Gibbs Minimization" with Gibbs Set Sulfur Hydrogenation. Reducing gas is required to convert all sulfur species to H2S. This reducing gas can be "pure" hydrogen or can be provided by a Reducing Gas Generator (RGG). The RGG provides H2 and CO by burning fuel gas, and is modeled as an adiabatic reactor Type "Gibbs Minimization" with Gibbs Set "Burner. Excess H2 should be present in the Hydrogenation Reactor effluent (about 1%) to assure that all sulfur species have been converted to H2S. The Hydrogenation Reactor outlet temperature should be maintained at 260C 370C by adjusting the amount of Fuel gas fed to the RGG. The Advanced Solver "Hydrolyzing Bed Solver" simultaneously feeds enough air to the RGG to achieve 1% H in the Hydrogenation Reactor effluent and enough Fuel gas to the RGG to achieve a Hydrogenation Reactor outlet temperature of 370C.
2
30
Click the "Code Source..." button to view the VBscript for the Solver.
31
Crude Oil In
Mixer 3 6 7
Splitter
Lube Oil In E1
L1 E2
L2 E3
L3 E4
5 4
32
The next screen allows you to link ProMax with Excel. Each variable should be linked to a specific cell or range in Excel. Variables on the left are the measured variables; the information that will be put into Excel. The variable on the right is the residual function, which will be solved to zero by ProMax.
In the Excel sheet, variables linked to ProMax will have a small red triangle in the upper corner of their cell. The worksheet should be set up to have a residual function that will equal zero when the correct answer has been reached. This is titled Objective Function returned to ProMax in the example to the left.
33
N Nu
NPr Cp k
0.023 N N
; N Re
Dv
; N Nu
hD k
The Excel workbook will calculate the clean and service overall heat transfer coefficients based on tube outside area and also calculate the UA product. The purpose of the advanced solver in ProMax is to drive the UA product calculated by ProMax equal to that calculated in the Excel workbook from the heat transfer coefficient calculation. All properties of the inlet and outlets that are required to evaluate the heat transfer coefficients must be made measured variables and exported to Excel. These include the temperatures, mass heat capacities, mass densities, viscosities, and thermal conductivities. Additionally the mass flow rates of each fluid must also be selected as measured variables for export to Excel. The calculations in the Excel workbook require the viscosities in kg/(ms).
A double pipe heat exchanger is available to heat 4455 kg/hr of cold benzene at 27C. A stream of 2870 kg/hr of toluene at 70C is available for this purpose. The heat exchanger has the following characteristics: Property Inside pipe ID Inside pipe OD Outside pipe ID Tube length Tube thermal conductivity Value 3.5 cm 4.25 cm 5.25 cm 33.5 m 59 W/(mC)
Benzene will be placed in the tube and toluene in the annulus. Use a fouling resistance of 0.00018 Cm2/W on both sides. If the above heat exchanger is selected for this service, what will be the discharge temperatures for both the benzene and the toluene?
34
36
Add Initial Estimates Add initial estimates, especially for more "difficult" specifications such as component flows or draw temperatures. Reflux ratio and boil-up ratio estimates are often helpful, as are flow rate estimates for side draws. Change Column Type The polar liquid column type can aid convergence in columns which have a nonpolar vapor phase in contact with a polar liquid phase (e.g. methanol-protected cold process). Use K Damping Try changing the K damping parameter in the column convergence tab. o Although some damping is performed internally in the column calculations, specifying a K damping parameter can be beneficial. The value for the K damping should be non-negative integers up to about 10 (using too high of a value can lead to erroneous convergence). o Increasing the K damping can be useful if the outer loop error oscillates or when the error For staged column X the inner loop calculation failed due to an invalid stage temperature calculation. Enable/Disable Boston-Sullivan Kb Try using Boston-Sullivan Kb found in the convergence tab; or, if BostonSullivan Kb is enabled, clear the checkbox to disable. This parameter can aid convergence for very wide or very narrow boiling mixtures. Increase Maximum Iterations If the column appears to be converging, but exceeds the maximum iterations, this value can be increased in the solver grouping of the convergence tab. Monitor Specifications and Variables Monitor the specifications and variables in the tables on the specifications tab, and compare the calculated value to the specified target value. For example, if the reflux ratio is set to 1, the column fails, and the calculated value is 0.1, there is likely not enough liquid flow at the top of the column. Modify Variable Estimates and Bounds The column provides an estimate for variables if an estimate is not provided by the user. The Target values for these variables can be changed on either the specifications tab or convergence tab, variables grouping. Lower and upper bounds can also be specified. Add a Recycle to the Pump-around Loop If the column has a pump-around loop and fails to converge due to errors in the pump-around blocks or the loop itself, or if the column calculations are exceedingly slow, consider adding a recycle block to the pump-around loop. When the recycle is added to the loop, the pump-around effectively becomes a "draw". The draw rate is still specified in the column Specifications tab, but no pump-around estimates are required for exchangers or pumps in the loop.
38
Bottom Reboiler Options: Plug Flow Kettle: This is the default in ProMax; it looks identical to the Boiling Shell Kettle, but the heat transfer details are based on plug flow. In this case, a selection has been made to calculate the heat transfer details based on pool boiling for the shell side of the default kettle reboiler options. A thermosyphon reboiler can be modeled with a specified flow rate through the exchanger if a recycle is included.
Thermosyphon without Recycle: No recycle is needed if the split to the reboiler is done through a fractional basis. Induced Flow: This models a full flow reboiler with partial liquid return to the column.
Induced Flow 43
13 6 1 2 1 4
33 1 8 1
Q-3
7 53 12 XCHG-103 Q-4 14 54
Q-5
Q-6
Q-7
12 24 55
28 56
12
38 57
12
18 Fixed Flowrate TS
34
58 Fixed Fraction TS 36
44
46 VSSL-100
49
39
Side Reboiler Options: All Liquid to Exchanger: Duty may be directly to a stage of a distillation columns by simply attaching an energy stream. Same Stage Return: The same effect is obtained by drawing a liquid stream from the column and returning to the same stage after having passed through a separate heat exchanger. When removing material from one stage and returning to another stage you only need to specify the amount of the draw. No recycle is required. Additional equipment may also be modeled in the side reboiler pump-around loop. The type of equipment and how it is specified will determine if the column needs more information to solve.
Thermosyphon:
Forced Flow:
13 3 6 1 1 1 2 23 1 7 1
33
11 5 51 4 53 16 26 55 Vert Thermosyphon 56 25 10 4
12
58 7 36
PUMP-100 35 7
Q-1
7 54 Same Stage
15
52 Simple
12 4
12 14 Q-2 K-100
18
12 24 Q-3 K-101
28
12 34 Q-4 K-102
38
Q-5 K-103
19
29
Thermosyphon
40
Exercise 22: Sour Water Stripper with Pump-around and Thermosyphon Reboiler
Simulate a sour water stripper used to clean the ammonia and hydrogen sulfide from the feed stream. An unsolved version may be found in the training session files as Exercise 22 Advanced Column Example - Sour Water Stripper. Assume the following feed composition: Conditions: Temperature Pressure Flow Composition NH3 H2S Water Mole % 0.5 0.5 99
40 C 5 bar 45 m3/hr
Additional Process Information The cross exchanger heats the feed entering the tower to 80 C The Pump-around cooler can cool the pump-around to 60 C 60% of the bottoms is returned to the column through the reboiler The reboiler is used to vaporize 15% of the return stream The overhead should be at 2 bar, and the temperature should not get below 82 C to minimize ammonium salt formation; the temperature should otherwise be minimized to reduce water loss In most cases a reasonable pumparound duty estimate is required. Good estimates for this case are approximately -3 MW for the cooler and 6 MW for the reboiler.
41
Q
QRCYL-1 Q-100
1 Q-101 15 1 2
13 8 Saturator 9 Inlet Gas Reflux Coil Water (Saturant) Rich Flash 21 24 12 10 VLVE-100 11 Flash Gas 2 XCHG-100
6 VLVE-101
Glycol Regenerator
Reboiler
5 1
2 DTWR-100
Questions: 1. How does the new dry gas water content compare with the original case? 2. How does the lean glycol composition compare with the original case? 3. How do your BTEX emissions in the water gas compare with the original case?
42
Additional Process Information The column has 10 ideal stages The feed is a three phase stream. Please configure the column to accommodate three phases and include a process draw from stage 2 to remove the water phase. Add a side reboiler that supplies 4.2x107 kJ/hr of energy to heat the light liquid drawn from stage 7 and returned to stage 8. The draw rate approaches a total draw from the stage. The reboiler should provide enough heat to obtain a temperature of 120C.
Questions: 1. How many liters per minute of water are removed from stage 2? 2. How many liters per minute of condensate are produced? 3. What percent water recovery is achieved with the draw?
4
XCHG-100
43
Reactors
General Review of Chemical Reactions
For reaction of form:
aA bB
b rA , rC a
cC dD
c rA , rD a d rA a
Rates are usually expressed in terms of moles per time per volume Heterogeneous catalytic reaction rates are frequently expressed in mole per time per mass of catalyst If above reaction is experimentally found to have the following rate expression:
rA kcCA1 CB2 CC3
2
the reaction is said to be of order 1 with respect to component A, order respect to B, and order 3 with respect to C Overall order of the reaction is
1 2 3
with
Order of a reaction must be determined experimentally, not from stoichiometry For liquid phase reactions, the bases for rate expressions are usually concentration (molarity or molality), mole or mass fractions, or activities. For gas phase reactions, the rate expression bases are usually partial pressure, fugacity or activity. Reactions are usually algebraically stated as
v A A vB B vC C v D D v N N 0
In the above convention, the stoichiometric numbers v i are negative for reactants and positive for products For reversible reaction in the liquid phase
2A R S
k cr C R CS
at thermodynamic equilibrium, rA
Kc
k cf k cr
CR CS 2 CA
44
For gas phase reactions with a rate expression in terms of partial pressures:
rA
2 k cf p A
k cr p R pS
Combined order of forward and reverse directions must be consistent with orders of the thermodynamic equilibrium constant of reaction Equilibrium constant can be calculated from thermodynamics using Gibbs free energies of formation if not specified Criterion for thermodynamic equilibrium of a reacting system based on rate of change for Gibbs free energy being zero:
vi
i
Gi
Gi
i RT ln a
vi Gi
RT
ivi ln a
or
vi i
exp
vi Gi RT
exp
G RT
The above equation relates the equilibrium constant K and activities of components in the reacting mixture to the Gi for each pure component and defines the term G known as the standard Gibbs free energy change of the reaction. For a given standard state (which can be different for each component in the system), the Gibbs free energy change and consequently the equilibrium constant K are solely a function of temperature. For gas phase reactions, the standard state is usually the ideal gas state at unit pressure (1 atm, 1 bar, 1 psia, 1 Pa, etc.) so f i 1 (atm, bar, psia, Pa, etc.) and the equilibrium constant is expressed:
K vi f i
This requires the fugacities fi to be in the same pressure units as the unit pressure basis. Further, the Gi used to calculate the equilibrium constant must also be at the same unit pressure. If the reacting system is assumed to be an ideal gas,
K pivi
Liquid phase reactions usually use a different reference state so the general relationship using activities must generally be employed 45
Reaction Sets
Provides a grouping of reactions that will be used in a non-Gibbs free energy minimization reactor Contains one or more consistent reactions Reactors with simultaneous or consecutive reactions will use reaction sets with more than one reaction Reactions in a reaction set must be consistent with respect to type of reaction and thermodynamics Sets are created at the project level and are available for use in any environment Reaction sets must be added to an environment An individual reaction may be shared among multiple reaction sets Reactions within a set may be made active or inactive A reaction set is selected at the reactor level and may be customized in each reactor Reaction sets are created by right clicking the Reaction Sets node in the ProMax Project Viewer and selecting the Add menu item
Equilibrium Reactions
Used with reactions that occur quickly or attain thermodynamic equilibrium Unlike Gibbs Minimization reactions, equilibrium reactions are restricted to stoichiometry defined by the reaction set User supplied thermodynamic equilibrium expression of the form:
ln K A B T C ln T DT ET 2
46
Alternatively, equilibrium constant can be calculated internally from reaction standard Gibbs free energy change:
ivi a
exp
G RT
where vi are the stoichiometric numbers of each respective species. The standard Gibbs free energy change for a reaction is calculated by:
G vi Gi
Will provide same results as Gibbs minimization reactors if same components are considered and the equilibrium constant is obtained from Gibbs free energies
Conversion Reactions
Allows modeling where the conversion of a base component is stated as a user supplied quadratic function of temperature Base component must be selected The Priority is used with multiple conversion reactions in a setestablishes rank of reaction calculation
Kinetic Reactions
Require user specification of reaction rate constant equations through Arrhenius type expressions: Ea k kT n exp RT For bidirectional reactions, rates in both forward and reverse directions can be specified or only a single direction can be specified with the other direction calculated from equilibrium requirement:
kf kr
Overall reaction rate is determined from the reaction orders of the individual components, the forward and reverse reaction rates, and the adsorption term using one of the following equations:
N N
kf r kf
j 1
Cj f ,j AR
N
kr
j 1
C j r, j
Cj f ,j
j 1
1 K AR
C j r, j
j 1
kr K
j 1
Cj f ,j
j 1
C j r, j
AR
47
where C j is the concentration of the jth component in the user selected basis, and r , j are the order for the jth component in the forward and reverse f,j directions, respectively, and AR is the adsorption resistance which models the diffusion in and out of the pores of the catalyst. The k f and k r are calculated from the Arrhenius expression provided by the user. The adsorption resistance given by the general expression:
N n
AR
1
m
Km
j 1
C j m, j
where m, j is the order for the jth component in the mth adsorption term, and K m is the adsorption constant given also by an Arrhenius expression:
Km
k exp
Ea RT
The adsorption resistance is normally unity for non-heterogeneous catalysis reactions. Flexibility in concentration units for rate expressions and reaction orders Reactions occurring on a heterogeneous catalytic surface are usually based on mass of catalyst and require specification of catalyst particle density. Particle density and bulk density of the catalyst are related by:
b p
with
As with equilibrium reactions, the equilibrium constant expression can be obtained from user specification as a function of temperature or from its thermodynamic definition using the standard Gibbs free energy change of the reaction
Additional Information: Use methane as the conversion base Use Keq from Gibbs. Use negative coefficients for the reactants and positive coefficients for the products to balance the reaction Use an approach temperature of 0C
48
49
50
Fuel
Questions: 1. What is the Fuel Gas rate in Nm3/h required to generate the required amount of steam? 2. How many moles/hr of oxygen are required to combust the fuel gas? 3. What is the temperature of exhaust gas leaving the preheater? 4. Basing off of the Gross Ideal Gas Heating Value, what is the steam cost per day to generate this steam? Assume energy costs are 3 pence/kWh or 5 Euro cents / kWh.
51
52
For Reaction 1: Use methane as the conversion base, and use Keq from Gibbs. For Reaction 2: Use carbon monoxide as the conversion base, and use Keq from Gibbs Assume a 0C approach for both reactors.
Part II: Applying the Reaction Set Model an equilibrium reactor in which the reactions occurs as the reaction set was defined above, and an identical unit in which the approach for the steam-methane reaction has a 25 C approach temperature. Inlet stream conditions are: Conditions: Temperature Pressure Flow Composition H2O CH4 Mole % 85.0746 14.9254
Additional Process Information The outlet of the reactor has a temperature of 800 C and pressure of 12.3 bar.
Q-1
53
20 C 21 bar 50 kmol/h
Will much CS2 be present? Kohl and Riesenseld in their book Gas Purification report Terres and Wesemann have measured the following equilibrium constants at 20 C: ln K1 = 13.49 ln K2 = 22.69 Use these equilibrium constants to recalculate the equilibrium using the equilibrium reactor. The COS hydrolysis reaction is kinetically limited and does not go to complete equilibrium. A mole fraction of 0.01% COS is measured in the product. Use the bypass option in the equilibrium reactor to match the measured composition.
54
55
Assume the water conditions are unchanged from Part I. Does enough heat transfer area exist in this unit assuming a 1.7x10-4 Cm2/W fouling resistance on both sides?
56
The heterogeneous catalytic synthesis of methanol was studied by Cappelli et al. (Ind. Eng. Chem. Process Des. Develop., Vol. 11, No. 2, 1972) in a FauserMontecatini reactor over ZnO and Cr2O3 based catalysts. The synthesis reaction is: CO + 2H2 <==> CH3OH In addition to the methanol synthesis reaction, an additional reaction occurs that cannot be neglected due to the fact that significant CO2 levels may be present in the feed: CO2 + H2 <==> CO + H2O At the temperatures of the reactor, the second reaction can be assumed to reach equilibrium and its equilibrium constant can be assumed to be of the form:
K f f CO H 2 O f f
CO 2 H2
where the f i are the fugacities of the indicated species in atm. The rate of methanol synthesis in kmol/hr-kg catalyst for the first reaction is given by:
rCH3OH f 2 f f CO H 2 CH3OH / K eq )3 A3 (1 Bf Cf Df Ef CO H2 CH3OH CO 2
2.78 10 5 exp 1/ 3 AS
10
8280 RT
23850 RT 30500 RT 31250 RT 23850 RT
14
12
10
with R = 1.9872 kcal/(kmol K). The value As is the specific surface area of the catalyst and is 70 m2/g. The bulk density of the catalyst bed is 1.5 g/cm3 with a porosity of 0.366. Create a reaction set in ProMax that can be used to model methanol synthesis described by this mechanism. Change the unit set for the project to kcal-bar to better handle the units.
57
58
Reaction:
where: K=exp(-4.72 + 4800 / T) 422 T 589 K=exp(-4.33 + 4578 / T) 589 T 756 b = catalyst bulk density, kg/m3 T = temperature, K Iron Oxide Catalyst Reactor: k = exp(18.72 4900/T) =4 b = 1121 kg/m3 Particle density = 2018 kg/m3 Copper Zinc Oxide Catalyst Reactor: k = exp(15.73 1856/T) = 4.33 b = 1442 kg/m3 particle density = 2483 kg/m3
Additional Process Information The process stream is cooled to 213C before entering the Copper-Zinc Oxide Catalyst Reactor The iron oxide reactor is a 36 BWG single tube 5.9 m long with a 3.8 m outer diameter. Calculate the void fraction. The Copper-Zinc Oxide reactor is a 12 BWG single tube 4.27 m long with a 3.8 m outer diameter. Calculate the void fraction.
Adapted from Case Study 105 Chemical Reactor Design for Process Plants Vol. 2 Case Studies and Design Data by Howard F. Rase
59
60
A parallel addition reaction produces 1,2 dichloropropane (CASN 78-87-5): Cl2 + C3H6 The rate equations in mol/(cm3s) are: CH2ClCHClCH3 (2)
r1
0.9166 exp
63,267 RT
r2
5.21x10 5 exp
15,956 RT
The feed consists of 4 moles propylene/mole chlorine at a combined rate of 0.4 kmol/h at 200C. Assume the pressure is constant at 2 bar. The reactor will be a 6100 mm long vertical tube of 55.54 mm OD. Calculate the composition and exit temperature from the adiabatic PFR reactor. Compare the results to those for a CSTR reactor of equal volume (11979 cm3). Instead of adiabatic, both the PFR and CSTR will be jacketed with boiling ethylene glycol which will hold the wall temperature constant at 200C. The inside heat-transfer coefficient may be taken as 28.4 W/(m2C). Compare the results to an adiabatic PFR and CSTR of the same dimension.
61
62
Notes
63
64
Notes
65