Introduction To Chemcad 5.1
Introduction To Chemcad 5.1
Introduction To Chemcad 5.1
What is ChemCAD? Special Features about ChemCAD About this Tutorial Accessing ChemCAD at UT
ChemCAD is a valuable tool to any chemical engineer for reasons other than process simulation. Other features included in this and many other process simulators are vast databanks containing the physical properties of thousands of chemicals, various thermodynamic and equilibrium packages for more accurate modeling, and equipment (theoretical and actual) sizing and cost analysis subroutines.
1. Go to {Control Menu; Jobs & Cases; New Job}. Choose and enter the name of the new job with which you will do work. 2. The monitor will go blank at this point. A moment later, the main working screen will appear with a blank PFD and the job name and the case name will take the title of the name you entered. Load a Job 1. Go to {Control Menu; Jobs & Cases; Load Job}. Choose the job with which you will do work. Note: The only jobs that can be loaded and worked on are those that have been imported or the generic job "NEWJOB." To import a job from a diskette or the U-drive, see "Import Job" in this chapter. Copy a Job 1. Go to {Control Menu; Jobs & Cases; Job Management; Copy}. Choose the job with which you wish to copy. 2. Enter the new name of the newly copied job.
Delete a Job 1. Go to {Control Menu; Jobs & Cases; Job Management; Delete}. Choose the job that you want to delete. 2. There is a safeguard against accidental deletion. To confirm the deletion, enter the name of the job that you wish to delete. Rename a Job 1. Go to {Control Menu; Jobs & Cases; Job Management; Rename}. Choose the job that you want to rename. 2. Enter the new name of the job. Import a Job 1. Go to {Control Menu; Jobs & Cases; Job Management; Import Job}. 2. Enter the directory and/or drive from where you want to import a job. If you want to import a job from the A drive, for instance, type "A:". 3. Choose the job with which you wish to import. 4. Importing a job and loading a job are not synonymous. An imported job must be loaded in order to do work on that job. Note: To some, the words "import" and "export", as they would apply to computer terminology, may mean a file transfer. This is NOT the case. When a job gets imported, it means it is copied to the directory C:\User. Likewise when a job gets exported, it is saved to the target location.
Note: Exported jobs can be written over if you are trying to export a job onto a drive that already has a job of that same name. Imported jobs can't be written over like so. This is the reason why you shouldn't use the job named "NEWJOB." The program always has a job named "NEWJOB" in the C:\USER file directory. Export a Job 1. Go to {Control Menu; Jobs & Cases; Job Management; Export Job}. 2. Choose the job with which you wish to export. 3. Enter the directory and/or drive from where you want to export the job. If you want to export a job from the U drive, for instance, type "U:". Create a Backup Job (another job case) 1. Go to {Control Menu; Backup Job}. 2. Optional: If you plan on having multiple cases within a job, you will want to rename each case as you create them. To do this, see L. Rename a Case.
Load a Case 1. Go to {Control Menu; Jobs & Cases; Case Studies; Load Case}. 2. Choose the case with which you wish to do work. 3. The monitor will go blank at this point. A moment later, the main working screen will appear with a blank PFD and the job name and the new case name appear on the top of the screen. Copy a Case 1. Go to {Control Menu; Jobs & Cases; Case Studies; Copy Case}. 2. Choose the case with which you wish to copy. 3. Enter the name of the newly copied job. Delete a Case 1. Go to {Control Menu; Jobs & Cases; Case Studies; Delete Case}. Choose the case that you want to delete. 2. There is a safeguard against accidental deletion. To confirm the deletion, enter the name of the case that you wish to delete. Rename a Case 1. Go to {Control Menu; Jobs & Cases; Case Studies; Rename}. Choose the case with which you wish to rename. 2. Enter the new name of the case.
View or Edit Case Notes 1. Go to {Control Menu; Jobs & Cases; Case Studies; Edit}. 2. Select the case with which you want to view or edit notes. Switch Directories 1. Go to {Control Menu; Jobs & Cases; Switch Directories}. 2. Specify the new drive and/or directory. View or Edit Job Record 1. Go to {Control Menu; Jobs & Cases; Job Management; Edit}. Choose the job of which you wish to view or edit the record. 2. Enter the relevant information. 3. Simultaneously hit the Ctrl key and the Enter key to save the data. Note: Keeping case notes and job records are optional.
Start up page
The size and shape of the main palette can be controlled using the View\Palette Settings commands. On the icon display, inlets are indicated by small blue squares and outlets by small brown squares. Creating a flowsheet is the process of placing unit operations icons on the screen, connecting them with streams, and then adding various graphical objects to enhance the drawing. All of these things may be done using the palette. It might be noticed from the flowsheet palette that there are multiple distillation modules available in CHEMCAD. An explanation of each of these options is given in the on-line Help manual. CHEMCAD offers a shortcut method and two basic types of rigorous methods, insideout and simultaneous corrections. The inside-out method comes in two forms, TOWR and TOWER PLUS. TOWR represents standard column configurations while TOWER PLUS allows for complex columns with heat exchangers, pump rounds and side strippers. The simultaneous corrections method, SCDS, is typically preferred for super fractionators and chemical columns requiring substantial robustness. Naturally, SCDS provides the platform for simulating reactive distillation. Since it is wanted to use a Tower icon that has a reboiler but no condenser we must use the sub-palette to select the proper icon. Therefore, right click on the Tower icon box. The sub-palette will appear in figure (3-2). Select the Tower icon indicated below by left clicking on it.
Sub-Palette of SCDS Distillation Column Click on the feed icon on the flowsheet palette and paste it on the work space. Similarly, click on the product icon and place it on the workspace (do the product twice as there are two products streams). After making sure that all necessary icons are placed on the workspace, they can be connected by using stream. CHEMCAD automatically assigns numbers of streams and unit operations the order in which they are placed on the workspace. After completing the flowsheet, click once in the S/G icon on the menu bar so that the simulation is changed from edit to run mode. Figure (3-3) shows HF Stripper distillation column flowsheet drawing.
Stream specification
Double click on the feed stream and enter the feed information (temperature, pressure, total flow rate and component fractions) given. Click once on Flash to get the feed stream enthalpy and vapor fraction in feed at the feed conditions, as shown in figure below
Destination" was set to the bottom and if you were to enter a .92 for Component No. 7 that would mean that 92% of component No. 7 would exit through the bottom of the column while the remaining 8% would go through the top.
Divider
The divider splits a stream into two or more streams, each having the same pressure, temperature, and composition but different flow rates. If a stream was a road, the divider would be a fork in it. It can be used by: 1. Specifying what the "Split (is) based on" 2. Specifying what "Flow rate units" to use 3. Assigning a flow ratio to each of the output streams
Fired Heater
The fired heater calculates the fuel usage required to heat a process stream to a specific temperature. The heating value of the of the fuel gas can be provided by the user or a default value or 900.0 Btu/Scf is used. It can be used by: 1. Entering the required temperature of the exiting stream 2. Entering any optional information in the "Optional Input" data field
Heat Exchanger
The heat exchanger module can be used to simulate an exchanger with one or two input streams. For one input stream, the exchanger serves as a heater or cooler. If the exchanger has two input streams, more complicated operational modes are available. It can be used as a heater or cooler by: 1. Selecting the icon that has one input and one output. 2. Entering only 1 of the 6 "Specs" on the left column on page #1; the heat exchanger will not work if more than one spec is entered.
It can be used as a heat exchanger by: 1. Selecting the icon that has two inputs and two outputs. 2. Entering only one of the 15 "Specs" on the left column on page #1; the heat exchanger will not work if more than one spec is entered.
Mixer
The mixer module mixes several input streams and performs an adiabatic flash calculation at the output pressure of the mixer. If there is more than one output on the icon, the mixer also serves as a phase generator. It can be used by: 1. Not specifying any data upon specifying equipment parameters. If this is the case, the output pressure will take the value of the lowest pressure of any of its input streams. 2. Otherwise, you could specify a desired output pressure.
Shortcut Distillation
The shortcut distillation module simulates a simple distillation column with one input and two product streams (distillate and bottom). Both rating and design cases are provided.
It can be used by: 1. Selecting the mode 2. Selecting the condenser type 3. Entering the number of the light key component 4. Entering the number of the heavy key component 5. Entering the heavy key split 6. Entering any addition information that is specific to the mode with which you are using Note: If the light key component has a lower boiling point than the heavy key component, the tower will not work.
Stoichiometric Reactor
The stoichiometric reactor module simulates a reactor given a set of stoichiometric factors, key component and fraction of conversion. The reactor can be set as adiabatic, isothermal, or with certain heat removal or addition. If the specified conversion causes any reactant flow in the output stream to go negative, the conversion will be reduced so that the flow rate of the limiting reactant becomes zero in the output. It can be used by: 1. Specifying the "thermal mode": adiabatic, isothermal or heat duty 2. Identifying the "Key Component" 3. Entering the fraction of conversion 4. Entering the stoichiometric coefficients using ChemCAD's convention
Valve
The valve module does an adiabatic flash calculation of its input stream. Output pressure, dew point temperature, pressure drop, or bubble point temperature can be specified. In case of specifying dew point or bubble point temperature, the module will first determine its corresponding pressure, and then perform the adiabatic flash calculation. The valve module will also serve as a phase separator if more that one output stream is specified. It can be used by entering the output pressure, dew point temperature, pressure drop, or bubble point temperature.
Flash
The Flash Tank operates by entering 2 of the following variables: Outlet Temperature, Outlet Pressure, exiting vapor fraction, or Heat duty. ChemCAD will calculate the other two variables.
The first four examples will use the same structural PFD and the same feeds. Set up the following PFD to have two feeds that connect into a mixer. Connect the mixer to a controller (stream #3) and the controller to a product icon (stream #4). Enter the following data for the stream variables. The numbers to the right of the chemical components are their ChemCAD chemical ID numbers. Assume no pressure drop across the mixer. Get to the equipment specification page of the controller before continuing. Feed Streams Stream 1 Stream 2 Stream Name Air Fuel lbmole/hr flow rate 100 100 Temperature (F) 50 500 Pressure (psi) 16 16 Molar % Argon (98) 01.00 0 Molar % Nitrogen (46) 78.50 11.14 Molar % Oxygen (47) 19.50 0 Molar % N-Octane (12) 0 87.67 Molar % Water (62) 01.00 01.19 Total % 100 100 Mentally, separate the first page into 8 parts as shown below. The first three parts are on the left column, the last five are on the right. Part Region Part I. The "Mode:" selection section in the upper left column Part II. The green text in the left middle of the column Part III. The yellow text in the lower left column Part IV. The "Input for Measured Object:" section Part V. The "Operator" in the middle of the right column Part VI. The "Type" section under Part V. Part VII. "Constant" and "units" in the lower right column Part VIII. The "Type" section under Part VII Now mentally assign the information in Part IV as Variable A; the information from Part VI as Variable B; the information from Part VII as Constant C and the information in Part VIII as Variable D. The controller operates by adjusting the variable specified in Part II. until: Variable A [some operator +,-,/,*] Variable B equals Constant C, or... Variable A [some operator +,-,/,*] Variable B equals Variable D. This is to say that either C or D can be specified, not both. More generally: The controller operates by adjusting the variable specified in Part II until: some scalar times Variable A [some operator +,-,/,*] some scalar times Variable B equals Constant C, or... some scalar times Variable A [some operator +,-,/,*] some scalar times Variable B equals some scalar times Variable D.
Algebraically: Adjust the specified variable in Part II until: aA operated on bB equals to C or dD where a, b, C, and d are constants and A, B, and D are process variables in a stream or piece of equipment. .
Controlling Streams
Example 1 Use the controller in the given PFD to adjust the air stream so that it has four times the total mass flow rate as the fuel stream. Keep the fuel stream at a flow rate of 100 lbmole/hr. Note: At most times while using ChemCAD by pressing the F4 key, you can view the PFD and return to the screen that you were using. There are several ways to go about solving this problem. We will solve this problem by adjusting the mass of the air flow, stream #1, until the mass flow of the mixed stream, stream #3, is five times the mass flow of the fuel flow, stream #2. 1. Adjust the controller so it is in the "Feed-backward" mode. 2. In Part II, the part where we specify what variables get adjusted, enter 1 in the "Stream No." data entry field. This will tell the program that there is something about stream #1 that we want to adjust. Place the cursor in the data entry field to the right of where it reads "Variable No." in Part II. 3. Press the F9 key to find the number of the process variable that you wish to specify. There should be an untitled scroll-down menu at page labeled "VARIABLE NUMBER CHECK." Make sure that "process stream" is highlighted on this page. 4. Press the Ctrl key and the Enter key to access the variable number reference page. 5. As you can see by scrolling down once, the variable number we want is #6. As shown, this variable number represents the total mass rate. Press the right mouse button to return to the controller specification page. Enter 6 in the "Variable No." data entry field in Part II. 6. Part III is for the regulation and adjustment of convergence and iteration process of the controller. It usually can be ignored. Skip it for now. If adjustments need to be made in the mathematical procedure that the controller uses, it can be done from Part III. 7. Part IV will be where we tell the program to measure the flow rate of the mixed stream, which is stream #3. Using a slightly different convention as in Part II, place the asterisk in the parentheses before the word "stream." Type a 3 for the number to represent stream #3. Since we know that the variable number is 6, enter it in the data entry field to the right of the word variable. Leave the scale blank. The scale represents the scalar. Its default is 1. 8. We don't need an operator for Part V. Having no operator in Part V negates the data entered in Part VI. Leave the operator to read "No operator." 9. In this example, we have no need for a constant because we only want that four times as much air than fuel enters, mass-wise. Skip part VII.
10. For Part VIII, since we know that the mixed stream must have five times the mass flow rate as the fuel stream, enter the following data in the following places for the following reasons: Place Data Reason Type: Stream It is a stream that we are evaluating. Number 2 In Part VIII, we are evaluating stream #2. Variable 6 We want to monitor total mass flow rate. Scale 5 5 times the mass flow rate of Stream #2, equals stream number three. 11. Simultaneously hit the Ctrl key and the Enter key to save this data and continue. 12. Run the simulator. 13. View the output. The mass flow rate (in lb/hr) of the stream #1, the air, is 41392.7031. The mass flow rate of stream #2, the fuel, is 10348.1455. Stream #1 is about four times stream number #2. Our simulation worked. 14. Conceptually, we adjusted the mass flow rate of stream #2 until the mass flow rate of stream number 3 was five times that of stream number #1. For this example. The information in Parts IV and VIII could have been switched because of the commutative property of equality which states if A=B then B=A. In our case, algebraically, A=dD. Example 2 Before starting example 2, reset the total molar flow in Stream #1, the air feed, back to 100, from 1436.7267. This can be done at {Streams Input; Feed Streams}. Use the controller in the given PFD to adjust the molar flow rate of the air stream so in the mixed stream, there is 10.0 times more oxygen on a molar bases than there is octane. Note: Adjusting the total molar flow rate of a stream is essentially the same as adjust the total mass flow rate of stream. 1. Part I: Make certain that the controller is in the "Feed-backward" mode. 2. Part II: Since we will be adjusting stream #1, type 1 in the data entry field to the right of the "Stream No." 3. Press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the total molar flow rate variable number is. As seen without having to scroll, it is 5. Type 5 in the data entry field to the right of the "Variable No." 4. Skip Part III. 5. Part IV: We want to examine the molar flow rate of the octane in the fuel stream. Be sure that the asterisk is in the parentheses before the word "Stream." Enter 2 for the stream "number." 6. Press F5 to recall what component number octane and oxygen are on the component list. Remember, the component number is the same as the sequence number. 7. Since we want to examine the molar flow rate of the octane, press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the component molar flow rate variable number is.
8. The mole variable number convention for "mole flow rate of the ith component," is -(i). If NOctane is the 4th component in your chemical list, enter "-4" in the data entry field to the right of the "Variable" in Part IV. 9. Part V: We don't need an operator in this simulation. Retain the setting, "No operator." 10. Part VI: Having no operator in Part V negates the data entered in Part VI. Having left the operator to read "No operator," skip Part VI. 11. In this example, we have no need for a constant because we only require that there is 10.0 times as much of one component in stream #3 as there is of another component in stream #3, on a molar basis. Skip part VII. 12. Part VIII: Since we know that there must be 10.0 times as much octane in the mixed stream as there is oxygen in it, on a molar basis, enter the following data in the following places for the following reasons: Place Data Reason Type: Stream it is a stream that we are evaluating. Number 3 In Part VIII, we are evaluating stream #3. Variable -3 The negative digit because of the convention and the 3 is for if it was the molar flow rate of the 3rd component we wanted to measure. Scale 10 We want 10 times the molar flow rate of oxygen to equal that of the octane. 14. Run the simulator. 15. View the output. The total molar flow rate (in lbmol/hr) of the stream #1, the air, is 44.9592. The mass flow rate of stream #2, the fuel, remains 100. Stream #1 is about four times stream number #2. In the mixed stream there is about 87.67 lbmol/hr of octane and 8.767 lbmol/hr of oxygen. 16. Conceptually, we adjusted the mass flow rate of stream #2 until the molar flow rate of the octane in stream #3 was 10.0 times that of the molar flow rate of the oxygen in stream #3. 17. Another way to have completed this simulation would have been to type -603 and -604 instead of -3 and -4. This would have adjusted the molar fraction of the ith component rather than the molar flow rate of the ith component. Those two conventions are not always interchangeable. Example 3 Before starting example 2, reset the total molar flow in Stream #1, the air feed, back to 100, from 44.9592. This can be done at {Streams Input; Feed Streams}. ChemCAD Tutorial Page 26 of 37 file://D:\USER FOLDERS\PIPING\chemcad tutorial\ChemCAD Tutorial.htm 10/23/2009 Use the controller in the given PFD to adjust the molar flow rate of the fuel feed stream so the mixed stream is 345 F. 1. Part I: Make certain that the controller is in the "Feed-backward" mode.
2. Part II: Since we will be adjusting stream #2, type 2 in the data entry field to the right of the "Stream No." 3. Press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the total molar flow rate variable number is. As seen without having to scroll, it is 5. Type 5 in the data entry field to the right of the "Variable No." 4. Skip Part III. 5. Part IV: Since we want to examine the temperature of the stream #3, be sure that the asterisk is in the parentheses before the word "Stream." Enter 3 for the stream "number." 6. Since we want to examine the temperature in stream #3, press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the variable number for temperature is. It is 1. Type 1 in the data entry field to the right of the "Variable." 8. Part V: We don't need an operator in this simulation. Retain the setting, "No operator." 9. Part VI: Having no operator in Part V negates the data entered in Part VI. Having left the operator to read "No operator," skip Part VI. 10. Part VII: This time we do have a constant. Enter 345 to the right of in the "constant" data entry field. 11. Reset the units with the left mouse button so it reads temperature. Because the program is set to English units, it will understand the 345 to be in Fahrenheit. 12. Part VIII: Since you can only enter information in Part VII or Part VIII, not both, skip Part VIII. 13. Run the simulator. It may not converge on the first attempt. Try running it a few times. It should work. 14. View the output. The temperature of the stream #3 is 344.3354. The molar flow rate of stream #2, the fuel, is reduced to 22.3226. Stream #1 remains at 100 lbmol/hr. Example 4 Before starting example 4, reset the total molar flow in Stream #2, the fuel feed, back to 100. This can be done at {Streams Input; Feed Streams}. Use the controller in the given PFD to adjust the molar flow rate of the air stream so that 5 times the molar flow rate of the Argon in the air stream plus 10 times the molar flow rate of the nitrogen in fuel stream equals 25 times the molar flow rate of the oxygen in the mixed stream. 1. Part I: Make certain that the controller is in the "Feed-backward" mode. 2. Part II: Since we will be adjusting stream #1, type 1 in the data entry field to the right of the "Stream No." 3. Press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the total molar flow rate variable number is. As seen without having to scroll, it is 5. Type 5 in the data entry field to the right
of the "Variable No." 4. Skip Part III. 5. Part IV: Here, we want to examine the molar flow rate of the Argon in the air stream. Be sure that the asterisk is in the parentheses before the word "Stream." Enter 1 for the stream "number." 6. Press F5 to recall the component numbers. Remember, the component number is the same as the sequence number. 7. Since we want to examine the molar flow rate of the Argon, press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the component molar flow rate variable number is. 8. The molar variable number convention for "mole flow rate of the ith component," is -(i). If Argon is the 1st component in your chemical list, enter "-1" in the data entry field to the right of the "Variable" in Part IV. 9. Since we want to use 5 times the molar flow rate of the Argon in the air for the computation, enter 5 for the scale in Part IV. 10. Part V: With the left mouse button, select "Add" for the operator setting. 11. Part IV: Here, we want to examine the molar flow rate of the nitrogen in the fuel stream. Be sure that the asterisk is in the parentheses before the word "Stream." Enter 2 for the stream "number." 12. Press F5 to recall the component numbers. Remember, the component number is the same as the sequence number. 13. Since we want to examine the molar flow rate of the nitrogen, press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the component molar flow rate variable number is if you don't remember it. 14. The molar variable number convention for "mass flow rate of the ith component," is -(i). If Nitrogen is the 2nd component in your chemical list, enter "-2" in the data entry field to the right of the "Variable" in Part VI. 15. Since we want to use 10 times the molar flow rate of the nitrogen in the fuel stream for the computation, enter 10 for the scale in Part VI. 16. In this example, we have no need for a constant because all of the numbers given in the problem statement were scales, 5, 10 and 25. Skip part VII. Make sure the data entry field for it is empty. 17. Part VIII: Since we know that the sum of the 10 times the molar flow rate of the nitrogen in the fuel and 5 times the molar flow rate of the argon in the air equals 25 times the oxygen in the mixed stream, enter the following data in the following places for the following reasons: Place Data Reason Type: Stream It is a stream that we are evaluating. Number 3 In Part VIII, we are evaluating stream #3. Variable -3 The negative digit because of the convention and the 3 for if it was the molar flow rate of the 3rd component we wanted to measure.
Scale 25 We want 25 times the molar flow rate of oxygen to equal that of the octane. 18. Run the simulator. It may not converge on the first attempt. Try running it a few times. It should work. 19. View the output. The argon in the air stream, had component flow rate of .5350. 5 times that is 2.675. The nitrogen in the fuel stream had a molar flow rate of 32.2986. 10 times that is 322.986. The oxygen in the mixed stream had a molar flow rate of 13.0239. 25 times that is 325.5975. 2.675 + 322.986 = 325.661, which is extremely similar to 325.5975. This simulation worked. The fuel stream gets fed at a rate of 100.0000 lbmol/hr and the air stream gets fed at a rate of 74.6328 lbmol/hr.
Molar % Water (62) 01.00 Total % 100 Set the divider so that equal amounts of the feed stream leave both outputs. Set the heater to have the exit stream be at 1000 F. Make sure that the divider is set to "split base on" Flow ratio and the flow rate units are lbmol/hr. ratio Use the controller in this PFD to regulate the divider so that the product stream is 500 F. 1. Make sure the feed and unit operation specifications are as listed on your PFD. 2. Part I: Make certain that the controller is in the "Feed-backward" mode. 3. Part II: Since we will be adjusting the divider, enter 3 for the "Equip No." 4. Press the F9 key to find out what the variable number we will need. 5. With the left mouse button, select the highlighted text. Upon seeing the list of all of the unit operations (except the controller), select the "divider". 6. Once the divider appears on the "Variable Number Check," simultaneously hit the Ctrl and the Enter key. 7. If your stream #3 emerges from the higher part of the divider, your variable number is 3. If your stream #3 emerges from the lower part of the divider; your variable number is 4. 8. Enter your variable number. 9. Skip Part III. 10. Part IV: Enter stream #5 variable #1 for temperature and leave the scale data entry field empty. 11. Skip Parts V and VI. 12. Part VII: Enter 500 for the "Constant" and make sure the "Units" for it read "Temperature". 13. Skip Part VIII. 14. Run the Simulator 15. View the output: The temperature of streams #5 and #6 are about 499.9499F. Close enough. The flow ratios should be about .8607 and 1.000, or some non-zero scalar times those two. Example 6 Using the same PFD as in Example 5, and the same initial conditions, use the controller to regulate the heater so that the product stream is 800 F. 1. Make sure the feed and unit operation specifications are as listed on your PFD. 2. Part I: Make certain that the controller is in the "Feed-backward" mode. 3. Part II: Since we will be adjusting the heater, enter 4 for the "Equip No." 4. Press the F9 key to find out what the variable number we will need. 5. With the left mouse button, select the highlighted text. Upon seeing the list of all of the unit operations (except the controller), select the "heat exchanger". 6. Once the heat exchanger appears on the "Variable Number Check," simultaneously hit the Ctrl and the Enter key. 7. Variable number 4 is T1 out.
8. Enter 4 for the variable number. 9. Skip Part III. 10. Part IV: Enter stream #5, variable #1 for temperature and leave the scale data entry field empty. 11. Skip Parts V and VI. 12. Part VII: Enter 800 for the "Constant" and make sure the "Units" for it read "Temperature". 13. Skip Part VIII. 14. Run the Simulator 15. View the output: The temperature of the product is about 800 F. The temperature of the stream leaving the heat exchanger is about 1495.8 F. This simulation worked. Example 7 Problem Statement: A stream that is 24% molar N2 and 76% molar H2 that has a pressure of 750,000 Pa and a temperature of 100 K flows at rate of 100 kmol/Hr. This stream will go through a parallel series of three stoichiometric reactors that will react N2 + 3H2 to make 2NH3. Assume that in the reactors, the single-pass fractional conversion of the nitrogen is 20%. The product exiting the third reactor must have a temperature of 873K. However, the heat duties of all three reactors must be exactly the same. Use three controllers to design three reactors that can perform this task. Find out how much energy must be added or removed from each reactor in MJ/h to accomplish this. 1. Set up a chain of unit operations in the following order: Feed, Reactor, Reactor, Controller, Reactor, Controller, Controller, and Product. There should be seven streams in all. Make sure the stream numbers go in order. 2. Create and name a new job. Change the Engineering units to SI. 3. Establish the thermodynamic model, the component list, and the feed stream specifications. 4. For each of the three reactors, change their thermal mode to heat duty. Enter the component number for nitrogen as the key component number. Enter the Fractional Conversion of 0.2, and enter the stoichiometric coefficients. 5. The last controller will be used to regulate the heat duty of the first reactor to make sure the stream passing the last controller is 873 Kelvin. Make sure it is in feed- backward mode. In Part II, Enter 1 for its equipment number to be adjusted and 4 for the variable number for heat duty of the stoichiometric reactor 6. In Part III, set the iterations to 999. 7. In Part IV, have the measure object be stream #6, and variable 1 for temperature. 8. In Part VIII, set it the constant to 873 and the units to temperature. 9. Leave all other data entry fields blank. 10. The middle controller will set the third reactor's heat duty equal to that of the second reactor's heat duty. (The first controller will set the second reactor's heat duty equal to that of the first
reactor's heat duty.) Enter 4 for the Equipment number to be adjusted and 4 for the variable number in Part II of the middle controller. 11. In Part III, set the number of iterations to 999. 12. In Part IV, set the object to be measured to equipment #4, variable number 4. 13. In Part VIII, set the object to be measured to equipment #2, variable number 4. 14. Leave all other data entry fields blank 15. The first controller will set the second reactor's heat duty equal to that of the first reactor's heat duty. Recall that the first reactor's heat duty has already been controlled by the temperature of the product stream. Enter 2 for the equipment number to be adjusted and 4 for the variable number in Part II of the first controller. 16. In Part III, set the number of iterations to 999. 17. In Part IV, set the object to be measured to equipment #2, variable number 4. 18. In Part VIII, set the object to be measured to equipment #1, variable number 4. 19. Leave all other data entry fields blank. 20. Run the simulator. It may take you up to ten times for it to work. If there is still an error, go back and make sure you entered the data correctly. 21. View the output. If you correctly simulated this constrained process, you should find that reactor must add about 320.4 MJ/hr of energy for this process to work.
Combustion of 3-Methyl-1-Pentene
Plan: Use ChemCAD to mix, heat, and react two streams to completely combust 3-Methyl-1Pentene without a recycle. The feed stream variables are given below. The reaction in the reactor is 1C6H12 + 9O2 goes to 6H2O + 6CO2; everything else is inert. The mixed stream fed to the reactor must be 250F and at a pressure of 300 pounds per square inch (absolute). The conversion of the hydrocarbon is 75%. Also assume there is a 30psi drop in the heat exchanger. The reactor operates adiabatically. Feed Streams Stream 1 Stream 2 Stream Name Air Fuel lbmole/hr flow rate 2000 100 Temperature (F) 100 125 Pressure (psi) 200 300 Molar % Nitrogen 79 0 Molar % Oxygen 21 0 Molar % 3-Methyl-1Pentene 0 45
Molar % Helium 0 55 Molar % Water 0 0 Molar % Carbon Dioxide 0 0 Total % 100 100 1. Create a job name and file 2. Establish the engineering units system 3. Add unit operations to the flow sheet 4. Connect the unit operations with streams 5. Build the chemical component list 6. Select K-value and enthalpy thermodynamic models 7. Specify feeds (and cut streams) properties 8. Specify equipment parameters 9. Run the simulator 10. View the output 11. Make sure the output is sound and logical 12. Save the simulation stream as there is oxygen in it, on a molar basis, enter the following data in the following places for the following reasons: Place Data Reason Type: Stream It is a stream that we are evaluating. Number 3 In Part VIII, we are evaluating stream #3. Variable -3 The negative digit because of the convention and the 3 is for if it was the molar flow rate of the 3rd component we wanted to measure. Scale 10 We want 10 times the molar flow rate of oxygen to equal that of the octane. 14. Run the simulator. 15. View the output. The total molar flow rate (in lbmol/hr) of the stream #1, the air, is 44.9592. The mass flow rate of stream #2, the fuel, remains 100. Stream #1 is about four times stream number #2. In the mixed stream there is about 87.67 lbmol/hr of octane and 8.767 lbmol/hr of oxygen. 16. Conceptually, we adjusted the mass flow rate of stream #2 until the molar flow rate of the octane in stream #3 was 10.0 times that of the molar flow rate of the oxygen in stream #3. 17. Another way to have completed this simulation would have been to type -603 and -604 instead of -3 and -4. This would have adjusted the molar fraction of the ith component rather than the molar flow rate of the ith component. Those two conventions are not always interchangeable.
Example 3 Before starting example 2, reset the total molar flow in Stream #1, the air feed, back to 100, from 44.9592. This can be done at {Streams Input; Feed Streams}. ChemCAD Tutorial Page 26 of 37 file://D:\USER FOLDERS\PIPING\chemcad tutorial\ChemCAD Tutorial.htm 10/23/2009 Use the controller in the given PFD to adjust the molar flow rate of the fuel feed stream so the mixed stream is 345 F. 1. Part I: Make certain that the controller is in the "Feed-backward" mode. 2. Part II: Since we will be adjusting stream #2, type 2 in the data entry field to the right of the "Stream No." 3. Press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the total molar flow rate variable number is. As seen without having to scroll, it is 5. Type 5 in the data entry field to the right of the "Variable No." 4. Skip Part III. 5. Part IV: Since we want to examine the temperature of the stream #3, be sure that the asterisk is in the parentheses before the word "Stream." Enter 3 for the stream "number." 6. Since we want to examine the temperature in stream #3, press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the variable number for temperature is. It is 1. Type 1 in the data entry field to the right of the "Variable." 8. Part V: We don't need an operator in this simulation. Retain the setting, "No operator." 9. Part VI: Having no operator in Part V negates the data entered in Part VI. Having left the operator to read "No operator," skip Part VI. 10. Part VII: This time we do have a constant. Enter 345 to the right of in the "constant" data entry field. 11. Reset the units with the left mouse button so it reads temperature. Because the program is set to English units, it will understand the 345 to be in Fahrenheit. 12. Part VIII: Since you can only enter information in Part VII or Part VIII, not both, skip Part VIII. 13. Run the simulator. It may not converge on the first attempt. Try running it a few times. It should work.
14. View the output. The temperature of the stream #3 is 344.3354. The molar flow rate of stream #2, the fuel, is reduced to 22.3226. Stream #1 remains at 100 lbmol/hr. Example 4 Before starting example 4, reset the total molar flow in Stream #2, the fuel feed, back to 100. This can be done at {Streams Input; Feed Streams}. Use the controller in the given PFD to adjust the molar flow rate of the air stream so that 5 times the molar flow rate of the Argon in the air stream plus 10 times the molar flow rate of the nitrogen in fuel stream equals 25 times the molar flow rate of the oxygen in the mixed stream. ChemCAD Tutorial Page 27 of 37 file://D:\USER FOLDERS\PIPING\chemcad tutorial\ChemCAD Tutorial.htm 10/23/2009 1. Part I: Make certain that the controller is in the "Feed-backward" mode. 2. Part II: Since we will be adjusting stream #1, type 1 in the data entry field to the right of the "Stream No." 3. Press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the total molar flow rate variable number is. As seen without having to scroll, it is 5. Type 5 in the data entry field to the right of the "Variable No." 4. Skip Part III. 5. Part IV: Here, we want to examine the molar flow rate of the Argon in the air stream. Be sure that the asterisk is in the parentheses before the word "Stream." Enter 1 for the stream "number." 6. Press F5 to recall the component numbers. Remember, the component number is the same as the sequence number. 7. Since we want to examine the molar flow rate of the Argon, press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the component molar flow rate variable number is. 8. The molar variable number convention for "mole flow rate of the ith component," is -(i). If Argon is the 1st component in your chemical list, enter "-1" in the data entry field to the right of the "Variable" in Part IV. 9. Since we want to use 5 times the molar flow rate of the Argon in the air for the computation, enter 5 for the scale in Part IV.
10. Part V: With the left mouse button, select "Add" for the operator setting. 11. Part IV: Here, we want to examine the molar flow rate of the nitrogen in the fuel stream. Be sure that the asterisk is in the parentheses before the word "Stream." Enter 2 for the stream "number." 12. Press F5 to recall the component numbers. Remember, the component number is the same as the sequence number. 13. Since we want to examine the molar flow rate of the nitrogen, press F9 and then simultaneously hit the Ctrl and the Enter key to find out what the component molar flow rate variable number is if you don't remember it. 14. The molar variable number convention for "mass flow rate of the ith component," is -(i). If Nitrogen is the 2nd component in your chemical list, enter "-2" in the data entry field to the right of the "Variable" in Part VI. 15. Since we want to use 10 times the molar flow rate of the nitrogen in the fuel stream for the computation, enter 10 for the scale in Part VI. 16. In this example, we have no need for a constant because all of the numbers given in the problem statement were scales, 5, 10 and 25. Skip part VII. Make sure the data entry field for it is empty. ChemCAD Tutorial Page 28 of 37 file://D:\USER FOLDERS\PIPING\chemcad tutorial\ChemCAD Tutorial.htm 10/23/2009 17. Part VIII: Since we know that the sum of the 10 times the molar flow rate of the nitrogen in the fuel and 5 times the molar flow rate of the argon in the air equals 25 times the oxygen in the mixed stream, enter the following data in the following places for the following reasons: Place Data Reason Type: Stream It is a stream that we are evaluating. Number 3 In Part VIII, we are evaluating stream #3. Variable -3 The negative digit because of the convention and the 3 for if it was the molar flow rate of the 3rd component we wanted to measure. Scale 25 We want 25 times the molar flow rate of oxygen to equal that of the octane. 18. Run the simulator. It may not converge on the first attempt. Try running it a few times. It should work. 19. View the output. The argon in the air stream, had component flow rate of .5350. 5 times that is 2.675.
The nitrogen in the fuel stream had a molar flow rate of 32.2986. 10 times that is 322.986. The oxygen in the mixed stream had a molar flow rate of 13.0239. 25 times that is 325.5975. 2.675 + 322.986 = 325.661, which is extremely similar to 325.5975. This simulation worked. The fuel stream gets fed at a rate of 100.0000 lbmol/hr and the air stream gets fed at a rate of 74.6328 lbmol/hr.
Molar % Water (62) 01.00 Total % 100 Set the divider so that equal amounts of the feed stream leave both outputs. Set the heater to have the exit stream be at 1000 F. Make sure that the divider is set to "split base on" Flow ratio and the flow rate units are lbmol/hr. ratio Use the controller in this PFD to regulate the divider so that the product stream is 500 F. 1. Make sure the feed and unit operation specifications are as listed on your PFD. 2. Part I: Make certain that the controller is in the "Feed-backward" mode. 3. Part II: Since we will be adjusting the divider, enter 3 for the "Equip No." 4. Press the F9 key to find out what the variable number we will need. 5. With the left mouse button, select the highlighted text. Upon seeing the list of all of the unit operations (except the controller), select the "divider". 6. Once the divider appears on the "Variable Number Check," simultaneously hit the Ctrl and the Enter key. 7. If your stream #3 emerges from the higher part of the divider, your variable number is 3. If your stream #3 emerges from the lower part of the divider, your variable number is 4. 8. Enter your variable number. 9. Skip Part III. 10. Part IV: Enter stream #5 variable #1 for temperature and leave the scale data entry field empty. 11. Skip Parts V and VI. ChemCAD Tutorial Page 30 of 37 file://D:\USER FOLDERS\PIPING\chemcad tutorial\ChemCAD Tutorial.htm 10/23/2009 12. Part VII: Enter 500 for the "Constant" and make sure the "Units" for it read "Temperature". 13. Skip Part VIII. 14. Run the Simulator 15. View the output: The temperature of streams #5 and #6 are about 499.9499F. Close enough. The flow ratios should be about .8607 and 1.000, or some non-zero scalar times those two. Example 6 Using the same PFD as in Example 5, and the same initial conditions, use the controller to regulate the heater so that the product stream is 800 F. 1. Make sure the feed and unit operation specifications are as listed on your PFD. 2. Part I: Make certain that the controller is in the "Feed-backward" mode. 3. Part II: Since we will be adjusting the heater, enter 4 for the "Equip No." 4. Press the F9 key to find out what the variable number we will need.
5. With the left mouse button, select the highlighted text. Upon seeing the list of all of the unit operations (except the controller), select the "heat exchanger". 6. Once the heat exchanger appears on the "Variable Number Check," simultaneously hit the Ctrl and the Enter key. 7. Variable number 4 is T1 out. 8. Enter 4 for the variable number. 9. Skip Part III. 10. Part IV: Enter stream #5, variable #1 for temperature and leave the scale data entry field empty. 11. Skip Parts V and VI. 12. Part VII: Enter 800 for the "Constant" and make sure the "Units" for it read "Temperature". 13. Skip Part VIII. 14. Run the Simulator 15. View the output: The temperature of the product is about 800 F. The temperature of the stream leaving the heat exchanger is about 1495.8 F. This simulation worked.