Professional Documents
Culture Documents
3
USER GUIDE
Table of Contents
Chapter 1 Using PRO/II........................................................................................1 Before Starting PRO/II .....................................................................................1 Starting PRO/II..................................................................................................2 PRO/II Main Window Components .................................................................3 Using the Menus ..............................................................................................6 Using the Floating Palettes.............................................................................9 Using the Toolbar ............................................................................................9 Using the PRO/II Main Window.....................................................................14 Chapter 2 Simulation Basics ...........................................................................15 General Approach..........................................................................................15 Run the Process Simulation ........................................................................17 Analyze the Simulation Results...................................................................17 Building the Flowsheet .................................................................................17 Unit Operations............................................................................................17 Streams .......................................................................................................17 Required Data.................................................................................................18 Components ................................................................................................18 Thermodynamic Methods............................................................................18 Stream Information ......................................................................................19 Unit Operations............................................................................................19 Optional Data..................................................................................................20 Miscellaneous Data .....................................................................................20 Miscellaneous Calculation Options .............................................................21 Default Data.................................................................................................23 Other Optional Data.....................................................................................23 Chapter 3 Managing Simulation Files .............................................................25 Opening a New Simulation ...........................................................................25 Opening an Existing Simulation...................................................................26 Saving the Current Simulation .....................................................................27 Closing a Simulation .....................................................................................28
Table of Contents - I
Deleting a Simulation ....................................................................................29 Copying a Simulation ....................................................................................30 Importing a PRO/II Keyword Input File ........................................................32 Keyword Features without PRO/II GUI support ..........................................33 Keyword Features Imported in Run-Only Mode .......................................33 Exporting Simulation Data to a File .............................................................35 Export Simulation Data to a Keyword File...................................................36 Exporting the Flowsheet Drawing to the Clipboard .....................................37 Exporting Stream or Unit Property Table Data............................................38 Exporting the PFD to an AutoCAD or PostScript File .................................39 Exporting Tag Data to a File........................................................................39 Exporting Data to Excel Using Spreadsheet Tools ....................................39 Copying Property Table Data to the Clipboard...........................................40 Copying/Pasting Stream Data in an Excel Sheet........................................40 Chapter 4 Building a Flowsheet ......................................................................41 Setting Simulation Preferences....................................................................41 Setting Problem Description Global Defaults ..............................................41 Overriding the Global Default Problem Description ....................................42 Setting Units of Measure Global Defaults ...................................................43 Changing Global Units of Measure for One Simulation ..............................44 Units of Measure Library .............................................................................45 Setting Thermodynamic System Global Defaults........................................49 Changing Delete Confirmation ....................................................................50 Setting Global Flowsheet Tolerances..........................................................50 Placing a Unit on the Flowsheet...................................................................51 Drawing Streams ...........................................................................................55 Drawing a Connection .................................................................................56 Connecting Streams When One Unit is Not Visible ....................................57 Labeling a Stream .......................................................................................57 Moving Streams...........................................................................................58 Searching for a Unit or Stream....................................................................59 Changing the Flowsheet Layout ..................................................................60 Drawing Freehand Objects ...........................................................................61 Entering Text ...............................................................................................62 Drawing Lines..............................................................................................62 Drawing Shapes ..........................................................................................63 Drawing Pages ............................................................................................64 Chapter 5 Manipulating Objects ......................................................................67
April 2009
Selecting Objects or Groups of Objects .....................................................67 Selecting Multiple Objects ...........................................................................67 Selecting a Group of Objects ......................................................................69 Resizing Objects............................................................................................69 Rearranging Objects or Groups of Objects ................................................71 Editing Text ....................................................................................................72 Chapter 6 Viewing Flowsheet Contents..........................................................73 Scrolling the PFD ...........................................................................................73 Zooming..........................................................................................................73 Opening Multiple Viewport Windows ..........................................................75 Redrawing the Simulation.............................................................................76 Panning...........................................................................................................76 Moving the Bounding Box ............................................................................78 Chapter 7 Data Entry Windows.........................................................................79 Defining the Simulation.................................................................................79 Selecting Components..................................................................................81 Modifying Component Properties ................................................................82 Selecting Thermodynamic Methods ............................................................83 Selecting Assay Data ....................................................................................84 Specifying Reaction Data..............................................................................85 Specifying Reaction Procedure Data...........................................................87 Specifying Multiple Simulations for Case Study ........................................88 Setting the Problem Calculation Sequence ................................................89 Specifying Recycle Convergence ................................................................90 Data Entry Windows for Unit Operations ....................................................91 Grids and the X-Y Grid ................................................................................92 Chapter 8 Specifying Component, Thermodynamic and Stream Data........97 Component Data ............................................................................................97 Selecting Library Components ....................................................................98 Entering User-defined Components ............................................................99 Modifying Component Properties ..............................................................101 PRO/II and TDM Integration......................................................................103
Assay Data....................................................................................................105 TBP Cut point Sets ....................................................................................107 Assay Characterization Options ................................................................108 Thermodynamic Data ..................................................................................109 Selecting Predefined Method Sets ............................................................110 User-added Thermodynamic Data ............................................................116 CAPE-OPEN Property Package................................................................116 Property Calculations..................................................................................116 Defining Transport Properties....................................................................117 Specifying Water Decant Options ..............................................................118 Stream Data ..................................................................................................123 Specifying Composition Defined Streams.................................................125 Specifying Stream Thermal Condition.......................................................125 Specifying Petroleum Assay Streams .......................................................126 Specifying Recycle Streams.......................................................................129 Scaling Product Streams...........................................................................131 Specifying Reference Streams..................................................................132 Copying Stream Data ................................................................................133 Refinery Inspection and User-defined Properties ....................................137 Entering Refinery Inspection Properties....................................................138 User-defined Special Properties................................................................139 Entering Assay Data for Stream Special Properties .................................139 Assay Data for Refinery Inspection Properties .........................................139 Assay Data for User-defined Special Properties.......................................140 BVLE (Validating Equilibrium Data)...........................................................145 Chapter 9 Unit Operations and Utility Modules ...........................................147 Calculator .....................................................................................................148 Sample Calculator Procedures..................................................................161 CAPE-OPEN..................................................................................................166 Column, Batch..............................................................................................170 Column, Distillation .....................................................................................171 Column Algorithm ......................................................................................173 Reactions...................................................................................................174 Pressure Profile .........................................................................................176 Condensers ...............................................................................................176 Reboilers ...................................................................................................178 Heaters and Coolers..................................................................................179 Flash Zones...............................................................................................179 Column Heat Leaks ...................................................................................179
April 2009
Pumparounds and Vapor Bypasses..........................................................180 Initial Estimates .........................................................................................181 Homotopy Options for Convergence on Specification ..............................186 Tray Hydraulics..........................................................................................187 Column RATEFRAC Tray Options ..........................................................187 Column RATEFRAC Packing Options .....................................................188 RATEFRAC Transport Calculation Methods ...........................................189 Tray Efficiencies ........................................................................................190 Side Columns ............................................................................................191 Print Options..............................................................................................191 Thermodynamic Systems..........................................................................192 Column, LiquidLiquid Extraction .............................................................193 Column Algorithm ......................................................................................194 Pressure Profile .........................................................................................195 Heaters and Coolers..................................................................................195 Initial Estimates .........................................................................................195 Performance Specifications.......................................................................196 Print Options..............................................................................................197 Thermodynamic Options ...........................................................................197 Column, Side ................................................................................................199 Solution Methods.......................................................................................199 Compressor..................................................................................................203 Pressure, Work, or Head Specification .....................................................203 Controller......................................................................................................207 Crystallizer....................................................................................................211 Cyclone .........................................................................................................215 Rotary Drum Filter .......................................................................................221 Solids Dryer..................................................................................................223 Depressuring Unit........................................................................................226 Dissolver.......................................................................................................231 Excel Unit......................................................................................................232 Data Transfer Sheet ..................................................................................234 Expander.......................................................................................................238 Flash..............................................................................................................240 Flash With Solids .........................................................................................244 Flowsheet Optimizer....................................................................................246 Heat Exchanger, LNG ..................................................................................252 Heat Exchanger, Air Cooled .......................................................................254
Table of Contents - V
Heat Exchanger, Rigorous..........................................................................256 Heat Exchanger, Simple..............................................................................266 Heating/Cooling Curves ..............................................................................270 Mixer..............................................................................................................274 Multivariable Controller...............................................................................276 Phase Envelope ...........................................................................................280 PIPEPHASE Unit Operation ........................................................................282 Pipe ...............................................................................................................286 Line/Fitting Data ........................................................................................288 Line Sizing Data ........................................................................................289 Polymer Reactor ..........................................................................................292 Procedure Data ............................................................................................294 Procedure Code ........................................................................................295 Pump .............................................................................................................302 Reaction Data ...............................................................................................304 Reactor..........................................................................................................308 Conversion and Equilibrium Reactors ......................................................310 Continuous Stirred Tank Reactor ..............................................................310 Plug Flow Reactor .......................................................................................310 Boiling Pot Reactor .....................................................................................314 Gibbs Reactor ..............................................................................................316 Unit Reaction Definitions ............................................................................318 Reactor, Batch..............................................................................................323 Solid Separator ............................................................................................324 Splitter...........................................................................................................326 Stream Calculator ........................................................................................328 Specifications...............................................................................................332 VARY .............................................................................................................334 DEFINE..........................................................................................................336 User-added Unit Operations .......................................................................348 Customized UAS Data Entry Window .......................................................351 Modular User-Added Unit Operations .......................................................352
April 2009
Modular User-Added Utilities .....................................................................353 Detailed Information ..................................................................................353 Electrolytic Column Algorithm (ELDIST) ...................................................356 Simsci Add-on Modules ..............................................................................358 SIMSCI POLYMER CSTR Unit Operation ................................................358 SIMSCI COMPONENT PROPERTY REPORTER Unit Operation ...........359 SIMSCI BLEND Unit Operation.................................................................359 SIMSCI RESET Unit Operation.................................................................360 SIMSCI Profimatics Reactor Unit Operations ...........................................361 Valve..............................................................................................................362 Wiped Film Evaporator................................................................................364 Chapter 10 Running and Viewing a Flowsheet ............................................366 Using the Run Palette..................................................................................366 Checking the Simulation Status.................................................................368 Understanding the Unit Color Coding Cues ..............................................369 Running the Simulation ..............................................................................369 Stepping Through Simulation Execution ...................................................370 Stopping Simulation Execution..................................................................370 Using Breakpoints .....................................................................................371 Viewing Results ...........................................................................................372 Running a Case Study.................................................................................376 Viewing Case Study Results .....................................................................378 Running Files in Batch Mode .....................................................................378 Revising the File Execution Sequence Order ...........................................382 Creating an Execution File List..................................................................382 Executing the Batch List............................................................................383 Viewing Output Results .............................................................................383 Chapter 11 Printing and Plotting ....................................................................384 Defining Output Reports .............................................................................384 Generating a Report ....................................................................................392 Plotting..........................................................................................................393 Chapter 12 Customizing the PFD Workplace ................................................398 Changing Unit Operation Styles.................................................................398 Changing the Unit Icon Globally................................................................399 Changing the Unit Icon for a Single Unit ...................................................400 Changing the Label Displayed for a Specific Unit .....................................401
Changing Stream Styles .............................................................................402 Changing the Global Stream Style ............................................................402 Display Stream Property Lists As Stream Labels .....................................404 Create Custom Stream Property Lists.......................................................405 Changing the Style of an Individual Stream .............................................408 Changing the ID Name of an Individual Stream........................................409 Toggle Stream Property List Button ..........................................................410 Adding the Toggle Stream Button to the Tool Bar ....................................411 Customizing Stream ToolTips ....................................................................412 Modifying Drawing Preferences .................................................................414 Specifying a Default Editor .........................................................................415 Changing the Default Font..........................................................................416 Index .......................................................................................................................i
April 2009
Chapter 1
Using PRO/II 1
Starting PRO/II
To start PRO/II: Double-click the PRO/II icon, or launch from the Start menu. The PRO/II welcome window appears. This window contains information on opening files and on the color codes used in the program.
Click OK to close this window and open the PRO/II main window.
April 2009
Figure 1-2: The PRO/II Main Window You can now open a new simulation file (select File/New), open an existing file (select File/Open), or import a keyword file (select File/Import). See Chapter 3, Managing PFD Files, for additional details.
Chapter 1
Using PRO/II 3
Description Identifies the menus available in PRO/II: File, Edit, Input, Output, Tools, Draw, View, Options, Window and Help. Provides push button access to various Edit, Input, Tools, View, Window, and Help options Provides a workspace for placing units, making stream connections, drawing objects, and adding text. Functions as a sliding scale for moving the flowsheet to the right or left in the PRO/II main window. Functions as a sliding scale for moving the flowsheet up or down in the PRO/II main window. Displays help, information and error messages for the active feature or object. Changes window height, width, or size when the corresponding border handle is dragged to a new position.
Toolbar
April 2009
Chapter 1
Using PRO/II 5
April 2009
Chapter 1
Using PRO/II 7
April 2009
View/Palettes/Run
Chapter 1
Using PRO/II 9
April 2009
View/Stream List
Chapter 1
Using PRO/II 11
Button
Description Runs the simulation Stops the simulation First, select any stream or unit on the PFD. Pressing this button displays the results of the selected PFD item. View Text Results Window. First, solve a simulation; then select any stream or unit on the PFD. Pressing this button displays results for the selected item similar to how they would appear in the complete output text report. Generates an output report for the simulation problem. Select Active report allows choosing which pre-defined report is currently active. Generates an output report suitable for viewing by using Microsoft Excel
--------
April 2009
Button
Description Clears the PFD of any extraneous object by redrawing the flowsheet.
Figure 1-13: Toolbar Customization from View menu All items in the Selected Items list box from top to bottom appear in order left to right on the tool bar. Items in the Available Items list box do not appear on the tool bar. Use the Add, Add ALL, Delete, and Delete ALL buttons to move items between the two list boxes as desired. To add an item to the tool bar, Highlight an item in the Available Items list box.
Chapter 1
Using PRO/II 13
Use the Add button to move it to the Selected Items list box. To remove an item from the tool bar, Highlight an item in the Selected Items list box. Use the Delete button to move it to the Available Items list box. To change the order of items on the tool bar, Highlight an item in the Selected Items list box. Use the Up, Down, Top, and Bottom buttons to change the position of the item in the list. All changes take effect immediately after pressing OK.
April 2009
General Approach
This chapter provides a quick overview of the use of PRO/II for solving engineering problems. A suggested basic approach is given as well as helpful explanations of the information flow in PRO/II. Sample data entry windows are given to illustrate data entry for PRO/II. Step-by-step examples are available in the PRO/II Tutorial Guide. Online help is also available. You have already learned that PRO/II gives you great flexibility and numerous options when supplying simulation data. For many items of data, default values are supplied. A color code informs you when data are required, supplied by default, out of normal ranges, or missing. Note: You must supply data for all red-bordered fields or red-linked text (including data required) before running your simulation. Problem data may be supplied in almost any order: PRO/II warns you when required data are missing. However, it is still best to follow a logical path when supplying simulation data. For example, some options such as stream compositions are dependent upon the components selected. Some unit operations, such as the flash drum, have features that are dependent on the thermodynamic data. For some other unit operations, performance specifications based on the components in the system are the preferred way to define the operation. For these reasons, the following approach is recommended when building a simulation flowsheet.
Chapter 2
Simulation Basics 15
April 2009
Streams
Click the Streams button on the top of the floating PFD palette. The PFD is now in stream mode and a small S is attached to the cursor. You will notice that all possible exit ports for each unit operation are now marked. Required outlet ports are colored in red; green is used to mark optional ports. PRO/II adds each stream to the flowsheet in an orthogonal manner, following a rectangular grid pattern. As soon as a valid flowsheet has been built, i.e., all required inlet, outlet, and connector streams have been added for all the process units, the red border around the Streams button on the PFD palette changes to blue.
Chapter 2
Simulation Basics 17
Required Data
Now that the flowsheet has been built, its time to supply the required data for the calculations: the components and thermodynamic methods must be defined, inlet feed streams and, optionally, recycle streams must be supplied, and the operating conditions for the unit operations must be specified.
Components
To define the components, select Input/Component Selection from the menu bar or click on the benzene ring toolbar icon to open the Component Selection main window. Note that this icon has a red border, indicating that components have not yet been defined. Library components for which the library access names are known may be directly typed into this window, where they are transferred to the List of Selected Components for the problem. A convenient search procedure is also provided which may be used by clicking Select From Lists Petroleum (PETRO) components are defined in the Petroleum Components window, which is reached by clicking Petroleum. Non-library components can be defined in the Userdefined window which is reached by clicking User-defined. Note that petroleum pseudo-components defined by PRO/II from petroleum stream assay data do not appear in the Component Selection main window.
Thermodynamic Methods
Thermodynamic methods are defined in the Thermodynamic Data main window which is reached by selecting Input/Thermodynamic Data from the menu bar or by clicking on the phase diagram icon. Note that this icon is initially outlined in red, indicating that thermodynamic methods must be defined for the problem.
For most problems, a predefined set of thermodynamic methods for calculating K-values, enthalpies, entropies, and densities may be used. PRO/II offers numerous Categories of method sets. After a category has been selected, you may select a method set within that category as a Defined System for the problem and modify it by clicking Modify to access the Thermodynamic System-Modification window. Note that transport property calculations are not
April 2009
included in the predefined method sets. If they are required for the problem, you must add them to the predefined thermodynamic method set in this window.
Stream Information
The identifiers for feed streams requiring input data are marked with red borders indicating that information is missing. Stream information is supplied in the Stream Data main data entry window which is reached by double-clicking a stream identifier. The predefined stream identifier may also be changed in this window. Three types of information must be supplied in this window: the thermal condition of the stream, the flow rate for the stream, and the composition of the stream. For petroleum assay streams, the assay data are provided instead of the composition data, and PRO/II defines the stream composition for you in terms of petroleum pseudo-components. Although optional, it is good practice to provide reasonable estimates for recycle tear streams in order to accelerate convergence of problem recycle calculations.
Unit Operations
Unit operation identifiers for which data entries are needed are marked with red borders. To enter information for a unit operation, double-click its icon to retrieve the Unit data entry window. Various input options and numeric values are supplied via this parent window and its child windows. Required information is always bordered in red; data entry fields for items with supplied defaults are always bordered in green. After supplying information in a data entry field, the border color changes to blue. Information you have supplied which lies outside the normal range for the field is marked with a yellow border. You may also change the default unit identifier in this window and furnish a longer, more descriptive name for the unit operation. Notice that when you return to the flowsheet, the unit identifier on the PFD has a black instead of red border, signifying that all data entry requirements are satisfied. If the border is still red, you must return to the data entry window for that unit operation and supply the missing data.
Chapter 2
Simulation Basics 19
April 2009
Figure 2-1: Miscellaneous Calculations Options Include Exergy Analysis: Placing a check mark in this checkbox requests exergy calculations after the flowsheet has solved. These calculations do not affect flowsheet convergence. This corresponds to the EXERGY statement of General Data keyword input. Component Data: Controls the component slates used in each thermodynamic METHOD set. The default Fixed option forces all
Chapter 2
Simulation Basics 21
thermodynamic sets to use the same component properties uniformly. The Variable option allows each METHOD set to use different properties for the components. This is equivalent to the CDATA option on the CALCULATION statement of General Data keyword input. Polymer Mode Consistency Check: Set Yes by default, this generates a report of how the phases available for polymer components agree with the phases available in the thermodynamic methods. This option takes very little time, and there is no substantial advantage for using the No option. This is equivalent to the PCONVERSION option on the PRINT statement of General Data keyword input. (It is used so rarely it no longer is documented in the Keyword Manual.) Thermo/Phase Designation Consistency Check: This checks that the phases declared in the thermodynamic METHOD sets are compatible with the phase designations of non-polymer components. The default Calculation Time setting performs the checks each time thermodynamic calculations are initiated. The Input Time option performs the checks only once, before flowsheet calculations begin. Performing the checks during calculations has very little impact on the elapsed solution time. This is the same as the COMPCHECK option on the CALCULATION statement of General Data keyword input. Independent Variable Check: In equilibrium calculations where the dependent variable (y) is relatively insensitive to the independent variable (X), the default ON setting forces relatively large changes in the independent variable. This helps ensure the solution is near the local optimum. The OFF option accepts any valid solution that is merely within tolerance, but may be desirable in rare situations. This is equivalent to the DVARIABLE option on the CALCULATION statement of General Data keyword input. Flash Algorithm: PRO/II incorporates several strategies for solving flash calculations. Each strategy has unique strengths and weaknesses. The Default setting is robust, and is appropriate for most simulations. The before Version 5.5 setting closely replicates the flash results obtained in older versions of PRO/II. The Alternate setting is recommended when the Default method fails, especially when two liquid phases are expected. For more description, refer to the FLASH option on the CALCULATION statement of General Data keyword input. Maximum Node Calculations: This entry sets the maximum number of unit operations and branching decisions allowed during flowsheet solution. The default number is adequate for virtually all simulations. See the MAXOPS entry on the CALCULATION statement of General Data keyword input.
April 2009
Default Data
To simplify data input, PRO/II supplies default options and values wherever practical. Default values supplied by PRO/II are printed in black in a data entry field with a green border, or in the case of linked text, in green. For example, the default number of iterations for a column unit operation using the IO method is supplied as 15. Entries which you must always supply are indicated with a color red because they have no default values. While it is not necessary to replace a default entry to satisfy PRO/II input requirements, default data should be inspected carefully to ascertain that they meet your requirements. After replacing a default value, the border color for the data entry field changes to blue, indicating that you have supplied this value. For linked-text strings, the color of the linked text is also changed to blue, indicating that you have replaced the default value.
Chapter 2
Simulation Basics 23
April 2009
Chapter 3
Figure 3-2: Open Simulation Window Type or select the name of the simulation file. Click Open or press <Enter>. PRO/II displays the simulation in the PFD main window. Note: PRO/II 7.x provides a file converter for import of PRO/II 4.x files with the exception of Add-On Module files.
April 2009
Figure 3-3: Save As Dialog Type a name for this simulation. Click Save or press <Enter>. Note: The PRO/II Autosave functionality automatically creates a backup file at user-specified intervals from which recovery can be made. If you close or exit the simulation without saving, this backup file is deleted. Select Options/Simulation Defaults/Autosave from the menu bar to access the Autosave Options window.
Chapter 3
Closing a Simulation
You should save a simulation before closing it, although PRO/II will prompt you to save changes for an existing simulation.
To close a simulation:
Choose File/Close from the menu bar. If you close a simulation without first saving the simulation files, you lose any changes you made to the simulation since the last save.
April 2009
Deleting a Simulation
You can delete any simulation except the current (active) simulation at any time.
Figure 3-4: List of Files Type or select the name of the file you want to delete. (You may not delete the current simulation.) Click Open or press <Enter>. PRO/II deletes all files associated with this simulation.
Chapter 3
Copying a Simulation
You can copy all files associated with a simulation (one flowsheet and three database files) to a target simulation you name. You can copy to new or existing file. If you copy to an existing file, PRO/II verifies if you want to overwrite the existing file.
Figure 3-5: Copying Files Select the name of the file you want to copy from the file selector. (You may not copy the current simulation.) Enter a name for the copy (target). Click Open or press <Enter>. PRO/II copies all files associated with the simulation. Note: There may be as many as 17 separate files associated with a single simulation problem. These are described in Table 3-1.
April 2009
Description
PRO/II database files Graphics file Compressed files containing *.pr1, *.pr2, *.pr3 and *.sfd files Main output file Component, calculation sequence, recycle loops/streams output data Equipment/streams output data Input source listing Output index Calculation history Keyword input file Plots saved in the plot display window Stream property table or plot (saved in ASCII format) Stream property table or plot (saved in tabular format) Graphics saved in Clipboard format Temporary procedure file created and removed by PRO/II. Only remains if there is an abnormal termination.
Chapter 3
Figure 3-6: List of Files Type or select the name of the keyword file that you want to import. Click Open or press <Enter>. PRO/II converts the selected keyword input file into a flowsheet and displays it in the PFD main window automatically.
April 2009
Chapter 3
If you import a keyword file containing unsupported features, one or more messages dialogs appear. These describe the problems and provide options for remedial action. The following display is typical:
Figure 3-7: Typical Unsupported Features Warning Window After responding to each unsupported feature dialog, the message window displays messages similar to the following: ** MESSAGE ** A single STREAM that FEEDS MORE THAN ONE UNIT operation is NOT SUPPORTED by PROVISION. Referencing streams may be used instead. ** MESSAGE ** Duplicate stream 8 feeding X1 is renamed to 8_R1 and is referenced to the first instance of 8.
Figure 3-8: Flowsheet Status Window for Unsupported Features
Removing all unsupported features in the dialog boxes allows PRO/II to start normally. However, leaving even one unsupported feature present results in PRO/II operating in Run-Only mode. The Title bar of the main PFD window reveals this condition, as illustrated in Figure 3-9.
April 2009
Figure 3-9: PRO/II in Run-only Mode Click Run on the Run palette. Once the flowsheet solves, you may double-click a unit or stream to view the results.
Chapter 3
Note: In the current version, a *.sfd file is generated when the simulation (PFD) is saved and exported. After generation of the *.sfd file, users can restore the PFD layout using the (exported) *.inp file. Choose the Simulation Data to Keyword File option. Click OK. PRO/II converts the current simulation flowsheet data into a PRO/II keyword input file in ASCII format. The name of the keyword file will be YYY.INP, where YYY.PR1 is the name of the simulation flowsheet PRO/II database file.
April 2009
Note: Beginning with PRO/II version 5.5, exported flowsheets write all unit operations in the flowsheet to the keyword file. Previously, for keyword input files that include a User-Defined Sequence List, only unit operations listed in the Sequence List were exported. This change was necessary to support the new Included/ Excluded functionality. PRO/II now generates a SEQUENCE statement with a list of Available Unit Operations that excludes unit operations marked Excluded at the time of export. Additionally in these instances, PRO/II writes a warning into the keyword file advising that the list of unit operations and the SEQUENCE statement do not match. These files may cause input processing problems if read into earlier versions of PRO/II (i.e., versions prior to 5.5).
Chapter 3
Figure 3-11: Export File Filter Window PRO/II then generates the ASCII file. To import this file into your spreadsheet or word processing program, follow the instructions included with that application.
April 2009
Chapter 3
Note: Microsoft Excel must be installed on your system to use these tools. Additionally, since these tools use macros to export the data, macros must be enabled in Excel. If Excel displays a security dialog, choose Enable macros. PRO/II comes pre-installed with some default spreadsheet tools. They can be used to create tables of stream properties, component flow rates, or distillation reports. They also can generate property tables and other reports for a limited number of supported unit operations.
Note: Ctrl+C, Ctrl+V, Ctrl+X can be used a shortcut to COPY, PASTE and CUT respectively.
April 2009
Chapter 4
Building A Flowsheet 41
Figure 4-1: Global Default for Problem Descriptive Information Complete the window. Click OK.
April 2009
Figure 4-2: Global Units of Measure Sets Select the desired default units of measure set for entering simulation data. The default choice is ENGLISH-SET1, i.e., the data input will be in English units. Select the desired default units of measure set for generating the first output report. The default choice is Same as Input, i.e., the first output report will be printed in the default English units. If any choice other than the default is selected, the second output report will no longer be available, and the list-box for selecting the alternate units of measure set for the second output report will be disabled. Select the desired default units of measure set for generating the second output report. The default choice is None, i.e., no second output report in alternate units will be generated.
Chapter 4
Building A Flowsheet 43
Figure 4-3: Default Units of Measure for Problem Data Input Window Select different dimensional units for data input for each individual category or choose Initialize from UOM Library... to automatically fill in the defaults from another set. Click Standard Vapor Conditions... to enter the Problem Standard Vapor Condition window. The default temperature and pressure basis are shown in the data entry fields and may be replaced or the standard vapor volume per mole may be replaced, not both. PRO/II default values are: Note in the following table that standard conditions for liquid molar volume are different than standard vapor conditions.
April 2009
Pressure
14.696 psia 1.0332 kg/cm2 101.32 kPa
Vapor Volume
379.48 ft 3 /lb-mol 22.414 m3 /kg-mol 22.414 m3 /kg-mol
The current atmospheric pressure (Pressure Gauge Basis) is shown in a data entry field and may be replaced with another value as desired. The PRO/II default value is 14.696 psia or the metric equivalent. Click TVP and RVP Conditions... to select the Problem TVP and RVP Conditions window. The temperature for true vapor pressure specifications may be replaced in this window. The PRO/II default for TVP calculations is 10F. The calculation method for Reid vapor pressure may be selected in a drop-down list box on this window. Choices are: API Naphtha (the default) API Crude ASTM D323-73 ASTM D323-82 ASTM D4593-91 ASTM D5191-91 ASTM D323-94 Click OK.
Chapter 4
Building A Flowsheet 45
Figure 4-4: Units of Measure Library Enter a name for the new set in the data entry field provided, and select the basis for the set with the appropriate radio button: English, Metric, or SI.
April 2009
The units for the standard dimensional unit sets in PRO/II are assigned to the new set and the edit feature may be used to customize the set. Note: An alternate way to create a new set is to highlight an existing set in the Units of Measure Set Name and Description list box and click Copy on the Units of Measure Library window. The name for the new set is then entered in the Copy Units of Measure Set window. The Edit feature may be used to customize the set.
Chapter 4
Building A Flowsheet 47
One Output Report in Input Units (the default): When this option is selected, an output report based on the units of measure used for the problem data input will be generated. The currently specified input units of measure will be displayed for informational purposes, but they cannot be changed. With this option, the output units of measure can only be changed by selecting the Units of Measure option from the Input menu. One Output Report in Output Units: When this option is selected, an output report based on the output units of measure specified will be generated. The currently specified output units of measure will be displayed, and they can be changed if desired. Two Output Reports, one in Input Units, one in Output Units: When this option is selected, two output reports will be generated, one each, based on the input and specified output units of measure will be generated. The currently specified output units of measure will be displayed, and they can be changed if desired. For the second and third cases discussed above, the displayed output units of measure set can be copied from the specified input units, or initialized from one of the units of measure sets stored in the units of measure library. To copy the input units of measure set to be used for the output report, or to reset the explicitly specified output units to the previously specified input units: Click Copy from Input UOM on the Default Units of Measure for Problem Output Report window. Click OK to continue. To initialize the output units of measure set from a units of measure set stored in the units of measure library: Click Initialize from UOM Library... on the Default Units of Measure for Problem Output Report window. Click OK to continue. If the results of a previously executed simulation must be printed in a different set of dimensional units, it is only necessary to select the required units through this feature and generate a new report. The entire simulation need not be executed from the start just to obtain the output results in a different set of dimensional units.
April 2009
Figure 4-6: Global Default Thermodynamic System Window Complete the window. Click OK. Note: This global default will not become effective until the next time File/New is selected.
Chapter 4
Building A Flowsheet 49
To make changes to the general drawing defaults: Choose Options/Drawing Defaults/General... from the menu bar.
April 2009
Selecting a Unit from the PFD Palette To select a unit icon and place it on your flowsheet:
Choose the icon from the PFD palette (see Chapter 9 for unit descriptions). Position the cursor where you want the unit icon to appear and click the left mouse button.
Chapter 4
Building A Flowsheet 51
Snapping
When connecting two units with a stream PRO/II will adjust or snap the unit icon positions to straighten the connecting stream. By default, units you add to or move in the PFD main window snap to an invisible grid. You can turn grid snapping off.
April 2009
Deleting a Unit
To delete a unit already on the flowsheet:
Click on the unit icon you want to delete. Click delete on the toolbar, or press <Delete>, or click the right mouse button and select Delete.
Re-labeling a Unit
PRO/II automatically labels each unit icon you place on the PFD main window. You can change the label for a unit by modifying the label on its data entry window. By default, the label consists of a character and a one-digit auto incrementing number.
Chapter 4
Building A Flowsheet 53
Figure 4-10: Unit Data Entry Window Type over the default name for Unit. Click OK.
April 2009
Drawing Streams
Streams mode is used to lay out the connections between units and feed and product streams. The product ports for each unit automatically appear when you depress the Streams button. Required product ports are red, while optional product ports are green. For some unit operations, an entire side of the unit will be red or green denoting multiple connections to that port.
Figure 4-11: Streams Button Down The cursor changes to an arrow with a small S to indicate Streams mode. PRO/II displays the product ports for each unit in the layout. To display feed ports, depress the left mouse button while the Streams button is depressed.
Chapter 4
Building A Flowsheet 55
Drawing a Connection
To connect units:
Click the left mouse button on a port to anchor or start a stream. The ports and port colors for some unit operations change depending on the port you selected. Click the mouse again at the other unit you want to connect. PRO/II draws an orthogonal line to connect the ports.
April 2009
Labeling a Stream
PRO/II automatically labels each stream you place on the PFD main window. By default, the label consists of an S followed by an auto incrementing number. You can change the label for a stream by changing the label on its data entry window.
To re-label a stream:
Double-click the stream you want to re-label. The Stream Data window appears. Type over the default name for Stream. Choose OK. This stream will now show the new label; other streams retain the original labeling scheme.
Chapter 4
Building A Flowsheet 57
Moving Streams
You can change the route of the stream between two connections whenever you wish.
To move a stream:
Click and hold the left mouse button at an end of the stream you want to move. Drag the stream to the new location. Release the mouse button to drop the stream in place.
Rerouting Streams
As you add new connections, PRO/II automatically performs a stream route calculation. When you move a stream or a unit operation icon, this calculation may no longer be valid. You can recalculate an unobstructed, orthogonal path for selected streams.
To reroute a stream:
Select the stream(s) you want to reroute. Choose Reroute from the Edit menu. PRO/II calculates the best route for these streams and automatically reroutes them.
April 2009
Chapter 4
Building A Flowsheet 59
Figure 4-13: Sample PFD Single line format lays units in a single line from left to right.
April 2009
Chapter 4
Building A Flowsheet 61
Entering Text
You use the text option to include notes on your drawing. Once you choose text mode, you remain in text mode as long as you continue to choose the OK or Cancel button on the Draw Text window; choosing Cancel exits text mode.
To place text:
Choose Draw/Text from the menu bar.
Figure 4-15: Draw Text Window Enter the text you want to appear on the diagram. Optionally, choose a font size for the text. The default is 50 pixels. Choose OK.
Drawing Lines
You use the line option to add connected lines to the diagram without interfering with simulation data. PRO/II provides an orthogonal poly-line feature.
To draw a line:
Choose Line from the Draw menu. Click and hold the mouse button on the PFD main window to anchor the line. Press <Space> to set each anchor point for drawing in a new direction. Release the mouse button to complete your line.
April 2009
Drawing Shapes
You can draw shapes to enclose figures on a diagram without interfering with simulation data.
To draw a polygon:
Choose Polygon from the Draw menu. Click and hold down the mouse button on the PFD main window. Press <Space> to each anchor point for drawing in a new direction. Release the mouse button to complete your object.
Chapter 4
Building A Flowsheet 63
Drawing Pages
You can divide your PFD into pages and define separate page setup options for each page. Pages can be individually printed or copied to the clipboard (see Chapter 3, Managing PFD Files).
To add a page:
Choose Page from the Draw menu. Click on the PFD. Drag and release the mouse button to the desired size. The page name is automatically given as PG followed by an auto incrementing three-digit number.
April 2009
Chapter 4
Building A Flowsheet 65
April 2009
Chapter 5
Manipulating Objects 67
Handles appear for the set of objects. For example, although five objects appear to be selected as part of this set (Figure 5-1), when you move the selection, the fourth and fifth objects (the valve and the compressor) do not move with the set (Figure 5-2).
April 2009
Deselecting Objects
If you change your mind after selecting objects, you can reverse any selection. To deselect or unselect all objects in the layout, do one of the following: Choose Select None from the Edit menu. Click on another item or on an unoccupied area of the PFD.
Resizing Objects
You can change the height, width, or overall size of any object or a group of objects on your flowsheet.
Chapter 5
Manipulating Objects 69
To change the size of an object: Click and drag the cursor until the object is the desired size. Release the mouse button.
Figure 5-3: Resize Column Note: Condensers and reboilers shown on distillation or side columns are fixed in size. They do not resize when you change the size of the column.
April 2009
Rotating an Icon
You can also click the right mouse button on a unit icon, and then choose Rotate from the Pop-up Unit menu to display the rotation degrees.
Chapter 5
Manipulating Objects 71
Editing Text
You can change the text, size and or rotation of any text object you placed on the PFD main window. To edit text: Double-click on the text object you want to change. The Draw Text window appears. Edit as desired and choose OK.
Aligning Text
You can align text in two or more text boxes to the left, right or center of the box they are drawn in. To align text: Select the text you want to align (you must select at least two) by clicking on the first text box, then click other boxes while holding down the <Shift> key. Choose Align Text from the Edit menu. The align menu pop-up appears to the right of the Edit menu. Choose Left, Center or Right.
April 2009
Zooming
You can access the PRO/II zoom features from the View menu, using the zoom buttons on the toolbar, or using the keyboard. To zoom in or out, do one of the following: Click on the toolbar. Choose Zoom In or Zoom Out from the View menu. Choose <PgUp>or <PgDn> to Zoom in or Zoom out the PFD.
Chapter 6
April 2009
Note: If the multiple viewports button is not displayed on your toolbar, check the Standard menu option from the View/Toolbar menu.
Chapter 6
Panning
You can pan the contents of the PRO/II main window using the Pan window or the Small Pan or Large Pan options on the View menu. The Pan View window is a thumbprint of the entire flowsheet. A bounding box identifies the area of the flowsheet currently visible in the PFD main window. You move the bounding box or change its size to change how much or what portion of the flowsheet you see in the PFD. From the View menu, you can pan in large or small increments: up, down, left, or right. You can change the settings for the pan increment in the General Drawing Defaults window.
April 2009
Chapter 6
April 2009
Description
Enables you to describe the current simulation and relate it to a specific project. Enables you to set units of measure specific to this simulation. Each new simulation extracts defaults from the default Unit of Measure Set. Enables you to specify the components and pseudo-components you want to use in the current simulation Enables you to supply component properties.
Component Selection
Component Properties
Chapter 7
Enables you to select thermodynamic methods for the current simulation. Enables you to modify TBP cut points and characterization options for the generation of pseudo-components from Assay streams. Enables you to supply FORTRAN code for kinetic reaction rate calculations without the need for compilation and linking. Allows you to perform studies on a base case solution by altering parameters selectively and rerunning. Enables you to define reactions and provide heat of reaction, equilibrium, or kinetic data for reaction sets. Enables you to specify a user-defined calculation sequence. Enables you to specify user-defined recycle convergence and acceleration options.
Procedure Data
April 2009
Selecting Components
Use this option to select the components and pseudo-components that you want to include in this simulation.
Figure 7- 1: Component Selection Select a component from the available lists or type the name of the component. Each component you select appears in the List of Selected Components box on the right side of the window.
Chapter 7
To modify component properties: Click on the toolbar or choose Component Properties from the Input menu. The Component Property Modification window appears.
April 2009
Figure 7- 3: Thermodynamic Data You can specify a predefined system of thermodynamic calculation methods. Select a category of predefined systems. PRO/II displays the predefined systems for this category in the Primary Method list box. Select a predefined system from the Primary Method list box. Choose Add-> to define the calculation method.
Chapter 7
Figure 7- 4: Assay Cut points and Characterization PRO/II always supplies the Primary TBP cut point set. You can modify the primary set or define a new cut point set or set characterization options.
April 2009
Figure 7- 5: Main Reaction Set Window Click the Enter Data button to open the Reaction Definitions dialog.
Chapter 7
April 2009
Figure 7- 7: Main Procedure Data Window Click a number at the left of a line to select an existing procedure or to add a new one. If desired, enter an optional description. Click the Enter Data button at the right end of the line to open the Kinetic Procedure Definition dialog. Write the code for performing the Kinetic calculations in this dialog. Click OK to save the procedure and exit the dialog.
Chapter 7
April 2009
Figure 7- 9: Calculation Sequence Dialog If desired, select a different Sequence Method. To exclude a unit operation from the calculations, highlight it in the Available Unit(s) list and click the Exclude button. To restore an excluded unit operation to the Available Unit(s) list, highlight it in the Excluded Unit(s) list and click the Include button. The positioning buttons (Move Up, Move Down, etc.) are most often used when the selected Sequence Method is Explicitly Defined by User.
Chapter 7
April 2009
Button
Description
Displays context-sensitive help for the active data entry field or for the window itself (if there is no active field). Displays the main help window for the data entry window. Displays the results of the data consistency checks performed for the main window after you choose OK. Selects a unit of measure set for the selected data entry field. References one stream or unit parameter value to another stream or unit parameter. Displays the valid range of values for the active data entry field. Displays the notes, associated with the unit.
Chapter 7
Figure 7- 11: Column Tray Hydraulics Window Observe that four rows are provided in the initial grid corresponding to five sections in the column. This may be expanded by clicking a row number button and then clicking the Insert button. A row will be added below the selected row. When the number of rows exceeds five, a scroll bar appears at the right side of the grid to provide access to the rows not displayed. To deselect a row, click the number button of the previously selected row, or select a different row. To clear data entries from a row, click the row number button and then click Reset. To remove a row, click the row number button and the Cut button.
April 2009
As another example, the Compressor Outlet Pressure Performance window shown below contains an X-Y grid for a user-supplied compressor pressure curve.
Figure 7- 12: Compressor Outlet Pressure Performance Window Notice that two columns are used for the pressure curve. The first column is the volumetric feed rate and the second column is the corresponding outlet pressure from the compressor. Four individual entries or cells corresponding to two rows in the table are marked with a red border as mandatory input. Optionally, more pairs of information may be provided. The initial grid displays four pairs of cells. Note that each row in the grid has a numbered click button which may be used to select the row. The initial table may be expanded with the Insert button on the toolbar as described in the previous example. When the number of rows in the X-Y grid exceeds four, a scroll bar appears to provide access to rows not displayed. A row may be deleted from the grid by clicking its number button and then clicking Cut. To copy a row, first click its number button and then click Copy. The row is copied into the clipboard. Next, click the row number button for the row which will be just below the copied row. Complete the copy by clicking Paste to insert a copy of the row from the clipboard.
Chapter 7
Linked text
Linked text is used to input information in a sentence format. Numeric values, mathematical operators, stream or unit names, or various options may be supplied as linked text. Linked text may serve to access another data entry device. The Feedback Controller data entry window containing linked text is shown in Figure 7-12.
Figure 7-13: Feedback Controller Main Data Entry Window - Initial Display Linked text is used on this window to define the Specification and Variable. Parameter and Value texts in red require you to click them and provide data. The text string the default tolerance is green, denoting a default value. Optionally, a different tolerance may be provided by clicking the afore-mentioned text string to open the Specification Tolerance window, where the appropriate radio button may be clicked to select a new tolerance type, i.e., relative tolerance. Click OK to return to the Feedback Controller window. Notice the relative tolerance text string turns blue, to indicate a user-supplied value. When the value text string is clicked, a floating point entry field for the specification value is displayed with a red border signifying mandatory input. The value you supply is now displayed in blue numbers instead of the value text string.
April 2009
Clicking the Parameter text string retrieves the Parameter window in which the unit or stream and its parameter are defined. The unit or stream identifier and the parameter for the specification are now displayed in blue, replacing the Parameter text string.
Chapter 7
April 2009
Component Data
General Information
PRO/II provides considerable flexibility in the definition of component data. No limit is set on the number of components which may be used for any problem. Furthermore, component data may originate from a variety of sources such as SIMSCI databanks, user-prepared databanks, user-defined components, and components derived from petroleum assay data for feed streams. Moreover, you may stipulate a preferential search order when multiple databanks are used. The SIMSCI databanks, SIMSCI and PROCESS, contain more than 1700 components and are adequate for nearly all simulation models. The AIChE DIPPR databank is also available as an add-on to PRO/II. User databanks of thermo-physical data can be created, using SIMSCI LIBMGR and the Thermodynamic Data Manager (TDM) programs, and maintained through PRO/II graphical user interface. SIMSCI REGRESS is fully supported in TDM and PRO/II, and provides the capability of regressing experimental thermo-physical data to fit model equations.
Chapter 8
April 2009
For all families listed above, except for Hydrocarbon Light ends, you may define specific search criteria by selecting radio buttons and entering a search string. Use part or all of the component name, alias, or chemical formula as the search string. As components are located, transfer them to the Additions to Component List box. When you have located all the components, click OK to return to the Component Selection main window and to transfer the components to the List of Selected Components. The priority order for databanks may be defined by pushing the Databank Hierarchy button on the Component Selection main window to access the Component Selection Databank Search Order window. This window initially displays the default search order and may be modified to search the databanks in any order. Components are always selected from the first databank in the search order in which they appear. Note: The newly added libraries and databank names in TDM can be recognized in this dialog box by Library Name: Databank Name.
Chapter 8
may be optionally provided or will be supplied by PRO/II as NBP XXX where XXX is the component normal boiling point. PRO/II uses internal correlations to estimate the third parameter, when missing. All necessary physical and thermodynamic properties are computed from the three correlating properties. Molecular weight is the most difficult property to predict accurately from generalized correlations and should be supplied when possible, for the most accurate characterization for a PETRO component. Note: It is not possible to enter data for assay pseudo-components (which are based on stream assay information) with this window. All properties for components derived from assay data are automatically defined by PRO/II. The components are also added to the component list by PRO/II.
April 2009
The Component Properties window is the master navigation point for changing all component properties. Note: Component properties cannot be defined before the component names have been entered. There are three methods available for component property modification:
Chapter 8
Click Molecular Constants to specify properties such as Dipole Moment, Radius of Gyration, van der Waals Area parameter and van der Waals Volume parameter. Click Heats of Formation to specify Enthalpy of Formation and Gibbs Energy of Formation. In this entry, reference phase designation is a required input. The reference phase can be vapor, liquid or solid. Vapor phase is the default. Click Miscellaneous Properties to specify Acentric Factor, Solubility Parameter, Rackett Parameter, Liquid Molar Volume, Heat of Vaporization, Heat of Fusion, Normal Melting Point, Triple Point Temperature, Triple Point Pressure, Heat of Combustion, Gross Heating Value, Lower Heating Value, Carbon Number and Hydrogen Deficiency Number. For PRO/II library components, the values in the database will appear in the various property windows. In cases where there is no library value to serve as the default, the default displayed will be the text Missing. You may reassign values for any of these properties.
April 2009
If you choose the Correlation Coefficients option, you may display the form of the equation by selecting the appropriate Correlation Number in the like-named dropdown list. Select one of the correlations and supply coefficients as required. If the form of the equation is logarithmic, you may select the base of the logarithm. You may change the units of the equation and may impose maximum and minimum temperatures of applicability. Note: The full range of equations can be found in the online PRO/II Reference Manual accessible via the Help system. If you choose an equation that is not standard, a message to that effect appears, and the border of the drop-down list box will be yellow. If you choose the Tabular Data option, the Component Properties Tabular Data window appears. Enter temperature and property data. You must enter at least one data pair.
Chapter 8
Users can launch TDM GUI in different modes to define new libraries and databanks within libraries. The Thermodynamic Data Manager incorporates REGRESS functionality, so all data preparation activities may be performed within the single TDM program. Due to new library naming conventions, different versions of libraries now may co-exist in the same directory. This means, for example, a PRO/II version 7 library and a PRO/II version 8 library both may be used. It no longer is necessary to always replace older libraries with the newest version. Working with TDM provides these additional advantages: TDM allows users to build customized libraries containing pure component data as well as unary and binary thermodynamic parameters. TDM can generate and display a variety of temperature-dependent graphical plots of tabulated data results. Multiple databanks may be defined and available in a single library file. TDM replaces DATAPREP (now obsolete) and includes REGRESS functionality.
Note: The ID of the library shipped with PRO/II changes with each major version. Refer to the PRO/II Installagion Notes for the current library identifiers. The colon ( : ) between LibraryId and DatabankId always is required. In the PROVISION Graphical User Interface, Library IDs Component Selection and Thermodynamic Data - Databank Search Order dialog box, the newly added and existing libraries and databank names in TDM can be viewed. Users can select and add the libraries and data banks for the current simulation. Note: Refer to the Thermo Data Manager User Guide for detailed explanation on its functionalities.
April 2009
Assay Data
General Information
For many petroleum-based streams, the composition is not fully known in terms of defined components. These stocks must be characterized by pseudocomponents for which the necessary physical and thermodynamic properties have been estimated. PRO/II has extensive procedures for the translation of petroleum stream laboratory assay data into pseudo components. Pseudo-components are based on boiling point or cut point ranges on the true boiling point (TBP) distillation for the stock. The normal boiling point for a pseudo-component is defined as the weighted average temperature of its cut point range. The TBP distillation must often be derived from another type of laboratory distillation, using a conversion procedure. PRO/II accepts the following types of laboratory distillations: TBP, ASTM D1160, ASTM D86, and ASTM D2887. While laboratory distillations are usually reported on a 760 mm Hg basis, PRO/II has procedures to correct distillations for other laboratory pressures. Estimated values for the standard liquid gravity and molecular weight for each pseudo-component are also needed for the characterization process. The
Chapter 8
standard liquid gravity for each pseudo-component is derived from the gravity curve for the stream, in similar fashion to the normal boiling point. The gravity curve for the stream is often not available, and it must be estimated, based on the average stream gravity and the distillation curve. The molecular weight curve is seldom available, and the molecular weight for each pseudo-component is usually predicted from its normal boiling point and standard liquid gravity. All other required physical and thermodynamic properties may be estimated from the normal boiling point, standard liquid gravity, and molecular weight. The use of assay data in PRO/II is divided into two logical steps. The first step involves the definition of the cut point ranges and selection of the characterization options used in development of the pseudo components. Characterization options include distillation curve fitting and conversion methods, gravity curve generation procedure, methods for prediction of molecular weight, and methods for estimation of critical properties and ideal gas enthalpies. If the default cut point ranges and methods furnished by PRO/II are acceptable, this step may be omitted. The properties for all pseudo-components derived from the same cut point set are averaged, based on the stream flows, to develop a common set of blend components. This technique provides reasonable results when the streams have similar chemical natures. For example, all of the assay streams are products from the crude distillation unit. However, when assay streams are dissimilar chemically, such as virgin materials and cracked materials, there may be serious errors in the characterizations for the streams when a single set of blend components is used. For this reason, you are allowed to define additional cut point sets. For example, an additional cut point set may be defined to represent the products from an FCC reactor. Note that it is not necessary or desirable to define a separate cut point set for each assay stream. Similar streams may be grouped by using the same cut point set without a serious loss of accuracy. This also minimizes the number of components in the simulation, keeping calculation times smaller. The second step is supplying the petroleum stream laboratory assay data to PRO/II. This step is accomplished in the setup of initial feed streams and is discussed in the Stream Data section of this chapter.
April 2009
A Primary Cut point Set is always provided as a default by PRO/II. This set has the following cut point definitions:
Cut point Range, Deg F 100 - 800 800 - 1200 1200 - 1600 Cut point Range, Deg C 38 - 427 427 - 649 649 - 871 No of Cuts 28 8 4
The default cut point ranges are usually reasonable for crude oil problems. They may be modified in the Assay Data Primary TBP Cut points Definition window which is accessed by clicking Modify... on the Assay Cut points and Characterization main data entry window. A convenient tabular form is provided for editing of the primary cut point set. Additional or Secondary cut point sets may be added to the problem by clicking Define New Cut point Set... on the Assay Cut points and Characterization main data entry window to access the Assay Data Secondary Set of TBP Cuts. A cut point set name is supplied on this window and a tabular entry form is provided for definition of the cut points. This window is also used to modify existing secondary cut point sets and is accessed by clicking Modify on the Assay Cut points and Characterization main data entry window and highlighting a secondary cut point set in the Defined Secondary Sets list box, on the Assay Cut points and Characterization main data entry window. Highlighted secondary cut point sets in the Assay Cut points and Characterization main data entry window may be deleted by clicking Delete.... This action removes the secondary cut point set from the problem. The Default Cut point Set is used for all streams for which a cut point set is not specified. Initially, it is defined as the Primary Cut point Set by PRO/II. After one or more Secondary cut point sets have been defined, the default cut point set may be changed via the drop-down list box on the Assay Cut points and Characterization main data entry window. It is convenient to define the cut point set which is used the most often as the default cut point set.
Chapter 8
April 2009
Thermodynamic Data
General Information
The selection of appropriate thermodynamic methods is an important and necessary step in the solution of flowsheet problems. PRO/II provides a wide range of methods to allow solution of the wide variety of systems which occur in the chemical process industries. Thermodynamic properties are an integral part of the flowsheet calculations. The equilibrium K-values (both VLE and LLE) are used to determine the phase separations. The enthalpies for the streams are used to determine the energy required to take a system of components from one set of thermal conditions to another. Entropies are used in the calculation of the isentropic operations and the Gibbs free energy minimization reactor. Liquid and vapor densities are used in heat transfer, pressure drop, and column tray sizing. Transport properties are selected in conjunction with the thermodynamic methods in PRO/II and are comprised of liquid and vapor viscosities, liquid and vapor thermal conductivities, and liquid diffusivities. While not strictly a transport property, liquid surface tension is also included. Transport properties find use in rigorous heat transfer calculations, pressure drop determination, and column sieve tray and packing calculations. Transport properties are also reported in the stream properties reports and may be requested in Heating/Cooling Curves reports. In PRO/II, the selection of thermodynamic methods has been simplified by the concept of the method set. Method sets consist of predefined thermodynamic methods for K-values (VLE and LLE), liquid and vapor enthalpies, entropies, vapor fugacities, and densities. Numerous predefined sets are provided. Multiple thermodynamic method sets may be selected for each flowsheet. For example, a default set may be specified for the overall flowsheet and other method sets used for individual units. A facility is also provided to modify the thermodynamic methods in the predefined method sets. Certain parameters for some of the thermodynamic methods may also be supplied.
Chapter 8
April 2009
approach is useful for modeling strongly non-ideal liquid solution behavior. Methods available in PRO/II include: NRTL, UNIQUAC, Wilson, van Laar, Margules, Regular Solution, Flory-Huggins, UNIFAC, UNIFAC TDep-1, UNIFAC TDep-2, UNIFAC TDep-3, UNIFAC Free Volume, and Ideal. Generalized Correlations: Generalized correlations predict K-values with semirigorous equations. The Grayson-Streed and Chao-Seader correlations use the Redlich Kwong equation for vapor fugacities and empirical relationships for the liquid fugacities. Braun K-10 is based on the convergence pressure concept. A variety of other correlations are used to predict the other properties, i.e., enthalpies, entropies, and densities. Generalized correlations are: Braun-K10 (BK10), Grayson-Streed (GS), Improved-Grayson-Streed (IGS), Grayson-StreedErbar (GSE), Chao-Seader (CS), Chao-Seader-Erbar (CSE), and Ideal (IDEAL). Special Packages: Special packages are designed to solve a particular industrial application. Special packages in PRO/II are: Alcohol (ALCOHOL), Glycol (GLYCOL), Sour Water (SOUR), GPA Sour Water (GPSWATER), and Amine (AMINE) and CAPE-OPEN. All Primary Methods: This category includes all of the primary thermodynamic sets that are listed above. User-added Methods: This category includes all of the 15 user-added method sets that may be defined by the user. The PRO/II online help texts provide application guidelines for the various method sets, as well as a brief description for each method. More detailed information may also be found in the PRO/II Reference Manual (also available online). Table 8-1 at the end of this section gives a detailed list of the composite thermodynamic methods used for each predefined method set.
Chapter 8
enthalpy, liquid entropy, vapor entropy, liquid density, vapor density, and vapor fugacity (where applicable). Note: The newly added libraries and databank names in TDM can be recognized in this dialog box by Library Name: Databank Name. Some property-specific data may also be supplied and/or modified in this window for the thermodynamic methods by clicking Enter Data... in the Property-specific Data field. Many of the methods use specific parameters, such as binary interaction factors, modified acentric factors, etc. A priority search order may be defined for the selection of these parameters from more than one thermodynamic databank. Note that thermodynamic databanks are supplied by SIMSCI and may also be prepared by the user with the SIMSCI LIBMGR program. Property-specific data which apply only to the liquid activity methods include: fill options for missing parameters, Henrys Law options, and Poynting correction options. For the liquid activity methods, a vapor fugacity method may also be selected. Other property-specific data which may be modified include the dimensionless residence time correction factor for amines DGA and MDEA and the key (or dominant) components in each liquid phase for K-value (LLE) methods. Key component selection is optional and PRO/II will determine them when not supplied. However, convergence time may be enhanced by pre-selecting the key components.
April 2009
Henrys Law
The Henrys Law window is used to specify whether or not Henrys Law is to be used in conjunction with a liquid-activity K-value method. This window is brought up by clicking Enter Data... on the Thermodynamic Property ModificationProperty Specific Data window. Checking the box on the Henrys Law window causes Henrys Law to be used to determine the solubility of certain components. Designation of solute components may either be determined by the program or selected explicitly by choosing the appropriate radio button. If the solute components are to be designated explicitly, the desired solute components must be selected from the list box on the Henrys Law window.
Poynting Correction
The Poynting Correction window is used to specify the use of the Poynting correction factor for liquid-phase fugacities. The Poynting Correction window is brought up by clicking the appropriate Enter Data... button on the Thermodynamic Property Modification-Property Specific Data window. There are three options to using the Poynting correction: 1. Default: This choice specifies that the Poynting correction will be used only if a vapor fugacity method is chosen. 2. Use Poynting Correction to Liquid Activities: Use the Poynting correction factor for the liquid phase fugacity. 3. Do Not Use Poynting Correction: Do not use Poynting correction factor. If either of the first two options is selected, then the liquid molar volume calculation method may be selected from the following choices: Standard (25C) Volumes, Rackett, Rackett One-Fluid, or Library Density Correlations. The default method is Standard (25C) Volumes. Note standard vapor conditions are different from standard conditions for liquid molar volume. See Table 1: Standard Conditions on page 45.
Chapter 8
April 2009
component pair from the Equation Format drop-down list box, in order to enter the data in the most convenient form. Depending on the selection in the Equation Format list box, the appropriate rows in the grid become active. For most equation formats, many active parameters have default values of 0.0, except for the SRK-Modified Panagiotopoulos-Reid, PR-Modified Panagiotopoulos-Reid, Glycol, Sour, GPA Sour Water, and Amine methods, where the default value for parameters cij and cji is 1.0.
Chapter 8
Property Calculations
When a Cape Open Property Package is selected for stream or unit operation calculations, the PRO/II Flash calls the CalcEquilibrium function in the property package. If CalcEquilibrium fails, PRO/II uses other properties, such as fugacity coefficients, from property package.
April 2009
Liquid diffusivity: None, Wilke-Chang. Note: A user-added method is not allowed for liquid diffusivity calculations. To select a user-added transport method, choose the User-added Subroutine option from the Transport Properties window and select one of the five methods from the drop-down list.
Chapter 8
Note: The User-added Subroutines Supplement (an add-on to the standard PRO/II package) is required for user-added transport methods. Contact your local SIMSCI office for more information. The PRO/II online help text provides additional information about the various transport property methods. More information may also be found in the PRO/II Reference Manual.
April 2009
Liquid Enthalpy
SRK PR CP JG IDEAL IDEAL IDEAL
Vapor Entropy
SRK PR CP CP NONE NONE NONE
Liquid Entropy
SRK PR CP CP NONE NONE NONE
Vapor Density
SRK PR SRK IDEAL IDEAL IDEAL IDEAL
Liquid Density
API API API API IDEAL IDEAL IDEAL
Vapor Fugacity
NONE NONE NONE NONE IDEAL IDEAL IDEAL
Note: CP= Curl-Pitzer method, JG = Johnson-Grayson method, API= API Method Table 8-1b: Predefined Generalized Correlation Method Sets
Generalized: Vapor Liquid K-value Method Enthalpy Enthalpy
Braun-K10 (BK10) Chao-Seader (CS) Chao-SeaderErbar (CSE) Grayson-Streed (GS) GraysonStreed-Erbar JG CP CP CP CP JG CP CP CP CP
Vapor Entropy
CP CP CP CP CP
Liquid Entropy
CP CP CP CP CP
Vapor Density
IDEAL SRK SRK SRK SRK
Liquid Density
API API API API API
Vapor Fugacity
NONE NONE NONE NONE NONE
Chapter 8
Liquid Enthalpy
BWRS PR PRH PRP
Vapor Enthalpy
BWRS PR PRH PRP
Vapor Entropy
BWRS PR PRH PRP
Liquid Entropy
BWRS PR PRH PRP
Vapor Density
BWRS PR PRH PRP
Liquid Density
BWRS PR API API
Vapor Fugacity
NONE NONE NONE NONE
April 2009
Vapor Enthalpy
IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL
Liquid Enthalpy
IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL
Vapor Density
IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL
Liquid Density
IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL
Vapor Fugacity
IDEAL IDEAL IDEAL NONE IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL IDEAL NONE
Vapor Enthalpy
SRKM SRKM SRKM SRKM
Liquid Enthalp y
IDEAL AMINE SRKM IDEAL
Vapor Entropy
SRKM SRKM SRKM SRKM
Liquid Entropy
SRKM SRKM SRKM SRKM
Vapor Density
SRKM SRKM SRKM SRKM
Liquid Density
IDEAL IDEAL API IDEAL
Vapor Fugacit y
IDEAL NONE NONE NONE
Chapter 8
SRKM
IDEAL
SRKM
SRKM
SRKM
IDEAL
NONE
April 2009
Stream Data
General Information
This section of data is used to specify the thermal conditions and compositions for all feed streams in the flowsheet. It may also be used to furnish initial estimates of the composition and thermal conditions for recycle tear streams to enhance recycle convergence. Supplied data for tear streams or any other streams which are products from unit operations are used as estimates only and always replaced by the next calculated set of values. Finally, Reference streams may be defined to eliminate thermal recycles. Compositional streams may be of two types: composition fully defined in terms of defined components, or pseudo-components to be generated from petroleum assay data. Reference streams are always assigned the composition of the parent stream. Compositions may be defined on a mole, weight, standard liquid volume or vapor volume basis, corresponding to typical laboratory data. It is necessary to provide both a laboratory distillation and stream average gravity for petroleum assay streams. Light ends analyses, gravity curves, and molecular weight curves may optionally be furnished to improve the characterization of petroleum assay streams. The stream thermal conditions may be specified in a variety of ways including: defined temperature and pressure, bubble or dew point conditions, or fraction liquid. For reference streams, only the temperature and pressure may be defined.
Chapter 8
April 2009
Chapter 8
Laboratory Distillation
Click Define/Edit Assay... on the Petroleum Assay Stream window to enter the Assay Definition window. This window is used to enter the laboratory assay data for the petroleum stream. Select the type of distillation via radio buttons as: True Boiling Point (TBP), ASTM D86, ASTM D1160, or ASTM D2887. The basis for the distillation may be chosen as: Liquid Volume or Weight. Liquid Volume is the default for all distillations except the ASTM D2887 which is defaulted as weight. Note that gravity and molecular weight curves must be on the same basis, volume or weight, as the distillation curve. The distillation data for TBP, ASTM D86, and ASTM D1160 are assumed to be at a pressure basis of 14.696 psia. If not, enter the laboratory pressure in the data field provided. For ASTM D86 distillations, a Correct for Cracking check box is provided for application of the API Data Book cracking correction to the distillation temperatures. The distillation data are entered in the table provided. At least two points are required when the cubic spline fitting method is used. When only two points are given, PRO/II uses a probability density function to fill in the curve. For the quadratic fitting option, at least three points must be given for TBPs and five points for other types of distillations. PRO/II needs the entire distillation curve from zero percent to one hundred percent and extrapolates and interpolates as necessary. Wise engineers perform their own extrapolations outside of PRO/II, using their knowledge of the stream being characterized.
April 2009
Gravity Data
The type of gravity data is denoted by radio buttons on the Assay Definition window as: API Gravity, Specific Gravity, or Watson K-Factor. The stream average value must be supplied in the data entry window provided. Optionally, a gravity curve for the stream may be given by clicking Gravity Curve... on this window to access the Assay Gravity Curve window which provides a convenient tabular form for entry of the gravity curve.
rate. A basis of liquid volume or weight may also be selected in the Basis drop-down list box. If no basis is selected, the basis for the distillation curve is assumed. When this option is chosen and the light ends composition does not add to the specified percent or to 100.0 1.0 or
Chapter 8
1.00 0.01 (indicating composition percentage or composition fraction) an error is signaled. Use Compositions as Actual Rates: The supplied composition is assumed to be component flows, not fractional composition or percentage composition.
Light ends Rate: The light ends rate is supplied directly in the data entry field
provided. When this option is chosen and the light ends composition does not add to 100.0 1.0 or 1.00 0.01 (indicating composition percentage or composition fraction) an error is signaled. Optionally, a check box is provided to normalize the composition based on the specified total light ends rate, in which case no error is signaled for a composition total which does not equal fraction, percent or a supplied rate and does not add to 100.0 1.0 or 1.00 0.01.
April 2009
Chapter 8
The number of recycle trials to allow before non-convergence is signaled may be entered by clicking the underlined value in the trials statement: Set default maximum number of trials for each recycle loop to 20. Note that this is a global value which may be superseded for a user specified loop.
April 2009
Information which may be entered in this window includes: Number of Trials: Number of iteration trials before non-convergence is signaled. If not supplied, the global value is used. Recycle Stream Convergence Tolerances: Tolerances may be supplied for the Component, Temperature, and Pressure changes. A threshold component level may be supplied by clicking the underlined (linked text) default. Note that the global defaults are used when values are not supplied in this window. Acceleration Options: The Direct Substitution, Wegstein Acceleration, or Broyden Acceleration methods may be selected for acceleration of the tear stream. The following additional options may be chosen with Wegstein by clicking highlighted default values: first iteration to accelerate (default is 2), iteration interval for acceleration (default is 1), Wegstein lower and upper factors (defaults are -5.00 and 0.00). For Broyden, the first iteration to accelerate may also be supplied by clicking the highlighted default value of 2.
Chapter 8
Measure feature may be used to supply the scaling rate as moles, mass, standard liquid volume units, or standard vapor volume units.
April 2009
Chapter 8
Click the left mouse button on an unoccupied area of the PFD main window or choose Select None on the Edit menu to deselect the selected stream. The data for the selected stream can now be copied to one or more existing streams as follows: Select the desired destination stream(s) with the left mouse button. Choose Paste on the Edit menu. The data from the original source stream will be copied to the destination stream(s), overriding any existing. For compositionally-defined streams containing calculated data, PRO/II allows the user to copy the calculated data (temperature, pressure, and one of total composition, liquid composition, or vapor composition) into the designated stream(s). Select the desired compositionally-defined stream to copy by clicking on the stream. Choose Copy on the Edit menu. Select the desired destination stream(s) with the left mouse button. Choose Paste Special from the Edit menu. You may choose to paste only the input data of the selected stream or paste the input data and calculated data (using the total composition, or vapor composition, or liquid composition). Note: Copy/Paste of an assay stream on to the product stream changes the blend option to XBLEND. This is because the product streams are not involved in the calculation of new stream properties. The Paste Special option is not allowed if new pseudo-components generate i.e., flowsheet resets. Again, Paste Special can be enabled by generating the calculated data. Pasting a calculated data of an assay stream using Paste Special (total composition, liquid composition, or vapor composition) on the targeted stream will erase their assay composition data if a new pseudo-component is generated anywhere in the flowsheet.
April 2009
Chapter 8
Enter the name of the stream from the previously-run database to be linked to the stream in your current simulation, or click on the Browse button to select from a list of available streams. Click to return to the main PFD.
Note: You can link a stream in the current flowsheet to another stream in the same flowsheet. This includes linking the input of the currently selected stream to the calculated output data for that stream.
April 2009
Chapter 8
Note: A property is available only if it has been specified for a thermodynamic system through the Thermodynamic Data window and is available only in those unit operations where that thermodynamic system is used.
April 2009
Chapter 8
Assigning Refinery Inspection Properties and User-defined Special Properties to Thermodynamic Systems
The properties that are to be used in the simulation must be specified through the Thermodynamic Data window. If there is more than one thermodynamic system in the flowsheet, some properties may be specified for use in one system and others in another. A property is available only if it has been specified for a thermodynamic system and only in those unit operations where that thermodynamic system is used. Component data for each specified property can also be entered for each thermodynamic system. Any component data entered in a thermodynamic system will be used in preference to the component Global data wherever that thermodynamic system is invoked. To assign refinery inspection properties to a Thermodynamic System: Click or select Thermodynamic Data... on the Input menu bar item. The Thermodynamic Data window appears. Select the system for which modifications are to be made in the Defined Systems box. Click Modify... to access the Thermodynamic Data Modification Window. Click Refinery Inspection Properties. The Thermodynamic Method Selection for Refinery Inspection Properties window appears. This window has a table in which properties and associated parameters and
April 2009
data will be entered. To eliminate the need to enter standard sets of properties repeatedly, predefined lists of properties have been set up. To load the table with a predefined list of properties, select from the Predefined Lists list. Selecting None in this list removes all properties from the table. Select a property from the Property Name drop-down list box in the table. This displays the available options, and default selections, for the selected property. Change these as required. The options are: Stream Method, which defines the method used to mix component property values to produce a value for the stream. The available options are: i. Summation: The stream property value is determined by summing the product of the component property value and the component fraction. The fraction may be molar, weight or liquid volume and is calculated from the total stream dry composition except for kinematic viscosity when it is from the dry liquid part of the stream. Any Index data supplied for the property will be converted to property values before the summation, using the equation: Index Value = Reference Value Reference Index ii. Index: The stream property index is determined by summing the product of the component property index and the component fraction. The fraction may be molar, weight or liquid volume and is calculated from the total stream dry composition except for kinematic viscosity when it is from the dry liquid part of the stream. Before the summation, any supplied property values will be converted to index values using the equation: Value Index = Reference Index Reference Value This equation is then used to convert the stream index value to the stream property value. iii. User-Formula: The stream property value is determined from the equation in a user-added subroutine, which is linked into PRO/II. Data values may be entered for each component and up to 20 real and integer data values may also be supplied. iv. User-Index: The stream property value is determined by a user-added subroutine, which is linked into PRO/II. The same data as for the Index method is available to the user-added subroutine.
Chapter 8
v. SIMSCI: This method is only available for cloud point and kinematic viscosity. It is an index method but uses specific index equations. vi. API: API procedures may be used to calculate flash point, cetane index, mean average boiling point, cubic average boiling point, moleaverage boiling point, weight-average boiling point, volume-average boiling point, or net heating value. The API method requires no component data. vii. Nelson: This is an alternative correlation to calculate flash point and no component data are required. viii. Stream Basis, which specifies whether the component values will be mixed using their mole, weight or liquid volume fractions. ix. Component Fill, which specifies the action to be taken when component values are missing for petroleum fractions in the stream. The available options are: a. Zero: This option sets the property value to 0.0. b. No fill: This produces warning messages for missing data and set to 0.0. c. SIMSCI: This option estimates missing data by SIMSCI correlations for kinematic viscosity, smoke point, hydrogen content, carbon content or carbon-hydrogen ratio.
d. API: This estimates missing data by API methods for kinematic viscosity, pour point or refractive index. e. Nelson: This option estimates missing data by Nelson method for smoke point. x. Component Blend, which defines the way in which missing data are handled when calculating properties from blended assay streams. The options are: a. Zero: The property value for the cuts in the assay with no data is set to 0.0. b. Exclude: The property is calculated by blending only those assays, which have data for this property. c. Missing: For this option, the blended property is not calculated and is reported as Missing. Click Data to enter data for this property, for this thermodynamic system. If the Stream Method is defined as User-Formula, the User Formula Data Entry window opens. Otherwise, if the property is Kinematic Viscosity, the Kinematic Viscosity Data Entry window will open
April 2009
and for other properties, the Refinery Inspection and User-defined Special Properties Data Entry window will open. In the Kinematic Viscosity Data Entry window or the Refinery Inspection and User-defined Special Properties Data Entry window, for each component, enter either a Data value or an Index value. For each component, enter either a Data value or an Index value. If an Index value is entered, Reference Index Data must also be entered. For some properties, the Index method is not applicable and neither Index values nor Reference Index Data may be entered. If the property is Kinematic Viscosity, enter values at two temperatures. In the User Formula Data Entry window, for each component, enter a Data value, which will be passed to a linked User-added Subroutine. Up to twenty real and integer values an also be passed to the subroutine. The meaning of the data is determined by the calculation subroutine.
Click Data... to enter data for this property, for this thermodynamic system. If the Stream Method is defined as User-Formula, the User Formula Data Entry window opens. Otherwise, the Refinery Inspection and User-defined Special Properties Data Entry window opens.
Chapter 8
In the Refinery Inspection and User-defined Special Properties Data Entry window, for each component, enter either a Data value or an Index value. If an Index value is entered, Reference Index Data must also be entered. In the User Formula Data Entry window, for each component, enter a Data value, which will be passed to a linked User-added Subroutine. Up to twenty real and integer values can also be passed to the subroutine. The meaning of the data is determined by the calculation subroutine. Note: If you have assigned Refinery Inspection Properties to a Thermodynamic method set, the standard Stream Data Report will include these Refinery Inspection properties.
April 2009
Note: For complete technical details, see the Utilities topic in the PRO/II Reference Manual.
Chapter 8
April 2009
Chapter 9
Calculator
General Information
The Calculator is a versatile utility module useful for a variety of purposes in flowsheet simulation. Parameters may be retrieved from the flowsheet and calculations performed using a FORTRAN-like language. Parameters may be returned to the flowsheet for use by other unit operations. Some uses for the Calculator include: Calculating special stream properties Simulating special processing units such as reactors Determining operating conditions for other unit operations Performing design calculations using flowsheet information Producing special output values for reports Computing utility costs and economic functions Calculating target values for Controllers or objective functions for Flowsheet Optimizers This is by no means an exhaustive list; the usefulness of this module is limited only by the ingenuity of the user. All Calculators have two main sections: Setup and Procedure. In the setup section, unit and stream parameters are retrieved from the flowsheet, constants are defined, names are assigned to calculated results, a sequence table is set up for the streams used for input and output, and the dimensions for the various working arrays may be expanded if desired. The Procedure section is where all calculations are performed, using a simple language based on FORTRAN 77. The language permits the use of mathematical functions, branching and looping, and assignment statements commonly used in programming. Special intrinsic functions are available for retrieving flowsheet component and stream information. Special subroutines are provided for storing calculated results directly in flowsheet streams. Calculated results may also be stored in the Results array, making them available to the other unit operations in PRO/II. A special solution flag is provided for use when a Calculator models a unit operation.
April 2009
Calculator Setup
Start Setup by clicking Edit/View Declarations on the Calculator main data entry window to open the View Area: Click Parameters to retrieve flowsheet parameters into the Calculator. These variables are accessed in the Calculator procedure as elements of array P. Click the Calculator parameter linked text to open the Definition window where you can specify the stream or unit flowsheet parameter to be retrieved. The format for this window is identical to that used for the DEFINE and is described in the SPEC/VARY/DEFINE section of this chapter. In this window, you will find a list of the unit and stream parameters that may be retrieved via DEFINE. Click Constants to enter the constant values. These variables are accessed in the Calculator procedure as elements of array C. Although you can enter constants directly in the procedure, this array provides a means for collecting constants that need to be updated occasionally into a common location. Click Results to enter names for the Calculator results. These values are accessed in the Calculator procedure as elements of array R. These names will be used in the output report. Click Stream Sequence to define an ordered table of flowsheet streams. There are two functions for this table. First, it provides a necessary link between the procedure and the flowsheet streams for information flow. Second, a calculation loop may be performed in the procedure for a range of streams, using the positions of the streams in the table to control the loop order. Click Arrays to declare the length of the storage arrays used by the Calculator. These arrays include the P, C, R arrays defined above, and the IS array that is used to hold stream variables. This array is described in the Calculator Procedure discussion. Two additional arrays appear here. In earlier versions of the Calculator, all local variables had to reside in one of these arrays, V for real variables and IX for integers. Now that any valid FORTRAN variable name can be used, these arrays are no longer needed. Nonetheless, they are still available so that older Calculators will work without rewriting. Once Setup is complete, click Hide Declarations to close the View Area.
Chapter 9
Calculator Procedure
Note: The PROCEDURE section is required and must end with a RETURN statement. The FORTRAN procedure is entered directly into the Procedure field on the Calculator main data entry window. The procedure may be checked as is it composed by clicking Check Procedure. The supported features of the language are discussed in the following sections.
Predefined Variables
Definitions of predefined variables, including default dimensions for arrays, appear in the following table. Use a DIMENSION statement in the Calculator setup section to reset the number of elements in each array. Arrays C, P, V, and R store values in floating-point form. Array IX stores integer values. Forms of use include: An where A is any of C, P, V, R, or B, and n is an integer that indicates a single element of the array. A(index) A is any of C, P, V, R, or B, and (index) is an expression, such as (IX2 * 5). The parentheses are required. A(n) denotes the same element as An. Instead of, or in addition to the supplied V and IX arrays, standard FORTRAN variables may be used. They may be up to 8 characters long and may not duplicate the names of any supplied variables; otherwise they follow the conventional FORTRAN rules. The introduction of this feature in PRO/II 5.0 means that the V and IX arrays need not be used. If this is the case, the arrays can be dimensioned to one word each to save memory.
April 2009
Array "IS" is normally used as the index of a DO loop to step through a sequence of streams in the order defined on the SEQUENCE statement. It may serve as the stream index in PRO/II intrinsic functions. The only form allowed is ISn. IS(index) is never valid. Predefined Variables
Variable Name and Form Cn or C(index) Pn or P(index) Default Size (for arrays) 1<=n<=50 Description and Comments Constant values defined in the setup section. Used only on the right side of assignment statements Flowsheet parameters set by DEFINE statements. Used only on the right side of assignment statements. A floating-point work array used on either the left or right side of assignment statements. These elements are initialized to a large negative value and are not available outside the calculator. The array of calculator results, used on either side of assignment statements. This results vector is available to other flowsheet modules external to the Calculator. These elements are initialized to a large negative value. An array of integer values. The form IX(index) is invalid on a DO statement. It may be used on either side of assignment statements. An array of elements used as indices of DO loops for stepping through a series of streams in the order defined on the SEQUENCE statement. This variable indicates whether or not the Calculator solved. It is initialized to 0 upon each entry into the calculation procedure. The user assigns all subsequent values using an assignment statement. 0 The Calculator has not yet executed (default) or has solved successfully. 1 The Calculator solved. 2 The Calculator did not solve, but continue
1<=n<=50
Vn or V(index)
1<=n<=200
Rn or R(index)
1<=n<=200
0<=n<=9
0<=n<=9
ISOLVE
Chapter 9
Predefined Variables
Variable Name and Form Default Size (for arrays) Description and Comments flowsheet calculations within a recycle loop. 3 The Calculator did not solve, all calculations stop unconditionally. 4 The Calculator solved; but stops all subsequent flow sheet calculations. This sets the flowsheet solution flag to SOLVED. MAXC MAXS Total number of components in the problem. Maximum number of streams in the problem.
Declaration Statements
REAL INTEGER DIMENSION rname1, rname2(i), rname3(j, k)... iname1, iname2(i), iname3(j, k)... name1(i), name2(j, k)...
These statements are used to define local scalars and arrays for use in the code. Each subscript may be an integer constant, or two integer constants separated by a colon to specify both the lower and upper array bounds. When defined by the DIMENSION statement, variables assume the normal FORTRAN convention that assigns names starting with I through N as integers, and all others as real. Name lengths may be 8 characters long. Variables defined here may be changed in the code. Variables not defined here are assumed to be real or integer according to the first character. Variable names must not conflict with any reserved words or predefined variables (see table entitled Predefined Variables). Examples: DIMENSION A(20,20), B(20), X(20) REAL MASS INTEGER COUNT, TAB(100) REAL REVENU(1990:1995), PROFIT(1990:1995), LOSS(1990:1995)
April 2009
Note: A variable may only appear once in these statements. The following is valid in standard FORTRAN, but not in a Calculator Procedure: REAL MOLWT DIMENSION MOLWT(50) Both standard FORTRAN and the Calculator accept this equivalent form: REAL MOLWT(50)
Assignment Statements
nn variable =expression The expression is governed by standard FORTRAN conventions. The operations on a given statement are executed in the following order: 1. Expressions within parentheses ( ) 2. Functions 3. Exponential ( ** ) 4. Multiplications and divisions ( *, /) 5. Additions and subtractions (+,-)
With the exception of exponentiation, calculations with the same precedence are evaluated from left to right. Multiple exponentiations without parentheses to explicitly specify the evaluation order are not permitted. For example, the following is invalid:
BADVAL = A**B**C
Note: The Calculator-supplied arrays C and P may not appear on the left side of an assignment statement.
Chapter 9
Function ABS DIM EXP INT LOG LOG10 MIN MAX MOD NINT SQRT SIN COS TAN ASIN ACOS ATAN SINH COSH TANH
Description Absolute Value Positive Difference Exponential e Truncation Natural Logarithm Common Logarithm Minimum Value Maximum Value Remainder Nearest integer Square Root Sine (radians) Cosine (radians) Tangent (radians) Arc Sine (radians) Arc Cosine (radian) Arc Tangent (radian) Hyperbolic Sine Hyperbolic Cosine Hyperbolic Tangent
April 2009
Chapter 9
This argument supplies or identifies the value of the property to store. It can be a real constant or variable. The sid entry identifies the stream in which to store the property. It may be any stream identifier listed on the SEQUENCE statement of the setup section, or an element of array IS in the form ISn. For example: SRXSTR stores the value of element 14 from array R as the temperature of stream SR4.
nn CALL SRVSTR(type, array, sid, i, j) A call to SRVSTR stores a range of values representing component stream properties from a Calculator array into a stream. The resulting stream is flashed at the new conditions to determine its thermodynamic state. type This entry identifies the component property to store in the stream. Available options are listed in the following table.
April 2009
Stream Component Properties Stored by SRVSTR Type= SCMR SCWR SCLVR SCGVR array sid Description molar rate of component in stream weight rate of component in stream component standard of liquid volume rate component standard gas volume rate
The initial element of a real Calculator array containing values to store as properties of components in a stream. The sid entry identifies the stream in which to store the property. It may be any stream identifier listed on the SEQUENCE statement of the setup section, or an element of array IS in the form ISn. These two entries are component id numbers. They indicate the first and last components, respectively, for which the property is stored.
i, j
For example, 100 CALL SRVSTR( SCWR, V(12), FD1, 2, 5 ) The statement stores elements V(12) - V(15) as the weight flow rates of components 2 through 5 in stream FD1. Stream FD1 is re-flashed using the new composition with the previous temperature and pressure.
IF Statements
nn IF (expression) conditional clause. This statement allows logical branching during calculations and conforms to standard FORTRAN rules for IF statements. If the parenthetic expression is true, it executes the conditional clause. The conditional clause may not be one of the following:
Chapter 9
The following table lists logical operators allowed in the expression. Logical Operators in IF Statements Operator .EQ. .NE. .LT. .GT. .GE. .LE. .AND. .OR. .EQV. .NEQV. .NOT. Description equal to not equal to less than greater than greater than or equal to less than or equal to both true either true equivalent not equivalent true/false toggle
nn IF (expression) THEN ELSEIF (expression) THEN ELSE ENDIF These statements conform to standard FORTRAN IF-THEN-ELSE statements, allowing for structured branching of code. ELSE IF and END IF written as two words are also accepted. Block IF constructs may be nested.
DO Loops
nn DO mm iname= i, j, k This statement defines the beginning of a DO loop having a range extending through statement label mm. i and j are initial and final indices, respectively. The increment step k is optional and defaults to 1. nn DO mm ISn= sid1, sid2
April 2009
This statement defines the beginning of a stream DO loop having a range extending through statement label mm. ISn is a stream variable, and sid1 and sid2 must be stream ids appearing on the SEQUENCE statement. No incremental step index (comparable to k) is allowed.
OPEN Statement
nn OPEN(FILE=fileid, ACCESS=OVERWRITE or APPEND) The OPEN statement opens a file for CALCULATOR output. For PC, VAX, and UNIX platforms, the default output name is fileid.CAL, where fileid is the current input file name. A unique filename of up to 12 characters can be specified, if necessary. It must, however, have a .CAL extension. Underscore characters are not allowed (e.g., FILE_01). Any OPEN statement automatically closes the previously opened file.
Chapter 9
OUTPUT Statement
nn OUTPUT {R(i :j ),P(i :j ),C(i :j ),V(i :j ),IX(i :j ),IS (i :j )} This is a special OUTPUT statement provided with PRO/II. It outputs calculatorsupplied arrays or portions of these arrays to the currently open file. Entries i and j refer to the first and last elements of the array to be output. If they are absent, the entire array will be output.
DISPLAY Statement
nn DISPLAY {R( i :j ),P( i :j ),C( i :j ),V( i :j ),IX(i :j ),IS(i :j )} The DISPLAY statement prints out calculator-supplied array values to the standard report file during calculations. Entries i and j are defined in the same way as the OUTPUT statement.
TRACE Statement
nn TRACE option TRACE statements control printing an historical trace as calculations proceed to facilitate debugging the code in the procedure. Options are: ON BRANCH OFF Examples: TRACE BRANCH Traces branching only. TRACE OFF No trace at all. TRACE ON Traces every statement. Prints line number, statement number, and (action taken/new variable value) as each statement executes. Prints TRACE information only for branching statements such as IF, GOTO or DO. Turns off all TRACE options.
April 2009
procedure section. Only one RETURN statement is allowed. The solution flag for the Calculator is set according to the user-defined value of ISOLVE. RETURN always sets TRACE to OFF.
Chapter 9
This completes the parameter specification for the D86(10%) point of the first stream, V1. Repeat these steps to define the D86(Initial Point) for the first stream, V1, then define the D86(10%) and D86(Initial Point) for the remaining five streams. Enter the following code into the Procedure window (at this point, this window should still be outlined in red).
DIMENSION D8610(6), D86IP(6) DO10 I =1, 6 $ $ COPY PARAMETERS TO LOCAL ARRAYS, $ CONVERTING TO DEG F D8610(I) = P(2*I-1) * 1.8 + 32. D86IP(I) = P(2*I-1) * 1.8 + 32. $ $ EVALUATE FORMULA D86AVG = (D8610(I) + D86IP(I)) / 2. FP = (D86AVG * .64 - 100. $ $ CONVERT BACK TO DEG C AND STORE R(I) = (FP - 32.) / 1.8 10 CONTINUE RETURN
April 2009
Chapter 9
$ SUM UP H2 IN FEED STREAMS $ HYDROGEN IS THE SECOND COMPONENT IN THE COMPONENT LIST $ SCMR(2, n) IS THE MOLAR FLOWRATE IN THE nth STREAM $ H2FEED = 0.0 DO 10 IS1 = H2FD, FD2 H2FEED = H2FEED + SCMR(2,IS1) 10 CONTINUE $ $ CHECK IF ANY H2 IN FEED. IF NOT, SET NOT SOLVED FLAG. $ IF (H2FEED .LT. 0.0001) THEN R(1) = 0 ISOLVE = 2 GO TO 99 ENDIF $ $ SUM UP H2 IN PRODUCTS $ H2PROD= 0.0 DO 20 IS1 = PURG, PRDL H2PROD = H2PROD + SCMR(2, IS1) 20 CONTINUE $ CALCULATE IMBALANCE $ R(1) = (H2FEED - H2PROD) / H2FEED $ $ CHECK IF IN BALANCE. IF SO, RETURN. $ IF NOT, SET NOT SOLVED FLAG. $ IF(ABS(R(1)).LE.0.001) THEN ISOLVE =1 ELSE ISOLVE =2 ENDIF $ 99 RETURN
April 2009
Chapter 9
CAPE-OPEN
General Information
The PRO/II CAPE-OPEN unit operation enables the users to add third party CAPE-OPEN units. This will help the user to simulate and perform any type of calculation for a specific unit operation placed in a flowsheet. CO-LaN (the CAPE-OPEN Laboratories Network) is a neutral industry and an academic association promoting open standards in process simulation software. CAPE-OPEN has uniform standards for interfacing process modeling software components developed specifically for the design and operation of chemical processes. These standards allow integration of different software components like unit operations and thermodynamic property packages from different vendors into a single simulation. PRO/II supports both versions of 0.9.3 and 1.0 of the CAPE-OPEN interfaces. The CAPE-OPEN Unit Operation has access to the following: Flash and Physical property calculations provided by PRO/II Third party CAPE-OPEN property package.
Property values exchanged between PRO/II and CAPE-OPEN unit operation are in SI units. CAPE-OPEN interface descriptions and information are available at http://www.colan.org/ Note: If transport properties are required in the CAPE-OPEN unit operation, you must select a suitable method in the Thermodynamic Data if PRO/II thermodynamics is selected.
April 2009
If the CAPE-OPEN unit operation does not have an installation program, follow the steps mentioned below to manually register the unit operation. 1. Identify the DLL file of the CAPE-OPEN unit operation. 2. Type "regsvr32 myunitop.dll", where "myunitop.dll" is the name of the DLL of the CAPE-OPEN Unit Operation. 3. Identify the "progid" of the CAPE-OPEN unit operation. The "progid" is a short text string, such as "SimSci.Mixer" that Windows uses to identify the DLL. Contact the developer of the unit operation to determine the "progid". 4. From the command prompt, type "CapeRegister.exe progid". "CapeRegister.exe" is a utility available in the PRO/II "bin" directory.
Chapter 9
Calculation
During calculations, PRO/II calls the Validate() and Calculate() method of the CAPE-OPEN unit operation. Property and flash calculations are delegated to property package if property package is selected as unit thermodynamics. If PRO/II thermodynamics is selected for a CAPE-OPEN unit operation, it may call TP, TH, PH, TV, and PV flashes (CalcEquilibrium) for input or output streams. The following properties can be calculated using PRO/II thermodynamics. CAPE-OPEN identifier vaporPressure surfaceTension Compressibility Factor heatCapacity idealGasHeatCapacity viscosity Thermal Conductivity fugacity logFugacityCoefficient kvalues dewPointPressure dewPointTemperature temperature pressure volume Property meaning Vapor Pressure only for Pure calc type Surface Tension Compressibility Factor Z= PV/RT Heat Capacity Heat Capacity of ideal gas Viscosity Thermal Conductivity Fugacity Logarithm of Fugacity Coefficients K factors of a pair of phases in Equilibrium Dew point Pressure at a given temperature Dew point Temperature at a given Pressure Temperature Pressure Volume Phases Supported Liquid Liquid Liquid, Vapor, Overall Liquid, Vapor, Overall Vapor Liquid, Vapor, Overall Liquid, Vapor, Overall Liquid, Vapor Liquid, Vapor Overall Overall Overall Liquid, Vapor, Overall Liquid, Vapor, Overall Liquid, Vapor, Overall
April 2009
Property meaning Density Enthalpy Entropy Gibbs Free Energy List of partial Molar(or mass) flows for each component within a given phase List of partial Molar(or mass) fractions for each component within a given phase The fraction of the fluid that is in specified phase Mass flow of a phase or whole mixture MolecularWeight Only supported for Pure calc type
Phases Supported Liquid, Vapor, Overall Liquid, Vapor, Overall Liquid, Vapor, Overall Liquid, Vapor, Overall Liquid, Vapor, Overall Liquid, Vapor, Overall Liquid, Vapor Liquid, Vapor, Overall Liquid, Vapor, Overall
fraction
Report Generation
If the custom reports is supported by CAPE-OPEN unit operation, select and right-click the unit operation. This action will display a menu with Produce Report as one of the options. Select Produce Report to open a text file. If the custom reports are not supported, the menu will have View Results as one of the options. Select View Results to display all input and output parameters with their values. Note: The standard report of PRO/II will have all input and output parameters with their values for CAPE-OPEN units.
Chapter 9
Column, Batch
General Information
The Batch Column unit operation models a wide range of column operating scenarios. The Batch Column unit may be run in a true batch simulation mode, with the feedstock charged to the stillpot prior to distillation and products taken from the accumulator at various times, or in a semi-batch mode where feedstock may be introduced during distillation and products drawn from the column or accumulator over some time interval. Batch distillation calculations may also be integrated into a steady-state process simulation. The unit configuration automatically considers the presence of implicit holding tanks for continuous flow streams which provide the time-variant feedstock to the batch unit. Implicit consideration of holding tanks for all product streams (as drawn from the accumulator at different times, or as drawn from the column during distillation) is also made because of the cyclic operation. A representation of the product continuous flow stream comes from the amount of product divided by the batch cycle time.
Thermodynamic System
The thermodynamic system for the Batch Column may be specified for the unit as a whole or for selected trays. Batch Column also allows the use of electrolyte thermodynamic methods.
BATCHFRAC
This is a batch distillation model obtained from Koch-Glitsch, LP. BATCHFRAC has been integrated with PRO/II to handle reaction on trays for VLE, VLLE on all the stages and heat duty specification for trays apart from Batch distillation.
Detailed Information
For detailed information about the use of BATCHFRAC and Batch Column unit operations, consult the PRO/II Add-On Modules User Guide.
April 2009
Column, Distillation
General Information
The Column unit operation may be used to simulate any distillation or liquid-liquid extraction process. Liquid-liquid extraction units are described in the LiquidLiquid Extraction Column section of this chapter. A column must contain at least one equilibrium stage or theoretical tray. For purposes of this discussion, the term trays is used to denote equilibrium stages. The trays are considered to be linked with the vapor from each tray entering the next higher tray and the liquid from each tray feeding the next lower tray. There is no limit on the number of trays in a column model. The condenser, when present, is always numbered as tray one and the reboiler, when present, is assigned the highest tray number in the model. Any tray may have a feed, product draw, or duty. The top and bottom trays must have either a feed or a duty. Distillation columns may simulate vapor/liquid, vapor/liquid/water or vapor/liquid/liquid equilibrium processes.
Chapter 9
have and products may be withdrawn from any tray of the column. Product types include: Overhead, Bottoms, Fixed Rate Draw, Total Phase Draw, and Pseudoproduct. Every column must have an overhead product leaving tray one and a bottoms product leaving the highest numbered tray. The Sure, Inside-Out (IO) and Enhanced IO algorithms may have a decanted water product from tray one (the condenser). The Sure algorithm may also have water draws from any tray. For vapor/liquid/liquid equilibrium (VLLE) processes, either of the liquid phases may be drawn from any tray in the column. You must supply product rates for all fixed rate draw products in molar, mass, or liquid volume units. You must also provide an estimated value for either the overhead or bottoms product. For total draw products, the supplied rate is always assumed to be an estimate. The estimated value for the overhead or bottoms rate should be as accurate as possible to enhance convergence. You must use a Performance Specification to set a desired flow for the overhead or bottoms product.
Pseudo-products
Pseudo-products are used to create streams corresponding to column internal streams, making them available for flowsheet calculations. Define pseudoproducts in the Column Pseudo-products window which you may reach by clicking Pseudo-products on the Column Feeds and Products window. The following types of pseudo-products are available: Net tray liquid or vapor flow Total tray liquid or vapor flow Pumparound liquid or vapor bypass flow Thermosiphon reboiler feeds and products Thermosiphon reboiler streams are limited to the Inside-Out algorithm.
April 2009
Column Algorithm
Select the solution algorithm from the drop-down list box, on the Column main data entry window. The available algorithms are: Inside-Out (the default), Sure, Chemdist, Liquid-Liquid, Enhanced IO, and Electrolytic. Detailed information about the column algorithms is available in the online help. Inside-Out: The Inside-Out algorithm is the preferred option for most distillation problems, especially those involving systems of hydrocarbons, because of its speed and insensitivity to the estimated solution profiles. Sure: The Sure algorithm should be used for columns where free water exists on multiple trays. Chemdist: The Chemdist algorithm is well suited to highly non-ideal systems and VLLE processes. Liquid-Liquid: The Liquid-Liquid algorithm is used to model liquid-liquid extraction units described in the Liquid-Liquid Extraction Column section of this chapter. Enhanced IO: The Enhanced IO column algorithm extends the capabilities of the default Inside-Out algorithm. Enhanced IO allows zero flow rates, water decant off any tray, total draws from trays and pumparounds. Electrolytic: The Electrolytic method is used to model non-ideal aqueous electrolytic distillation columns involving ionic species. Refer to the PRO/II Add-On Modules User Guide for detailed information on this column algorithm. RATEFRAC Software: Rate-based distillation (RATEFRAC ) routines rigorously calculate the actual mass transfer on the stage, avoiding the need for component efficiencies. The non-equilibrium stage model used in RATEFRAC is a rate-based model. That algorithm uses fundamental heat and mass transfer calculations to model a distillation stage.
Chapter 9
Reactions
Reactions in the column can be modeled by the Chemdist or Liquid-Liquid extraction and RATEFRAC algorithms found in the Algorithm drop-down list of the Column window. Enter pertinent data in the Column Reaction Selection window accessible via the Reactions button on the Column window. In the Column - Reaction Selection window, you can select and modify column reactions, specify stage-wise reacting volumes, designate non-condensable components, select non-volatile catalysts and specify data for user-added subroutines or kinetic procedures. The reactions specified here are limited in scope to the simulation of reactive distillation and (reactive) liquid-liquid extraction.
Reacting Volumes
The user can specify volume available for reaction (effective volume) per stage for both liquid and vapor phase reactions in the Column Tray Effective Reaction Volumes window accessible from the Reaction Selection window. A tabulation of tray numbers and the respective volumes is provided for data entry. This specification is used in calculating the rate of kinetic reaction. For Ratefrac column, user can specify segment volume percents of both liquid and vapor. This data is used in non-equilibrium calculations of Ratefrac. Data supplied on only one tray will be copied to all other trays and data supplied to multiple trays will be interpolated to any missing trays during calculations.
April 2009
Nonvolatile Catalyst
Components that catalyze a reaction without volatilizing can be selected and the quantity of their charge specified as an amount or a fraction in the Column - NonVolatile Catalyst for Boiling Pot window accessible from the Column - Reaction Selection window.
Non-condensable
Non-condensing components can be specified in the Column - Non-Condensing Components window accessible from the Column Reaction Selection window.
Subroutine/Procedure Data
Data used for user-added subroutines and kinetic procedures can be specified in the form of Integer, Real and Supplemental Data entries in the Column - User Subroutine and Procedure Data window accessible from the Column - Reaction Selection window via the Subroutine/Procedure Data button. See the Reaction Data and Procedure Data sections, in this chapter, for detailed information on the data requirements for these utility modules.
Calculated Phases
Select the appropriate phase system in the drop-down list box on the Column main data entry window. All distillation algorithms support the default phase system of vapor/liquid. The Sure and Chemdist algorithms also support the vapor/liquid/liquid system. In addition, the Sure and Enhanced IO algorithms
Chapter 9
support the phase system vapor/liquid/water that allows a free water phase on any tray of a column.
Number of Trays
Enter the number of trays in the model, in the data entry field provided on the Column main data entry window. Every Column must have at least two trays. There is no limit on the number of trays in a Column.
Number of Iterations
Supply the number of iterations in the data entry field provided on the Column main data entry window. The number of iterations corresponds to the number of outer loop trials for the Inside-Out algorithm and the number of trial solutions for the other algorithms. A non-convergence is flagged when this number of iterations is performed and the column equations are not satisfied within the tolerances. The default values are 15 for the Inside-Out algorithm, 10 for the Sure algorithm, 20 for the Chemdist algorithm, and 30 for the RATEFRAC algorithm.
Pressure Profile
The pressure for every tray in a column model must be defined. All calculations are performed at the defined tray pressures. Define the tray pressures in the Column Pressure Profile window which you may reach by clicking Pressure Profile on the Column main data entry window. Tray pressures may be supplied on an overall or tray-by-tray mode by choosing a radio button in this window. For the overall mode, supply the top tray pressure (tray two for columns with condensers) and either the pressure drop per tray or the total pressure drop across the column. A default value of zero is supplied for the pressure drop per tray and the column pressure drop. All tray pressures are derived by linear application of the supplied pressure drop. Individual tray pressures are supplied for the tray by tray mode. Note that the top and bottom trays must be included when supplying a table of individual tray pressures. Missing pressures are determined by linear interpolation of supplied values. This method is useful for defining the pressure profile for columns with irregular pressure profiles such as refinery vacuum units.
Condensers
The condenser is always a heat sink on tray one. It is defined in the Column Condenser window, which you may access by clicking Condenser on the Column main data entry window. The top products from columns with
April 2009
condensers correspond to the products from the reflux accumulator drum. The pressure for all types of condensers is supplied in this window. The condenser type is selected with the appropriate radio button from the following options: Partial: This condenser is an equilibrium stage and may or may not have a net liquid product as well as vapor product. The net liquid product, if present, is defined as a Fixed rate liquid draw from tray one. The condenser temperature is the dew point of the equilibrium vapor. An optional estimate for the condenser temperature may be supplied in the Column Condenser window. The condenser pressure and duty may also be supplied. Bubble Temperature: The vapor from tray two is cooled to a bubble point liquid phase. While one portion is returned as reflux to tray two, the other portion is withdrawn as the Overhead product from the column. An optional estimate for the condenser temperature may be supplied in the Column Condenser window. The condenser pressure and duty may also be supplied. Subcooled, Fixed Temperature: The vapor from tray is cooled below its bubble
point as defined by a subcooled temperature provided in this window. PRO/II ascertains that the product is subcooled, and if, not, signals a non-convergence condition with an appropriate diagnostic message. The subcooled liquid product is designated the Overhead product from the column. The condenser pressure and duty may also be supplied.
Subcooled, Fixed Temperature Drop: This condenser is the same as the subcooled type described above except that the degrees of sub cooling below the product bubble point is defined, always resulting in a subcooled Overhead product. The duty and pressure for the condenser may also be supplied in this window, if desired. If the duty is designated as a parameter to vary, any supplied duty for any of these condenser options is used as an estimate. Sub-cooled Reflux Only: This option is enabled only by selecting Partial or Bubble Temperature under Condenser Type. Select the appropriate Temperature specification namely, Fixed Temperature or Temperature Drop that needs to be followed in the Subcooled reflux for the chosen condenser type.
Chapter 9
Reboilers
Column reboilers are described in the Column Reboiler window which is entered via the Reboiler button on the Column main data entry window. The reboiler type is selected with a radio button on this form. The default type is the Kettle (Conventional) reboiler, which corresponds to a duty on the bottom tray of the column with the equilibrium liquid withdrawn as the Bottoms product. For both Inside-Out and Enhanced IO algorithms, following reboiler types are available to the user. Thermosiphon without Baffles, and Thermosiphon with Baffles.
For other algorithms, only default type is made available to the user. The thermosiphon without baffles type corresponds to the case when the Column bottom product and reboiler feed are withdrawn from a common sump. Note: Thermosiphon reboilers with baffles in which the reboiler return flows into the reboiler sump and overflows to the product sump are equivalent to the no baffles type for simulation purposes and should be modeled as such. One specification may be selected for thermosiphon reboilers by choosing the appropriate radio button and entering a value in the field provided. Choices include: Reboiler return liquid fraction Return temperature Temperature change across the reboiler Reboiler circulation rate.
An estimate for the return fluid liquid fraction or circulation rate, as is applicable, may be given to enhance convergence. The duty for the reboiler may also be supplied in this data entry window, if desired. If the duty is designated as a parameter to vary, any supplied duty is used as an estimate.
April 2009
Flash Zones
The Flash Zone calculation models a fired heater added to a tray in an Inside-Out column. Flash zones are associated with column heaters when a feed stream entering the column is heated in a separate furnace. The furnace is considered as an additional theoretical stage. Liquid from the tray above the flash zone or vapor from the tray below the flash zone could enter the flash zone or they can bypass it. Data entry fields for flash zones can be accessed through the likenamed button on the Heater data entry window. Specification options include fired heater efficiency, vapor and liquid by-pass fractions and transfer line temperature drop. Note: If you are working with RATEFRAC , this option is disabled.
Chapter 9
For the Overall option, the heat leak duty for all of the trays except the reboiler and condenser is given on a per tray basis or total column basis. A heat leak may also be provided for the condenser and the reboiler, if desired. For the By Individual Trays option, heat leak duties for ranges of trays are supplied as tabular input. At least two values must be supplied. Heat leaks for trays not given, but which lie between trays with defined heat leaks, are determined by linear interpolation. Note: If you are working with RATEFRAC routines, this option is disabled.
April 2009
Initial Estimates
All column algorithms use an iterative solution technique, starting from an initial estimate of the tray temperature, flow and composition profiles. The initial estimate may be produced internally using an initial estimate generator and/or provided by the user as initial profile data. User-supplied profiles may also be used to selectively replace values produced by an estimate generator. Click Initial Estimates on the Column main data entry window to enter the Column Initial Estimates window. To use an initial estimate generator, select the generator method from the drop-down list box. Methods provided are: Simple: Profiles are determined by a simple material balance. Temperatures are determined from estimated product compositions. This model is quick and adequate for simple column configurations. Conventional: A general method designed to produce an adequate estimate for most distillation problems. Shortcut calculations are used to estimate the product flows and compositions. The compositions are used to estimate temperatures. Internal flows are estimated by using the product flows and a reflux estimate. This method works best for conventional fractionators with condensers and reboilers in which classic Fenske techniques provide reasonable results. Special techniques are also included for absorbers and strippers. Refinery: This method is designed for complex refinery columns which have bottom steam instead of reboilers such as crude and vacuum columns, F.C.C. main fractionators, etc. These columns may also have side columns, pumparound cooling circuits, and decanted water at the overhead accumulator. A multi-product shortcut technique developed by SIMSCI is used for these columns. The user-supplied estimates for the product rates are used in the shortcut model. Adjustments in the profiles are made for side coolers. Chemical: This generator should be restricted to highly non-ideal chemical distillation problems. The method is time-consuming and uses successive series of adiabatic flashes up and down the column to establish the tray compositions. When using an estimate generator, you may optionally provide temperature estimates for the following trays: condenser, top tray, bottom tray of column, and
Chapter 9
reboiler. You may also provide an estimate for the reflux rate or reflux ratio. When no reflux estimate is provided by the user, PRO/II supplies a reflux ratio of 3.0 (which solves many columns). Any supplied data replaces values predicted by the estimate generator. When an initial estimate generator is not used, the minimum data which must be supplied as input profiles are tray temperatures and flows, vapor, liquid, or a combination thereof. Note that the minimum data which may be supplied are the temperatures and flows for the top and bottom trays for the column. While these are the minimum data required, they are rarely adequate to produce an acceptable initial estimate. It may also be desirable to provide solution profiles from a converged solution to speed future calculations with a column model. Initial profiles are entered in tables accessed by clicking the following buttons on the Column Initial Estimates window: Net Vapor Rates Vapor Composition Liquid Composition Tray Temperatures Net Liquid Rate Mass Transfer
Composition estimates may be helpful for highly non-ideal mixtures; however, they are rarely needed for most problems. RATEFRAC Initial Estimate: For RATEFRAC routines, Initial Estimate may be used to perform Initial Estimate. Option is also provided to include design specifications. By default, the Perform Initial Estimate option is checked to provide the user to have an estimate on Temperature and Reflux, etc. Check Include Design Specs in Estimate to include design specifications to be considered during Initial Estimate. Tolerance: Enter the Tolerance value. Liquid/Vapor Flow Transformation: Select the appropriate Liquid/Vapor Flow Transformation from the drop list. Standard Square Logarithmic
April 2009
Performance Specifications
Performance specifications or SPEC's may be imposed on a column operation such that product stream flows or properties, column internal flows, column tray temperatures, etc., are at desired values in the solution. For each SPEC, a degree of freedom or VARY must be calculated. For a column, a VARY may be a feed stream rate, heat duty, or the draw rate for a fixed rate draw. Furthermore, for convergence to be achieved, there must be a direct effect on all of the SPEC's by the collective set of VARY's. To supply SPECs and define VARYs for a column, click Performance Specifications on the main Column data entry window to access the Column Specifications and Variables window. SPECs and VARYs are entered or edited by clicking on the hypertext strings. PRO/II requires that there be an equal number of SPECs and VARYs. Thus, whenever you add or delete a SPEC, you are required to add or delete a VARY. SPECs and VARYs use the general form in PRO/II and are discussed more fully in the SPEC/VARY/DEFINE section of this chapter. A list of the stream and column parameters which may be used for SPECs and VARYs also is given in that section.
Convergence Data
Convergence data include Convergence Parameters, Convergence Tolerances, Homotopy Options for Convergence Specifications and Convergence History (printout options) for Column iterations. These data are entered in the Column Convergence Data window accessible via the Convergence Data button on the Column main data entry window.
Chapter 9
Inside-Out algorithm or 100 for the Chemdist algorithm. This factor does not apply to the Sure algorithm. Component Averaging Factor: This weighting factor for update of compositions is used for the Sure algorithm. A factor of 1.0 gives equal weight to the current and last set of compositions; a factor of 2.0 gives double weight to the last set of compositions, and so forth. A default value of 0.0 is supplied by PRO/II. Key Component: In rare circumstances, specifying a key component can enhance the convergence for the Sure algorithm. The key component is normally determined by PRO/II but may be specified by the user. Stop if no improvement after 5 iterations: The number of consecutive Sure algorithm iterations allowed without improvement in the solution. You can change the number of iterations by clicking on the hypertext string. Changing this parameter rarely, if ever, results in convergence. Note: The use of tuning factors usually results in an increase in the time required to solve a distillation problem.
Convergence Tolerances
Tolerances for the column equations may also be changed although this should rarely, if ever, be done and never as a means to reach a converged solution. Tolerances are: Bubble Point: The maximum bubble point error for each tray. The default of 10-3 is not used by the RATEFRAC . Enthalpy Balance: The maximum heat balance error for each tray. The default is 10-3. Equilibrium K-value: The maximum allowable relative change in a component K-value generated in the outer loop of the Inside-Out algorithm versus the last value used in the inner loop. The default of 10-3 is not used by RATEFRAC . Component Balance: The maximum relative component balance error for each tray. Not used for the Inside-Out algorithm. The default is 10-3.
April 2009
Chapter 9
Convergence History
Printout of the column iterations is useful in the diagnosis of a convergence failure. History printout for the iterations may be requested by selecting the printout level desired for the following options. Convergence History Print Level Print Column Profiles in Keyword Input File Form Format RATEFRAC routines Initial Estimate Print Level
April 2009
Tray Hydraulics
Tray hydraulic calculations may be used to size new columns and to rate existing tray or packed columns. To perform sizing or rating calculations, click Tray and Packing Data on the Column main data entry window. For sizing and rating purposes, the column is divided into sections of trays or packing on the Column Tray Hydraulics window. Enter tray/packing sizing and rating information in the Column Tray/Packing Rating or Column Tray/Packing Sizing windows accessible via the Enter Data button. The Glitsch valve tray method is used to perform the tray calculations. The valve tray results are de-rated by five and twenty percent respectively, to represent the performance of sieve and bubble cap trays. For packed columns, random or structured packings are available, as are various types of metallic and ceramic rings and saddles. For sizing calculations, column diameter for each tray is sized independently to meet the specified or default flooding criteria. The largest diameter in each section is then selected and the entire section is re-rated using the largest required standard diameter. For rating calculations, the percent of flood is calculated for each tray. The feature of multiple sections of trays is useful in representing existing columns, which often have a variety of tray and downcomer arrangements.
Chapter 9
The options are explained below: Complete Select, if there is a complete mixing of liquid or vapor phase in the column. This corresponds to a flat concentration profile across a tray. It is the default value and for most cases provides good results. Linear This option indicates that there is a linear concentration profile across the tray. Logarithmic This option indicates that there is a logarithmic concentration across the tray.
Critical Surface Tension: Enter the Critical Surface Tension, if you have selected Random Packing under Internal in the Column - Tray Hydraulics dialog box. Liquid/Vapor Mixing: Select the appropriate Liquid/Vapor Mixing characteristics from the drop list: Complete Linear Logarithmic
User needs to enter the above-mentioned data for both Sizing and Rating calculation.
April 2009
Heat Transfer
Check Correlation and Select Chilton - Colburn Correlation from the drop-down list to calculate Heat Transfer.
Mass Transfer
Check Correlation and select the appropriate correlation name from the dropdown list to calculate Mass Transfer: Scheffe & Weiland (Internals - Trays and Sizing calculation type) Chan & Fair (Internals - Trays and Rating calculation type) Rocha 1996 (Internals - Structured Packing and for both Sizing and Rating calculation type) Onda (Internals - Random Packing and for both Sizing and Rating calculation type)
Interfacial Area
Select any of the listed correlation to calculate Interfacial Area: Scheffe & Weiland (Internals - Trays and Sizing calculation type) Chan & Fair (Internals - Trays and Rating calculation type) Rocha 1996 (Internals - Structured Packing and for both Sizing and Rating calculation type) Onda (Internals - Random Packing and for both Sizing and Rating calculation type) Bravo (Internals - Random Packing and for both Sizing and Rating calculation type) If the user-defined correlation is available for any of the parameters mentioned above, check Subroutine and select the user-defined correlation from the dropdown list.
Chapter 9
Tray Efficiencies
All trays in a column model are treated as equilibrium stages or theoretical trays unless one of the tray efficiency models is used. This implies that the user must apply some type of tray efficiency to the actual number of trays in the column, to determine the number of theoretical trays to use in the model. Engineers typically use overall tray efficiency factors based on experience to convert actual trays to theoretical trays. This is almost always the best manner in which to model tray efficiency, since generalized correlations for overall tray efficiency are nonexistent in the literature. For the Inside-Out algorithm, PRO/II provides several tray efficiency models: Murphree Equilibrium Vaporization.
For the Chemdist algorithm, only the Vaporization model may be used. However, none of these models predicts the overall tray efficiency. All of the models use an equation or factor to adjust the equilibrium vapor composition leaving a tray. The models are useful for tuning a tray or a few trays in a Column model, but their general application to all trays in a column is not recommended. To use tray efficiencies, click Tray Efficiencies on the Column main data entry window to enter the Column Tray Efficiency window. Select the efficiency model with a radio button and click Efficiency Data to begin the tabular entry of tray efficiencies. Tray efficiencies may be given for all components on a tray or selected components on a tray. An overall scaling factor may also be provided to be applied to all tray efficiencies. This factor may be adjusted by a Controller unit to meet a desired SPEC.
April 2009
Side Columns
A column using the Inside-Out or Sure algorithm may have attached Side Columns, where a Side Column is a stripper or rectifier. The Side Column draws feed from the main Column and returns a product to the main Column. A finished product is withdrawn from the Side Column. Side Columns are attached as part of the flowsheet construction in the PFD main window. They may be completed and edited by double-clicking on the side column icon on the PFD. The side column data entry windows are identical to the Column main data entry windows with the exception that irrelevant features are eliminated. The Inside-Out algorithm merges a side column with the main column, for calculations. This simultaneous approach means that the SPECs and VARYs for the main column and side columns need not be balanced provided that the SPECs and VARYs for the total column configuration are balanced. The Sure algorithm solves side columns as separate columns in recycle. This approach is more time consuming, and demands that the SPECs and VARYs for the main column and every side column are balanced. The Chemdist algorithm does not permit side columns.
Print Options
Click Print Options on the Column main data entry window to enter the Column Print Options data entry window. Select the desired report options with the check boxes provided. To request plotted results, click Plot Column Results and select the desired plots with the check boxes on the Column Plot Options data entry window. RATEFRAC Software Print Options: Click RateFrac to bring up Print Options dialog box. By default, Calculated HETP for each segment option is checked. Check the other options to make the data available in the generated report.
Chapter 9
Thermodynamic Systems
A thermodynamic system is required for the equilibrium calculations on each tray. The thermodynamic system may be changed from the global default in the Column Thermodynamic Systems data entry window, which is reached by clicking Thermodynamic Systems on the Column main data entry window. A single thermodynamic system may be defined for the complete column or different systems may be used in individual sections of the column. If a vapor/liquid equilibrium thermodynamic system is used for part of a column with the Chemdist or RATEFRAC algorithm, additional checks may be performed to determine which trays have two liquid phases by clicking the Test for VLLE or VLE Trays check box. The thermodynamic system is then changed to a vapor/liquid/liquid system for those trays. If you are working with RATEFRAC , tests for VLLE or VLE Trays can be performed by entering appropriate data in Column- VLLE Test Data window.
April 2009
Chapter 9
Product rates must be supplied for all draw products. Rates may be supplied in molar, mass, or liquid volume units. An estimated value must also be provided for either the overhead or bottoms product. The estimated value for the overhead or bottoms rate should be as accurate as possible to enhance convergence. It is necessary to use a Performance Specification to set a desired flow for the overhead or bottoms product.
Pseudo-products
Pseudo-products are used to create streams corresponding to column internal streams, making them available for flowsheet calculations. Pseudo-products are defined in the Column Pseudo-products window accessible via the Pseudoproducts button on the Column Feeds and Products window. The following types of pseudo-products are available: Net tray light or heavy liquid flow Total tray light or heavy liquid flow
Column Algorithm
The solution algorithm is selected in the drop-down list box on the Column main data entry window. The Inside-Out (default), Sure, and Chemdist algorithms are for distillation columns. To specify a liquid-liquid extraction column, select the Liquid-Liquid option.
Calculated Phases
When the Liquid-Liquid algorithm is selected, the phase system will automatically be set to liquid/liquid.
Number of Trays
The number of trays in the model is entered in the data entry field provided on the Column main data entry window. Every Column must have at least two trays. There is no limit on the number of trays in a Column.
Number of Iterations
The maximum number of trial solutions is supplied in the data entry field provided on the Column main data entry window. The default value is 30 for the LiquidLiquid algorithm.
April 2009
Pressure Profile
The pressure for every tray in a column model must be defined. All calculations are performed at the defined tray pressures. The tray pressures are defined in the Column Pressure Profile window, which is reached by clicking Pressure Profile on the Column main data entry window. Tray pressures may be supplied on an overall or tray by tray mode by choosing a radio button in this window. For the overall mode, the top tray pressure must be supplied and either the pressure drop per tray or the total pressure drop across the column. A default value of zero is supplied for the pressure drop per tray and the column pressure drop. All tray pressures are derived by linear application of the supplied pressure drop. Individual tray pressures are supplied for the tray by tray mode. Note that the top and bottom trays must be included when supplying a table of individual tray pressures. Missing pressures are determined by linear interpolation of supplied values.
Initial Estimates
The Liquid-Liquid algorithm uses an iterative solution technique, starting from an initial estimate of the tray temperature, flow and composition profiles. By default, the initial estimate is produced internally using the initial estimate generator. User-supplied profiles may be used to replace some or all of the values produced by the estimate generator. Click Initial Estimates on the Column main data entry window to enter the Column Initial Estimates window. When using the initial estimate generator, profiles are determined by a simple material balance. Temperatures are determined from estimated product compositions. You may optionally provide temperature estimates for the top and bottom trays which replace values predicted by the estimate generator, as well as an estimate of the ratio of the liquid flows on tray 1.
Chapter 9
When the initial estimate generator is not used, the data which must be supplied as input profiles are tray temperatures and flows, either light or heavy liquid, or a combination thereof. Note that the minimum data which may be supplied are the temperatures and flows for the top and bottom trays for the column. While these are the minimum data required, they are rarely adequate to produce an acceptable initial estimate. It may also be desirable to provide solution profiles from a converged solution to speed future calculations with a column model. Initial profiles are entered in tables accessed by clicking the following buttons on the Column Initial Estimates window: Net Vapor Rate, Vapor Composition, Tray Temperature, Liquid Composition, and Net Liquid Rate Composition estimates are rarely needed for most problems.
Performance Specifications
Performance specifications or SPECs may be imposed on a liquid-liquid extraction column operation such that product stream flows or properties, column internal flows, column tray temperatures, etc., are at desired values in the solution. For each SPEC, a degree of freedom or VARY must be calculated. For a liquid-liquid extraction column, a VARY may be a feed stream rate, heat duty, or draw rate. Furthermore, for convergence to be achieved, there must be a direct effect on all of the SPECs by the collective set of VARYs. To supply SPECs and define VARYs, access the Column Specifications and Variables window via the Performance Specifications button on the main Column data entry window. SPECs and VARYs are entered or edited via the hypertext strings. PRO/II requires that there be an equal number of SPECs and VARYs. Thus, when a SPEC is added or deleted, you are required to add or delete a VARY. SPECs and VARYs use the general form in PRO/II and are discussed more fully in the SPEC/VARY/DEFINE section of this chapter. A list of the stream and liquid-liquid extraction column parameters available for SPECs and VARYs also is given in this section.
Convergence Data
Convergence data include algorithm tuning parameters, tolerances, and history printout options for Column iterations. Open the Column Convergence Data window via the Convergence Data button on the Column main data entry window to enter these data. The tuning parameters are as follows: Damping Factor: A damping factor of less than unity usually improves convergence when the convergence is oscillating. A default value of 1.0 is supplied by PRO/II.
April 2009
Error Increase Factor: This factor limits the increase in the sum of the errors from iteration to iteration. PRO/II supplies a default value of 100. Note: The use of tuning factors usually increases the solution time. Tolerances for the liquid-liquid extraction column equations may also be changed although this should rarely, if ever, be done and never as a means to reach a converged solution. Tolerances are: Liquid-liquid: The maximum liquid-liquid equilibrium tolerance (equal to the bubble point tolerance for VLE) for each tray. The default is 10-3. Enthalpy Balance: The maximum heat balance error for each tray. The default is 10-3. Component Balance: The maximum relative component balance error for each tray. The default is 10-3. Printout of the liquid-liquid extraction column iterations is useful in diagnosing a convergence failure. History printout for the iterations may be requested by clicking Convergence Data and selecting the printout level desired.
Print Options
Click Print Options on the Column main data entry window to enter the Column Print Options data entry window. Select the desired report options with the check boxes provided. To request plotted results, click Plot Column Results and select the desired plots with the check boxes on the Column Plot Options data entry window.
Thermodynamic Options
A thermodynamic system which supports liquid-liquid equilibrium is required for the equilibrium calculations on each tray. The thermodynamic system may be changed from the global default in the Column Thermodynamic Systems data entry window which is reached by clicking Thermodynamic Systems on the Column main data entry window. A single thermodynamic system may be defined for the complete column or different systems may be used in individual sections of the column.
Chapter 9
April 2009
Column, Side
General Information
The Side Column unit operation models side strippers and side rectifiers associated with a main Column. The Side Column model is currently restricted to the Inside-Out, Enhanced I/O and Sure algorithms. See Column Algorithm in the Distillation Column discussion (page 191) for further information on these methods. Side Columns always use the same distillation algorithm as the main Column. Multiple Side Columns attached to one main Column are possible and, in fact, are common practice in the petroleum refining industry.
Solution Methods
Solution methods for Side Columns vary with the algorithm. The Inside-Out (and Enhanced I/O) algorithm merges the Side Column with the main column and solves the complex column arrangement simultaneously. There are three benefits to this approach: The simultaneous method results in more precision in the solution. The simultaneous solution is more efficient and uses less computing time. The simultaneous solution provides more flexible product specifications.
For example, the last benefit permits the use of both a D86 (5%) and a D86 (95%) specification for a side stripper product. To solve this same set of specifications with the Sure method requires the use of a Multi-variable Controller unit wrapped around the main column/side column units. The Sure method solves each side column separately from the main column and uses recycle streams to relate the side column and main column. When using special recycle logic to converge the column/ side column recycle problem, this method has three disadvantages compared to the Inside-Out column simultaneous treatment:
Chapter 9
The solution is less precise since a recycle stream tolerance is used in addition to the column equation tolerances. The recycle approach is much slower. Main column variables (except the main column draw rate) cannot be directly related to the side stripper products. This makes it necessary to use controllers to solve for more than one specification on a side product.
April 2009
The side rectifier corresponds to the rectification section of a conventional distillation column. An overall tray efficiency of 45 to 55 percent is reasonable for many applications. Side rectifiers do not normally have other items of equipment such as pumparounds, side heaters/coolers, etc. Reboilers are never used for these columns.
Chapter 9
April 2009
Compressor
General Information
The Compressor simulates a single stage isentropic compression. Outlet conditions and work requirements may be determined using either adiabatic or polytropic efficiency. Optional tabular input may be used to determine performance from supplied curves for outlet pressure or pressure ratio, head, work, and/or efficiency. An optional after-cooler calculation may be included. Both VLE and VLLE calculations are supported. Multistage compressors may be modeled by linking single stage compressor units.
Chapter 9
Pressure Ratio: Compression ratio (absolute outlet pressure/absolute inlet pressure). Work: Actual work for the compressor. Pressure Curve: Click Enter Curve to supply a curve relating volumetric feed rate to outlet pressure in the Compressor Outlet Pressure Performance Curve window. Pressure Ratio Curve: Click Enter Curve to supply a curve relating volumetric feed rate to compression ratio in the Compressor Pressure Ratio Performance Curve window. Adiabatic Work Curve: Click Enter Curve to supply a curve relating volumetric feed rate to adiabatic work in the Compressor Work Performance Curve window. Polytropic Work Curve: Click Enter Curve to supply a curve relating volumetric feed rate to polytropic work in the Compressor Work Performance Curve window. Actual Work Curve: Click Enter Curve to supply a curve relating volumetric feed rate to actual work (efficiency has been applied) in the Compressor Work Performance Curve window. Adiabatic Head Curve: Click Enter Curve to supply a curve relating volumetric feed rate to adiabatic head in the Compressor Head Performance Curve window. Polytropic Head Curve: Click Enter Curve to supply a curve relating volumetric feed rate to polytropic head in the Compressor Head Performance Curve window. Actual Head Curve: Click Enter Curve to supply a curve relating volumetric feed rate to actual head (efficiency has been applied) in the Compressor Head Performance Curve window.
April 2009
Single Polytropic Efficiency Curve: Click Enter Curve to supply a curve relating volumetric feed rate to polytropic efficiency in the Compressor Efficiency Curve window. Multiple Adiabatic Efficiency Curve: Click Enter Curve to supply multiple curves at designated Compressor inlet or outlet pressures, which relate volumetric feed rate to adiabatic efficiency in the Compressor Multiple Efficiency Curves window. Multiple Polytropic Efficiency Curve: Click Enter Curve to supply multiple curves at designated Compressor inlet or outlet pressures, which relate volumetric feed rate to polytropic efficiency in the Compressor Multiple Efficiency Curves window. Selection of an efficiency or temperature specification is optional, and if none is selected a default value of 100 percent adiabatic efficiency is used. Note that this corresponds to a perfect isentropic compression.
]2.0 ]3.0
Aftercooler Option
An aftercooler may be added via the Aftercooler icon on the Compressor main data entry window and supplying the cooler outlet temperature and pressure drop in the Compressor Aftercooler window.
Chapter 9
Calculation Method
Select the method to calculate the Compressor head by clicking Calculation Method on the Compressor main data entry window. This displays the Compressor Calculation Mode window. The method may be chosen with the radio buttons provided, with choices as follows: GPSA Engineering Data Book: The GPSA Data Book equation is used to compute head. ASME Power Test Code 10: The ASME Power Test Code 10 equation is used to compute head. This method, the default, is the most rigorous. The compression ratio above which the head equation is used to compute the isentropic/ polytropic coefficient may also be supplied in this window. This entry only applies to the GPSA method, with a default value of 1.15 supplied. Below this compression ratio, the GPSA temperature equation is used to compute the isentropic/polytropic coefficients.
Thermodynamic System
The thermodynamic system of methods to be used for compressor calculations may be selected by choosing a method from the Thermodynamic Systems dropdown list box on the Compressor main data entry window.
April 2009
Controller
General Information
The Controller simulates the action of a feedback process controlled by adjusting an upstream flowsheet parameter to achieve a specified result for a process stream or unit operation. A controller must have one Specification and one VARY, where the SPEC may be a stream flow rate or property, a unit operating condition, or a Calculator result. The control variable (VARY) must be a stream or unit operation flowsheet parameter that is otherwise at a fixed value in the flowsheet.
Specification
The Specification is supplied via the appropriate underlined hypertext in the Specification field of the Feedback Controller main data entry window (accessed by double-clicking on the Controller flowsheet icon). By clicking the hypertext string Parameter, the Parameter window appears in which you can select the unit parameter or stream parameter to use as the SPEC. The SPEC may be a single parameter or a mathematical expression that relates two flowsheet parameters. You may next enter the value and the tolerance for the SPEC by clicking the appropriate linked text. See the SPEC/VARY/DEFINE section of this chapter for further details on the generalized SPEC form used in PRO/II.
Variable
The control variable (VARY) is selected by clicking the linked text string Parameter in the Variable field of the Feedback Controller window. The Parameter window is used to designate the stream or unit parameter to use for the VARY in a manner analogous to that used in selecting the SPEC above. The SPEC/VARY/DEFINE section of this chapter gives more information on the VARY concept. You will also find tables of the flowsheet variables that may be used for SPECs and VARYs in controller units.
Chapter 9
Parameters
Several parameters regarding the operation of the Controller may be supplied on this section of the Feedback Controller window. You may change the maximum number of iterations from the default value of 10. Use the radio buttons may to select the action taken when the control variable exceeds the prescribed limits: The value is set to the limit as a solution and flowsheet calculations continue (the default), or Flowsheet calculations are halted.
Non-convergence of Controllers
The controller uses a Newton-Raphson technique to search for the value of the control variable that meets the specified flowsheet parameter result. Therefore, it is important that there be a continuous and monotonic relationship between the control variable and the specification. Control functions with discontinuities or localized maxima and minima may fail to converge or converge to an undesired result. For some cases, the limits and step sizes entries may keep the control function within a range of feasible solutions.
April 2009
Chapter 9
April 2009
Crystallizer
General Information
The Crystallizer unit operation simulates crystallization processes for the manufacture of organics, inorganics, fertilizers, biochemicals and polymers. The crystallizer transforms a supersaturated solution into a mixed solid/liquid crystal slurry. The crystallizer is modeled as a Mixed Suspension Mixed Product Removal (MSMPR) crystallizer or Continuous Stirred Tank Crystallizer (CSTC). These models assume ideal mixing in the unit and that the product conditions are the same as the bulk conditions. The model also assumes that breakage or agglomeration of solid particles is negligible. A feed heat exchanger may be included in the model with recirculation if required. The crystallization process depends on phase equilibria as well as kinetic or nonequilibrium considerations. Solid-liquid equilibrium is defined in terms of solubility, which is calculated from either the Van't Hoff equation or user-supplied solubility data. You must select Design or Rating calculations in the Crystallizer Calculation Mode window. In design mode, a specification is required and the volume is calculated. In the rating mode, the vessel volume is defined. The formation rate relationships are expressed as power law expressions in the Crystallizer Growth and Nucleation Rates window. These relationships are similar to equations for power law kinetics used for chemical reactions. Full details of the calculation method can be found in the PRO/II Reference Manual.
Chapter 9
Unit Specification
A Crystallizer unit operation is specified by filling in the data variables for Solute and Solvent, Crystal Shape Factor, Calculation Mode, Design Specification (in Design Mode) and Growth and Nucleation Rates. Access the appropriate data entry windows from the Crystallizer main data entry window. Access the main Crystallizer Data Window by double-clicking the Crystallizer unit icon.
Calculation Mode
Click Calculation Mode to specify the Design or Rating calculation mode. In Design mode, a specification is required and the vessel volume is calculated. Specification options are: Crystal Production Rate: Enter the production rate of the crystals in weight units. Fraction of Solute Crystallized: Enter the fraction of the total solute in the combined feeds that is to be crystallized. Magma Density in the Bottom Product: Enter the density of the bottom product as weight of crystals per unit volume of slurry. Supersaturation Ratio: Enter the supersaturation ratio which is defined as: (Xexit - Xsat)/ Xsat where: Xexit is the liquid phase mole fraction of the solute in the bottom product, and Xsat is the saturation mole fraction of the solute in the bottom product. In Rating mode, the vessel volume is defined.
April 2009
Operating Conditions
Click Operating Conditions to specify Crystallizer Operating Conditions. By default, the crystallizer operates at the combined feed temperature and pressure with no recirculation. Pressure Specification: The pressure may be specified as a drop below the combined feed pressure or you may specify the pressure value directly. Second Specification: If an option other than At Merged Feed Temperature is selected, the unit is assumed to include a feed heat exchanger. You may specify either the crystallizer operating Temperature or the Duty of the exchanger. Recirculation Flow rate: Some of the bottom product may be remixed with the feed and passed through the feed exchanger. To specify this option, you must either specify the recirculation Volumetric Rate or the Temperature Change across the exchanger. A negative change denotes a temperature drop. Alternatively, instead of entering a numeric value for the parameters in this window, they may be referenced using the DEFINE system relative to any available unit operation or stream parameter calculated elsewhere in the simulation. See the table of Crystallizer Parameters available for CrossReferencing in the online help for more details.
Chapter 9
Print Options
Click Print Options to access the Crystallizer Print Options window. Check the Include Crystal Size Distribution box to request additional output, including tables of fractions and population densities for the feed and product streams as functions of the crystal size distribution.
April 2009
Cyclone
General Information
The Cyclone unit operation models the separation of particulate solids from a solid and gas stream. The particulate collection efficiency is determined by the solids loading, component characteristics, particle size distribution, stream flow rate, and cyclone geometry. The Cyclone unit operation will calculate the collection efficiency for every particle size range of each solid component as well as the pressure drop through the unit. The Cyclone is assumed to operate isothermally and mechanisms such as agglomeration and crumbling are discounted.
Unit Specification
A cyclone unit operation is specified by filling in the appropriate real and integer data variables for operating mode, geometry, pressure drop calculations, efficiency calculations, and multiple cyclone configuration in the Gas/Solid Cyclone main data entry window that is accessed by double-clicking the Cyclone unit icon on the PFD.
Rating Mode
If you select Rating Mode, you must supply the diameter of the cyclone. The other dimensions of the cyclone will be generated from the diameter. If you select User Defined Geometry, you must also enter all of the geometric ratios as described below. In Rating Mode, PRO/II will calculate: pressure drop, total efficiency, component efficiencies, grade efficiencies and weight percent solids in the overhead stream.
Chapter 9
Design Mode
If you select Design Mode, you need not provide the cyclone diameter. Again, if you select User Defined Geometry, you must enter all of the geometric ratios as described below. In addition, you must specify a target for total solids collection (see entry for RPARM(13) below). You may also wish to override the default maximum pressure drop of 10 inches of water by entering a value in whatever input pressure units you prefer (see entry for RPARM(16) below). In addition to the normal Rating Mode output, Design Mode will calculate the number and size of identical cyclones that are necessary to meet the specification. There may be many cyclone systems that meet the specification. In all cases, Design Mode will return the system requiring the fewest cyclones.
Multiple Cyclones
The Cyclone can model a system of identical cyclones that are arranged either in parallel or in series. In the case of parallel cyclones, the feed streams are split evenly among the cyclones. The overhead products from all cyclones merge into one overhead and the bottoms products from all cyclones merge into one bottom stream. In the case of series cyclones, the overhead from the first cyclone is the feed to the second and so on. The overhead product is the overhead product from the final cyclone while the bottom product is the combined bottom product from all the cyclones in the system. Both product streams are at the outlet pressure of the final cyclone in the system. It is not possible to specify recycle streams inside the unit or to reference intermediate stage data from the flowsheet. For example, if you wish to set a specification on the second cyclone in a three-cyclone series or set a recycle from the second cyclone to the first cyclone, you should model the system as three separate units. Note that while increasing the number of identical cyclones will increase efficiency and pressure drop in a series system, it will decrease the efficiency and pressure drop in a parallel system.
April 2009
of particles which would be collected at 100%). The Koch & Licht method is not based on a particle size ratio. Pressure Model (IPARM(3)) This input is optional. Options for both Rating and Design mode are: 1. Koch & Licht (default) 2. API If the cyclone is inside another vessel, the API method allows values for the Inlet Width Ratio and the Superficial Gas Velocity (described later in the section titled Real Data for Unit) to be specified. Cyclone Geometry (IPARM(4)) This input is optional. Options for both Rating and Design mode are: 1. Stairmand (default) 2. High efficiency Swift 3. Lapple 4. General purpose Swift 5. Peterson & Whitby 6. User-defined geometry If the user-defined geometry is used, values must be specified for the inlet height ratio, inlet width ratio, cyclone dust outlet diameter ratio, cyclone gas outlet diameter ratio, gas outlet tube length ratio, height of cylindrical section ratio, and total cyclone height ratio as appropriate for the calculation method used as shown. Inlet Vane Flag (IPARM(5)) This input is optional. Options for both Rating and Design mode are: 1. No (default) 2. Yes Shape of Gas Inlet Flag (IPARM(6)) This input is optional. Options for both Rating and Design mode are: 1. Tangential (default) 2. Scroll or volute 3. Axial Cyclone is inside Vessel Flag (IPARM(7)) This input is optional. Options for both Rating and Design mode are: 1. No (default) 2. Yes For a value of 2, the Inlet Width Ratio and the Superficial Gas Velocity must be specified. Dipleg Size is calculated if the value of 2 is entered.
Chapter 9
Efficiency Adjustment Due to Loading Flag (IPARM(8)) This input is optional. Options for both Rating and Design mode are: 1. Adjust (default) 2. Do not Adjust Automatically Switch Pressure Drop Model (IPARM(9)) This input is optional. Options for both Rating and Design mode are: 1. Do not Switch (default) 2. Switch This entry allows changes to be made automatically in the pressure drop model between the Koch & Licht and API methods based on solids loading. Configuration of Multiple Cyclones Flag (IPARM(10)) This input is optional. Options for both Rating and Design mode are: 1. Parallel (default) 2. Series Number of Identical Cyclones (Series or Parallel) (IPARM(11)): This input is optional and is used only in Rating Mode. The default value is 1 cyclone. Number of Particle Size to be Specified (IPARM(12)) This input is optional and is for Rating Mode only. This and the following entry can be used together to specify the component and PSD size range whose weight fraction in the overhead will be output to RPARM(64). This latter value can be accessed by a Controller, MVC or Optimizer. For example, if a solid with PSD data: 10, 20, 30, 40 (in default input units) is required to have a weight fraction of 0.20 in size range 20 to 30, the value for this entry would be 2 (the second size range) and the value for a DEFINE statement would be 0.20. The default value is 1 (the first size range). Number of the Component to be Specified (IPARM(13)) This input is optional and is for Rating Mode only. This optional input is the number of the component with particle size distribution data to be used in the design. The default is the first solid component with a PSD that the design mode may evaluate. Maximum Number of Cyclones (IPARM(14)) This input is optional and is for Design Mode only. The value indicates the number of cyclones in parallel or series as appropriate based on the value specified above for the Configuration of Multiple Cyclones Flag. The default is 20 for parallel and 3 for series.
April 2009
Chapter 9
Tolerance for Cyclone Body Diameter (RPARM(17)) This Design Mode entry is optional. The default is 0.001.
April 2009
General Information
The Rotary Drum Filter unit is used to decrease the liquid content of a stream containing solids. The model assumes a rotating, horizontal drum partially submerged in a trough of slurry mixture, which is to be filtered.
Unit Specification
A Rotary Drum Filter unit operation is specified by filling in the appropriate real and/or integer data variables in the tabs named as: Calculation mode, Operating Conditions and Cake Properties in the main data entry window. It is accessed by double-clicking the Rotary Drum Filter unit icon on the PFD. The variables associated with each tab are discussed below.
Calculation Mode
In calculation mode Tab, one will see that the Rotary Drum Filter can be operated in either of the two modes: i. Rating Mode If one selects the Rating Mode, then Diameter and Width of the Rotary Drum Filter must be supplied. The Maximum Pressure Drop across the Rotary Drum Filter and Width to Diameter Ratio will be calculated. ii. Design Mode If one selects the Design Mode, one must provide the Maximum Pressure Drop across the Rotary Drum Filter diameter whereas Width to Diameter Ratio is optional. This will lead to the calculation of Diameter and Width of Rotary Drum Filter.
Chapter 9
Operating conditions
Value for Rotational speed of the drum (in RPMs) is a mandatory user input, but one has a choice to specify either the angle of filtration or the percentage of drum submerged. The default values for angle of filtration and percentage of drum submerged are available.
Cake properties
Porosity, Percentage of solids in the cake, Average Sphericity, Cake Resistance at existing pressure drop and Cake Compressibility have default values and hence are optional fields. User can either specify the percentage of solids in the cake or ask PRO/II to calculate it. In the latter case, Average Particle Diameter has to be made available through one of the following possible ways: (i) Particle Size Distribution (PSD) should be given so that PRO/II can calculate Average Particle Diameter and use it in further calculation sequence. (ii) It can be given directly as a user input in the Float field provided. PS: Though the Float field is shown as optional, there is no default value for Average Particle Diameter. In the similar way, user can either specify the Filtration Resistance or ask PRO/II to calculate it. If user wants PRO/II to calculate the Filtration Resistance, then the Specific Resistance is a mandatory user input.
April 2009
Solids Dryer
General Information
The Solids Dryer is used to decrease the liquid content of a stream containing solids. Generally, the liquid being removed is water. The Solids Dryer may be operated at a fixed temperature and pressure or at a fixed heat duty requirement. Alternatively, the pressure or temperature may be fixed and a design specification placed on one of the product streams, generally, the dried solid stream.
Calculation Method
The Solids Dryer provides the option of specifying two specifications to satisfy the degrees of freedom. Two types of specifications are available for this unit operation; they are Operation Specification and Design Specification. Flash calculations are used to meet the provided specifications.
First Specification
Select one of the following parameters: Pressure Drop: The decrease in outlet pressure over the lowest feed stream pressure. Negative values indicate a pressure rise. Pressure: The pressure in the Solids Dryer Temperature: The temperature in the Solids Dryer.
Second Specification
Select one of the Unit Specification or supply product specification.
Chapter 9
Rate: The flow rate of either the OVHD or BTMS stream on a weight (WT) basis or a molar (M) basis. The default is weight. Molar may only be used if all solids have their molecular weights defined. If COMPONENT is also used, then rate refers to the flow rate of a component or group of components. When RATE is used with the BTMS keyword, the rate may refer either to the total BTMS rate (PHASE=T and default) or to the liquid portion of the BTMS rate (PHASE=L). Fraction: The fraction of a particular component or group of components in the OVHD or BTMS stream on a weight (WT) basis or a molar (M) basis. The default is weight. Molar may be used only if all solids have their molecular weights defined. The COMPONENT entry is also required. PHASE=T is not allowed with this specification. PHASE=L must be entered Moisture: The moisture content of the BTMS stream on a weight (WT) basis or a molar (M) basis. The default is weight. Molar may only be used if all solids have their molecular weights defined. Moisture Content is defined as the ratio of mass or moles of water to mass or moles of total solids. PPM: The parts per million of a particular component or group of components in the OVHD or BTMS stream on a weight (WT) basis or a molar (M) basis. The default is weight. Molar may be used only if all solids have their molecular
April 2009
weights defined. The COMPONENT entry is also required. PHASE=T is not allowed with this specification. PHASE=L must be entered Vapor Fraction: The fraction of the feed vaporized on a weight (WT) basis or a molar (M) basis. The default is weight. Molar may only be used if all solids have their molecular weights defined. The fraction may refer either to the total feed rate (PHASE=T and default) or to the liquid portion of the feed (PHASE=L). The BTMS keyword is not allowed with VFRAC.
Chapter 9
Depressuring Unit
General Information
The Depressuring Unit simulates the time-pressure-temperature relationships that occur when a vessel is depressured through a relief or control valve. Several different valve models, vessel configurations and models for heat flow into the unit are available. An optional external makeup stream may also be specified. The initial phase of the vessel contents may be either a vapor or a vapor-liquid mixture.
Calculation Options
Calculation options include procedures from API Standard 2000, API Recommended Practice 520, and other industry standards.
April 2009
The default value for the Volume Tolerance per Time Step is 0.0001. The default value for the Maximum Number of Time Steps allowed in the depressuring simulation is 100. The default value for the Time Step size is calculated using default values for the sizing parameters. User-supplied values for the parameters used in this calculation may be entered via the appropriate hypertext string. The step size basis is selected from a pop-up list, which includes a. total fluid quantity in increments of the amount* (a constant) b. vapor quantity in increments of the amount* (a constant), or c. the smaller of (1) or (2). The default selection for time step size basis is (a). Choosing either (a) or (a) allows entering user-supplied values for the constants in the pop-up float field. For the time step size basis of (1), the default value of the constant is 0.04. For (2), the default value of the constant is 0.50.
Valve Data
Data can be entered on the Depressuring Valve Data window to define the flow characteristics of the relief valve or control valve. This window is brought up by clicking Valve Data on the Depressuring Unit main data entry window. A Valve Model must be selected from the four choices by choosing the appropriate radio button. The available valve models are Supersonic Flow, Subsonic Flow, Constant Flow, and User Model. The default is Supersonic Flow. The equation for the selected model is displayed as an aid to entering the parameters in the valve equation. The units displayed for the equation are consistent with the default UOM for the problem and may not be changed.
Chapter 9
A Valve Constant (C) must be entered for all models except for the User Model. For the Supersonic Flow model, the valve constant is the only entry allowed. For the Subsonic Flow model, an optional back pressure may be entered along with the required the valve constant. For the Constant Flow model, the only allowable entry is the valve constant. For the User model, the control valve coefficient must be entered. The default back pressure value is 0.0, while the default value for the critical flow factor is 1.0 Different values for the back pressure and critical flow factor may be entered.
Vessel Data
The Depressuring Vessel Data window is used to define the configuration of the depressuring unit. This window is accessible via the Vessel Data button on the Depressuring Unit main data entry window. One of the following must be selected by choosing the appropriate radio button. Sphere Horizontal Cylinder Vertical Cylinder Unspecified Shape If Sphere is the selected vessel geometry, a value for the diameter must be entered. If Horizontal Cylinder is the selected vessel geometry, the diameter and tangent-to-tangent length must be entered. For the Vertical Cylinder vessel geometry, the diameter and tangent-to-tangent height must be entered. For vessels of any of these defined geometries, entering a value for liquid height is optional. For vessels of the Unspecified Shape geometry, the vessel volume must be entered. Liquid Holdup is optional only if the geometry is Unspecified Shape. By default, the holdup liquid is saturated liquid of the combined feed composition at the initial conditions. The remaining vessel volume contains vapor in equilibrium with this liquid. The holdup may be on a mole, weight, or actual volume fraction basis with the default being the mole fraction basis. The Vessel Weight and the Vessel Specific Heat may be input for any vessel geometry. If one of these two variables is entered, then both must be entered. These items are required only if Blowdown appears on the Heat Input window, otherwise they are optional. (See discussion on vessel Heat Input options below.) The volume correction factor is an optional entry for the Sphere, Horizontal Cylinder, and Vertical Cylinder vessel geometries only. This entry is used to correct the vessel volume for pipes, fittings, and end plates and defaults to 1.00 if not supplied.
April 2009
Heat Input
Click Heat Input on the Depressuring Unit main data entry window to open the Heat Input window. A heat input model may be selected from the drop-down list box, which includes the following options: User-defined API 2000 API 2000 Method with Scaling API RP 520 with Scaling API RP 520 Isothermal Rigorous Blowdown Semi-rigorous Blowdown Fire Relief.
User-Defined is the default as this supplies no heat input to the vessel. The difference between the Rigorous and Semi-rigorous Blowdown models is the physical property calculations. The selected heat transfer equation is displayed, along with the equations units of measure. Depending on the Heat Flow Model selected, from one to five of the coefficients may be supplied. For the UserDefined or Semi-rigorous or Rigorous Blowdown models, values for these coefficients default to 0.0. For the Fire Relief Model only, the first two coefficients C1 and C2 are required. The Initial Wetted Area field is made unavailable when a value has been entered for Liquid Height on the Vessel Data window. Otherwise, a value for Initial Wetted Area must be entered for the API 2000, Scaled API 2000, RP 520, Scaled RP 520, and Fire Relief Models. The Area Scaling Factor is an optional entry for these same heat input models only when the Initial Wetted Area is input. It has a default value of 1.0. The Heat Input Scaling Factor may be input for any heating model except the Semi-rigorous and Rigorous Blowdown and Isothermal models. It has a default value of 1.0. The Semi-rigorous and Rigorous Blowdown models provide the following radio button options for the heat transfer coefficient: Calculated Using Scaling Factor, Overall coefficient, or individual vapor and liquid phase heat transfer coefficients. The default is the Calculated Using Scaling Factor option with a default scaling factor of 1.0.
Chapter 9
Makeup Stream
One feed stream to the depressuring unit can be designated as a constant-rate makeup stream. Click Makeup on the Depressuring Unit main data entry window to open the Makeup Stream window, where a makeup stream can be designated. Checking the box enables a drop-down list box which contains the names of all feed streams to the depressuring unit shown on the PFD. One stream may be selected as a makeup stream. The flow of this stream will always begin at time = 0, regardless of when the depressuring begins. By default, no makeup stream is included.
Thermodynamic System
For problems where more than one thermodynamic method has been specified, a drop-down list box allows the selection of a thermodynamic method set to be used for the Depressuring Unit.
April 2009
Dissolver
General Information
The Dissolver unit operation models the dissolution of solids into liquid solutions. This mass transfer operation is widely used in the chemical industry in both organic as well as inorganic processes.
Calculation Method
The dissolver transforms crystals in solution from the solid to the liquid phase. PRO/II models the most common type of dissolver which is the stirred tank dissolver. A feed heat exchanger may be included in the model if required. A Solid-liquid equilibrium method must be defined in terms of solubility, which is calculated from either the Van't Hoff equation or user-supplied solubility data. You must select Design or Rating calculations in the Dissolver Calculation Mode window. In Design mode, a specification is required and the volume is calculated for a given feed particle size distribution and operating conditions. In Rating mode, the vessel volume is defined and the exit particle size distribution is determined. The mass transfer coefficient may be specified in the Dissolver Dissolution Rate window. Alternatively, you may specify that the coefficient should be calculated from diffusivity data entered in the Thermodynamic Data. Full details of the calculation method can be found in the PRO/II Reference Manual.
Chapter 9
Excel Unit
General Information
The Excel unit operation allows using Microsoft Excel spreadsheet files to model general unit operations in the flowsheet. During calculation, PRO/II transfers feed stream information to the spreadsheet, invokes a user-defined macro, then reads the resulting product stream information back into PRO/II. An Excel file usually contains several worksheets of information. One of these worksheets is used to exchange data between PRO/II and Excel. This data transfer worksheet has a specific format which is described below in the section Data Transfer Sheet. All other sheets in the workbook are ignored by PRO/II and can be used for any other purpose. When PRO/II is installed, an "empty" Excel file (ExcelTemplate.xls) is installed which can be used as a starting point for developing custom spreadsheets. Note: ExcelTemplate.xls does not perform any calculations. A developer can copy and customize the spreadsheet by adding the required macros and/or spreadsheet formulas to calculate the output stream conditions based on the input feed streams and the unit operation data. After the spreadsheet has been customized, a user can add it to a PRO/II flowsheet using the Excel unit operation: After starting PRO/II, select File/New from the menu. The PFD Icon palette is displayed. Scroll to the bottom of the PFD palette, click the Excel button, and click an empty area of the flowsheet to add a new Excel unit operation. Connect the required feed and product streams. Double-click the Excel icon to display the tabbed dialog box (see next section Excel Configuration Dialog Box). This tabbed dialog box is used to specify the name of the Excel file, the name of the worksheet used as the data transfer area, and the name of the macro to invoke at calculation time. After configuring is complete, click OK to exit the tabbed dialog. After the flowsheet solves, PRO/II transfers feed stream information to the spreadsheet, invokes the user-defined macro, and then reads the resulting product stream information back into PRO/II.
April 2009
The default text report that PRO/II generates includes the values of the Excel unit operation data arrays.
Limitations
The Excel unit operation has the following limitations: The Excel macro cannot make any direct function calls back into PRO/II. All communication with PRO/II is done through the data transfer sheet. Use of the PRO/II COM Server functions to access data in the current flowsheet is not supported. The Excel spreadsheet is not stored in the .prz simulation file.
Figure9-1: Excel Unit Tabbed Dialog Use the main Excel Data Entry Window to specify the configuration and general unit operation information. The window is organized into five tabs.
Chapter 9
April 2009
number, then the actual cells for the rows highlighted with an asterisk (*) change accordingly. For example, increasing the number of feed streams to 6 changes the column corresponding to the first product stream from column H to column I. Column or Cell D2 F2
Contents At calculation time, PRO/II fills this cell with the number of components in the simulation. Maximum number of feed streams supported by the spreadsheet. At calculation time, PRO/II reads this value to insure that the number of actual feed streams is less than or equal to the number of columns reserved in the spreadsheet. PRO/II does not change this value. This value must match the number of 'blue' columns used to store feed stream information. If a user customizes the spreadsheet to add one or more blue columns, then this number must be increased to match. Maximum number of product streams supported by the spreadsheet. At calculation time, PRO/II reads this value to insure that the number of actual product streams is less than or equal to the number of columns reserved in the spreadsheet. PRO/II does not change this value. This value must match the number of 'yellow' columns used to store product stream information. If a user customizes the spreadsheet to add one or more yellow columns, then this number must be increased to match. Number of rows (starting with row 5) reserved for bulk stream properties. At calculation time, PRO/II reads this number to determine in which row to begin writing stream compositions. PRO/II does not modify this value.
H2
J2
W4
* * *
Number of additional parameters to be included in the text report. At report time, PRO/II reads this value to determine how many additional data items in columns V and W will be written to the output report. At calculation time, PRO/II fills this range of cells with feed stream information. The number of columns is defined by cell F2; the maximum number of rows is defined by J2. At calculation time, PRO/II fills this range of cells with component rate information of the feed streams. The number of columns is defined by cell F2; the number of rows is defined by D2. The values are expressed in PRO/II internal units-of-measure.
C5:G24
C25:Gnn
Chapter 9
* * *
Contents At calculation time, the spreadsheet fills this range of cells with product stream information. The number of columns is defined by cell H2; the maximum number of rows is defined by J2. At calculation time, the spreadsheet must fill this range of cells with component rate information of the product streams. The number of columns is defined by cell H2; the number of rows is defined by D2. The values should be expressed in PRO/II internal units-of-measure. At calculation time, PRO/II will write values to columns M and O. Column M will contain the names of the unit operation Integer (INT) attributes as defined in the Unit Operation Data Definition (.ini) file; column O will contain the current values. After the spreadsheet macro is complete, the updated values in column O will be returned back to PRO/II. During calculations, PRO/II writes values to these columns. Column P contains the names of the unit operation Parameter (PAR) attributes defined in the Unit Operation Data Definition (.ini) file. Column R contains their current values. After the spreadsheet macro finishes, updated values in column R are returned back to PRO/II. Values are transferred in the units-ofmeasure specified in the [UOM] section of the Data Definition file. During calculations, PRO/II writes values to these columns. Column S contains the names of the double-precision (DBL) attributes as defined in the Unit Operation Data Definition (.ini) file. Column U contains their current values. After the spreadsheet macro ends, updated values in column U are returned back to PRO/II. Values are transferred in the units-ofmeasure specified in the [UOM] section of the Data Definition file Contains the descriptions of the attributes that are included in the PRO/II default text report. PRO/II does not change these values. The number of descriptions and values included in the PRO/II report is specified by the number in cell W4. Contains the values calculated by the spreadsheet macros and/or formulas. PRO/II does not change these values. When generating the default text report, PRO/II will include the descriptions from column V and values from column W in the text report. The number of descriptions and values included in the report is specified by the number in cell W4.
H25:Lnn
M, O
P, R
S, U
* *
April 2009
Column or Cell X, Y
* *
Contents Column X contains the list of unit-of-measure classes. Column Y contains the conversion factor between input and internal units of measure. Normally this value is not required because PRO/II writes all values to the spreadsheet in the same units-of-measure regardless of the units-of-measure selected in the input file. For details on the unit-of-measure classes, refer to the PRO/II UserAdded Subroutines User Guide.
* The actual column used for this data depends upon the declared number of
feeds and products. Changing the number of feeds or products changes the column correspondingly. As delivered, the unit has 5 feeds and 5 products.
Additional Customization
The Excel unit operation in PRO/II provides generic data attributes and GUI capability. It is possible to perform additional customization using the capabilities of the Modular User-Added Unit Operations. Specifically, the following items can be customized: Custom Data attributes names and full support for units-of-measure. Custom tabbed dialog box. Custom icon on the PFD palette.
To perform these modifications, refer to the PRO/II User-Added Subroutines User Guide.
Chapter 9
Expander
General Information
The Expander operation may be used to model any isentropic expansion such as an expander unit in a natural gas processing plant or a steam turbine, etc. Adiabatic expansion efficiency may be applied to the calculations. Rigorous calculations may be performed for both VLE and VLLE systems.
A relative tolerance in percent may also be defined for convergence of work specifications. If none is given, a default value of 0.001 percent is used.
April 2009
Adiabatic Efficiency
The isentropic work is adjusted by application of the adiabatic efficiency supplied in the Expander window. When not supplied, a default value of 100 percent is used (perfect isentropic expansion).
Thermodynamic System
The thermodynamic system of methods to be used for expander calculations may be selected by choosing a method from the Thermodynamic System dropdown list box on the Expander main data entry window.
Chapter 9
Flash
General Information
The Flash unit may be used to model any equilibrium calculation where two of the conditions are defined, e.g., temperature and pressure, pressure and enthalpy, etc. The phase equilibrium is determined and the product may be separated into product streams corresponding to the phases. The duty required, if any, to bring the feed to the final conditions is also reported. Both VLE and VLLE calculations are supported by this unit.
First Specification
The temperature, pressure, or pressure drop from feed conditions is supplied by choosing the appropriate drop-down list box on the Flash main data entry window and supplying the value in the data entry field provided. Only one entry is allowed.
April 2009
Second Specification
This specification is used in conjunction with the First Specification given above to define the equilibrium calculation desired. The Second Specification may be either a Unit Specification or a Product Specification as denoted by the radio buttons on the Flash main data entry window. These two types of specification are discussed separately below.
Unit Specification
The desired second specification is chosen with the drop-down list box and the data entry supplied in the field provided. Options are: Pressure Drop or Pressure: These entries are only applicable when the temperature is chosen as the primary specification and correspond to an isothermal (constant temperature and pressure) flash. The Duty required to bring the feed to the specified conditions is calculated by PRO/II. Duty: This entry corresponds to an adiabatic (duty defined) flash. When the temperature is supplied as the primary specification, the pressure is computed. When the pressure or pressure drop is supplied as the primary specification, the temperature is computed. The duty may be positive (heating), negative (cooling), or zero (constant enthalpy calculation). Dew Point: The dew point pressure is computed when the temperature is supplied as the primary specification. The dew point temperature is determined when the pressure or pressure drop is provided as the primary specification. The Duty required to bring the feed to the specified conditions is calculated by PRO/II. Hydrocarbon Dew Point: The dew point pressure for the hydrocarbon portion of the stream is computed when the temperature is supplied as the primary specification. The dew point temperature is determined when the pressure or pressure drop is provided as the primary specification. This option is only applicable for thermodynamic systems which support a free water phase. The Duty required to bring the feed to the specified conditions is calculated by PRO/II. Water Dew Point: The dew point pressure for the water portion of the stream is computed when the temperature is supplied as the primary specification. The dew point temperature is determined when the pressure or pressure drop is provided as the primary specification. This option is only applicable for thermodynamic systems which support a free water phase. The Duty required to bring the feed to the specified conditions is calculated by PRO/II.
Chapter 9
Bubble Point: The bubble point pressure is computed when the temperature is supplied as the primary specification. The bubble point temperature is determined when the pressure or pressure drop is provided as the primary specification. The Duty required to bring the feed to the specified conditions is calculated by PRO/II. Isentropic: A constant entropy flash is calculated from feed conditions to final conditions. The product pressure is computed when temperature is given as the primary specification. The product temperature is given when the pressure or pressure drop is given as the primary specification. The Duty required to bring the feed to the specified conditions is calculated by PRO/II. Upper Dew Point: The Upper dew point pressure is available only when the temperature is chosen as the primary specification. This option is applicable for Vapor Liquid Equilibrium phases where a retrograde condensation region occurs. This option computes the upper dew point pressure if a temperature above the critical temperature and below the cricondentherm is supplied. The Duty required to bring the feed to the specified conditions is calculated by PRO/II.
Product Specification
When this radio button is selected, the pressure is computed when the temperature is provided as the first specification such that a calculated stream parameter meets a specified value. When the pressure or pressure drop is supplied as the first specification, the temperature is computed. The Duty required to bring the feed to the final conditions is also calculated by PRO/II. The stream parameter specification is entered by clicking on the hypertext strings and uses the general PRO/II specification format. This format is further described in the SPEC/VARY/DEFINE section of this chapter. The stream parameter specification must correspond to one of the flash unit products and may be either an absolute or relative value. An absolute or relative tolerance value may also be supplied. Note that a default relative tolerance of 0.02 is used if none is given.
Entrainment
Entrainment from one phase to another phase is requested in the Flash Drum Entrainment dialog. Access that window by clicking Entrainment on the Flash main data entry window. Users must identify the From and To phases, and specify the quantity of entrainment as either (a) the fraction or percent of the donor phase, or (b) the absolute rate of material. The entrained material has the same composition as the donor phase. Since entrainment calculations are performed after the flash calculations, the resultant products may be different from the original flash specifications. Multiple entrainments are permitted.
April 2009
Thermodynamic System
The thermodynamic system of methods to be used for flash calculations may be selected by choosing a method from the Thermodynamic System drop-down list box on the Flash main data entry window.
Chapter 9
General Information
The Flash with Solids unit models a flash drum unit operation with a solid product stream. If a solids product stream is to be present, you must use the Flash with Solids unit rather than the conventional Flash unit operation.
The bottoms stream from the flash drum section feeding the solids separator is internal to the Flash with Solids unit and is not subject to specification by the user. The main data entry window for the Flash with Solids unit is identical to that of the ordinary Flash unit except that no specification of product phases by the user is required. The phases for the product streams are automatically specified by PRO/II and may be reviewed in the Flash Product Phases window accessible via the Product Phases button on the Flash main data entry window. For further instructions on unit and product specifications, see the detailed discussions in the Flash section above (page 240, seq.).
April 2009
Chapter 9
Flowsheet Optimizer
General Information
The Flowsheet Optimizer maximizes or minimizes an objective function by varying one or more flowsheet variables while meeting a number of specifications. Optionally, you can place constraints on minimum and maximum values on the flowsheet variables. The objective function may be an operational criterion, such as maximum recovery or minimum loss, or an economic criterion, such as maximum profit or minimum cost. In order to optimize an economic function, you must first include a Calculator in the flowsheet in order to define the profit or cost. Then use the Optimizer to minimize or maximize the Calculator result.
Objective Function
Either you must choose either Maximize or Minimize as the objective function by selecting the appropriate radio button in the main Optimizer window. Enter the objective function by clicking the linked text string Parameter in the Objective Function field to make the Parameter window available selecting the unit or stream parameter to use as the Objective Function. This Parameter window is similar to the SPEC Parameter window, except that there is no entry allowed for the parameter value and tolerance. The Objective Function may be a single flowsheet parameter or a mathematical expression that relates two flowsheet parameters.
Variables
The optimizer variables (VARYs) are selected by clicking the linked text string Parameter in the Variables grid of the Optimizer main data entry window. In the Parameter window, designate the stream or unit parameter that will be varied, selecting from the same choices given above for the Objective Function. For unit or stream variables, you must also input minimum and maximum values. The SPEC/VARY/DEFINE section of this chapter gives more information on the VARY concept. The tables in that section list the flowsheet variables that may be used for SPECs and VARYs for flowsheet optimizer units.
April 2009
Specifications
Specifications (SPECs) may be entered for flowsheet parameters other than the control variables. Click Specifications on the Optimizer main data entry window to bring up the standard Specifications window. Check the Use Specifications box to enable the grid which contains the standard specification linked text. Enter the parameters for each Specification by clicking the appropriate text strings in each specification. Click the linked text string Parameter, to open the Parameter window where you can select the unit or stream parameter to use as the SPEC. The SPEC may be a single flowsheet parameter or a mathematical expression that relates two flowsheet parameters. Next, enter the value and the default tolerance for the SPEC by clicking on the appropriate text strings. See the SPEC/VARY/DEFINE section of this chapter for details on the generalized SPEC form.
Constraints
Constraints may also be entered for flowsheet parameters other than the control variables. Constraints limit a variable to a specified range. Click Constraints on the main Optimizer window to open the Constraints window from the SPEC/VARY system. Check the Use Constraints box to enable the constraint grid. Enter the parameters for each Constraint by clicking the appropriate text strings. Click the hypertext string Parameter to open the Parameter window where you can select the unit or stream parameter to use as the Constraints. The use of this window is analogous to the Parameter window used in selecting the SPEC above. The Minimum Value, Maximum Value, and the default tolerance values for the Constraints are entered by clicking on the appropriate text strings.
Chapter 9
Calculation Options
Number of Calculation Cycles
Several options regarding the operation of the Optimizer may be specified by clicking Options on the Optimizer main data entry window. The default for the number of calculation cycles is set by PRO/II as 18 plus the current number of variables. Alternatively, you may specify the number of cycles by selecting the appropriate radio button on the Options window.
April 2009
Advanced Options
The Optimizer Advanced Options are intended for experienced users of PRO/II. If you are unsure how these features may apply to your simulation, consult SIMSCI Technical Support or refer to the PRO/II Reference Manual. Click Advanced Options... to specify additional options for the Optimizer. Special Line Search Logic This option enables a line search mode method for optimization calculations. By default, this feature is Off. The option Specified Number of Trials in the drop-down list box enables this feature. When this feature is enabled, you may specify the maximum number of line search trials for any one optimizer cycle. The number must be a positive integer no greater than 20.
Derivative Analysis
By default, this option is Off. Select On in the drop-down list to produce an analysis printout of the derivative step sizes for each optimizer cycle; in addition, a modified perturbation step size will be suggested, if appropriate.
Chapter 9
All
Complete technical details may be found under the topic Flowsheet Solution Algorithms in the PRO/II Reference Manual.
April 2009
Chapter 9
General Information
The LNG Heat Exchanger simulates the exchange of heat between any number of hot and cold streams. The exchanger is divided into cells representing the individual cross-flow elements. Cells are designated as Hot, where the streams are cooled or as Cold where they are heated. The unit must contain at least one hot cell and one cold cell. The number of cells is initially defined on the LNG Heat Exchanger Configuration window that appears when the unit is first placed on the PFD. Cells may be added or deleted in the main LNG Heat Exchanger window.
Performance Specifications
Any cell may have either a duty or an outlet temperature specification. However, at least one cell must remain unspecified. The product streams from all unspecified cells leave the exchanger at the same temperature.
Cell Data
The pressure drop for each cell defaults to zero. Pressure drop values are entered in the LNG Heat Exchanger Cell Data window. The thermodynamic system used for the calculations for an individual cell may also be changed in this window.
April 2009
Zones Analysis
Zones Analysis may be requested in the LNG Heat Exchanger Zones Analysis window accessible via the Zones Analysis button on the main data entry window. This feature allows internal temperature crossovers and pinch points to be identified by dividing the exchanger into a number of zones. Warnings are issued if crossovers or pinch points are found. The Zones Analysis calculations are normally performed when the exchanger is calculated. However, if the exchanger is in a recycle, computation time may be saved by performing the analysis at output time. Zone Analysis will always be performed at calculation time if required by Controller specifications on the LNG heat exchanger.
Print Options
The Print Options window is opened via the Print Options button on the main data entry window. A number of different Y versus X plots may be generated for temperature, duty, and UA. The options are: Temperature vs. Duty (default) UA vs. Duty (default) T vs. Temperature (default) T vs. Duty UA vs. T Duty vs. Temperature.
Thermodynamic System
The thermodynamic system of methods to be used for LNGHX calculations may be selected by choosing a method from the Thermodynamic System drop-down list box on the LNG Heat Exchanger main data entry window. Note: The thermodynamic system used for the calculations for an individual cell (specified in the LNG Heat Exchanger Cell data window) overrides this thermodynamic system for specific cells.
Chapter 9
General Information
An Air Cooled Heat Exchanger (ACE) uses air as the cooling medium to remove heat from a process fluid. The process fluid is a stream that flows through the tube-side of the ACE through a tube bundle. Configuration options allow either heating or cooling. The air side is analogous to the shell side of a shell-and-tube exchanger, but the air is propelled using fans. A forced draft configuration locates fans at the air entrance below the tube bundle. An induced draft configuration places the fans above the tube bundle at the air exit. The model allows a single (air side) bay that exchanges heat with one or more (process side) tube bundles configured in series, in parallel, or both. Tube side options configure one tube bundle. When more than one bundle are configured, all bundles have the same physical configuration. Tube-side options allow tube fins and tube-side nozzles. The model executes in either rating (performance) mode or design (sizing) mode. The default rating mode computes heat transfer and other performance data based on a fixed exchanger configuration. It allows either none or one operating specification. Design mode varies the physical dimensions of the exchanger to satisfy a performance specification. It requires exactly one operating specification with additional design constraints on the physical configuration.
April 2009
oxygen. However, there are no explicit constraints upon the composition of the air side feed. Other mixtures that define other gaseous fluids are allowed. Feeds to the tube side may be any process streams that include a fluid (nonsolid) phase. When multiple feed streams are defined on either side, the mixed feed is flashed at the lowest feed stream pressure. A multi-phase product from the exchanger may be separated into separate draw streams containing one or more phases. The air side often takes a single product draw, since the air flow typically represents a utility. Multiple product draws are more common on the tube (process) side. The allowable product stream phases are vapor, liquid, and mixed (vapor + liquid). A mixed phase product is not allowed with a vapor or a liquid product. When the water DECANT=ON option is active, an additional decanted water draw is supported. The water decant product also serves as the second liquid product phase when modeling rigorous VLLE calculations. PRO/II Online Help provides extensive information about the various data entry windows and the input data requirements. More complete information about available options and modes of operation are available in the PRO/II Keyword Manual. In the chapter titled Air Cooled Heat Exchanger.
Chapter 9
General Information
The Rigorous Heat Exchanger simulates the operation of an existing heat exchanger. The geometry of the unit has to be defined and the unit is rated to determine the duty, exit temperatures, and pressure drops. The exchanger duty, or one of the exit temperatures, may be defined. In this case, the fouling resistance is calculated.
Calculation Type
The calculation type is selected from a drop-down list in the Rigorous Heat Exchanger window. The available options are: Rating: Determine the heat transferred with the defined area and fouling factors. This is the default. Fixed Duty: Determine the fouling factors and exit temperatures from the defined duty.
April 2009
Tube Outlet Temperature: Determine the duty, fouling factors, and shell exit temperature from the defined tube outlet temperature. Shell Outlet Temperature: Determine the duty, fouling factors, and tube exit temperature from the defined shell outlet temperature. If the selected calculation type is not Rating, a value must be supplied for the duty or exit temperature as appropriate.
Overall Configuration
The overall configuration is defined in the Rigorous Heat Exchanger window by entering one or more of the configuration parameters: Number of Tubes/Shell Area/Shell Shell Inside Diameter
A value for at least one of these parameters must be supplied. If any of these parameters is missing, it will be calculated from the others.
Chapter 9
Configuration Data
The configuration details are defined in the Rigorous Heat Exchanger Configuration Data window accessible via Configuration on the main data entry window. All data in this window have default values: Number of Shells in Series: This is the number of identical shells connected in series in the unit. Both shell and tube sides are considered to be piped in series. The default is 1 shell. Number of Shells in Parallel: This is the number of identical shells connected in parallel in the unit. Both shell and tube sides are considered to be piped in parallel. The default is 1 shell. Number of Tube Passes/Shell: This can be any integer value between 1 and 16. The default is 2. Odd numbered values are allowed, but are not recommended. Orientation: The exchanger orientation is selected from the drop-down list as either Horizontal or Vertical. The default is Horizontal. Configuration: The direction of fluid flow is selected from the drop-down list as either Countercurrent or Cocurrent. The default is Countercurrent. TEMA Type: The three characters for the TEMA type (front, shell and rear of the exchanger) are selected separately from drop-down lists. The default is AES.
Tube Data
Details of the exchanger tubes are entered in the Rigorous Heat Exchanger Tube Data window which is accessed via Tubes on the main data entry window. All tube data have default values. Length: The nominal tube length includes the thickness of both tube-sheets. For U-tubes, it includes the thickness of the tube sheet and the last baffle. The length defaults to 20 ft (6.1 m). Outside Diameter: The tube outside diameter defaults to 0.75 inches (19.05 mm). Thickness: The tube thickness may be defined as: Inside Diameter Wall Thickness BWG
April 2009
Bare tubes default to an inside diameter of 0.58402 inches (14.834 mm). Finned tubes default to an inside diameter of 0.49598 inches (12.573 mm). Pitch: The center-to-center distance between tubes defaults to 1.0 inch (25.4 mm). Pattern: The tube pattern is selected from the drop-down list. The options are Triangular30 Degrees, Square90 Degrees (default), Rotated Triangular60 Degrees, and Rotated Square 45 Degrees. Sheet Thickness: The tube sheet thickness is calculated if it is not supplied.
Fin Data
The default is not to have finned tubes. If fins are specified, the surface area may be entered directly or calculated from the fin data. Extended Surface Area: This is the total surface area of the tubes including the finned and bare surface areas. A value entered here, overrides the calculated area. Fins/Inch: This is the number of fins per inch of tube length. (Default is 19). Thickness: The fin thickness defaults to a value in inches equal to 0.5/ (Fins per Inch). Height Above Root: The fin height above the root defaults to a value equal to (Tube Outside Diameter - Root Diameter)/2. Root Diameter: The root diameter is the tube diameter at the base of the fins and it defaults to 0.625 inches.
Baffle Data
Details of the exchanger baffles are entered in the Rigorous Heat Exchanger Baffle Data window accessible via Baffles on the main data entry window. All baffle data have default values. Baffle Type: The type is selected from the drop-down list. The options are No Baffles, Single (default), Single Baffles - No Tubes in Window and Double. Baffle Geometry Data: The baffle cut is the height of the window divided by the shell inside diameter and it defaults to 0.2. Alternatively, the Net Free Area Ratio may be entered instead. This is the area of the window divided by the cross-sectional area of the shell.
Chapter 9
Center Spacing: If a value is not supplied, the baffle center-to-center spacing is calculated by default to be 0.2*(Shell Inside Diameter). Any value entered will be ignored if both Inlet Spacing and Outlet Spacing are defined and the value will be calculated to provide even spacing. Inlet Spacing: This is the center-to-center spacing between the tube sheet and the inlet baffle. If the inlet spacing is not supplied, it is calculated to meet the center spacing or, if no center spacing is defined, it defaults to 5 inches (133 mm) for bare tubes or 3 inches (88 mm) for finned tubes. Outlet Spacing: This is the center-to-center spacing between the tube sheet and the outlet baffle. If the outlet spacing is not supplied, it is calculated to meet the center spacing or, if no center spacing is defined, it defaults to 5 inches (133 mm) for bare tubes or 3 inches (88 mm) for finned tubes. Thickness: If a value is not supplied, the baffle thickness defaults to 0.1875 inches (4.763 mm). Number of Sealing Strips: This is the number of pairs of sealing strips per cross-flow pass. It defaults to zero.
April 2009
Chapter 9
Print Options
Additional output reports are selected in the Rigorous Heat Exchanger Print Options window accessible via Print Options on the main data entry window. Extended: By default, a standard TEMA data sheet is produced for the exchanger. Checking the Extended check box produces an additional data sheet with information about stream properties, heat exchanger configuration and hydrodynamics. Zones: Checking the Zones check box produces an additional table showing the phase and zone boundaries used to calculate the duty-averaged logmean-temperature difference. Zones Plot: Checking the Zones Plot check box produces a plot showing the phase and zone boundaries used to calculate the duty-averaged logmean-temperature difference.
Material Data
Tube and shell material property data are entered in the Rigorous Heat Exchanger Material Data window accessible via Materials on the main data entry window. The default material is carbon steel. A different material may be selected from a drop-down list which shows the materials in the library. Individual properties of the selected material may be overridden. Alternatively, the user may select User-added Material from the list and then supply the name and properties of the material. The list of materials in the library is tabulated below.
April 2009
Label
CARB STL CARB MLY CHRM MLY LOW CHRM MED CHRM STR CHRM 304 S.S. 310 S.S. 316 S.S. 321 S.S. A1060H14 A1100 AN A3003H14 A3003H25 A6061 T4 A6061 T6 COPPER
480.7 487.0 501.1 501.1 501.1 494.2 170.0 169.3 171.1 171.1 169.3 169.3 556.4
7700 7801 8027 8027 8027 7916 2723 2712 2741 2741 2712 2712 8913
21.0 14.0 9.3 7.8 9.4 9.2 128.3 128.3 111.0 111.0 95.0 95.0 225.0
31.2 20.8 13.8 11.6 14.0 13.7 190.9 190.9 165.2 165.2 141.4 141.4 334.2
36.3 24.2 16.1 13.5 16.3 15.9 222.1 222.1 192.1 193.1 164.4 164.4 389.4
Chapter 9
Label
COPPER CUNI9010 CUNI8020 CUNI7030 CUNI6040 RED BRAS ADMRALT Y COM BRAS MUNTZ
Aluminum Bronze 93Cu, AL BRONZ 5Al Aluminum Brass 78Cu, 2Al Nickel Annealed Low Carbon Nickel Annealed Monel Nickel 70Ni, 30Cu Inconel 600 76Ni, 16Cr, 8Fe Titanium Grade 2 AL BRASS NICKEL L CRB NI MONEL NI INCNL600 TITANIUM
April 2009
Nozzle Data
The default nozzle type and sizes can be overridden in the Rigorous Heat Exchanger Nozzle Data window accessible via Nozzles on the main data entry window. The default is to use conventional nozzles with calculated inside diameters. Nozzle data only affects the calculated pressure drop in the exchanger. Use Tube Side Nozzle or Use Shell Side Nozzle: If either check box is unchecked, the nozzle pressure drop will not be calculated for that side of the exchanger. Inside Diameter: The calculated diameters may be overridden. The Inlet and/or Outlet diameter may be entered. Use Annular Shell Side Nozzles: If this box is checked, the pressure drop will be calculated for annular rather than conventional nozzles. In this case, click Enter Data to open the Annular Nozzle Data window to enter the nozzle details. The required data are: Inlet and outlet annular passage lengths Inlet and outlet groove areas Inlet and outlet annular-shell wall clearances
Thermodynamic System
The thermodynamic system of methods to be used for each side of the rigorous heat exchanger may be selected by choosing a method from the Thermodynamic System drop-down list box on the Rigorous Heat Exchanger main data entry window.
Chapter 9
General Information
The Simple Heat Exchanger may be used to heat or cool a single process stream, exchange heat between two process streams, or exchange heat between a process stream and a utility stream. Rigorous calculations may be performed for VLLE systems. It is also possible to attach an exchanger to any tray of a distillation column and exchange heat between a process stream and a column internal stream, either liquid or vapor.
April 2009
Utility Streams
For simple heat exchangers with one process side, a hot or cold utility stream may be defined. The required utility rate for the specified heat transfer is always computed. Utility streams may be specified by clicking Utility Stream on the Heat Exchanger main data entry window to access the appropriate hot or cold utility window. Cold utility streams are supplied in the Heat Exchanger Cold Side Utility window. Options are: Water: Temperature in and out must be supplied. Sensible heat transfer only. Air: Temperature in and out must be supplied. Sensible heat transfer only. Refrigerant: A designated component is vaporized at its saturation pressure or temperature. Latent heat transfer only. Hot utility streams are supplied in the Heat Exchanger Hot Side Utility window. Options are: Steam: Steam is condensed at its saturation temperature or pressure. Latent heat transfer only. Heating Medium: A designated component is condensed at its saturation temperature or pressure. Latent heat transfer only.
Configuration Data
Configuration data are supplied in the Heat Exchanger Configuration Data window accessed by clicking Configuration on the main data entry window. These data only apply to exchangers with two sides and are optional for all exchangers for which a Performance Specification is provided (see below). Flow Direction: Countercurrent or cocurrent. Default is countercurrent. Tube and Shell Passes: When supplied, an N -2N configuration is always assumed, where the number of tube passes is twice the number of shell passes. The FT LMTD correction factor is computed based on a correlation for N -2N exchangers. Default is two tube and one shell pass, i.e., true countercurrent flow. FT Factor: The LMTD correction factor for the exchanger. Note that this entry is mutually exclusive with the Tube and Shell Passes.
Chapter 9
Performance Specifications
Exchanger performance is specified in the Heat Exchanger Specifications window accessed via Specifications on the main data entry window. Exchanger performance may be specified in a variety of ways: Outlet Temperature: Temperature out for hot or cold process fluid. Temperature Approach (Two-sided exchangers only) HOCO: Hot out minus cold out. HOCI: Hot out minus cold in. HICO: Hot in minus cold out. Minimum: Smaller of HOCI and HICO. Minimum Internal Temperature Approach (MITA): Minimum internal approach based on a zones analysis for the exchanger.
Duty: Overall heat transfer duty for the exchanger. Outlet Stream Liquid Fraction: The liquid fraction for the hot or cold side exit fluid where 1.0 indicates bubble point and 0.0 indicates dew point conditions. Degrees of Superheat: The degrees of superheat (above the dew point) for the hot or cold side exit fluid. Degrees of Subcooling: The degrees of subcooling (below the bubble point) for the hot or cold side exit fluid. Overall Heat Transfer Coefficient (U): The area is calculated from this entry when not supplied. When both U and Area are given, the heat transfer is computed to satisfy the U*Area and no other performance specifications are allowed for the exchanger. Exchanger Area: The overall heat transfer coefficient for the exchanger is calculated from this entry when not supplied. When both U and Area are given, the heat transfer is computed to satisfy the U*Area and no other performance specifications are allowed for the exchanger. Lumped UA Specification: The product of overall heat transfer coefficient and exchanger area may be supplied directly. Individual U and Area Specification: Individual values for the overall heat transfer coefficient and exchanger area may be supplied directly. Maximum U *Area: A maximum U*Area may be supplied to limit the heat transfer otherwise determined by a performance specification if necessary. This specification is not allowed when either a Lumped UA specification or the exchanger overall U and Area have been supplied individually.
April 2009
Zone Analysis
Zone analysis is requested by clicking Zones Analysis on the main data entry window. The duty-weighted LMTD of exchangers that encounter phase changes may be computed by dividing the exchanger into at least five zones of equal duty. More zones may be requested as desired. Zones analysis is automatically performed during convergence calculations for exchangers with MITA, a zoned MTD specification, a UA specification, or both a U and an AREA specification together. Each of these configurations requires a zone analysis to reach a solution. Warning messages are given for temperature crossovers. For other types of specifications, the zone analysis may be performed during exchanger calculations or at the completion of all calculations, as requested. Usually, the only zone analysis of interest is the one performed on the final converged exchanger. In this case, convergence calculations may be reduced significantly by requesting zone analysis during OUTPUT rather than during calculations.
Thermodynamic System
The thermodynamic system of methods to be used for each side of the simple heat exchanger may be selected by choosing a method from the Thermodynamic System drop-down list box on the Heat Exchanger main data entry window.
Chapter 9
Heating/Cooling Curves
General Information
The Heating/Cooling Curve utility module develops heating or cooling curves for any stream in the flowsheet. The tables are a composite of equilibrium flashes, and present the data typically required for the design of heat transfer equipment. Curves may be generated by using equal temperature increments or equal duty increments. Additional points are included when phase boundaries are crossed. For the Flash, Heat Exchanger, and Column unit operations, a convenient means is provided to retrieve the streams involved in heat transfer and generate curves based on the actual duties for the units. For other flowsheet streams, you may define the desired temperature or duty ranges for the curves. In addition to the standard thermal properties, additional properties may be requested for the reports. These properties include physical, critical, thermodynamic, transport, and petroleum properties.
April 2009
based on liquid activity coefficients. The equilibrium K-values for the components may also be selected for printout with a check box.
Chapter 9
Standard Reports
Standard reports include the data in the table below: Property Temperature Pressure Molar Flow Enthalpy Weight Flow Molar Entropy X X Total Feed X X X X X X X X X X Vapor Liquid
April 2009
Property Molecular Weight Actual Density Volumetric Flow Compressibility Factor Specific Gravity Flowing Entropy Enthalpy (unit basis) Latent Heat Heat Capacity Viscosity Thermal Conductivity Surface Tension Critical Temperature Critical Pressure Critical Compressibility API Gravity Watson K Factor Molar Average Boiling Point Temp.
Total Feed
Vapor X X X X
Liquid X X X
X X X X X X X X X X X X X X X X X X X X X X X X X X X X
Plots
Refer to Chapter 11, Printing and Plotting, for more information about generating graphical plots of Heating/Cooling Curve results.
Thermodynamic System
You may select the thermodynamic system of methods to be used for heating/cooling curves calculations by choosing a method from the Thermodynamic System drop-down list box on the Heating/Cooling Curves main data entry window.
Chapter 9
Mixer
General Information
The Mixer unit combines two or more streams into a single product stream. The outlet pressure may be specified if desired. The outlet temperature and phase condition are always determined with an adiabatic flash from the feed conditions. This unit supports both VLE and VLLE calculations.
Thermodynamic System
The thermodynamic system of methods to be used for mixer calculations may be selected by choosing a method from the Thermodynamic System drop-down list box on the Mixer main data entry window.
April 2009
Chapter 9
Multivariable Controller
General Information
The Multivariable Controller (MVC) is an expanded form of the Controller and simulates two or more feedback process controllers. The MVC is capable of adjusting an unlimited number of upstream variables to reach the same number of specified objectives. Each Specification may be a stream flow rate or property, a unit operating condition, or a Calculator result. The control variables may be stream and unit operation conditions, thermodynamic parameters, and Calculator results that are otherwise at fixed values in the flowsheet. For the Multivariable Controller, the number of variables must equal the number of specifications. The linked text above the Specifications grid in the Multivariable Controller main data entry window indicates whether the current number of specifications equals the number of variables. If they are unequal, the hypertext string does not equal will appear in red.
Specifications
Establish the Specifications by clicking the appropriate linked text in the Specification grid of the Multivariable Controller window. MVC Specifications are established in the same manner as for the simple Controller Specifications. See the SPEC/VARY/DEFINE section of this chapter for further details on the generalized SPEC form.
Variables
Establish the control variables (VARYs) by clicking the linked text string Parameter in the Variable grid of the Multivariable Controller window. MVC VARY's are established in exactly the same manner as simple Controller VARYs. See the SPEC/VARY/DEFINE section of this chapter for more information on the VARY concept. Tables are also given in that section listing the flowsheet variables that may be used for SPECs and VARYs for multivariable controller units.
April 2009
Chapter 9
April 2009
Chapter 9
Phase Envelope
General Information
The Phase Envelope utility module generates phase envelopes for multicomponent streams using the Soave-Redlich-Kwong or Peng-Robinson equations of state. The module is not available for other thermodynamic systems. Phase envelope generation is performed after the completion of flowsheet calculations and has no effect on flowsheet convergence. For systems with noncondensable gases such as hydrogen, helium, and nitrogen it may be impossible for the bubble point calculations to converge. The results should be reviewed carefully.
Selection of Streams
You may select feed and product streams from any unit operation in the flowsheet for phase envelope generation. Up to five flowsheet streams may be selected using drop-down list boxes in the Phase Envelope main data entry window. You may optionally supply a liquid mole fraction for any of the selected flowsheet streams to generate a curve at a constant liquid mole fraction. This option is useful for generating liquid fraction curves to be superimposed on the phase envelope. Normally, you would first select a flowsheet stream with no liquid fraction entry to generate the phase envelope, followed by one or more selections with specified liquid fraction entries to generate a family of curves. It is not permissible to duplicate the same stream with the same liquid mole fraction in a single phase envelope.
Plot Options
Select a plot option for the phase envelope in the Phase Envelope Plot Options window which you can access by clicking Plot Options on the Phase Envelope main data entry window. For each selected stream, a default descriptive label is provided in this window. The default label will contain the stream name and an L/F value if specified. You may modify each label. Duplicate labels are not allowed. An example default stream label with a specified L/F is: S100 - L/F= 0.9".
April 2009
A drop-down list box contains plot options as follows: None - This is the default. No plots are generated. Individual - Individual generates a plot with only the stream selected. Comparison All streams with the Comparison option are plotted on the same graph. The Comparison option is useful for plotting a stream phase envelope with superimposed curves of constant liquid mole fraction. When you select the Comparison option for a stream, you will be prompted to provide a comparison plot symbol to label the data points for the generated curve. The symbol may be an integer number in the range one through nine. If you do not provide a symbol is not provided for the comparison plot, the next available integer between one and nine is used Individual and Comparison - The Individual and Comparison option performs both the Individual and Comparison options for a stream.
Thermodynamic System
Select the thermodynamic system of methods to be used for Phase Envelope calculations by choosing a method from the Thermodynamic System drop-down list box on the Phase Envelope main data entry window.
Chapter 9
General Information
The PIPEPHASE Unit Operation (PPUOP) encapsulates a PIPEPHASE simulation enabling it to be solved in sequential modular form within a conventional PRO/II simulation. The PPUOP allows the user to link PRO/II simulation streams to PIPEPHASE simulations streams so that stream properties from a PRO/II simulation is passed to the PIPEPHASE simulation, and back to PRO/II upon solution of the PIPEPHASE simulation. As with any unit operation in PRO/II, the PPUOP can be accessed multiple times in calculation loops, and a PRO/II simulation can have multiple instances of PPUOP's in the flowsheet. The PPUOP is represented as an icon and is similar to other PRO/II unit operations. It can be initialized with a PIPEHASE simulation.
Note: Refer to the PRO/II Installation Notes for the specific versions of PIPEPHASE currently supported by PRO/II.
Component mapping
Component mapping is allowed only if the number of components in both PRO/II and PIPEPHASE are equal. The components can be mapped by either Name or Index. These two options can be selected from the Component mapping dropdown list in the PRO/II PIPEPHASE window, which can be accessed by doubleclicking the PPUOP. If the components are mapped by Name, the PRO/II component data is mapped with the PIPEPHASE component of the same name.
April 2009
If the components are mapped by Index, then the first component in the PRO/II component data list is mapped with the first component of the PIPEPHASE component data list, irrespective of the component names.
Initialization
The PPUOP can be initialized with a PIPEPHASE simulation (.inp for PIPEPHASE 8.2 and either an .inp or a .ppzip for PIPEPHASE 9.0) by clicking Initialize from PIPEPHASE simulation in the PRO/II PIPEPHASE window. If the user reinitializes a PIPEPHASE simulation with another simulation, then all the information of the previous simulation will be removed. Note: When using PIPEPHASE version 8.2 files for initialization, it is necessary for the GUI database files, (.pp0 and .pp1) to be present. Otherwise, the user must generate the PIPEPHASE GUI database files by importing the corresponding keyword file.
PIPEPHASE GUI
The PIPEPHASE GUI can be launched from within the PRO/II flowsheet. The user can commit the changes made to the simulation in the GUI, and export the changes to the keyword input file. The user can launch the PIPEPHASE GUI by clicking the PIPEPHASE GUI button in the PRO/II PIPEPHASE window. Note: The PIPEPHASE v8.2 requires the PIPEPHASE GUI files (.pp0 and .pp1) of the simulation. If not present, a warning message is displayed and the user is required to export the keyword file. However, for PIPEPHASE version 9.0, changes made in the PIPEPHASE GUI automatically are exported to the keyword file while saving the simulation.
Export
The user can export a copy of the PIPEPHASE simulation to an external location by clicking Export to external PIPEPHASE simulation.
PIPEPHASE Reports
The PIPEPHASE Report displays only the results of the PIPEPHASE simulation and not the PRO/II PIPEPHASE integration flowsheet. You can view the results of a solved PIPEPHASE simulation by clicking PIPEPHASE Reportbutton in the PRO/II PIPEPHASE window or right-click the PIPEPHASE icon and select View Results.
Chapter 9
File Handling
When you drag and drop a new PPUOP on the PFD, and initialize it with a PIPEPHASE simulation, a copy of the PIPEPHASE file along with its database files is stored in the PRO/II Temp directory. This Temp folder is called the Managed folder and it will be the working directory for that specific PPUOP. All PIPEPHASE related files reside in this folder during the PRO/II simulation run. The files in the Managed folder are under the control of PRO/II and any changes made to these files by providing inputs through the PIPEPHASE GUI launched by clicking PIPEPHASE GUI are saved to the files in the Managed folder and not to the PIPEPHASE database files in the original location. When PRO/II saves a set of simulation files, a new zip file is created by copying all the PIPEPHASE files from the Managed folder. These include all the PIPEHASE files (.inp, .pp0, .pp1, .out , and other intermediate files for PIPEHASE version 8.2, or ppzip for PIPEPHASE version 9.0) The .zip file name has the form PRZfilename_UnitID.zip, where PRZfilename" is the simulation file name and UnitID" is the ID of the PIPEPHASE unit in the simulation. This .zip file is archived in the PRO/II .prz, along with the conventional PRO/II (.pr1, .pr2, .sfd, etc.) files.
April 2009
Chapter 9
Pipe
General Information
The Pipe unit is used to model single or multiphase pressure drops in pipes and/or fittings which connect unit operations. This unit may be used in two modes: Rating Mode where the pressure drop is computed based on a specified line diameter, and Design Mode where the line diameter is calculated to meet a specified pressure drop and/ or velocity criteria. Numerous algorithms are provided for the pressure drop calculations to model a variety of piping applications. A rigorous heat balance may also be performed for the calculations, in which heat is transferred through the pipe to or from an ambient medium, or a duty is uniformly applied to the length of the pipe. The phase equilibrium is determined for the product and it may be separated into streams according to the phases. Both VLE and VLLE calculations are supported by this unit.
Calculation Type
The Calculation Type may be selected with the radio buttons provided on the Pipe main data entry window. Options are as follows: Fixed Line Diameter - Forward Calculation (default)
April 2009
Backward calculations determine the pressure drop in a backward, or reverse, direction starting at the pipe outlet conditions. The pipe inlet conditions are defined by the results of the backward calculations. The line sizing option may be used for design mode, in which case the diameter of the pipe is determined to meet a specified design criterion. Note: Pipe calculations require liquid and vapor viscosities, and, for two phase flow, the liquid surface tension. Therefore, the thermodynamic system chosen for the calculations must provide these properties.
Chapter 9
The Moody friction factor for the pressure drop calculations may be supplied directly in this window, if desired. If no value is entered, the Moody friction factor is calculated using the modified Colebrook-White equations. The check box may be used to include or exclude the pressure drop contribution from acceleration. Under certain high velocity or high pressure drop conditions, this term becomes unrealistically high for the Beggs-Brill-Moody equation. Under these situations, excluding this term results in a more reasonable answer. Note: The Beggs-Brill-Moody equation does not cover critical flow.
Line/Fitting Data
Line and fitting data are supplied in the Pipe Line/Fitting Data window which is reached by clicking Line/Fitting Data on the Pipe main data entry window. For fixed line diameter calculations, radio buttons on this window are used to select the input mode for the pipe diameter. When the Inside Diameter radio button is selected, the pipe inside diameter is supplied directly. When the Nominal Pipe Size radio button is selected, a drop-down list box is used to select the desired pipe nominal diameter from a table of common pipe sizes. For this option, the pipe schedule may also be chosen with a drop-down list box. When no schedule is chosen, schedule 40 pipe is assumed in most cases. The line length is supplied directly in this window. The maximum allowable line length is 900,000 feet (274,000 meters). An elevation change over the line length may be entered in the Pipe Line/Fitting Data window. A plus value indicates an increase in elevation; a minus sign indicates a decrease in elevation. The absolute value of the elevation change must not exceed the line length. One fitting K-factor may be attached to a pipe unit and supplied in this window. The K-factor is defined as the total resistance coefficient, and is limited to a maximum value of 100.0. Note that the supplied K-factor may be used to represent multiple fittings, valves, and exit losses. When a pipe unit is being used to represent a fitting or fittings only, a negligible line length should be provided. Radio buttons are used to select the pipe roughness in this window. The Absolute roughness may be entered in length units or the Relative roughness may be supplied. The roughness applies to both the line and the fitting. A default absolute roughness of 0.0018 inches or equivalent (new steel pipe) is used when no roughness is supplied. The number of calculation segments is selected by clicking the text string at the bottom of this window. A maximum of 50 segments may be used. The pressure drop calculations are based on the average fluid properties in a segment;
April 2009
therefore, it is important to use multiple segments for systems in which the fluid properties vary significantly over the line length (such as multiphase systems). The number of calculation segments has a significant effect on the calculated pressure drop for such systems. It is also recommended that long lines be divided into segments of 10,000 feet (3040 meters) or less. Note that a default of one segment is used for a pipe unit unless otherwise specified. Note: When line sizing calculations are performed, the line/fitting diameter and fitting K-factor cannot be supplied, and these data entry fields are not available.
Values for the maximum pressure drop or the minimum outlet pressure are supplied directly in the data entry fields provided. A Maximum Average Fluid Velocity constraint may also be defined. This constraint can not be violated, and the primary sizing criterion will be relaxed as needed to not exceed the supplied maximum velocity. The Line Inside Diameter Selection Method is chosen with radio buttons as follows: Use Explicitly-defined Inside Diameters Use Nominal Pipe Sizes
A default inside pipe diameter table with ten diameters is provided. The default values may be replaced as desired. Use Clear All to clear the pipe diameter table. The Restore Defaults button restores the ten default diameters. A table of nominal pipe sizes and corresponding schedule numbers may be supplied in the Nominal Pipe Sizes window which is reached by clicking Enter Data on the Pipe Line Sizing window. Up to ten pairs of data may be provided. Nominal pipe sizes are selected from a table of supplied values via drop-down list boxes. The corresponding schedule numbers are also selected via drop-down list boxes. Pipe schedule numbers default to schedule 40 in most cases. The Clear All button may be used to clear all selected nominal pipe sizes and corresponding schedules.
Chapter 9
For Fixed Duty calculations, the supplied duty is applied evenly over the entire length of the line. A positive value is used for heating and a negative value signifies cooling. This option with a duty of zero is used as the heat transfer default option. This option may be used for both forward and backward calculations. An overall U factor and ambient temperature must be provided for the Ambient Heat Transfer option. The U factor has units of energy/ (area)(time)(degree). A default value of 6F is used for the ambient temperature. The heat transfer is computed from the pipe segment inlet and outlet temperatures, U factor, pipe inside area, and the ambient temperature. This option may not be used with backward calculations. The Isothermal Operation option performs all pressure drop calculations at the inlet temperature to the pipe unit. This option is not allowed for backward calculations.
Thermodynamic System
The thermodynamic system for the pipe calculations may be selected with the drop-down list box on the Pipe main data entry window. The problem Default system is used when no other thermodynamic system is selected.
April 2009
Chapter 9
Polymer Reactor
General Information
The Polymer Reactor model simulates either a free radical or stepwise polymerization process in an ideal Continuous Stirred Tank Reactor (CSTR) or Plug Flow Reactor (PFR). The polymerization reactions are assumed to take place in the liquid phase and the system is assumed to be homogeneous. The reactors may be run in the isothermal or non-isothermal modes and the operating pressure may be set. The Polymer Reactor calculation model allows for up to 79 different reaction mechanisms to be used in copolymer free radical kinetics. Not all are intended to be used simultaneously; in fact, the fewer mechanisms specified for the polymer system, the more realistic and reliable the model.
It is assumed that the polymerization reactions occur in the liquid phase. If the reaction leads to a two phase situation, a warning message is given and the user must then specify new operating conditions to keep the system in the one phase region.
The CSTR mass and energy balances are solved to identify a single stable operating point. The polymer which exists at this operating condition is then characterized in terms of the method of moments to provide number and weight average molecular weights. The PFR mass and energy balances are solved to identify a sequence of stable operating points along the axial dimension. The polymer which exists at each point along the axial profile is then characterized in terms of the method of moments to provide number and weight average molecular weights. The user must supply the feed component temperature, pressure, and composition along with an estimate of the temperature of the isothermal reactor or a temperature estimate for the non-isothermal reactor. Kinetic and thermodynamic data for the reaction between chemical species must also be provided.
April 2009
Detailed Information
For detailed information regarding operating modes, data requirements, and range of applicability of the Polymer Reactor model, consult the PRO/II Add-On Modules User Guide.
Chapter 9
Procedure Data
General Information
Procedures provide a way to calculate the reaction rate based on a users own calculation method. The reaction rate calculation is required by the plug, CSTR, reactive distillation and batch reactor units. PRO/IIs default method for reaction rate calculation is based on power law rate expressions. For any other rate, expression type (such as Langmuir-Hishelwood) or any reaction rate which deviates from the base rate (such as a reaction with a mass transfer limitation), Procedures and the alternative User-Added Kinetic Subroutines (see PRO/II User-Added Subroutines User Guide) can be used to calculate the proper rate for reactor simulations. Procedures are essentially in line routines written in a language based on FORTRAN 77. There are two sections to a Procedure: Setup and Code. The setup section allows for the definition of each Procedures name, description, variables and parameters. The code section is where all calculations are performed. This section resembles a subroutine written in a FORTRAN-like language.
Procedure Setup
Use the Procedure Data dialog to enter procedure data. Access the dialog window through the Input/Procedure Data menu option, or by clicking the Procedure Data toolbar button . Each Procedure in this window has a mandatory name and an optional description. As soon as the name for a Procedure is entered, the Enter Data button becomes available. The button opens the Kinetic Procedure Definition window where you may click Edit/View Declaration to access the Declarations of variables and parameters. Any variable names entered in Defined Procedure Variables will be available to transfer information from the reactor unit to the Procedures it calls. They can be DEFINE'd in the reactor unit, and accessed in the same manner as any other variable in the Procedure code. There is only one Parameter available to be specified, which is the maximum number of reactions allowed. This only needs be changed if the Procedure must handle more than the default of 15 reactions. After completing the setup, click Hide Declaration to close the Declarations dialog.
April 2009
Procedure Code
Note: The Procedure Code section is required and must terminate with a RETURN statement. The actual FORTRAN procedure is entered directly in the Code field on the Kinetic Procedure Definition data entry window. You may check the procedure as you compose it by clicking Check Code. The following predefined variables are provided from the calling reactor unit: Kinetic data: These are the kinetic parameters are provided via K of the Reaction Data section, and/or Unit Reaction Definitions of the Reactor unit. Reactor data: These data include the reactor sizing parameters and operating conditions. Property data: These data include the thermo-physical property data of the pure components (e.g., molecular weight or critical pressure), and the property data of the individual components and mixture at the reaction conditions. User data: These are the integer, real, and supplemental data provided by the user via Enter Data when the procedure name is specified for rate calculations for a Reactor unit. Procedure data: These are the defined procedure variables entered during the Procedure setup. Their values are DEFINEd in the same window as the User data. The supported language features are discussed below.
Predefined Variables
The following variable names are reserved. They are used to pass values between the procedure and the unit operation that uses the procedure.
Chapter 9
The first tables list variables that provide input values to the procedure. They may not appear on the left side of an assignment statement. Procedure Data Predefined REAL Scalar Variables Property Variable Name RTEMP RPRES RMW RVMW RLMW RL1MW RL2MW RSPGR RMRATE RVMRAT RLMRAT RL1MRA RL2MRA RWRATE RSVRAT RAVRAT RVVRAT RLVRAT RL1VRA RL2VRA RLFRAC RL1FRA RL2FRA RVVISC RLVISC X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X PFR CSTR Batch RxDist
REAL Scalar Variables - Supplied in standard problem dimensional units Temperature Pressure Total Molecular weight Vapor Phase Liquid Phase L1 Phase L2 Phase Specific gravity (60/60) Total Molar Rate Vapor Phase Liquid Phase L1 Phase L2 Phase Weight Rate Standard Volumetric 2 Rate Actual Volumetric Rate Vapor Phase Liquid Phase L1 Phase L2 Phase Liquid Fraction L1 Phase L2 Phase Vapor Phase Viscosity Liquid Phase Viscosity X X X X X X X X X X X X X X X X X X X X X X X
April 2009
Procedure Data Predefined REAL Scalar Variables Property Variable Name PFR CSTR Batch RxDist
REAL Scalar Variables - Supplied in standard problem dimensional units Vapor Phase Conductivity Liquid Phase Conductivity Vapor Phase Sp. heat Liquid Phase Sp. heat Surface tension Absolute Temperature Tube Diameter (fine length) Tube Length Cumulative Length Plug Flow Step Size (fine length) Total reactor volume (CSTR & BATCH) or volume step size of PLUGFLOW reactor Vapor Phase Volume Liquid Phase Volume L1 Phase Volume L2 Phase Volume Gas Constant RVCOND RLCOND RVCP RLCP RSURF RTABS TDIAM TLEN X CUMLEN DELX X X X X X X X X X X X X X X X X X X X X X X X X X X X X
VOLUME
X X X X X
1 Volumetric flow rates for CSTR and PLUGFLOW are calculated using bulk compositions assuming the specified reactor phase, even if the phase is actually mixed. A warning is printed if the actual phase is mixed. 2 Standard vapor volume conditions are different from liquid mole volume standard conditions. Refer to Table 1: Standard Conditions on page 45.
Chapter 9
Variable Name
NOC NOR IRPHAS
PFR X X X
CSTR X X X
Batch X X X
RxDist X X
ICPFA
X X X X X X X X X X X X X
Procedure Data Predefined REAL Variable Arrays Property Dimension : NOC Total Molar Composition Total Molar Concentration Vapor Phase Liquid Phase L1 Phase L2 Phase Vapor Phase Fugacity Liquid Phase Fugacity L1 Phase L2 Phase XTOTAL XCONC XVCONC XLCONC XL1CON XL2CON XVFUG XLFUG XL1FUG XL2FUG X X X X X X X X X X X X X X X X X X Variable Name PFR CSTR Batch RxDist
April 2009
Procedure Data Predefined REAL Variable Arrays Property Liquid Phase Activity L1 Phase L2 Phase Vapor phase Mole Fractions Liquid phase Mole Fractions L1 Phase L2 Phase Vapor phase Mass Fractions Liquid phase Mass Fractions L1 Phase L2 Phase Dimension: 70 Real numbers supplied on RDATA statement Dimension: 200 Real numbers supplied on SUPPLE statement Dimension: NOR Activation Energy* Pre-exponential factor Temperature Exponent Dimension: (NOC,NOR) Stoichiometric factor Reaction order Variable Name XLACT XL1ACT XL2ACT XVAP XLIQ XLIQ1 XLIQ2 XVMFRA XLMFRA XL1MFR XL2MFR RDATA X X X X X X X X X PFR CSTR Batch RxDist X X X X X X X X X X X X
X X X X X X
X X X X X X
X X X X X X
X X X X X X
* There is an important distinction between the values of activation energy for in line procedures and calculations involving local reaction sets in distillation columns or reactors. The values of activation energy supplied the reference reaction set (in RXDATA) or in the local reaction sets are assumed to be in
Chapter 9
thousands of energy units per mole units, whereas, in the case of procedures, the user-supplied value is used without the above assumption. E.g., for the SI system, a value of ACTIV=123 kJ/kmol in the RXDATA or local rxnset is used as 123,000 kJ/kmol in calculations. A procedure using the same variable, say ACTIV(1), would calculate based on a value of 123 kJ/kmol. Procedure Data Predefined INTEGER Variable Arrays Variable Name Dimension: 10 Integer supplied on IDATA statement Dimension: NOR Base Component Calculation basis for each reaction rate (liquid phase) 0 = molar 1 = partial pressure 2 = fugacity 3 = mole-gamma 4 = mole fraction 5 = mass fraction Calculation basis for each reaction rrate (vapor phase) 0 = molar 1 = partial pressure 2 = fugacity 3= mole-gamma 4 = mole fraction 5 = mass fraction Dimension: (NOC,NOR) Phase of components in rxn 1 = Vapor 2 = Liquid
1
PFR X X
CSTR X X
Batch X X
RxDist X X
IDATA IDBASE
ILBASI
X1
IVBASI
X1
IPHASE
The following variables are the PROCEDURE block results available to PRO/II after control is returned to the PLUGFLOW, CSTR or Reactive Distillation unit operation. RRATES must be defined for all reactions.
April 2009
PROCEDURE Results Variable Name Values of solution flag: 0 Default value. Assumes the PROCEDURE step has solved. 1 PROCEDURE solved. 2 PROCEDURE failed; continue calculations if in a recycle or control loop. 3 PROCEDURE failed, stop all flowsheet calculations. Reaction rates for each reaction moles/ (liqvol* time) for OPERATION PHASE=L1 , moles/(vapvol*time) for OPERATION PHASE=V1 Temperature derivatives for each reaction PFR CSTR Batch RxDist
RRATES (NOR)
DRDT X (NOR)2 DRDX Composition derivatives X (NOC, for each reaction NOR)2 1 CSTR and PLUGFLOW should not be used when multiphase reactions are expected. Except for Reactive Distillation and the CSTR boiling pot model, PRO/II assumes the phase is 100% liquid or vapor as defined on the OPERATION statement. 2 The use of this is optional.
Chapter 9
Pump
General Information
The Pump may be used to compute the energy required to increase the pressure of a process stream. This quantity of energy is added to the feed enthalpy to determine the outlet temperature. Only the bulk liquid phase is considered in the calculations.
Specifications
Outlet Conditions
The Pressure Specification for a pump is selected with the appropriate radio button on the Pump main data entry window as: Outlet pressure Pressure rise (P) Pressure ratio based on the lowest feed stream pressure.
Pump Efficiency
A pumping efficiency in percent may be supplied in the data entry field provided on the Pump main data entry window. This value is used for the work and outlet temperature calculations. If not supplied, a default value of 100 percent is used.
Thermodynamic System
The thermodynamic system of methods to be used for pump calculations may be selected by choosing a method from the Thermodynamic System drop-down list box on the Pump main data entry window.
April 2009
Chapter 9
Reaction Data
General Information
Use the Reaction Data Sets data entry window to supply reaction stoichiometry, heat of reaction, kinetic and equilibrium data, and to specify the base component for each reaction. One or more reactions may be saved as separate reaction data sets and used in all reactor types (conversion, equilibrium, Gibbs free energy minimization, plug flow, CSTR, and boiling pot reactors). Multiple unit operations can have common access to the same reaction data. The PRO/II graphical user interface now supports multiple equilibrium expressions for each Equilibrium Reactor. Note: You may specify the base component of the reaction and provide heat of reaction and equilibrium and kinetic data in the Reactor data entry window. For conversion reactors, these data are considered to be local and are entered at the unit operation level. See the Reactor section later in this chapter.
Note: Any data entered in the Reaction Data window is passed to the Unit Reaction Definitions dialog (a sub-window of the main Reactor window) and used as default values.
April 2009
Kinetic rate calculation method The name of all reactions in the set (required) The reaction stoichiometry (required) The heat of reaction and the base component (required) Equilibrium data (optional) Kinetic data (optional).
To select the kinetic rate calculation method: The kinetic rate can be calculated from PRO/IIs reaction rate subroutine based on the power law rate expression, by an inline procedure or by the users kinetic subroutine. The inline procedure must be first defined in the Procedure Data section and selected from the Procedure Name drop-down list box. When a useradded kinetic subroutine is used, it can be selected from the Subroutine Name drop-down list box. The users added kinetic subroutine must be named as one of the five USKIN1, USKIN2, USKIN3, USKIN4 and USKIN5 routines and linked to PRO/II as described in the PRO/II UAS/PDTS Installation Guide. To define the stoichiometry: Define the reaction stoichiometry by clicking on the linked text Reactants = Products in the Definition column to open the Reaction Components window. Here, you may select the reactants and products for the reaction and supply the stoichiometric coefficient for each. You may define the reaction based on the chemical formula of the component (library components only), or based on the name (for library, non-library, or petro components). To define the heat of reaction: You may define the heat of reaction for any selected reaction in a specific reaction data set, in the Heat of Reaction Data window. This window appears when you click H located beside the selected reaction on the Reaction Definitions window. In this window, you may choose one of two options: Calculated from Heat of Formation: This option allows PRO/II to calculate the heat of reaction based on the heats of formation for the reaction components. This is the default. User-specified: You supply the heat of reaction (in units of energy/ weight). If you do so, you may also optionally supply the reference temperature, component, and reference reaction phase. Note: You must supply heat of reaction data for non-library components that do not have heat of formation data. You must also specify the base component for the reaction.
Chapter 9
To supply equilibrium data for a specific reaction in a reaction data set: Click E located beside the selected reaction in the Reaction Definitions window. The Reaction Equilibrium Data window appears. Click the Define Equilibrium Data check box to enter equilibrium data.
You may supply the following data in this window:
Equilibrium Coefficients: Up to 8 (A-H) coefficients for the equilibrium equation (at least one coefficient must be supplied). Units: Temperature, weight, volume and pressure units of measure for the equilibrium data may be supplied by clicking on the linked (underlined) text in the Units box. (If you do not change the temperature units, the global units are used by default). Equilibrium Constant Expression: The default reaction phase, reaction activity bases for vapor and liquid phases, component reaction phases, and exponent orders can be entered here. Click Activity Exponent and Activity Phase to specify the exponent order and activity phase for each component in the reaction. The vapor activity basis is used for all components specified with vapor phase activity phase while the liquid activity basis is used for all components specified with liquid phase activity phase. To supply kinetic data for a specific reaction in a reaction data set: Click K located beside the selected reaction in the Reaction Definitions window. The Reaction Kinetic Data window appears. Click the Define Kinetic Data check box to enter kinetic data. You may supply the following data in this window: Pre-exponential Factor (A): The pre-exponential factor of the power law kinetic rate equation for the reaction. The default is 1.0. Activation Energy: The activation energy of the power law kinetic rate equation for the reaction in units of energy/weight. A default of zero is used if a value is not supplied.
Temperature Exponent: The temperature exponent of the power law kinetic rate
equation for the reaction. A default of zero is used if a value is not supplied.
April 2009
Reaction Order and Activity Basis: The data declared using this option include: the default reaction phase, reaction activity bases for vapor phase, liquid phase, component reaction phase and kinetic orders that define the kinetic rate expression. Click Reaction Order and Activity Phase to specify the kinetic reaction order and activity phase for each component, which appeared in the rate expression. The vapor activity basis is used with all components specified with vapor activity phase while the liquid activity basis is used with all components specified with liquid activity phase.
Chapter 9
Reactor
General Information
The Reactor unit operation simulates the operation of many chemical reactors including conversion reactors, equilibrium reactors, Gibbs (Free Energy Minimization) reactors, Plug Flow Reactors (PFRs), Continuous Stirred Tank Reactors (CSTRs), and Boiling Pot Reactors. In addition to the above reactor types, PRO/II contains built-in Shift and Methanation reaction data sets for either conversion or equilibrium reactors.
Reactor Type
For conversion, equilibrium, Gibbs, or plug flow reactors, select the reactor type by choosing the appropriate reactor icon from the PFD palette. CSTR and boiling pot reactors share the CST/Boiling Pot Reactors icon. Select the desired reactor type from a drop-down list box on the main Reactor data entry window.
Reaction Set
For all reactor types other than the Gibbs reactor, you must select a reaction data set from the Reaction Set Name drop-down list box (options include a built-in reaction set, e.g., Shift reaction, or a user-defined set) on the Reactor main data entry window. For the Gibbs reactor type, either no reaction data set may be selected (option None), or a user-defined set may be specified. See the Reaction Data section, earlier in this chapter, for more information on specifying reaction data sets.
April 2009
Thermal Specifications
For most reactor types, the fixed operating temperature, the temperature rise across the reactor, or the fixed reactor duty may be specified by using radio buttons and entering values in the appropriate data fields. The available options are: Temperature Rise: This is the temperature increase across the reactor. This option is available for conversion and equilibrium reactors only where it is the default. Combined Feed Temperature: Enter the average temperature for all feed streams to the reactor. This is available for plug flow and Gibbs reactors, and CSTR's only where it is the default. Fixed Temperature: You may specify the final reactor temperature for all reactor types. Fixed Duty: You may specify the reactor duty for all reactor types. A default value of 0 will be used if a value is not specified. The following additional reactor information may also be given via the main Reactor window: External Heat: You may specify information on the external heating or cooling source by selecting the External Heat option. This is for plug flow reactors only. Click Enter Data and enter data in the External Heating/Cooling window. Temperature Profile: You may enter the reactor temperature profile in tabular form as a function of the actual reactor length, or as a function of percent or fractional distance along the reactor. This is for plug flow reactors only.
Reactor Data
Click Reactor Data from the main Reactor data entry window to open the Reactor Data window where you can supply reactor configuration information.
Chapter 9
For these reactor types, you may choose an error handling option by clicking the Stop calculations hypertext. The options are: Stop Calculations: This stops calculations if an error occurs (e.g., for negative component flows). This is the default. Continue Calculations with no Reaction: Continue calculations with no reaction if an error occurs. Add Makeup of Limiting Reactant: Reduce conversion by adding a makeup of the limiting reactant if an error occurs. Reduce Conversion: Reduce conversion if an error occurs.
You must provide the reactor volume for CSTRs in the Reactor Data window. Optionally, you may also provide estimates of the product flow rate.
Enter the following data for PFRs in the Reactor Data window: Reactor Length: The total length of the reactor. Data for this field is mandatory. Tube Inside Diameter: The inside diameter of the PFR tubes. Data for this field is mandatory. Number of Tubes: The total number of tubes in the PFR. Default is 1.
April 2009
Number of Points for Profile: The number of equidistant locations along the reactor length for the temperature profile. Default is 10. Integration Options: You may select one of four integration options: Fixed step size Runge-Kutta method. The Runge-Kutta method with 20 steps is the default. Runge-Kutta method with user-specified step size. Gear integration method with user-specified gear tolerance (default tolerance = 0.1%). LSODA (Livermore Solver of Ordinary Differential Algebraic equations) method with user-specified tolerance (default tolerance = 0.1%).
Select an appropriate option from the list to enter the pressure specification
Inlet and Outlet Pressure Pressure Profile Pressure Drop Method Packed Bed Pressure Drop
If you have selected Open Pipe under Reactor Type, the first three options mentioned above will be made available to the user. If you have selected Packed Pipe under Reactor Type, except Pressure Drop Method all other options will be made available to the user. Inlet and Outlet Pressure: Selecting this option will enable the Inlet and Outlet section. User is prompted to enter data listed under the following section. Inlet Outlet Pressure Profile: Selecting this option will enable the Enter Data button. Click Enter Data to open the Pressure Profile dialog box. Select the appropriate Location option from the drop-down list and start entering the data for Location and Pressure.
Chapter 9
Actual Tube Length Percentage of Tube Length Fraction of Tube Length If you have selected Open Pipe in the Reactor Type section, Pressure Drop Method will be made available for selection. In case you have selected Packed Pipe in the Reactor Type section, Packed Bed Pressure Drop will be made available for selection. Pressure Drop Method: Selecting this option will enable the Enter Data button. Click on it to open the Pressure Drop Method dialog box. Pressure Drop Correlation: Select the appropriate pressure drop method listed in the drop list. Pressure Drop Correlation Beggs-Brill-Moody Significance This is the default PRO/II method, and is the recommended method for most systems, especially single phase systems. Used for gas condensate systems, which uses the Eaton correlation to calculate liquid holdup and Moody diagrams for friction factor. This hybrid correlation is for gas condensate systems that are mainly gas. Recommended for vertical gas condensate systems. It is not suitable for horizontal lines. This method also is recommended for vertical pipe lines, and should not be used for horizontal pipes. Used for gas condensate systems. This method must be used with care due to its discontinuities. Use at least 2 pipe segments to avoid failures due to changing flow regimes. This is the same as Beggs-Brill-Moody, but also includes the Palmer modification to account for liquid holdup, based on experimental data for uphill and downhill lines.
Olimens
Beggs-Brill-Moody-Palmer
Convergence Tolerance: Supplies a relative convergence tolerance value for the calculated pressure drop per reactor segment. The tolerance applies to changes between successive iterations. By default, PRO/II uses a one percent tolerance.
April 2009
Flow Efficiency: This parameter is used for linear adjustment of the calculated pressure drop to match actual conditions. For given flow conditions, decreasing this value causes an increase in the calculated pressure drop. The value may be greater than 100 percent. It is recommended that data for roughness or Moody friction factor be provided for accurate calibration of results. Moody Friction Factor: PRO/II usually calculates the friction factor from reactor roughness and Reynolds number using the modified Colebrook-White equations. You can supply a value for this field if desired. Roughness: A roughness value can be supplied either in Absolute or Relative units. By default, PRO/II supplies an absolute roughness of 0.0018 inch. Acceleration Term: Check this option to include the acceleration pressure gradient. Under certain high velocity or high pressure conditions, the Beggs and Brill acceleration term becomes unrealistically large and dominates the equation. Dropping the term often results in a better answer in these cases. Packed Bed Pressure Drop: Selecting this option will enable the Enter Data button. Click Enter Data to open the Packed Bed Pressure Drop Method dialog box. Pressure Drop Correlation: Select Ergun Equation to calculate the pressure drop across the packed bed. Diameter of Catalyst: Enter the diameter of the catalyst. Data for this field is mandatory. Void Fraction of the Packed Bed: Enter the Void fraction of the packed bed. Data for this field is mandatory. Under Shape Factor section, enter data for the shape of the catalyst. Select either of the two options depending on the catalyst. Sphericity: Enter the sphericity of the catalyst. Shape of the Catalyst: Selecting this option will make the following option available to the user. Select either of the two options. Spherical Cylindrical: If you have selected Cylindrical, enter the Length.
Chapter 9
You may supply the following reactor calculation options for the boiling pot reactor in the Reactor Data window: Tolerances: The absolute temperature and relative mole fraction and enthalpy tolerances for the reactor may be changed from their default values of 0.1, 10-5, and 10-4 respectively. Note: If the Fixed Duty option is specified on the main Reactor data entry window, an estimate of the reactor temperature may optionally be provided in the Reactor Data window. The minimum and maximum temperature defaults of - 457.87 F and 4940.33 F may also be overridden. Maximum Liquid Volume: If a fixed volume is not supplied on the main Reactor window, you may supply a maximum liquid reactor volume in this window. A default of 3531.5 ft3 will be used if a value is not provided. Initial Volume Estimate: An initial volume estimate may optionally be supplied in this window. Component product rate estimates may also be supplied by clicking Product Estimates on the Reactor Data window. The number of Broyden trials before the Jacobian matrix is updated may be specified along with the derivative step size multiplier by clicking on the appropriate underlined linked text. The defaults are 3 trials and a step size multiplier of 0.01.
April 2009
Chapter 9
Gibbs Reactor
For the Gibbs reactor, the user may provide a number of optional calculation options in the Reactor Data window: Maximum Iterations: The maximum number of iterations allowed. The default is 50. Convergence Tolerance: The relative convergence tolerance. The default is 10-4 for isothermal conditions and 10-6 for adiabatic conditions. Fibonacci Tolerance: The convergence tolerance for the Fibonacci search calculations. The default is 0.01. In addition, you may specify the physical property evaluation method by clicking on the underlined hypertext. The options are: Evaluated at each step: This is the default setting. It evaluates physical property values at each step of the search. This is the default. Used from previous iteration: The physical property values from the previous iteration are used. You may select the product rate estimate option by clicking on the underlined linked text. The available options are: PRO/II default: The default generates an initial estimate of the product rates using the PRO/II method. Average of all feeds: This uses the average of all feed rates to generate an initial product rate estimate. Supplied reacting component rates: This option instructs the algorithm to use the user-supplied values instead of calculating its own rate estimates for the reacting components. Supply reacting components and estimated rates in the Reacting Components window, which is reached by clicking Reacting Components and Estimates on the Reactor Data window. The options to specify the parameters for the free energy minimization phase calculations are found in the Phase Split Parameters window. This opens by clicking Phase Split Parameters on the Reactor Data window.
April 2009
Note: The Phase Split Parameters window is available only if the Reactor Operation Phase is specified as Calculated on the Unit Reaction Definitions window. See below for Unit Reaction Definitions. Specfying Reactions: The number of chemical reactions (i.e., the number of REACTION statements) must equal the number of chemical species minus the number of effective atoms. Usually, the number of effective atoms is the number of atomic species.. The number of effective atoms differs from the number of atomic species when two or more atoms always occur together in the same proportion. For example, consider the chlorination of ethylene:
Keq
C2H
+ Cl
C2H
+ Cl
There are 3 atomic species (C, H, Cl), but C and H always occur in a 1:2 ratio. Therefore, the number of effective atoms is 2 (Cl and CH2). These two effective atoms represent the three chemical species, so only one chemical reaction is allowed. The options available on the Phase Split Parameters window are: Initial Phase Estimate: This entry is the phase used for the initial reactor calculations. The user may select the vapor, liquid, vaporliquid, liquid liquid, or vaporliquidliquid phase. The default is vaporliquid. First Phase Evaluation at Iteration: Specify the first iteration where the phase will be reevaluated. The phase should not be evaluated too early because the reaction results may still be far from the final solution. The default is 6. Phase Evaluation Frequency: Specify the number of iterations between phase evaluations. The default is 4. Minimum Phase Tolerance: When the molar ratio of a phase to the total quantity of material is less than this value, the phase is considered as non-existent. The default is 10-6. Atomic groups can be provided in the Atomic Groups window. This window can be reached by clicking the User-specified Atomic Groups button on the Reactor Data window.
Chapter 9
Equilibrium Reactor
You may supply the operation phase of the reactor in the Unit Reaction Definitions window. By clicking Equilibrium Data in this window, you gain access to the fields where you may supply the following: Equilibrium Coefficients: Eight coefficients (A-H) of the equilibrium equation. Units: The temperature, weight, volume and pressure units of measure for the equilibrium equation can be changed by clicking on the underlined linked text. Options are restricted to R or K for the temperature units.
Conversion Reactor
You may overwrite the stoichiometric coefficients for the first reaction in the selected reaction set by clicking the Define the Stoichiometry for the First Reaction check box. The values of stoichiometric coefficients are to be determined from the calculation results of the selected Calculator unit. Frequently, this feature is applied to use a single reaction to represent the overall reaction behavior in the reactor and, therefore, there is only a single reaction defined in the entire reaction set. The stoichiometric data displayed in the grid box are merely used to echo the reaction equation previously defined in the Reaction Data section.
April 2009
Reaction Activity Basis: For vapor phase, the options are Molar Concentration, Partial Pressure or Fugacity. For liquid phase, the options are Molar Concentration, Fugacity or Activity. Currently, only homogeneous reaction rate expressions based on either vapor or liquid phase reactions are allowed for the CSTR. For BPR's, heterogeneous reaction rate expressions are allowed. Kinetic Rate Calculation Method: The options are Power Law, User Added Subroutine or Kinetic Procedure. If the default is used, the reaction rates are computed by power law kinetics in the form of the general Arrhenius equation. For any of these methods, kinetic data can be entered through the Kinetic Data button. Power Law: This is the default method. User-added Kinetic Subroutine: This option directs the CSTR module to use a User-added Subroutine (UAS) written in FORTRAN to perform reaction rate calculations. Specify a Subroutine Name in the Unit Kinetic Data window. The identifying arguments for the subroutine name U1, U2 U5 correspond to user-added subroutines USKIN1 USKIN5 respectively. After selecting the user-added kinetic subroutine, you can enter local values (i.e., specific just to this reactor) for variables to be used for the rate calculation. Use the upper left table to supply local values for an array of real variables, the lower left table for any array of integer variables and the upper right for an additional (Supplemental) array of real variables. These local data, kinetic reaction data specified in the selected reaction set, and thermo-physical property data of the reaction mixture will be provided to the selected kinetic subroutine for reaction rate calculations. Refer to the PRO/II User-added Subroutines User Manual for instructions on creating and installing UASs. Kinetic Procedure: This option directs the CSTR module to use a user-supplied in line kinetic Procedure to perform reaction rate calculations. After selecting the name of the Procedure (which must be first defined in the Procedure Data section), you can enter values for local variables similar to the procedure for the User Added Kinetic Subroutine mentioned above. Additionally, you may provide the values for those procedure variables (PDATA) used by the selected Procedure.
Chapter 9
Activation Energy: The activation energy for the kinetic power law rate equation. The default is 0. Temperature Exponent: The temperature exponent for the kinetic power law rate equation. The default is 0. Base Component: A base component must be supplied for the kinetic reaction rate report. Reaction Order and Activity Basis: As is done in the Reaction Data section on a global basis, the default reaction phase, reaction activity bases for both vapor and liquid phases, component reaction phase and kinetic orders that are used to define the kinetic rate expression can be entered here as local data for this reactor. Click Reaction Order and Activity Phase to specify the kinetic reaction order and activity phase for each component which appears in the rate expression. The vapor activity basis is used for all components specified with vapor activity phase while the liquid activity basis is used for all components specified with liquid activity phase.
Gibbs Reactor
You may specify the phase of the reactor operation in the Unit Reaction Definitions window. The reaction phase options are Calculated (default), Vapor, Liquid, VaporLiquid, LiquidLiquid or VaporLiquidLiquid. If Calculated is selected, PRO/II determines the phase as part of the free energy minimization calculation. If a phase is selected, the calculations are based on the selected phase.
Extent of Reaction
To specify the extent of a conversion reaction (in Equilibrium and Gibbs reactors only); click Extent of Reaction on the main Reactor data entry window to open the Extent of Reaction window.
Conversion Reactor
You may select the base component from which the conversion data were determined. If the base component is not selected (select None), the stoichiometric coefficients of the reaction are taken as the absolute moles reacted. You may supply constants for the second order temperature-dependent fractional conversion equation in this window. Default values for the constants are given in the table. Click on the underlined linked text to change the temperature units of measure for the conversion reaction. If the temperature units of measure are not specified locally, the problem temperature units are used.
April 2009
Equilibrium Reactor
The base component for user-supplied reactions must be specified in the Extent of Reaction window. You may access this window via the Reaction Set window, which contains a list of the reactions that have earlier been defined for the flowsheet. Upon choosing the desired equation, the Extent of Reaction window appears. (The base components of built-in reactions such as Shift and Methanation are predetermined and need not be supplied by the user.) You may specify the approach to conversion either as a temperature or a fractional approach. As was the case with the Conversion reactor, you may supply constants for the second order temperature-dependent fractional conversion equation in this window. Default values for the constants are given in the table. Click on the underlined linked text to change the temperature units of measure for the conversion reaction. If the temperature units of measure are not specified locally, the problem temperature units are used.
Gibbs Reactor
The extent of reaction can be provided on a global basis in the Extent of Reaction window (as a component percent converted, or as a component product rate). The extent of reaction can also be specified for each individual reaction as a temperature approach or a base component product rate.
Amount of Catalyst
For boiling pot reactors only, you can specify the amount of a nonvolatile catalyst component on a weight or molar fraction, or total weight or mole basis in the Catalytic Components window (which may be reached by clicking Catalysts on the Reactor Data window). Before the button becomes active, the following conditions must be met: You must specify the catalytic component with a reaction stoichiometry of 0. (Input/Reaction Data(Enter Data)/ Reaction Definitions(Definition)/ Reaction Components). See the previous section on Reaction Data for more information on defining reaction data sets. You must specify the reaction order for the catalytic component as any number other than 0 in the Reaction Order & Activity Phase window. This window may be accessed by clicking on the like-named button located on the Unit Reaction Definitions/Unit Kinetic Data window for the boiling pot reactor, or by the following path: Input/Reaction Data(Enter Data)/Reaction Definitions/(K)/Kinetic Reaction Data(Reaction Order & Activity Phase).
Chapter 9
Pressure
For conversion, equilibrium, Gibbs reactors and CSTRs, click Pressure on the main Reactor window to enter the following reactor pressure options in the Pressure data entry window: Pressure Drop: Provide the pressure drop across the reactor. This defaults to 0 if not supplied. Outlet Pressure: The pressure at the reactor outlet. For the plug flow reactor, either the inlet and outlet pressure or a pressure profile along the reactor length (actual length, or percent or fraction of tube length) may be entered on the Pressure window: Inlet: Either the pressure drop below feed (the default is 0 psi), or the inlet pressure may be supplied.
Outlet: Either the pressure drop below inlet (the default is 0 psi), or the outlet pressure may be supplied.
Print Options
For all reactor types except the Gibbs reactor, the following print option is available in the Print Options window: Print Calculation Path for Enthalpy Balance: This option prints the calculation path for the heat of reaction calculation.
Thermodynamic System
The thermodynamic system of methods for the reactor calculations may be selected by choosing a method from the Thermodynamic System drop-down list box on the main Reactor window.
April 2009
Reactor, Batch
General Information
The Batch Reactor unit operation models material production as a result of simultaneous and/or sequential reactions in the liquid contents of a reactor vessel. Phase equilibrium analysis during the reaction allows for the tracking or removal of vapor phase products. The Batch Reactor may be run in a true batch simulation mode, with the reactants charged to the reactor vessel prior to the onset of reactions, and product taken from the vessel at the end of reaction process, or in a semi-batch mode where reactants may be introduced throughout the reaction process. Batch reactor calculations may also be integrated into a steady-state process simulation. The unit configuration automatically considers the presence of holding tanks for steady flow streams to provide the time-variant reactants to the batch unit. Implicit holding tanks are also considered for the product streams to provide a coupling of the time-variant process to the continuous process simulation environment. A representation of the product steady flow stream comes from an overall process time average of the quantity accumulated into a given product. Currently, the Batch Reactor supports only liquid-phase reactions. A reaction may produce one or more vapor constituents. Whether the vapor constituent(s) will return to the liquid phase and again be available for reaction(s) will be determined by equilibrium analysis done at the end of each time step.
Thermodynamic System
The thermodynamic system for the unit is selected by using the Thermodynamic System drop-down list box in the Batch Reactor dialog box. Batch Reactor also allows the use of electrolyte thermodynamic methods.
Detailed Information
For detailed information about the use of the Batch Reactor unit operation, consult the PRO/II Add-On Modules User Guide.
Chapter 9
Solid Separator
General Information
The Solid Separator unit models the separation of solid phase material from a mixture of feed streams. The unit operates adiabatically at the lowest of the individual feed stream pressures.
Calculation Method
The solid separator provides the option of specifying the fraction of the solid components in the total feed that is removed in the bottoms stream. The default fraction of the solid components removed in the bottoms stream is 1.00. An adiabatic flash calculation is used to determine the product phases and the outlet temperature based upon the thermal condition of the combined feed. The solid separator unit supports both VLE (two phase) and VLLE (three phase) calculations to determine the individual phase compositions. See the online Technical Information discussion entitled VLE Model and VLLE Model for more details. To access the main data entry window for VLE and VLLE calculations, select Tools/Binary VLE from the menu bar.
April 2009
Chapter 9
Splitter
General Information
This unit may be used to split a single feed or mixture of feeds into two or more products of identical composition and phase condition. The outlet stream pressure may be specified, if desired, and an adiabatic flash used to determine the outlet temperature and phase. A choice of options is provided for splits in which insufficient feed is available to meet the specified product rates.
April 2009
Thermodynamic System
The thermodynamic system of methods to be used for splitter calculations may be selected by choosing a method from the Thermodynamic System drop-down list box on the Splitter main data entry window.
Chapter 9
Stream Calculator
General Information
The Stream Calculator unit blends any number of feed streams and splits them into two product streams with defined compositions and thermal condition. It may also be used to synthesize a product stream based on the blended feeds, or by defining the amount of each component in the stream.
Mode of Operation
The mode of operation is specified by the number of feeds and products attached to the unit so it is important to connect the streams correctly before entering the unit data.
April 2009
Stream Splitting
In order to define the component splits, specifications must be entered in the Product Specifications window to define how much of each component goes into either the overhead or the bottoms product. Specifications may be on single components or on ranges of contiguous components. Several specifications may be required and some may specify the amount of components in the overhead and others the amount in the bottoms product. Each component must appear in one, and only one, specification. The component rates, recovery or composition in a product may be specified. The thermal condition of the products may optionally be defined in the Overhead Product Conditions window and the Bottoms Product Conditions window. Pressure defaults to the lowest feed pressure. If no temperature specification is supplied for either product, the product temperatures are set equal at a value calculated from the enthalpy balance, using the duty entered on the Stream Calculator window. If one temperature is supplied, the other temperature is calculated to meet the enthalpy balance. If both temperatures are given, duty is calculated. Temperature specifications may be a temperature value, the temperature rise above the feed, dew or bubble point or an approach to dew or bubble point.
Stream Synthesis
In order to synthesize a pseudo-product, specifications must be entered in the Pseudo-product Specifications window to define how much of each component is in the product. Specifications may be on single components or on ranges of contiguous components and several specifications may be required. At least one specification must be defined. Any component that does not appear in a specification has a zero rate in the pseudo-product. If the unit has feeds, component rates, recovery, or composition in the product may be specified. Otherwise, the component rates must be defined. If there is no feed to the unit, pseudo-product thermal conditions must be defined in the Pseudo-product Conditions window. If there is a feed, the temperature and pressure specifications are optional. The pressure defaults to lowest feed pressure, and the temperature is calculated to satisfy the enthalpy balance. If a duty is supplied, it is used only for the stream splitting enthalpy balance. Duty is not used for the pseudo-product enthalpy balance. Temperature specifications may be a temperature value, a temperature rise above the feed, dew, or bubble point, or an approach to dew or bubble point. If there is no feed, a temperature rise specification is not allowed.
Chapter 9
Thermodynamic System
The thermodynamic system of methods to be used for the stream Calculator may be selected by choosing a method from the Thermodynamic System drop-down list box on the Stream Calculator main data entry window.
April 2009
Chapter 9
SPEC/VARY/DEFINE
General Information
PRO/II has an extensive system of cross-referencing for flowsheet parameters. Flowsheet parameters include operating conditions for unit operations, calculated results from unit operations, and stream flows, compositions, and properties. For example, the supplied outlet pressure for a Pump, the calculated temperature for a dew point Flash, and the simulated D86 ninety-five percent distilled temperature for a Column product stream are all flowsheet parameters. Most unit operation parameters may be either DEFINE'd or SPEC'd relative to any other flowsheet parameter in the problem. Some unit operations may VARY a flowsheet parameter that would ordinarily remain constant at the input value. The table below summarizes the methods for cross-referencing flowsheet parameters: SPEC: A unit operation or stream performance specification (calculated result) must meet a desired value, either on an absolute basis or relative basis. VARY: A unit operation or stream flowsheet parameter is varied from the supplied value. DEFINE: A unit operation parameter is defined by cross-reference to another flowsheet parameter. PRO/II uses a common format for the Specification (SPEC), VARY, and DEFINE features. Each feature is discussed separately below. Tables are also presented with cross-reference availabilities of the flowsheet parameters for streams and the unit operations.
Specifications
By definition, a SPEC always must be a calculated flowsheet result. The following unit operations use the generalized SPEC format to define the performance of the unit: Flash, Splitter, Column/Side Column, and Controller. A SPEC has the following general form: Parameter = value within the default tolerance A choice for the Parameter and a numeric entry for the value must be supplied by clicking the underlined hypertext strings to gain access to the pertinent data entry fields. Optionally, the tolerance basis may be changed from the default to absolute or relative and the default tolerance value of 0.02 replaced by direct entry.
April 2009
Click on the Parameter hypertext to access the Parameter window. Choose the Stream or Unit from the drop-down list box. Select the unit or stream name in the drop-down list box. Finally, click on the Parameter hypertext and select the desired parameter from the window that is displayed. Note that only those unit or stream parameters that are valid for use as a SPEC are available. If the SPEC is not related to another flowsheet parameter: Click OK to return to the unit specification. Click on the value hypertext, and enter the desired numeric value for the SPEC. To create a mathematical expression for the SPEC: Select the = sign linked text and select an option from the pop-up window. Choices are as follows: No Operator Primary parameter only (the default) + Operator Primary parameter plus reference parameter (SUM) - Operator Primary parameter minus reference parameter (DIFFERENCE) / Operator Primary parameter divided by reference parameter (RATIO) x Operator Primary parameter times reference parameter (TIMES) Select the Reference Parameter and click on the Parameter text string, and select the desired reference parameter from the list which is displayed. Note: Only unit or stream parameters that are valid for use in SPECs are available. Click OK to return to the unit specification window; then click on the value linked text string to enter the desired numeric value for the SPEC. The following examples illustrate the use of SPECs:
Chapter 9
Specification
Unit/Stream [Stream] Stream Name {Parameter Window} [S103]
Parameter
[Vapor Pressure] Keyword analog:
SPEC STREAM=S103, RVP, AS VALUE=6.0, RTOL=0.02
Specification
Unit/Stream Unit Name {Parameter Window} [Heat Exchanger] [X103]
Parameter
[Duty]
Reference: [/ Parameter =]
Reference Parameter Unit/Stream Unit Name {Parameter Window} [Heat Exchanger] [X104]
Parameter
[Duty] Keyword analog:
SPEC HX=X103, DUTY, DIVIDE, HX=X104, DUTY, VALUE=1.0, RTOL=0.001
VARY
For each SPEC in a flowsheet, there must be one VARY to provide one degree of freedom. The VARY for the Flash unit is implicitly defined, i.e., not defined explicitly by the user. For Flash units with specifications, the degree of freedom is the temperature when the pressure or pressure drop is given and the pressure when the temperature is supplied. Other unit Operations which have VARYs are the Column/Side Column and the Controller. A VARY is always a flowsheet parameter that has a fixed versus calculated value in the flowsheet.
April 2009
For Columns/Side Columns a VARY may be a feed stream rate, product draw rate, or a heat duty. For example, the lean oil feed rate to a column may be defined as a VARY in order to meet a specification on the propane recovery for the column. Ordinarily, the lean oil feed rate would have a fixed or constant rate in the flowsheet. Controllers have VARYs that are associated with other unit operations. For example, the supplied outlet pressure for a Compressor may be a VARY for a Controller. Note that this flowsheet parameter would ordinarily have a fixed or constant value in the flowsheet. On the other hand, the calculated temperature for a dew point Flash unit could not be used as a VARY, since this is a flowsheet parameter that is determined by the flowsheet calculations. A VARY construct has the following general form: Vary Parameter To enter a parameter: Click on the underlined hypertext string to access the Variable window. From this window, select the type of vary, i.e., stream or unit type, in the drop-down list box. Next, select the unit or stream name in the adjacent drop-down list box. Finally, click on the Parameter hypertext string and select the desired parameter to be varied from the list. Note: Only unit or stream parameters that are valid for use as a VARY are available. The following example illustrates the use of VARYs:
Specification
Unit/Stream Unit Name {Variable Window} [Flash] [D101] Parameter [Temperature]
Chapter 9
DEFINE
The DEFINE is used to dynamically define the value for a flowsheet parameter that ordinarily has a fixed versus calculated value in the flowsheet. Thus, the value for a unit operating condition may be set to a value that is based on a calculated flowsheet parameter. For example, the DEFINE may be used to set the temperature for an isothermal Flash to the temperature that is calculated for a Compressor outlet stream plus 10 degrees. This concept greatly enhances the flow-sheeting capability of PRO/II, and, in fact, nearly every unit operation input parameter may be DEFINEd in PRO/II. To define a flowsheet parameter: Select the parameter in the appropriate window for the unit operation. At this point, the Define button on the toolbar is activated if the parameter may be DEFINEd. Click Define to access the Definition window. From this window, select the check box to enable the DEFINE options. Click on the Parameter text string and select the desired parameter from the window which is displayed. Note: Only unit or stream parameters that are valid for use as a DEFINE are available. If the DEFINE is not related to another flowsheet parameter click OK to return to the unit window. If the DEFINE is related to another flowsheet parameter, establish the appropriate mathematical relationship. Mathematical expressions for a DEFINE are created in a manner completely analogous to that described above on page 309 for a SPEC. Select the reference parameter type in the same manner as used to select the primary parameter. Click the OK button in the child windows to return to the unit operation window. For a constant: Select Constant from the Constant/Stream/Unit drop-down list box in the Parameter window. Enter a numerical constant in the supplied data entry field. The following example illustrates the use of a DEFINE:
Example 4: DEFINE the temperature for Flash drum D103 to be the temperature of stream S104 minus 15 degrees.
[Select the temperature field on the Flash Second Specification] [Click Define from the Toolbar] [Select the check box to set up the Define]
April 2009
| Primary Parameter: Unit/Stream/Constant Unit Name {Definition Window} [Stream] [S104] Parameter [Temperature] Reference: [= Parameter - Parameter] Reference Parameter: Unit/Stream/Constant Value [Constant] [15.0] Note that the DEFINE is nearly identical in structure to the SPEC. Stream Parameters Available for Cross-referencing SPECS Parameter
Temperature Pressure Enthalpy Mole Weight Total Flow Component Flow Composition Phase Fraction Density/Volume Distill. Curve Vapor Pressure Transport Property Refining Property Special User Property
DEFINE1 Splitter
Yes Yes Yes Yes Yes Yes Yes Yes
VARY2 Controller
Yes Yes Yes -
Flash
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Column
Yes Yes Yes Yes Yes Yes Yes
Controller
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
All Units
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
1. In general, any applicable stream property may be used to define a unit operating condition. Not all stream properties are applicable to all unit operating conditions. 2. With the exception of the Column, only the Controller may vary stream parameters. The Column may vary the total flow of a feed stream.
Chapter 9
Controllers SPEC
Yes
SPEC
Yes Yes Yes Yes
VARY
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
VARY
Yes
Calculator
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Controller Yes MVC Yes Optimizer Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Stream Calculator
April 2009
External DEFINE
Column Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Controllers
1
SPEC
Yes Yes Yes -
VARY
Yes Yes Yes Yes Yes -
Reference
Yes Yes Yes
SPEC
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
VARY
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Chapter 9
External DEFINE
Yes Yes Yes Yes Yes LLEX Yes Yes Yes Yes Yes Pump Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Pipe Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Controllers
1
SPEC
-
VARY
Yes Yes Yes -
Reference
Yes Yes Yes Yes Yes
SPEC
Yes Yes Yes Yes Yes
VARY
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Thermosiphon Reboiler
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
April 2009
External DEFINE
Yes
Controllers
1
SPEC
-
VARY
-
Reference
Yes
SPEC
VARY
Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Simple Exchanger
Yes
Chapter 9
External DEFINE
Yes Yes Yes Yes Yes Yes
Controllers
1
SPEC
-
VARY
-
Reference
Yes Yes Yes Yes Yes Yes Yes
SPEC
Yes Yes Yes Yes Yes Yes Yes
VARY
LNG Heat Exchanger Splitter Valve Yes Yes Compressor Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
April 2009
External DEFINE
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Controllers
1
SPEC
-
VARY
-
Reference
Yes Yes Yes
SPEC
Yes Yes Yes
VARY
Yes Yes Yes Yes Yes Yes Yes Yes Yes
Expander Yes Yes Yes Yes Yes Yes Yes Yes Flash Yes Yes Yes Yes Yes Yes Mixer / Splitter Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Chapter 9
External DEFINE
Pump Yes Yes Yes Yes
Controllers
1
SPEC
-
VARY
-
Reference
Yes Yes Yes Yes Yes Yes
SPEC
Yes Yes Yes Yes Yes Yes
VARY
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Gibbs Reactor Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Equilibrium Reactor
Conversion Reactor Yes Yes Yes Yes Yes Yes Yes Yes Yes
April 2009
External DEFINE
Yes Yes
Controllers
1
SPEC
-
VARY
-
Reference
Yes Yes Yes Yes Yes
SPEC
Yes Yes
VARY
Yes Yes Yes Yes Yes
Yes
Yes
Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Chapter 9
External DEFINE
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Controllers
1
SPEC
-
VARY
-
Reference
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
SPEC
Yes Yes Yes
VARY
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Depressuring
April 2009
External DEFINE
Yes Yes Yes Yes Yes Yes Yes
Controllers
1
SPEC
-
VARY
-
Reference
Yes Yes Yes Yes Yes Yes Yes
SPEC
VARY
Chapter 9
General Information
The PRO/II User-added Unit Operation capability enables users to add their own FORTRAN subroutines to simulate any type of unit operation or to perform calculations on flowsheet parameters. The subroutine must first be linked into the PRO/II program and it is then accessed via the graphical user interface in the same way as any other unit operation. The User-added Unit Operation has access to the PRO/II physical property data and may call the PRO/II flash and property calculation subroutines. Other information, such as input and output dimensional units, is also available. See the PRO/II Data Transfer System and User-Added Subroutine User Guide for information on writing and interfacing User-added Unit Operation subroutines. The developer of the User-added Unit Operation can also customize the Useradded Unit Operation Data window to request only data which may be required for the calculations. Note: If transport properties are required in the User-added Unit Operation, you must select a suitable method in the Thermodynamic Data.
April 2009
Output time: If the User-added Unit Operation requires only converged flowsheet data for calculations and reports, it can be executed at output time rather than during the flowsheet convergence.
Stream Reordering
If the User-added Unit Operation has more than one feed or product, they will be shown in the order in which they were laid down on the PFD. The user may need to reorder the streams so that they are presented in the correct order to the Useradded Unit Operation. For example, the User-added Unit Operation may always feed vapor to the first product stream and liquid to the second. Reordering is done in the User-added Subroutine - Stream Reordering window accessible by clicking Reorder Streams on the User-added Unit Operation Data window.
Entering Data
Data are supplied to the User-added Unit Operation in four tables: Real Data (PARAM values, available to SPEC, VARY, DEFINE) Supplemental Data Integer Data Heat Balance Data
Data can be supplied to a User-added Unit Operation using either a Customized Data Entry Window or the standard Developers Data Entry Window. These two choices are explained below. Data also may be entered into the variables in the Real Data table using the PRO/II Define feature. Only the variables in the Real Data table are available to other unit operations by using SPEC, VARY and DEFINE constructs. Data in the other tables are available only internally in each user-added subroutine.
Chapter 9
File UASLIST.INI
This file contains the user-specified names for specific user-added calculation subroutines that will be displayed in place of the default names US1 - US20, corresponding to the subroutines USER41 - USER60. Each line in the file has two entries; the entry number in the list of user-added subroutine names, and the actual text that is to be displayed for the user-added subroutine. An example of a typical UASLIST.INI file is shown below: 1. PIPE DP Routine 2. Stream Heating Value These entries in the UASLIST.INI file will result in the following list of available user-added calculation subroutines being displayed when a User-added Unit Operation is laid down on the PFD:
File USERXX.INI
This file contains the variable names and array locations for all of the Real, Supplemental, Integer, and Heat Balance Data values that the specific useradded calculation subroutine requires or that can be input by the user. For a user-added subroutine with a customized data entry window, a user will only be able to enter values for the data items specified in this file. The XX in the name of the USERXX.INI file corresponds to the respective user-added subroutine referenced, i.e. the user-added subroutine USER41 with a user-specified name of PIPE DP Routine above would need a USER41.INI file to describe the required data for the calculations. An example of a typical USERXX.INI file is shown below:
April 2009
Example: USER41.INI file: IPARM 1 RPARM 1 RPARM 2 ... SUPPLE 1 ... iPPrint ControllN iPDiameter (in)lm iPLength (ft)lg No. Of Segments Required Required Required Required
The first entry on each line indicates to which data array the variable belongs. The second entry is the array number where the data value entered by the User will be stored for access by the User-added calculation subroutine. The third entry is the label to be displayed for the variable in the customized data entry window. This entry must be enclosed in double quotes (). The fourth entry on each line indicates whether or not data entry for the item is Optional or is Required. The default is Optional, and this entry is not required. The entries in the USER41.INI file shown above will result in the following required data values and variable names being shown in the custom window displayed for data entry, for any User-added Unit Operation where the userselected PIPE DP Routine as the user-added subroutine when the unit was laid down on the PFD as shown below.
Each table shows the name(s) of the variable(s) for which values must be entered. They will scroll if they contain more than four rows. All data entries displayed using a customized data entry window are required. No checks on validity or completeness of the data are carried out until the User-added Unit Operation is executed.
Chapter 9
The user must know which elements of each array are used by the User-added Unit Operation and enter the array element number along with the value. Values may be entered for any or all of the elements in the arrays. The elements defined need not be contiguous and may be entered in any order. PRO/II knows nothing about the data requirements of a User-added Unit Operation and so no restrictions are imposed in the data entry. Note: Unless the user defines a custom Data Entry Window for a specified Useradded Unit Operation, the data entry for that unit will be via the developers' data entry window.
April 2009
Automated keyword input processing, using the user-defined data structures and data labels. Cross-check calls the user-added subroutine to perform its own data validation, in addition to generic cross-checks performed automatically by PRO/II. Completely dynamic execution. No restrictions on the location of the dynamic-link libraries created by the developer. The DLLs may be stored in a single location for access by multiple users. Extensive new features for handling stream data, performing flash calculations. Improved access to the native PRO/II error processor. Full support for user-defined output reports written to the standard PRO/II text report. Full support for multi-sided models, such as heat exchangers. User-defined units of measure, used for all data transfer between the user-added subroutines and PRO/II. Full GUI support, including unit lay-down and custom input windows. User-developers may create these using the AutoGui feature with the user-defined data structures and labels.
Detailed Information
Comprehensive discussion of modular user-added subroutines is beyond the scope of this Guide. Please refer to the PRO/II User-Added Subroutines User Guide.
Chapter 9
Electrolyte Module
General Information
The optional Electrolyte Module of PRO/II allows you to handle systems containing electrolytes. See the PRO/II Add-On Modules User Guide for more information. The following unit operations can be used with this electrolyte version: Flash Pump Valve, Mixer, Splitter Pipe Simple heat exchanger, LNG heat exchanger Conversion reactor, Equilibrium reactor Stream calculator Heating/Cooling curve Calculator Controller, Optimizer Column (Electrolytic Algorithm, see below)
Thermodynamic Models
Eight built-in electrolyte models in PRO/II simulate aqueous systems in a wide range of industrial applications. The models apply to fixed component lists with a predefined set of thermodynamic methods for K-values, enthalpies and densities. It is not possible to define individual methods for K-value, enthalpy or density when using electrolyte thermodynamic models. Note: Electrolyte models may not be used to calculate the following properties: (1) Non-aqueous electrolyte systems; (2) Free water decant; (3) Water dew points; (4) Hydrocarbon dew points, (5) Entropy and heat capacity. The following electrolyte models are available in this release: Amine Systems Acid Systems Mixed Salt Systems Sour Water Systems Caustic Systems Benfield Systems Scrubber Systems
April 2009
Click Thermodynamic Data on the toolbar to open the Thermodynamics Data main data entry window. Select the Electrolyte option in the Category list box. Choose an appropriate electrolyte model.
The suggested range of applicability for the electrolyte models is summarized below: Temperature: Pressure: Dissolved gases: Ionic solutes: Amine Systems Pressure: LLE Systems Organic solutes: 32-390 F (0-200 C) 0-200 atm 0-30 mole % 0-30 ionic strength 0-30 atm 0-10 weight %
You may add your own models, specifically suited to your application, by using the PRO/II and the Electrolyte Chemistry Wizard available from OLI Systems, PLC. If you wish to do this, contact your nearest SIMSCI support office for more information. Note: Take care when using non-electrolyte and electrolyte thermodynamic methods in the same application. The PRO/II electrolytic models use a different enthalpy basis from that used for other thermodynamic systems. When both are used, PRO/II automatically takes care of the difference but it may appear to be confusing. To avoid this, select the electrolyte enthalpy method for all non-electrolyte thermodynamic systems in a mixed application. All systems will then use the electrolyte model basis.
Chapter 9
April 2009
Chapter 9
Add-on modules can be obtained in this version of PRO/II to extend the functionality of the program. These modules include units for modeling polymer systems, separating solid components from feed streams, blending streams with different component and refinery inspection properties, as well as Profimatics hydrotreating and reformer reactor models.
This reactor unit has been added to PRO/II as part of the SIMSCI Add-on Models (Polymer CSTR) and is available from SIMSCI as the SIMSCI Polymer CSTR module. Required Data for the Polymer Reactor Unit This version of PRO/II does not allow you to enter the necessary Component, Stream, or Thermodynamic Data via required the data entry windows. However, you can enter the necessary Polymer CSTR data using the Polymer CSTR data entry window for the SIMSCI Add-on Model. To enter data for the Polymer CSTR: Once you have entered your simulation data, including the data for the Polymer CSTR, but excluding any polymer-specific thermodynamic, stream, or component data, you will need to do the following:
April 2009
Export the simulation data to a PRO/II keyword file. Add the necessary polymer-specific data to the keyword file. Import the modified keyword file into PRO/II and run the simulation problem in Run-Only mode.
For additional information, refer to the PRO/II Add-On Modules User Guide.
The product stream pressure may also be supplied, but if it is not given, the pressure will be set to the lowest feed stream pressure. The unit thermodynamic method component properties will be recalculated from the blend of the feed streams properties and will then be stored as part of that thermodynamic method data storage. Only petroleum and assay generated component properties will be recalculated; it is assumed that Library component properties do not change in the flowsheet. The unit first recalculates the normal boiling point, molecular weight and specific gravity for all the petroleum components. These recalculated properties are then used to re-characterize all the other petroleum fraction properties such as the critical temperature.
Chapter 9
Using the Blend Unit with Refinery Inspection Properties Any refinery inspection properties specified in the input will also be blended from the feed streams properties using the specified blending method for that property. It is necessary that every thermodynamic method must have the same refinery inspection properties specified and that these properties must use the same property method and blending basis in order for the unit to work. A check is done at input time to check that all the methods in the problem have the same refinery properties, methods and bases specified. You can request this check to be done, at calculation time, on the methods used in the current unit using the IPARM entry. Note: Requesting this check at calculation time should be used with care and is not recommended.
Note: In this version, a warning message will alert you if the thermodynamic method of the unit operation is different from the thermodynamic method of any of the feed streams. This warning message applies to all unit operations except for the RESET unit, the BLEND unit and any Profimatics reactor models.
April 2009
Chapter 9
Valve
General Information
The Valve is used to model the Joule-Thompson effect that occurs across a pressure restriction such as a valve, orifice plate, etc. The temperature for the exit fluid is computed by assuming that the operation is adiabatic. Rigorous calculations may be performed for both VLE and VLLE systems.
Outlet Conditions
The outlet condition for a valve is selected with the appropriate radio button on the Valve main data entry window as: Pressure drop Outlet pressure
Thermodynamic System
The thermodynamic system of methods to be used for valve calculations may be selected by choosing a method from the Thermodynamic System drop-down list box on the Valve main data entry window.
April 2009
Chapter 9
General Information
The Wiped Film Evaporator unit operation (WFE) provides the capability to model the separation of solvents and/or monomers from a polymer melt. A Wiped Film Evaporator should be used when the removal of volatiles from a viscous polymer melt is diffusion limited. The blades inside the wiped film evaporator continually mix and spread a thin film of the melt on the wall of the evaporator. As the melt moves down the evaporator, the volatiles diffuse out of it and into the vapor space of the evaporator. The volatiles are pulled out of the evaporator under vacuum.
Detailed Information
For detailed information regarding operating modes, data requirements, and range of applicability of the Wiped Film Evaporator model, consult the PRO/II Add-On Modules User Guide.
April 2009
Chapter 9
April 2009
The palette displays push buttons that execute or access a feature: Operation Status Check Data Run Description Displays the global messages for the current simulation. Checks the input data to determine whether there are any data inconsistencies. Executes the simulation, either from the beginning or from a breakpoint. Check Data is automatically performed, if necessary. Steps through the execution of the simulation by stopping at each unit operation in the calculation sequence. Interrupts or stops the simulation while it is executing. The program completes its current calculation before stopping. Selects the units you want to assign as breakpoints. The program then executes the simulation, stopping at these breakpoints. Starts the execution from any specified unit. You can select the unit by clicking the mouse cursor on the desired unit in the flowsheet. Displays the calculation history as it is being produced. This window can be displayed when the PRO/II calculation engine is executing the simulation, in which case, the history will be updated as the calculation proceeds. Displays the detailed output results of the highlighted unit operation or stream in the flowsheet of the previously run simulation. You can review the results of multiple units or streams, if desired. If the simulation has been run previously, you can view its results without executing it again by opening the appropriate .OUT file. Shows which units are assigned as breakpoints by displaying their icons in a different color. Clicking the button a second time disables the breakpoint display.
Goto
Messages
View Results
Show Breakpoints
Chapter 11
Figure 10-2: Flowsheet Status If errors were detected, you must correct your simulation data. Choose Close to exit the Flowsheet Status window. Correct your simulation errors. If no errors were detected, run the simulation.
April 2009
Purple
Chapter 11
April 2009
Using Goto
Use Goto to start execution from a selected unit. This can be invoked at program initiation or after execution pauses while stepping or stopping. To start the execution from a specified unit: Select a unit on the PFD. Choose Goto from the Run palette. The selected unit becomes the current unit. When execution completes on this unit, its Goto status is removed.
Using Breakpoints
You can set a breakpoint on any unit. Breakpoints can be before the unit operation, after it, or both. You can set breakpoints using the cursor or by utilizing the Breakpoints window. In addition, you can set breakpoints before and after a loop using the Breakpoints window. To set breakpoints using a cursor: Choose Set Breakpoints from the Run palette to turn on the Breakpoint mode. This automatically brings up the Breakpoints window. Select the unit for which you want to set a breakpoint. Choose Close to exit the Breakpoints window. PRO/II turns units selected as breakpoints purple and updates the values in the Breakpoints window. To delete a breakpoint in Breakpoint mode: Select the unit. PRO/II will no longer show this unit as purple. PRO/II updates the values in the Breakpoints window to show that there is no longer a breakpoint attached to this unit. The Breakpoints window lists all unit operations in the calculation sequence and identifies the breakpoint type for each unit: (before, after, both). Units without a breakpoint are considered Off. Breakpoints are for use during the current session. PRO/II does not save breakpoint information. To set breakpoints using the Breakpoints window: Choose Set Breakpoints from the Run palette. The Breakpoints window appears. Note: Click Show Breakpoints to highlight those units or loops where breakpoints have been previously set.
Chapter 11
Figure 10-3: Breakpoints Window Set the desired breakpoint type by clicking on the check boxes. You can set before, after, or both. Select a unit from the list. The breakpoint for the unit is set based on the breakpoint placement you select. To close the Breakpoints window: Choose Close. Note: Closing the Breakpoints window does not turn off Breakpoint mode. To turn off Breakpoint mode: Choose Set Breakpoints on the Run palette a second time.
Viewing Results
Viewing Calculation History
Use Messages to view the calculation history that has been produced so far. This can be used while the simulation is executing, after the simulation finally ends, or when the simulation reaches a breakpoint.
April 2009
To view the calculation history for the simulation thus far: Choose Messages from the Run palette. The Messages window appears. This is a multi-line data window that is continuously updated.
The PRO/II report generator creates a single ASCII file. The default text editor will be used to display the standard PRO/II output for the selected stream or unit.
Chapter 11
the problem may be accomplished by displaying the source and sink streams for the problem.
April 2009
Chapter 11
Figure 10-4: Case Study Main Data Entry Window Enable the window by checking the Define Case Study box. In this window, you can specify the changes you want to make to your input Parameters and to define the Results you want to examine. You may define as many parameters and results as you want. Parameters: The table of parameters initially has one row. You may insert or remove as many rows as you wish. Parameter Identifier: The parameter identifier defines the way you want the output data to be presented after the Case Study has been executed. A default identifier (here PARAM1) is supplied. To change the parameter identifier, click on the data field and enter a new name.
April 2009
Parameter: You must identify a parameter to change. Click Parameter to open the Parameter window. Select the parameter that you want to change. When you close this window, the parameter you have specified appears in place of the original text. Start Value: Click Base Case Value to open the Parameter Start Value window where you define the starting value for the parameter. The starting value defaults to the value of the parameter in the base case. When you close this window, the starting value will be displayed. Start Cycle: The start cycle is the cycle after which the incremental changes are implemented. Cycles before the start cycle use the value in the base case. If necessary, enter a new start cycle number. By default, the starting cycle is one (1). End Cycle: Cycles after the end cycle use the value in the end cycle. If necessary, enter a new end cycle number. The end cycle defaults to the value of the start cycle. Step Value: Next, define the value of the incremental step change per cycle. The new step value will be displayed. Results: The table of results initially has one row. You may insert or remove as many rows as you wish. You may define a Result as one flowsheet parameter or as a function of two flowsheet parameters or as a function of one flowsheet parameter and a constant. See SPEC/ VARY/DEFINE in Chapter 9 for details on using and changing mathematical operators and composing specifications. Result Identifier: The result identifier will be used when you define how you want the output data to be presented after the Case Study has been executed. A default identifier is supplied. To change the result identifier, click on it and enter a new identifier. First Parameter: Click on the first (or only) parameter to open the Parameter window where you select the parameter that you want as a Result or as the first element of the function you are defining. Second (Reference) Parameter: Click on second parameter to open the Parameter window where you select the parameter (or constant) that you want as the second element of the function you are defining. Execution Options: Select from the Execute: list to execute the base case only or the base case and the case study. If you do not want to execute all the cycles of the case study, select Base Case and Specified Cycles and specify a beginning and ending cycle.
Chapter 11
April 2009
Figure 10-5: Run Batch - Input and/or Simulation Files Selection Initially, there are no keyword input (*.INP) or simulation files (*.PR1) displayed in the File Sequence window. There are two methods of adding keyword input or simulation files to the file sequence list: Select the files explicitly using the Add Files button, or Load a previously saved list of files using the Load List button. To select the desired keyword input or simulation files: Click Add Files PRO/II displays a list of available existing keyword input files. The default file type is keyword files (*.INP). You can change the file type to simulation files (*.PR1, *.PRZ) using the Files of type drop-down list-box.
Chapter 11
Figure 10-6: Run Batch - File Select Type or select the name of the file that you want to execute. You can select multiple files within a given directory. Only the keyword input files highlighted in the currently selected directory will be added to the list of files to execute when you exit this window. Click OK to validate your selection and return to the Run Batch - Input and/or Simulation Files Selection window. To load an existing list of keyword input and/or simulation files: Click Load List. PRO/II displays a list of available existing execution list files. The default file type is Run Batch List (*.LST). These files contain the complete path and name of keyword input and simulation files in the execution order previously specified by the user. An example of the typical contents of an execution list file is given below: C:\SIMSCI\PROII_W\USER\CASE1.INP C:\SIMSCI\PROII_W\USER\CASE2.INP C:\SIMSCI\PROII_W\USER\CASE3.INP Execution list files may include comment lines (beginning with a semicolon ;), and include list file directives given by #include followed by the .LST file name. An example is given below:
April 2009
; This is a comment C:\SIMSCI\PROII_W\USER\CASE1.INP C:\SIMSCI\PROII_W\USER\CASE2.INP ; The following is the list of files to load. ; contains flash problems #include flash.LST Note: The #include directives may be nested, e.g., in the example above, flash.LST itself could contain the directives #include dewpt.LST and #include bubpt.LST.
Figure 10-7: Run Batch - Load File List Type or select the name of the execution list file that you want to load. You can select multiple list files within a given directory. Only the list files highlighted in the currently selected directory will be used to create the list of keyword input and simulation files to be executed. Click OK to validate the selection and exit. When you return to the Run Batch - Input and/or Simulation Files Selection window, the contents of the previously selected execution list file(s) will have been expanded and are now displayed in the File Sequence list box. Selected files will be added to the bottom of the list of previously selected files displayed in the File Sequence list box.
Chapter 11
Figure 10-8: Run Batch - Save File List As Enter a name for the Execution List File. Click OK to store the list as a *.LST file in ASCII format.
April 2009
Chapter 11
April 2009
To set miscellaneous data options: Choose the Option/Report Format/Miscellaneous Data from the menu bar. The Miscellaneous Report Options window appears.
Chapter 11
Figure 11-3: Scale Stream Flow Rate Click OK twice to commit the changes and return to the PFD.
April 2009
Chapter 11
Figure 11-5: Default Units of Measure for Problem Output Report Click Initialize from UOM Library to extract default values from another set or replace the default values, as necessary. Optionally, click Standard Vapor Conditions to change the vapor condition settings for this problem. The Problem Standard Vapor Condition window appears.
April 2009
Specify the desired standard vapor conditions. Click OK in the child windows to return to the PFD.
Chapter 11
Select the desired unit operation. Choose Print Options The Column Print Options window appears.
April 2009
Optionally, click Plot Column Results to set options for a plot. The Column Plot Options window appears.
Figure 11-9: Column Plot Options Click OK in the child windows, then Close to commit the entries and return to the PFD.
Chapter 11
Generating a Report
You can generate a report to a file. Use the Define Format option to define the format of the report. To generate a report from an executed simulation: Click Generate Reports on the toolbar, or choose Output/Generate Reports from the menu bar. As PRO/II generates the report, a window appears, displaying the status of the report as it runs. Once the report has been generated, the default editor window appears displaying the contents of the report. PRO/II appends an .OUT extension to the current simulation name and saves the file in the USER directory.
Viewing a Report
To view a previously generated report of the current simulation: Choose Output/View Report from the menu bar. To view a previously generated report for any simulation: Choose File/Open from the menu bar. Select Report Files in the List Files of Type list box and choose the desired file.
Printing a Report
To print the report: Print from your text editor while viewing the report, or Choose File/Print from the menu bar. Select Report in the Print drop-down list box in the Print window. Click OK.
April 2009
Plotting
PRO/II generates and displays a variety of plots for input data and tabulated results. The following plots can be generated: Input Data Assay stream analysis Output Results Distillation column profiles (temperature, flow rates, composition, and separation factor) Zones analysis for simple and rigorous heat exchangers Phase envelopes Heating/Cooling curves
Plots can be displayed using PRO/IIs Plot Viewer or Microsoft Excel. The section Setting Up the Plot Driver later in this chapter describes how to select and configure the plot driver.
Generating a Plot
To generate an assay stream analysis plot, select View Curve... on the Stream Assay Definition window. Three curves will be generated: The actual user input distillation data The regressed TBP curve The component cuts generated. Choose Output/Generate Plot from the menu bar. PRO/II displays the Generate Plot window as shown in Figure 11-10.
Chapter 11
By default, the Units for Selection list box displays all the Unit Operations in the flowsheet that can provide data for plots. If you check the Selected Units option, only those units you previously selected on the PFD for which plots are available will be shown. When you select a unit operation in the Units for Selection list box, the Available Plots list box displays all plots available for that unit. You may select a plot then click Plot to display the plot. If the plot requires additional options to be chosen, the Plot button will change to an Options button. Currently, additional data is required only for Distillation Column Plots.
Plotting a Column
To obtain a plot of vapor and liquid compositions: Choose Vapor and Liquid Compositions; then choose Options to open the Column Vapor and Liquid Composition Plot window.
Figure 11-11: Column Vapor and Liquid Composition Plot Enter the additional data required. Click Plot.
April 2009
Figure 11-12: Plot Setup Window To configure the currently selected plot driver: Press Setup to display the Setup Plot Driver window. You cannot configure the PRO/II Plot Viewer (option SIMSCI).
Chapter 11
Figure 11-13: Setup Plot Driver Window The configuration options are: Driver File: The complete path and filename of the dynamic link library (DLL) for the plot driver. Driver Function: The function name to invoke the driver. Command Line: The full command line to invoke the plotting application. Options: Additional driver-specific options.
April 2009
Chapter 11
April 2009
Chapter 12
April 2009
Figure 12-3: Individual Unit Style Window Changing the Label Font Click the Select button in the Unit Labels group box of the Unit Style dialog to open the Font dialog. The topic Changing the Default Font later in this chapter describes modifying the attributes of the font used in the label.
Chapter 12
April 2009
Chapter 12
Figure 12-6 illustrates the same flowsheet after using the following options from the global Stream Styles dialog: Stream Label Location: Above Line with Stem Stream Label Border: Diamond Stream Arrows: Height: 10; Width: 20 Fill Arrows
Figure 12-6: Sample of Typical Custom Stream Style These are merely samples of the available customizations. The global settings always apply to new streams added to the flowsheet, but existing streams are not automatically updated. This avoids changing streams that already have local style settings. The topic Changing An Individual Stream Style (later in this chapter) describes how to apply new global settings to individual streams.
April 2009
To Select a Global Default Steam Property: Choose Options/Drawing Defaults/Stream Display from the menu bar to open the Stream Style window. From the Stream Label Type drop-down list, choose the Properties option. Choose one of the predefined property lists and click OK to commit your choice. The selected property list will appear on all streams subsequently added to the PFD.
Figure 12-7: Define Stream Property List Dialog Select a list from the Property List box (Figure 12-8).
Chapter 12
Figure 12-8: A Typical Property List You can add or delete properties, modify the property description and change the numerical format. To create a property list: Choose New from the Define Property List window. The New List window appears.
Figure 12-9: New List Window Enter a name for the new list, or Select the list from which you want to copy an existing property list. Choose OK to commit the entries.
April 2009
To add one or more properties to a list: Select the desired properties. (The usual Windows click, shift-click and control-click selection options are supported.) Choose Add->. The selected properties are added to the bottom of the property list. To change the order of the properties in a list: Select the properties you want to move. Use the Up, Down, Top, Bottom buttons to move the selected properties. To change the description or the format of a property: Select the property you want to change. Enter the new description and format in the entry fields under the property list. Commit the changes using the Replace button. To delete a property from a list: Select the properties you want to delete. Choose Remove. To clear (delete) all properties from a list: Choose Clear. To demarcate sections of a list: Insert single or double horizontal lines where desired.
Chapter 12
Figure 12-11: Individual Stream Style Dialog Choose any of the options in the individual Stream Style menu. Notice they are limited to some label properties and font formatting. They behave analogously to the same options described above for the global Stream Style dialog. To remove all local over-rides and re-apply the global Stream Style settings, click the Restore Defaults button. Click the OK button to apply the changes to this one stream.
April 2009
Figure 12-12: Stream Data Entry Window Enter the new stream name in the Stream entry field.
Chapter 12
To position stream labels: Choose Options/Drawing Defaults/Stream Display from the menu bar. Select the desired position from the Stream Label Location drop-down list. Click OK to commit your selection. Alternatively, drag a stream label to any of these positions from the PFD itself. While in the Stream Styles window, you may also choose a text font and a border style for the labels from the corresponding drop-down lists.
Figure 12-13: Toggle Stream Property List Click the OK button to complete the configuration.
April 2009
Users may choose any one of the stream property tables in the drop-down list. The "Property Label List" is the default selection. All custom property tables created by users are included in the drop-down list. They are available for selection, just as any of the pre-defined property tables.
Figure 12-14: Adding the Toggle Stream Button to the Tool Bar Scroll the Available Items: list box and highlight the Toggle Stream entry as shown in the figure. Click the Add -> button to move the Toggle Stream entry to the Selected Items list. (The Add -> button is circled in blue in Figure 12-14.) Use the Up, Down, Top, and Bottom buttons at the right side of the dialog to position the Toggle Stream button in the desired location in the list of selected items. The list order determines the position of items on the tool bar. Click the OK button to complete the installation.
Chapter 12
button on the toolbar and observe that all stream labels change to Click the the selected property table. This is illustrated in Figure 12-15.
Figure 12-15: The Toggle Stream Button Displays A Property List Instead of the Stream Labels Click the Toggle Stream button again to change back to the normal stream ID display.
April 2009
the global and individual stream display styles (described earlier in this chapter). It also is similar to configuring the Toggle Streams button.
Figure 12-16: Default Stream Label ToolTip To Configure the Stream ToolTip: Choose Options/Drawing Defaults/Stream Display from the menu bar to open the global Stream Style dialog. Scroll the Stream Tooltip Display list box and highlight an option. The Stream Tooltip Display list box shown in Figure 12-17 is highlighted in green in the Stream Style dialog is shown in Figure 12-13. Click the OK button to complete the installation.
Most entries in the Stream Tooltip Display list box are the names of stream property lists. The Off entry sets the tooltip to display the basic stream label. It is the default setting.
Chapter 12
. Figure 12-18 illustrates displays by both the Toggle Stream and the customized ToolTips features.
Figure 12-18: ToolTip and Stream Label Displaying Stream Property Lists
April 2009
Chapter 12
April 2009
Chapter 12
Index
Aligning Text, 72 Basics Simulation, 15 Boiling Pot Reactor, 309 Border Handles, 5 Bounding Box Changing the size, 78 Moving, 78 Button PFD Palette, 9 Buttons Delete, 12 Help, 13 Run/Results, 11 Toolbar, 9 Toolbar, customizing, 13 Using Data Entry, 10 Using Navigation, 11 View, 12 VLE tools, 11 Calculator calculator, 149 cancel Unit placement, 53 Cancel Delete, 53 Changing Window Size, 4 Column, Side, 199 Components, 18 Define, 16 Continuous Stirred Tank Reactor, 305 Control Menu, 5 Convergence Test for, 36 Conversion and Equilibrium Reactors, 305 Copy stream property table, 40 to Excel, 40 Data Default, 23 Data Entry Window Buttons, 10 Default global override, 42 units of measure, 43 Depressuring Unit, 221 Dissolver, 226 edit text, 72 Entering Text, 62 Excel Unit, 227 Expander, 233 Exporting Drawing to clipboard, 37 keyword file, 35 stream property table, 38 to AutoCAD, 39 Features Unsupported, 33 file import keyword input, 32 Fill from Structures, 82 Fixed Properties, 101 Flash, 235 Flash With Solids, 239 Floating Palettes. See Flowsheet Building, 17, 41 Connect Unit Operations, 16 Define Components, 16 Draw, 15 Flowsheet Optimizer, 241 Gibbs Reactor, 311 Go To Buttons, 11 Heat Exchanger Air Cooled, 249 LNG, 247 Rigorous, 251 Simple, 261 Heat Exchanger, Lng, 247 Heat Exchanger, Rigorous, 251 Heat Exchanger, Simple, 261 Heating/Cooling Curves, 265 Help Button, 13 Henrys Law, 113 import Keyword input file, 32 Importing a PRO/II keyword input file, 32 Linked text, 94 Main Window Using, 14 Menus Using, 6 Minimize/Maximize Buttons, 4 Mixer, 269 mode Run Only, 33, 34
Index i
Multiple View and PFD Palette Buttons, 9 Multivariable Controller, 271 Objects Deselecting, 69 Flipping, 72 Moving, 71 Rearranging, 71 Resizing, 69 Rotating, 71 Selecting all, 69 Selecting group, 69 Palettes Using, 9 Pan Left, Right, Up or Down, 78 Panning, 76 PFD Toolbar button, 9 Phase Envelope, 275 Pipe, 281 Properties Transport, 117 Property Methods Thermodynamic and Transport, 16 Pump, 297 Reactor Polymer Reactor, 287 Reactor, Batch, 318 Report options, 379 Run/Results Buttons, 11 Save Current Simulation, 27 Save as dialog box, 27 Simulation to another name, 27 Screen Color Coding, 5 Scroll Bar Horizontal, 4 Vertical, 4 Scrolling increments, 73 PFD, 73 Select all objects, 69 Group of objects, 69 Multiple objects, 67 Set Breakpoints, 366 Setting Up the Printer, 392 Simsci Add-On Modules, 353 Simulation Analyze results, 17
Basics, 15 Building the flowsheet, 17 Closing, 28 Connect Streams, 16 Copying, 30 Copying to Excel, 40 Declaring components, 18 Default data, 23 Define Components. See Components, Define Deleting, 28, 29 Draw Flowsheet, 15 Exporting to AutoCAD, 40 Opening, 25 Opening an existing simulation, 26 Run Only mode, 34 Save current, 27 Saving, 27 Savings to another file name, 28 setting preferences, 41 setting units of measure, 44 Simulation Data Exporting to a keyword file, 36 Simulation defaults Problem Description, 42 Units of measure, 43 Simulation Defaults, 41 Snapping, 52 Solid Separator, 319 Splitter, 321 Spreadsheet Tools Using, 39 Starting PRO/II, 1, 2 Stream Calculator, 323 Stream Information, 19 Stream Property, 38 Temperature-Dependent Properties, 102 Thermodynamic Methods, 18 Toolbar Buttons, 9 Customizing, 13 Navigation buttons, 11 Tools Spreadsheet, 39 Transport properties, 117 turn off, 367 Unit data entry window, 19 unit icon, 51 unit opeartion Cyclone, 215 unit operation, 147
April 2009
Column, Batch, 171 compressor, 203 Controller, 207 Crystallizer, 211 Distillation, 172 Unit Operations, 19 Connect, 16 Units of Measure Library, 45 User defined special properties Thermodynamic Data, 140 User-Added Unit Operations, 167, 343 User-defined Special Properties, 137, 139
Valve, 357 Vertical Scroll Bar, 4 View Buttons, 12 Viewing Results, 368 VLE Tools Buttons, 11 Water Decant Options, 118 Window Changing Position, 5 Customizing, 4 Wiped Film Evaporator, 359 Zoom Area, 12 Zoom Increment, 74 Zooming, 73
Index iii