Está en la página 1de 77

PRO/II 7.

1 TUTORIAL GUIDE

http://avibert.blogspot.com

License and Copyright Information


PRO/II 7.1 The software described in this guide is furnished under a written agreement and may be used only in accordance with the terms and conditions of the license agreement under which you obtained it. The technical documentation is being delivered to you AS IS and Invensys Systems, Inc. makes no warranty as to its accuracy or use. Any use of the technical documentation or information contained therein is at the risk of the user. Documentation may include technical or other inaccuracies or typographical errors. Invensys Systems, Inc. reserves the right to make changes without prior notice.

Copyright Notice

Copyright Notice 2005 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording, broadcasting, or by any information storage and retrieval system, without permission in writing from Invensys Systems, Inc.

Trademarks

Trademarks PRO/II and Invensys SIMSCI-ESSCOR are trademarks of Invensys plc, its subsidiaries and affiliates. AMSIM is a trademark of DBR Schlumberger Canada Limited. RATEFRAC

is a trademark registered to Koch-Glitsch.

Visual Fortran is a trademark of Intel Corporation. Windows 98, Windows ME, Windows NT, Windows 2000, Windows 2003, Windows XP and MS-DOS are trademarks of Microsoft Corporation. Adobe, Acrobat, Exchange, and Reader are trademarks of Adobe Systems, Inc. All other products may be trademarks of their respective companies. U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND The Software and accompanying written materials are provided with restricted rights. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data And Computer Software clause at DFARS 252.227-7013 or in subparagraphs (c) (1) and (2) of the Commercial Computer SoftwareRestricted Rights clause at 48 C.F.R. 52.227-19, as applicable. The Contractor/Manufacturer is: Invensys Systems, Inc. (Invensys SIMSCIESSCOR) 26561 Rancho Parkway South, Suite 100, Lake Forest, CA 92630, USA.

Printed in the United States of America, June 2005

Table of Contents
Introduction .........................................................................................5 What can PRO/II do? ..........................................................................5 Simulation Status Conventions ...........................................................5 How is this Tutorial Organized? ..........................................................6 Where to Start?...................................................................................6 Where to Find Additional Help? ..........................................................6 Description of the Problem..................................................................6 How to Proceed? ................................................................................8

Session 1: Separator ..................................................... 9


Building the Flow Sheet (required)......................................................9 Correcting the PFD Diagram.............................................................13 Defining the Component List (required) ............................................13 Defining a Thermodynamic Method Set (required) ...........................16 Specifying Unit Operation and Stream Data (required) ....................19 Analyzing the Data Requirements ....................................................19 Stream Data......................................................................................20 Unit Operations Data ........................................................................25 Saving the Simulation .......................................................................26 Running the Simulation (required) ....................................................29 Reviewing the Simulation Results.....................................................30 Viewing the Output Report................................................................30 Using the Flash Tool (optional) .........................................................31

Session 2: Complete Expander Plant......................... 33


Building the Flow Sheet (required)....................................................33 Modifying the Stream Data (required)...............................................38 Specifying the Process Unit Data (required).....................................39 Running the Simulation (required) ....................................................58 Reviewing the Simulation Results.....................................................59 Modifying the Simulation Defaults.....................................................59

Session 3: Presentation of Output ............................. 60


Modifying the Flow Sheet Stream Border Style ................................60 Displaying Stream Properties on the PFD ........................................62 Exporting the PFD to the Windows Clipboard...................................64 Producing a Stream Report in a Spreadsheet ..................................65 Creating Pages for Printing the PFD.................................................66 Creating Plots ...................................................................................70 Displaying Stream Results in HTML .................................................72 Block Diagrams.................................................................................73

Index.............................................................................. 76

http://avibert.blogspot.com

Introduction
What can PRO/II do?
PRO/II is a comprehensive process simulation program that runs as a Windows compliant application under Windows 98, Windows 2003, Windows ME, Windows NT (4.0), Windows 2000, or Windows XP. All its powerful simulation features, familiar to process engineers worldwide, are combined with the ease of the PROVISION Windows interface. Steady-state process flow sheets that include process units such as rigorous distillation columns, compressors, reactors, heat exchangers, mixers, and so on, may be built and simulated using PRO/II. It is designed to meet all your simulation needs, from simple single-unit models to complete plants of almost any complexity.

Simulation Status Conventions


PRO/IIs PROVISION interface contains a unique feature to assist you in building a process flow sheet. Buttons, icons, and in some cases entire screens are bordered in one of six colors: red, green, blue, yellow, gray, or black. They are used to indicate the status of data. The significance of each color is explained in Table I-1.

Table I-1: Color Significance


Color Red Green Blue Yellow Gray Black Significance Required data. Actions or data required. Optional or default data Data you have supplied Questionable data. A warning that a data value you supplied is outside the normal range. Data field is not available to you Data entry is not required

INTRODUCTION

How is this Tutorial Organized?


A hands-on approach has been taken and three sample sessions are provided. The first session simulates a minimal set of process units in a gas processing application. These include a flash drum, a valve, and an expander. If you are a new user of PRO/II you are advised to work through all of Session 1. In the second session, additional process units are added to complete an entire demethanizer/expander plant simulation. In each session, step-by-step instructions enable you to build the simulation, use the Process Flow Diagram (PFD) drawing tools to manipulate the flow sheet, run the simulation, and review the results. At each step, an illustration of the PROVISION display screen is provided. The third session is designed to introduce some of the many tools that PRO/II provides, to organize, format, and review results from the first two sessions. Many features are new or improved in version 7.1.

Where to Start?
PRO/II users, at all levels of experience, will benefit greatly from working with this tutorial. If you are a first-time user, you should work using this Tutorial Guide. Although not recommended, experienced users may skip the Tutorial Guide and move on to the Users Guide.

Where to Find Additional Help?


Detailed online HELP screens are provided by the PROVISION Graphical User Interface to assist you in building a flow sheet. These screens describe the use of each button, icon, etc., and supply brief descriptions of the calculation methods available. Sample PRO/II problems for refinery, gas processing, and petrochemical applications may be found in the PRO/II Application Briefs Manual. The PRO/II Reference Manual provides details on the basic equations and calculation methods used in the program. If you cannot find an answer to your problem in these documents, please contact your local PRO/II sales or support representative.

Description of the Problem


A demethanizer column is being used to remove methane from a product gas stream in an expander plant. Changes in the upstream process units have resulted in fluctuations in the composition of the inlet gas stream to the expander plant. Your job is to make sure the liquid product purity specifications are maintained. Also, the production department is interested in knowing how this feed composition change will affect the following: The process flow sheet is shown in Figure I-1, and the feed composition is presented in Table I-2.

PRO/II TUTORIAL GUIDE

June 2005

Note: Both Sessions 1 and 2 assume that ENGLISH units of measure were selected as the default units for input and output data.

Figure I-1: Expander Plant Flow Sheet

Table I-2: Feed Stream Information


Component NITROGEN METHANE ETHANE PROPANE IBUTANE Mole % 7.91 73.05 7.68 5.69 0.99 Flow rate (m3/s) Temperature (F) Pressure (psia) Component NBUTANE IPENTANE PENTANE HEXANE HEPTANE 8.0 120.0 602.7 Mole % 2.44 0.69 0.82 0.42 0.31

INTRODUCTION

How to Proceed?
Lets get started with using PRO/II. Session 1 simulates only three process units of the flow sheet shown in Figure 1-1. By working through this exercise, you will gain familiarity with the basic features of the simulator. You can complete the simulation of the entire flow sheet by continuing with Session 2, which demonstrates advanced features of PRO/II and introduces some of the PFD tools. Finally, Session 3 explores some of the tools to analyze the results of the simulation. Some users may wish to jump right in and skip some (or all) of this tutorial. At any time, whenever you are comfortable using the program, feel free to leave the tutorial and begin working on your own simulations.

PRO/II TUTORIAL GUIDE

June 2005

http://avibert.blogspot.com

Session 1: Separator
Three process units -the separator, liquid pressure valve, and expander will be simulated in this first tutorial session. The reduced plant process flow sheet for this session is shown in Figure 1-1. The composition of the feed to the flash drum is identical to the feed stream, to the gas-gas heat exchanger in Figure 1-1. This feed composition is given in Table I-2 (above).

Figure 1-1: Excerpt from Plant Flow Sheet Diagram

Starting PRO/II 1. 2. From the Windows Start menu, navigate to Programs, SIMSCI, PROII71. Left-click the mouse while the mouse cursor is positioned on the PROII 7.1 menu item.

Building the Flow Sheet (required)


1. 2. First, open a new flow sheet. Select New from the File menu.

An empty Untitled [Flowsheet] process flow diagram (PFD) window appears for laying down your process simulation as shown in Figure 1-2. The toolbar appears below the

SESSION 1: SEPARATOR

menu bar and above the main PFD window. Using the toolbar icons reduces the number of mouse actions required for a selection.

Figure 1-2: PRO/IIs Graphical User Interface

The floating PFD palette, for adding streams and units, appears first at the right of the flow sheet window. The floating PFD palette may be moved anywhere on the desktop by clicking on its title bar, holding the left mouse button down, and dragging it to its new location. The floating Run palette can be relocated in the same manner.

Process Units Start building the process flow sheet for this session by laying down each process unit and stream, one by one, on the PFD. Use Figure 1-3 as a guide. 1. 2. 3. 4. For separator F1, move the mouse cursor to the floating PFD palette and click Flash icon. To add the unit, click anywhere on the main PFD window. Scroll down the PFD palette to select an expander (EX1) and place it on the PFD. Repeat the procedure for valve (V1).

10

PRO/II TUTORIAL GUIDE

June 2005

Figure 1-3: Adding Process Units to the PFD

Moving icons around on the main PFD window is easy. 5. 6. 7. Place the cursor on an icon, press and hold the left mouse button, and drag it to a new location. Release the mouse button to drop the icon at the position of the mouse cursor. Connect the unit operations by adding process streams to the PFD. Process streams define the heat and material flow of the simulation.

Process Streams To add process streams: 1. Click Streams on the floating PFD palette. The cursor changes to an arrow with an S attached. You can now add streams to your flow sheet. Notice that all possible OUTLET ports appear on each unit as soon as Streams is selected. The required outlet ports are colored red, while the optional ones are green.

SESSION 1: SEPARATOR

11

Figure 1-4: The PFD: Process Units and Streams

2.

Add streams by clicking at the origin of the stream (often an outlet port). To lay down an external feed stream, click on an unoccupied part of the PFD. The cursor remains attached to the stream, which is now anchored to the origin point. Click again at the destination of the stream (often an inlet port on a unit icon). Continue until all streams have been added to the PFD as shown in Figure 1-4.

3.

Note: As soon as you click a streams origin point, the OUTLET ports disappear. Only the valid INLET ports appear and are colored red. 4. Click Streams again or press the ESC key to exit the streams mode.

Note: By default, the names of the process units and streams are automatically assigned by the program. For example, S1 for the first stream, F1 for the first flash drum unit, V1 for the first valve, and so on. At this point it is worth noting that the unsatisfied data are indicated on the PFD. Units that have unsatisfied internal data (all of them in this flow sheet, at this point) have red identification strings, F1, bordered in red. Streams for which data must be supplied (external feed streams) also have red identifiers, S1, bordered in red. Internal (connecting) and product streams have black identifiers, S2, bordered in black. Note: Units that have unsatisfied connectivity requirements (i.e., missing feeds or an insufficient number of product streams) also have red identifiers bordered in red.

12

PRO/II TUTORIAL GUIDE

June 2005

Correcting the PFD Diagram


Let us now experiment with adjusting the PFD diagram. Some icons may not be positioned exactly where you would like them to be. Perhaps, there are some unwanted icons such as extra streams. It is simple to adjust the layout. Here are a few ways to try out: 1. To move an icon, highlight it, press and hold the left mouse key, and drag the icon to its new location. Streams are moved by highlighting either ends and dragging them. Only the end that you highlight moves when you drag it; the other end remains anchored. To refresh the PFD quickly, select Redraw from the View menu. To open the menu that provides a variety of options such as, Delete, Rotate, and Flip (among others), right-click the icon. To activate the Data Entry dialog, double-click the icon.

2. 3. 4.

Defining the Component List (required)


The feed is composed of the paraffins - methane through heptane, and nitrogen. All these components are found in the extensive PRO/II component databanks. To define the component list, open the Component Selection dialog by using either of the following methods: 1. Click the benzene molecule icon outlined in red, on the toolbar.

Note: The red color of the icon border indicates that data entry is required. 2. 3. Click Input at the top of the screen. Next, click Component Selection. (see Figure 1-5). The Component Selection window is displayed.

SESSION 1: SEPARATOR

13

Figure 1-5: Selecting Components

4.

Enter the first component, Nitrogen, in the Component field. This is illustrated in Figure 1-6.

Figure 1-6: Component Selection Window

14

PRO/II TUTORIAL GUIDE

June 2005

5.

Click Add -> to move this component to the List of Selected Components field (see Figure 1-7).

Figure 1-7: Component Selection Window 6. Repeat the previous two steps for each of the other components: METHANE, ETHANE, PROPANE, IBUTANE, NBUTANE, IPENTANE, PENTANE, HEXANE, and HEPTANE (these are the valid library component names). Figure 1-8 illustrates the display after all the components are added.

Figure 1-8: Component Selection Window

SESSION 1: SEPARATOR

15

Note: The border of the List of Selected Components is now blue. This color indicates that data requirements were satisfied with user-supplied data. 7. There are no red-bordered fields, indicating no additional required entries. Click OK to exit this window.

Note: It is possible to select components without typing their names. 8. 9. Click Select from Lists in the Component Selection window. This opens another dialog that groups various components into lists. Choose a list, highlight the desired components in the Component Full Name field, and click Add Components. The highlighted components are added to the simulation. All the components in this example are included in the Most Commonly Used list.

Defining a Thermodynamic Method Set (required)


The method used to calculate equilibrium K-values and liquid and vapor phase enthalpies will be the Peng-Robinson equation of state (EOS). It provides good results for systems of similar components such as all the paraffins system in this exercise. The noncondensable component Nitrogen should not be a problem at the anticipated operating conditions. To select the thermodynamic method, open the Thermodynamic Data dialog using one of the following procedures: 1. Click the phase diagram icon outlined in red, on the toolbar, to select from a list of common thermodynamic methods, generalized correlations, liquid activity methods, special packages, user-added, or equation of state methods

Or 2. Select Input at the top of the screen and choose Thermodynamic Data as shown in Figure 1-9.

16

PRO/II TUTORIAL GUIDE

June 2005

Figure 1-9: Defining Thermodynamic Methods

This opens the Thermodynamic Data dialog illustrated in Figure 1-10. It offers many systems of thermodynamic calculation methods. For example, the predefined PengRobinson thermodynamic system uses the Peng-Robinson cubic equation of state to calculate K-values, liquid and vapor phase enthalpies and entropies, and vapor phase densities. It uses API methods to calculate liquid densities. To select a predefined thermodynamic system of methods within the Thermodynamic Data window: 1. 2. Select Most Commonly Used option from the list labeled Category. Select Peng-Robinson from the Primary Method list box, as shown in Figure 110.

SESSION 1: SEPARATOR

17

Figure 1-10: Thermodynamic Data Entry Window

3.

Click Add-> to include this method set in the list of Defined Systems (see Figure 1-11).

Note: Since we have included only a single method set, it serves as the Default System (see Figure 1-11). You may set or change the default system whenever more than one method set is included in a simulation.

Figure 1-11: The Completed Thermodynamic Data Entry Window

4.

Click OK from the Thermodynamic Data window.

18

PRO/II TUTORIAL GUIDE

June 2005

Note: PRO/II offers extensive options to modify the predefined method sets. The rather well behaved system of components in the current exercise will be adequately modeled using an unmodified, predefined method set. The Modify button in Figure 1.11 opens up a cascading series of dialogs that allow you to customize any predefined system. The options are extensive, but are beyond the scope of this tutorial. To use this feature, highlight a thermodynamic set in the Defined Systems list and click Modify to open the Modification dialog. To delete a method set from the simulation, highlight it in the Defined Systems list and click Delete. Remember that every simulation requires at least one thermodynamic method set to be listed in the Defined Systems list.

Specifying Unit Operation and Stream Data (required)


The process units and streams on the PFD require configuration and operating data before the simulation can proceed. As the model builder, you must open each icon and supply the required data. Every unit operation icon requires some data. In addition, the source streams that feed into the flow sheet require complete data. Streams that originate as products from unit operations will be computed automatically as the simulation solves. To open the main data entry window of any icon, use any one of the following procedures: 1. 2. Position the cursor on an icon and double-click the left mouse button. The main data entry window for the icon opens. Position the cursor on an icon and single-click the right mouse button to display the options menu. Left-click Data Entry on the menu to open the icons main data entry window. To select a unit or stream, left-click the icon. The selected unit or stream will be highlighted in green. At the top of the screen, select Input and click Data Entry to open the main data entry window of the icon.

3.

There is no particular order necessary for data entry; start at any unit operation or stream. When specifying stream data for this example problem, only feed stream S1 requires data to be supplied.

Analyzing the Data Requirements


Let us consider the feed gas stream, S1. In the PFD flow sheet, stream S1 feeds separator F1. In the overall flow sheet of Figure I-1, stream 1 feeds heat exchanger E1 and stream 10 directly feeds separator F1. Streams 1 and 10 have the same composition, but have different temperatures and pressures. For now, assume stream S1 on our PFD corresponds to stream 1 in Figure I-1, even though it feeds separator F1 and not heat exchanger E1. To accommodate this, stream S1 will be given the composition of stream 1, but will use the required temperature from the chiller (-84F). Also, the pressure will be set to match the outlet pressure of chiller E2 (587.7 psia). Adjustments will be made later, in Session 2.

SESSION 1: SEPARATOR

19

Stream Data
As noted above, stream S1 must be adjusted to work properly in our simplified flow sheet. Table 1-3 shows the adjusted data for stream S1.

Table 1-3: Feed Stream Information


Component NITROGEN METHANE ETHANE PROPANE IBUTANE Mole % 7.91 73.05 7.68 5.69 0.99 Flow rate (m3/s) Temperature (OF) Pressure (psia) 1. 8.0 -84.0 587.7 Component NBUTANE IPENTANE PENTANE HEXANE HEPTANE Mole % 2.44 0.69 0.82 0.42 0.31

Double-click stream S1 to open the Stream Data dialog box (Figure 1-12).

20

PRO/II TUTORIAL GUIDE

June 2005

Figure 1-12: The Stream Data Entry Window

2.

Enter data in the red-bordered data entry fields. Optionally, you may enter the description FEED for this stream.

To enter flow rate and composition data: 1. Click Flowrate and composition.

Select Total Fluid Flowrate in the Fluid Flowrate Specification group box, and specify value 8 for the total stream flow rate as shown in Figure 1-13.

SESSION 1: SEPARATOR

21

Figure 1-13: The Stream Data Flowrate and Composition Window The rate we have entered has the units of pound-moles per hour. However, Table 1-1 indicates that the rate should be eight cubic meters per second. It is simple to change the dimensional units of this field. To change the dimensional units: 1. 2. Click to highlight the rate field (where 8.0000 are displayed). Click UOM (upper-left in this DEW) to open the Convert Units-of-Measure window as shown in Figure 1-14.

Figure 1-14: Convert Units-of-Measure Window

22

PRO/II TUTORIAL GUIDE

June 2005

3. 4. 5.

Select Vapor Volume (Vap. Vol.) from the Basis list box. Select m3 from the second column, and sec from the third column. Click Change Units to return to the Stream Data Flowrate and Composition window. Fill in the fields for each component in the Composition Mole list, using the mole percentages listed in Table 1-1 (see Figure 1.15).

Figure 1-15: Stream Data-Flowrate and Composition DEW

6.

Press TAB to move to the next field. For example, enter 7.91 for Nitrogen. Press TAB and enter 73.05 for methane, and so on. Figure 1-15 shows the filled-in values through Pentane. If desired, use the scroll bar to move through the list. After the composition data has been entered, click OK to return to the main Stream Data window.

7.

To specify the feed stream temperature and pressure: 1. 2. For the First Specification data field, select Temperature option, as shown in Figure 1-16. Enter the temperature value of 84.

Note: The UOM is F.

SESSION 1: SEPARATOR

23

Figure 1-16: Stream Data DEW

3.

Choose Pressure from the Second Specification drop-down list box and enter a value of 587.7 (psia). The completed Stream Data window should appear as in Figure 1-17.

Figure 1-17: The Completed Stream Data Entry Window 4. No fields remain bordered in red, so, click OK to return to the PFD view.

24

PRO/II TUTORIAL GUIDE

June 2005

Unit Operations Data


Supplying data for each unit operation is similar to supplying stream data. Lets start with the flash drum unit, labeled F1. 1. Double-click the flash drum unit icon on the PFD to open the main Flash Drum data entry window. Optionally, type in a unit description. For example, SEPARATOR.

Note: The border of the pressure drop data field is colored green. An entry here is not required because PRO/II automatically assumes a default pressure drop of 0.0 psi if you do not enter either a pressure or a pressure drop value. 2. Click Unit Specification and select Duty as the second specification for the flash drum. A default value of 0.0 is provided by PRO/II for this duty. Note the green border.

Figure 1-18: The Flash Drum Data Entry Window

Figure 1-18 illustrates the completed Flash Drum main DEW. There are no red-bordered areas left that require data. 3. Click OK to continue.

SESSION 1: SEPARATOR

25

Saving the Simulation


1. 2. Save the data and flow sheet entered so far and give the simulation a name. From the File menu on the main PRO/II window, select Save As... (see Figure 119).

Figure 1-19: Saving Simulation Data

3. 4. 5.

Supply a name for the simulation data file by typing SESSION1. If desired, use the drop-down navigation window to select a storage directory. Click OK to continue. The main PRO/II PFD window now should look similar to Figure 1-20.

26

PRO/II TUTORIAL GUIDE

June 2005

Figure 1-20: The Main PRO/II with PROVISION Window

Note: The unit identifier for the flash drum unit, F1, is no longer bordered in red. This means that all process data required for this unit has been specified. 6. Continue entering data for the other process units.

To provide data for the Valve: 1. Double-click the valve icon on the PFD to bring up the Valve data entry window.

Figure 1-21: The Valve Data Entry Window Optionally, you may enter a description for the unit. For e.g., VALVE. 2. 3. Select the Outlet Pressure option in the Operating Parameter field and enter the value of 125 psia. Click OK to return to the main window. The completed Valve data entry window is shown in Figure 1-21.

SESSION 1: SEPARATOR

27

To provide data for the Expander: 1. Double-click the expander icon to open the Expander unit data entry window. Optionally, you may enter a description for the unit, e.g., EXPANDER. 2. 3. 4. Select the Outlet Pressure option in the Pressure and Work Specifications field and input a value of 125 psia. Change the Adiabatic Efficiency entry from its default value of 100% to 80% as shown in Figure 1-22. Click OK to continue.

Figure 1-22: The Completed Expander Data Entry Window

The main PRO/II window will now look like Figure 1-23.

28

PRO/II TUTORIAL GUIDE

June 2005

Figure 1-23: PRO/II After Input of all Required Data

Note: There are no remaining toolbar icons, unit identifiers, or stream identifiers bordered in red. That means all process data required for this flow sheet have been specified. 5. 6. Save the simulation data file again under the name SESSION1 by selecting Save under the File menu. Run the simulation.

Running the Simulation (required)


Once the flow sheet is built, and all the required data has been entered, you may run the simulation. Click Run on the main PRO/II toolbar to begin the calculations.

Alternatively, you can more closely control the simulation via the Run palette. To display the Run palette, go to the View menu, highlight Palettes, and click Run. From the Run palette, you can: 1. Click Check Data on the floating Run palette to check if there are any errors in your flow sheet. If there are errors or warnings, the Status button on the Run palette will be outlined in red or yellow. Click Status to bring up the Flowsheet Status window. This window displays the errors or warning messages generated by the flow sheet data. Correct the errors in your flow sheet.

2. 3.

SESSION 1: SEPARATOR

29

If there are no errors or warnings, the Status button will be outlined in black. To continue to run the simulation from this point: Click Run on the Run palette to begin the calculations.

In a few seconds, you are ready to review the results.

Reviewing the Simulation Results


As PRO/II performs the flow sheet calculations, the color of each PFD icon changes from green to blue. 1. Click Messages on the Run palette to display the Messages window. The Messages window contains a scrollable history of the completed calculation steps. Click Messages again to close the Messages window.

2.

Viewing the Output Report


You must instruct PRO/II to create the output report before it can be viewed. 1. Click on the toolbar to bring up the Generate Report for Session1 window.

Once PRO/II completes the output report generation, the stream and unit operation results (in file SESSION1.OUT) automatically appear in a Programmers File Editor window (see Figure 1-24).

Figure 1-24: Viewing Output Reports Using Programmers File Editor Note: The Programmers File Editor program is the default editor for viewing output reports.

30

PRO/II TUTORIAL GUIDE

June 2005

Use the scroll bar to view the output. 2. 3. While in the Programmers File Editor window, select the Print option from the File menu to print the output, if desired. Select the Exit option from the File menu in the Programmers File Editor to close the output report.

Using the Flash Tool (optional)


PRO/II contains a useful tool that allows you to quickly perform a flash calculation on a stream where the input data has been provided. This Flash Hot-key provides an easy, rapid way to determine the vapor and liquid content and composition of any stream. Lets use this tool to determine the amount of vapor and liquid in stream S1, the feed to the separator F1: 1. 2. Click stream S1 to highlight. Click the Flash Hot-key button on the toolbar.

A window displaying the stream condition, including the vapor and liquid mole fraction, enthalpy, and the composition in each phase (see Figure 1-25) appears. This information is saved in a file each time the flash tool executes.

Figure 1-25: Flash Results for Stream S1

Note: The Programmers File Editor is the default editor for viewing output reports. The Editor item on the Options menu provides a convenient way to change this. Simply

SESSION 1: SEPARATOR

31

enter the full directory path and file name of any other installed text editor, such as Notepad or WordPad. This completes Session 1 of the tutorial. You may take a break if you want to. If you continue with Session 2, you will learn about other interesting PRO/II features, including the following: 1. 2. 3. 4. 5. Displaying different views of a single flow sheet (e.g., full and magnified views) in multiple viewport windows. Using the Specification and Define features. Entering data for a column. Changing the default dimensional units. Modifying the thermodynamic property calculation methods.

Taking Session 2 is not a prerequisite for using PRO/II. You could end your tutorial session here and begin working on your own simulations. Or, you can come back to the tutorial any time, if you decide to continue later.

32

PRO/II TUTORIAL GUIDE

June 2005

Session 2: Complete Expander http://avibert.blogspot.com Plant


In this tutorial session, the complete demethanizer expander plant shown in Figure I-1 will be simulated. We will continue working with the flow sheet created in Session 1, laying down the remaining unit operations and streams on the PFD.

Building the Flow Sheet (required)


To begin this session, PRO/II needs to be running the simulation from session 1. To open the flow sheet previously saved under the name Session1: 1. 2. Select Open from the File menu on the main PRO/II window. Select the file SESSION1.PRZ from the files listed in the drop-down list box.

PRO/II loads this database file and displays the flow sheet from Session 1 on the PFD. All the data previously entered in all the Data Entry Windows is still there. If the PFD palette is not displayed: Click the PFD Hide/Display button on the toolbar.

To hide or display the Run palette: 1. 2. 3. Select Palettes from the View menu and uncheck the Run option. To bring the Run palette back into view, recheck the Run option from ViewPalettes menu. With Figure I-1 as a guide, add the missing unit operations to the PFD. Select the additional process units - two heat exchangers, a compressor and a column - and place them on the PFD.

Note: To add multiple process units of a particular type, click the unit icon on the PFD palette. Then, hold down the <Shift> key while clicking the PFD. 4. 5. 6. When the column is placed on the PFD, PRO/II displays an additional window that requires you to specify the number of trays. Specify 10 trays. Include a reboiler by making sure a check mark appears in the Reboiler check box. Omit the condenser by clicking the Condenser check box to remove the check mark. The complete window is illustrated in Figure 2-1a.

SESSION 2: COMPLETE EXPANDER PLANT

33

Figure 2-1a: Column Configuration Window Your PFD should now appear similar to Figure 2-1b. The placement of the unit operation icons that you added probably will be different than shown. If you previously ran Session 1 successfully, the unit operations and streams (that already have been solved) appear in dark blue. Note: The default title of the PFD window is simply Flowsheet, but PRO/II allows you to change it. Position the cursor anywhere in the PFD window. Click the right mouse button to display Set Title . Click Set Title to open the Set Window Title DEW. Enter your new title and press OK. For this tutorial, we will leave the name unchanged.

Figure 2-1b: PFD with Additional Process Units PRO/II allows you to open multiple view windows of the simulation PFD drawing. This feature allows you to easily view process units on large flow sheets. To open a second view of the flow sheet PFD, and to tile both windows horizontally, either:

34

PRO/II TUTORIAL GUIDE

June 2005

1. or 2. 3.

Select New View from the Window menu on the main PRO/II menu bar to bring up the Flowsheet:2 window.

Click

on the main PRO/II toolbar to bring up the Flowsheet:2 window.

Next, open the Window menu on the main PRO/II menu bar and select Tile Horizontally.

Note: The New View button may not be visible on the toolbar, since not all the available icons will fit if the window has been resized or the toolbar has been modified. It is simple to add, remove, or rearrange items on the tool bar. Click the View menu Toolbar item to open the Toolbar Customization dialog. Make sure New View is in the Selected Items list box. Use the Up, Down, Top, and Bottom buttons to rearrange the items. Toolbar icons display left-to-right, corresponding to the top-to-bottom order of entries in the Selected Items list box. To view the entire PFD in the Flowsheet:1 window, and to focus on the two heat exchangers in the Flowsheet:2 window, follow the steps below: 1. 2. 3. 4. 5. 6. 7. 8. To select the Flowsheet:1 window, click on its title bar. Click on the toolbar to view the entire flow sheet in window Flowsheet:1.

Select the Flowsheet:2 window by clicking on its title bar. Click on the toolbar of the main PRO/II window. The cursor changes to a magnifying glass. Move the (magnifying glass) cursor to the Flowsheet:2 window. Click and hold down the left mouse button near the two heat exchangers. While holding down the left mouse button, drag the mouse until the two heat exchangers are enclosed in a blue selection rectangle. Release the mouse button. The area bounded by the selection rectangle zooms to fill the entire Flowsheet:2 window (see Figure 2-2).

SESSION 2: COMPLETE EXPANDER PLANT

35

Figure 2-2: PFD with Multiple View Windows

9.

Click Streams on the floating PFD palette and lay down the following streams: a. b. c. d. e. f. A connector stream from the top of the demethanizer column to the inlet of one side of the first heat exchanger. A connector stream from the outlet of this side of the heat exchanger to the inlet of the compressor unit. A product stream from the outlet of the compressor unit. A connector stream from the second outlet of the first heat exchanger to the inlet of the second heat exchanger. A product stream from the outlet of the second heat exchanger. A product stream from the reboiler of the column unit.

Note: Lay down streams that connect units visible in the different view windows by pulling the stream from one view to the other. This is especially helpful for large flow sheets.

36

PRO/II TUTORIAL GUIDE

June 2005

You can now close the second window, Flowsheet:2, and maximize the Flowsheet:1 window. 1. 2. Double-click the control-menu box of Flowsheet:2 to close it. Click the maximize button of the Flowsheet:1 window to maximize it.

The PFD should look similar to Figure 2-3 after all the units and streams have been added.

Figure 2-3: PFD with Complete Flow Sheet

As mentioned in Session 1, the composition of the feed stream to the first unit (the gas-gas heat exchanger) is identical in composition to the stream already laid down as the feed to the flash drum, S1. To avoid repeating all data entry steps for the feed to the first process unit, we disconnect this stream from the flash drum unit, and reconnect it to the first heat exchanger by following these steps: 1. Move the mouse to the end of stream S1 attached to the flash drum. The mouse pointer should change from a left arrow to a right arrow, when the pointer is very close to the end of the stream. Click and hold the left mouse button, and move the end of stream S1 to the inlet of the first heat exchanger E1. Release the mouse button. The feed stream should now be reconnected to the heat exchanger E1.

2. 3.

Note: To move the origin of a feed stream (stream S1 for example), click on the arrow for that stream. Hold the left mouse button down and pull the stream to its new horizontal position before releasing the mouse button.

SESSION 2: COMPLETE EXPANDER PLANT

37

4.

Repeat the steps above to connect the outlet stream from the expander EX1 to tray 1 of the column unit. Again, repeat the same steps to connect the outlet stream from the valve unit to tray 3 of the column, and to connect the outlet of the second heat exchanger to the inlet of the flash drum.

We have now completely built the flow sheet for the total demethanizer/ expander plant as shown in Figure 2-4 below.

Figure 2-4: Reconnected PFD for Complete Flow Sheet

Note: There are no stream identifiers bordered in red, since we have merely reconnected the previously defined flash drum feed to the gas-gas heat exchanger. Before you can run this simulation, you need to provide data for the four units whose identifiers are bordered in red the two heat exchangers, the compressor, and the columnand change the temperature and pressure of stream S1.

Modifying the Stream Data (required)


To change the temperature of stream S1 from -84F to 120F, and the pressure from 587.7 psia to 602.7 psia: 1. 2. 3. Double-click stream S1 on the PFD. The Stream Data window for this stream appears. Change the temperature in the First Specification field from -84F to 120F. Change the pressure in the Second Specification field from 587.7 psia to 602.7 psia. The modified Stream Data window appears as shown in Figure 2-5.

38

PRO/II TUTORIAL GUIDE

June 2005

Figure 2-5: Modified Stream Data Window for Stream S1

4.

Click OK to save the changes and continue.

Specifying the Process Unit Data (required)


Heat Exchangers
Begin by specifying process data for the first heat exchanger, E1: 1. 2. To select E1, double-click its icon on the PFD. The Heat Exchanger data entry window as shown in Figure 2-6 appears. Optionally, type in GAS-GAS HX as the unit description.

SESSION 2: COMPLETE EXPANDER PLANT

39

Figure 2-6: The Gas-Gas Heat Exchanger Data Entry Window

3. 4.

Use Process Stream to specify whether the process inlet and outlet streams are on the cold or hot side. Click Process Stream in the Hot Side field. The Heat Exchanger-Process Streams data entry window appears as in Figure 2-7.

Figure 2-7: HX-Process Streams

40

PRO/II TUTORIAL GUIDE

June 2005

5. 6. 7. 8. 9.

Select stream S1 (the reconnected feed stream) to feed the hot side, and stream S9 (the feed to the second heat exchanger) as the hot side product. Select stream S6 (the column overhead) as the feed to the cold side, and stream S7 (the compressor feed) as the cold side product. Return to the main data entry window for unit E1. The hot side inletcold side outlet stream temperature approach is required to be 10F. Select Specification on the Heat Exchanger data entry window. The Heat Exchanger Specifications window shown in Figure 2-8 appears. Select the Hot InletCold Outlet Temperature Approach specification option from the Specification drop-down list box and enter a value of 10F.

Figure 2-8: The Heat Exchanger-Specifications Window

10. Return to the main Heat Exchanger data entry window and input a hot side pressure drop value of 10 psi and a cold side pressure drop value of 5 psi in the appropriate Pressure Drop data entry fields (see Figure 2-9).

SESSION 2: COMPLETE EXPANDER PLANT

41

Figure 2-9: The Heat Exchanger Data Entry Window

11. After returning to the PFD, enter data for the second heat exchanger, E2, by repeating the steps above (see Figures 2-10 and 2-11).

Figure 2-10: The Chiller Data Entry Window

12. Optionally, give this heat exchanger the description CHILLER. This heat exchanger is required to further cool the gas feed S9 down to 84F with a pressure drop of 5 psi across the hot side of the exchanger (see Figures 2-10 and 2-11).

42

PRO/II TUTORIAL GUIDE

June 2005

Figure 2-11: The Chiller Specifications Window

After all the required data has been entered, the data entry window for this exchanger should appear as shown in Figure 2-12.

Figure 2-12: Chiller Data Entry Window

Compressor
1. Double-click the compressor icon (C1) to open the main data entry window for this unit (see Figure 2-13).

SESSION 2: COMPLETE EXPANDER PLANT

43

2.

Enter the compressor adiabatic efficiency as 75% in the Efficiency or Temperature Specification field.

Figure 2-13: Compressor Main Data Entry Window

The work done on the compressed gas in unit C1 should equal the work done by the gas in the expander EX1. This specification may be made through the DEFINE feature of PRO/II: 1. 2. 3. Select Work from the Pressure, Work, or Head Specification drop-down list box. Click once in the data entry field directly beside the Pressure, Work or Head Specification drop-down list box. Click Define (see Figure 2-13), which is now active on the data entry window toolbar. This brings up the Definition data entry window (see Figure 2-14).

44

PRO/II TUTORIAL GUIDE

June 2005

Figure 2-14: Compressor Definition Window

4. 5.

Click the check box for Set Up Definition for Compressor Work. Click the red-linked text Parameter to bring up the Parameter window. Select Expander unit EX1 the Constant/Stream/Unit drop-down list box in the Parameter window (see Figure 2-15).

6.

Figure 2-15: Parameter Window

7. 8.

Click the red-linked text Parameter... in the Parameter window to bring up the Parameter Selection window (see Figure 2-16). Select Actual Work from the Parameter data entry field (see Figure 2-16).

SESSION 2: COMPLETE EXPANDER PLANT

45

Figure 2-16: Parameter Selection Window

Figures 2-17 through 2-19 show the completed Parameter, Definition, and Compressor data entry windows.

Figure 2-17: Completed Parameter Window

46

PRO/II TUTORIAL GUIDE

June 2005

9.

Click OK to return to the Definition window (Figure 2-18).

Figure 2-18: Completed Definition Window

10. Click OK to return to the main Compressor data entry window shown in Figure 219.

Figure 2-19: Completed Compressor Data Entry Window

11. Click OK to save the data and return to the main PFD window.

SESSION 2: COMPLETE EXPANDER PLANT

47

Column The red label T1 of the column indicates data entry is required. 1. Double-click any part of the column icon on the PFD to open the main data entry window for this unit.

Note: The Pressure Profile, Feeds and Products, and Performance Specifications buttons on the icon are red, indicating required user input.

Figure 2-20: Column Main Data Entry Window

2. 3. 4.

to specify the phase and tray location of the feed and product Click streams. The Column Feeds and Products data entry window should appear. Specify that stream S4 (the expander product) is fed to tray 1 and S5 (the valve product) fed to tray 3. Enter a rate of 500 lb-mol/hr for the overhead vapor product S6 from tray 1. Refer Figure 2-21, which shows this window with all the data filled in.

48

PRO/II TUTORIAL GUIDE

June 2005

Figure 2-21: Column-Feeds and Products Data Entry Window

5.

As soon as you click OK, PRO/II displays the Transfer to Specification dialog (see Figure 2-21A).

This gives you the option to use the overhead rate just entered for stream S6 as a performance specification. We are more interested in the purity of the (liquid) bottoms product (stream S11 in this example). We will enter a performance specification on that stream very soon.

Figure 2-21A: Transfer to Specification Option Window

1.

Click NO to reject the option and return to the main Column data entry window.

2.

Click in the main Column data entry window to specify the pressure of the top tray. The Column-Pressure Profile window appears (see Figure 2-22).

SESSION 2: COMPLETE EXPANDER PLANT

49

Figure 2-22: Column Pressure Profile Data Entry Window 3. Specify a value of 125 psia for the top tray pressure in the Overall Specification

field.
By accepting the default setting of no pressure drop per tray, no other data is required. Figure 2-22 shows the complete window. 4. Click OK to return to the main Column data entry window.

We now need to specify that the methane (C1) to ethane (C2) ratio in the bottoms product equals 0.015.

1.

Click on the main Column data entry window. This opens the Column-Specifications and Variables window.

Figure 2-23: Column-Specifications and Variables Window

50

PRO/II TUTORIAL GUIDE

June 2005

2. 3. 4.

Click the check box for Add Specifications and Variables and the Active check box on the right (see Figure 2-23). Click the red-linked text Parameter in the Specifications field to bring up the Parameter window (see Figure 2-24). Select Stream from the Stream/Unit drop-down list box. Select the column bottoms product stream (S11) as in Figure 2-24.

Figure 2-24: Parameter Window 5. 6. 7. Click the red-linked text Parameter to open the Parameter Selection window. Select Flowrate from the Parameter field and choose Selected Components from the Flowrate field. Select METHANE from both the Starting Component and Ending Component drop-down list boxes (see Figure 2-25).

Figure 2-25: Parameter Selection Window

SESSION 2: COMPLETE EXPANDER PLANT

51

8.

The completed Parameter window is shown in Figure 2-26. Click OK to continue.

Figure 2-26: Completed Parameter Window

9.

Click the green-linked text = sign in the Specifications field of the Column Specifications and Variables window as shown in Figure 2-27.

Figure 2-27: Column Specifications and Variables Window

10. Click the division sign / in the pop-up box. The resulting window should now appear as shown in Figure 2-28.

52

PRO/II TUTORIAL GUIDE

June 2005

Figure 2-28: Column Specifications and Variables Window

11. Click the red-linked text Parameter in the Specifications field to open the Parameter window. 12. Select Stream from the Constant/Stream/Unit drop-down list box. 13. Next, select stream S11(the bottom product) from the Stream Name drop-down list box as shown in Figure 2-9.

Figure 2-29: Parameter Window 14. Click the red-linked text Parameter... to open the Parameter Selection window.

SESSION 2: COMPLETE EXPANDER PLANT

53

15. Select Flowrate from the Parameter field, Selected Components from the Flowrate field, and ETHANE from both the Starting Component and Ending Component drop-down list boxes.

Figure 2-30: Completed Parameter Selection Window

16. Click OK to return to the Parameter window, which is now complete (see Figure 2-31).

Figure 2-31: Completed Parameter Window

17. Click OK to return to the Specifications and Variables window.

54

PRO/II TUTORIAL GUIDE

June 2005

Figure 2-32: Partially Completed Specification

18. Click the red-linked text value in the Specifications field of the Column Specifications and Variables window. Enter a value of 0.015 in the data entry field that appears. Press ENTER or Return (on your keyboard). Figure 2-33 shows the completed column purity specification on the bottoms product. Note: No elements of the specification are red.

Figure 2-33: Completed Specification

SESSION 2: COMPLETE EXPANDER PLANT

55

The column model in PRO/II requires a specific number of degrees of freedom before it can solve successfully. Too many degrees of freedom result in an indeterminate problem that cannot be solved uniquely. Too few degrees of freedom indicate that the problem is over-specified, and cannot solve because all the specifications cannot be met simultaneously. The PROVISION input windows are designed to help ensure that the number of degrees of freedom is correct, so that the model is properly defined. Each specification that is declared removes one degree of freedom. Each variable that is declared adds one degree of freedom. When the number of variables equals the number of specifications, the model is properly defined and can solve to a unique solution. Since this column has one specification, it also requires one variable. Looking at Figure 233, we see that PRO/II has (by default) added the reboiler duty as a variable. This is an acceptable choice for the needs of this simulation, and we will not alter it in this tutorial. If you wish to explore the available variables, click the blue-linked text Column T1 Duty of Heater REBOILER in the Variables field. This opens the Variable window shown in Figure 2-34.

Figure 2-34: Variable Window

19. Click the blue-linked text Duty of Heater REBOILER to view the Parameter Selection window. PRO/II has already selected Heat Duty from the Parameter list and has entered the REBOILER in the Heater field by default (see Figure 2-35).

56

PRO/II TUTORIAL GUIDE

June 2005

Figure 2-35: Completed Parameter Selection Window

20. Press Cancel to return to the Variable window. 21. Press Cancel to return to the Specifications and Variables window. 22. Press Cancel to return to the main column data entry window, as illustrated above in Figure 2-33. No elements are displayed in red, so the column does not require more data. 23. Click OK to save the data and exit the column. The main PRO/II window now is illustrated in Figure 2-36.

SESSION 2: COMPLETE EXPANDER PLANT

57

Figure 2-36: The PFD After Input of All Required Data

Note: There are no remaining toolbar icons, unit identifiers, or stream identifiers bordered in red. This means that all process data required for this flow sheet have been supplied. 24. Save the completed data file under the new name SESSION2. Use the Save As option from the File menu. Run the simulation.

Running the Simulation (required)


PRO/II provides a visual cue that the flow sheet is satisfied and ready to run by turning the border surrounding the run button from red to unbordered. Note: Unit operations previously solved in Session 1 are colored dark blue. New units added to the PFD are green in color. The flash unit also turns to a green color, since the feed stream to this unit has been redefined. To run the simulation: 1. 2. Click Run on the toolbar.

When there are errors, warnings or messages to report a message box will pop up to inform prior to executing the simulation. Should that occur, correct your flow sheet if necessary, or, if there are no errors and you determine the messages to be acceptable, click Continue to proceed with the simulation. on the toolbar.

Note: To quickly stop the calculations, click

58

PRO/II TUTORIAL GUIDE

June 2005

Reviewing the Simulation Results


As PRO/II performs the flow sheet calculations, the colors of the PFD icons change. The units and streams will all be blue in color when the flow sheet calculations are completed successfully. Units and streams that are unsolved or have problems will appear red, or yellow. The Messages window contains a scrolling history of the calculation steps as each step completes. Select the View/Messages menu item to bring up the Messages window. You may have to resize the main PFD window if the Messages window is hidden. This window will contain a scrolling history of the calculation steps completed. To view the output report, Click on the toolbar to bring up the Generate Report for Session2 window.

The stream and process unit results are automatically shown in a Programmers File Editor window. They have been written to disk storage in the file SESSION2.OUT.

Modifying the Simulation Defaults


In addition to the options presented in Sessions 1 and 2, PRO/II provides you with a number of optional data entry windows where you can specify your simulation preferences. PRO/II is flexible in allowing you to: 1. 2. 3. Input a problem description for the simulation. Specify the input and output default dimensional sets of units. Modify the chosen thermodynamic system of methods set.

Chapter 4, Building a Flowsheet of the PRO/II Users Guide presents step-by-step procedures for setting and changing the PRO/II global and simulation defaults.

SESSION 2: COMPLETE EXPANDER PLANT

59

Session 3: Presentation of Output


In this third tutorial session, you will learn how to use the tools available in PRO/II to produce output for use in a report about the completed demethanizer/ expander plant that you simulated in the previous sessions. The following reporting options will be illustrated: 1. 2. 3. 4. 5. 6. Changing the stream border style on the PFD. Displaying properties such as temperature and pressure, on the PFD. Cut and past the flow sheet PFD to your report. Setting up pages on the PFD for printing or exporting the PFD in pages. Viewing the stream results in HTML format with a standard viewer. Creating stream reports and plots in Excel.

Modifying the Flow Sheet Stream Border Style


Rearranging the icons, as shown in Figure 3.1, can clean up the PFD drawing. We are now ready to modify the stream border style to match a company standard for PFD drawings. The standard requires stream numbers to appear inside circle-shaped borders instead of rectangles. To change the border of stream labels: 1. Right-click a stream. This displays the pop-up actions menu shown in Figure 31.

Figure 3-1: Rearranged PFD Drawing

http://avibert.blogspot.com
60 PRO/II TUTORIAL GUIDE June 2005

2. 3.

Choose Display... from the pop-up actions menu to open the Stream Style window (Figure 3-2) Choose Circle from the drop-down list box for the Stream Label Border.

Figure 3-2: Stream Style Window

4.

Click OK to return to the PFD. You will see the style of the stream label change for the selected stream.

Note: You may select each stream individually or several streams at once. To make changes to multiple streams, simply drag a selection rectangle around the area containing the desired streams before right clicking. To use the circle border as the default border for subsequent streams on the PDF: 1. 2. Choose OptionsDrawing Defaults Stream Display... on the main menu bar. This opens the Stream Style window (Figure 3-3). Choose Circle from the drop-down list box for the Stream Label Border.

This option is available only when the Name option for Stream Label Type is selected.

SESSION 3: PRESENTATION OF OUTPUT

61

Figure 3-3: Default Stream Style Window

3.

Click OK to return to the PFD.

Displaying Stream Properties on the PFD


To display stream properties for individual streams on the PFD: 1. 2. 3. Select a stream, then right-click on it to display the right mouse menu. Choose Display... to open the Stream Style window. Select stream properties from the drop-down list box for Stream Label Type.

The default Property List is the Property Label List, which displays the stream name, the temperature, the pressure, and the flow rate of the stream.

62

PRO/II TUTORIAL GUIDE

June 2005

Figure 3-4: Stream Style Window

Figure 3-4a illustrates the PFD drawing after applying the Property Label List to streams S1 and S8.

Figure 3-4a: The PFD Using Stream Property Lists for Stream Labels

SESSION 3: PRESENTATION OF OUTPUT

63

Note: The Property Label List is the simplest and smallest of about a dozen predefined stream property lists that can be displayed for streams. These lists should be used selectively, since they can occupy a lot of PFD real estate. If the resolution of the display makes it difficult to read the property lists, use PRO/IIs Zoom feature to enlarge the table. Simply press PgUp to increase the resolution until the size of the text is comfortable to read. Note: It is also possible to create custom stream properties lists. Choose Stream Property Lists from the Options menu on the main PRO/II menu bar. This opens the Define Stream Property List dialog. Analogous tools are available for displaying properties of unit operations.

Exporting the PFD to the Windows Clipboard


PRO/II provides the option to copy the PFD drawing to the Windows clipboard. From the clipboard, it is simple paste the drawing in any word-processing or report-writing program, such as Microsoft Word or Corel WordPerfect. To export the PFD to the clipboard: 1. 2. 3. Choose FileExport from the main PRO/II menu bar. Click the radio button for Flowsheet Drawing. Click OK. PRO/II displays a dialog confirming that the flow sheet has been exported to the clipboard.

64

PRO/II TUTORIAL GUIDE

June 2005

Figure 3-5: Flow Sheet Exported to the Clipboard

Note: The PRO/II PFD Export feature produces a high quality rendering of the PFD drawing. Only the contents of the PFD window are captured. This is superior to the standard Windows Alt+PrtSc screen capture, which is limited to the display terminal resolution and captures the entire PRO/II program window.

Producing a Stream Report in a Spreadsheet


PRO/II can produce a preformatted stream report in Microsoft Excel. Figure 3-6 shows part of a stream report from the demethanizer flow sheet simulated in the previous tutorial sessions. Select the item ToolsSpreadsheet Stream Properties from the main PRO/II window. The stream report is automatically formatted and displayed in Excel.

SESSION 3: PRESENTATION OF OUTPUT

65

Figure 3-6: Stream Report in Excel

Note: Microsoft Excel must be configured to allow macros before this export feature will work. In Excel, navigate to ToolsMacroSecurity and ensure the security level is set to Medium (preferred) or Low. Next, close Excel to force the change to take effect.

Creating Pages for Printing the PFD


If your flow sheet is large, you may want to break the PFD into separate pages. To create one or more pages on the flow sheet PFD: 1. 2. 3. 4. Select the DrawPage from the main PRO/II window. Click the left mouse button at the location where you want to place a corner of the page. Hold down the mouse button and drag the cursor to the desired page size. Release the mouse button and the page outline will be drawn on the PFD as shown in Figure 3-7.

66

PRO/II TUTORIAL GUIDE

June 2005

Figure 3-7: Page Outline on a PFD

You can resize this page or make this page one cell in a grid of pages. To make changes to the page style: 1. Double-click the left mouse button on the page boundary to bring up the Page Setup window, as shown in Figure 3-7a.

SESSION 3: PRESENTATION OF OUTPUT

67

Figure 3-7a: Page Setup window

As you did for the entire PFD; you can also select pages of the flow sheet PFD and export them to the clipboard. Choose the radio button Selected Page of Flowsheet Drawing from the Export window (see Figure 3-5). Figure 3-8 shows the result of exporting the page from the PFD and pasting it in MS Word.

68

PRO/II TUTORIAL GUIDE

June 2005

Figure 3-8: Page Shown in Figure 3-8, in MS Word

SESSION 3: PRESENTATION OF OUTPUT

69

Figure 3-8a: Export of the Page Shown in Figure 3-8, in MS Word

Creating Plots
PRO/II has built-in plotting capability, which can be used to paste Excel plots directly into your reports. In the demethanizer flow sheet, you may want to view the column profiles. To set up your plot options: 1. 2. 3. Select the OptionsPlot Setup... from the main PRO/II window. Choose the running Excel version from the drop-down list box. Click OK to return to the PFD. Select the OutputGenerate Plot from the main PRO/II window to display the PRO/II - Generate Plot window, as shown in Figure 3-9. Select column T1 from the list displayed in the Units for Selection group box. Select the type of plot you want to generate from the Available Plots list.

To create a plot: 1. 2. 3.

70

PRO/II TUTORIAL GUIDE

June 2005

4. Click Plot to create the Excel plot. Output is shown in Figure 3-10.

Figure 3-9: Generate Plot Window

Figure 3-10: Column Profile Plot Created in Excel

SESSION 3: PRESENTATION OF OUTPUT

71

Displaying Stream Results in HTML


You can display stream results in HTML format using your default browser or the viewer provided by PRO/II. To change to the viewer: 1. 2. 3. 4. Select OptionsViewer from the main PRO/II menu. PRO/II will display the Viewer window as shown in Figure 3-11. Click the radio button Viewer in the Display Results Using: group box and click OK to return to the PFD. Select the stream for which you want to view the results. Right-click on the stream and choose View Results from the menu. Or, you can select the stream and click View on the toolbar. An HTML viewer window containing the stream results similar to Figure 3-12 will appear.

The HTML files are written to the C:\Windows\Temp directory. Your default browser may also allow you to print, save or export the results to other formats.

Figure 3-11: Viewer window

http://avibert.blogspot.com

72

PRO/II TUTORIAL GUIDE

June 2005

Figure 3-12: View Results window with PRO/II HTML Viewer

Block Diagrams
For large flow sheets, you may want to organize the flow sheet with subflowsheets. This is done using the PRO/II block diagram feature. To create a block diagram: 1. 2. Drag a selection rectangle around the section of the flow sheet containing the heat exchangers and the compressor, as illustrated in Figure 3-13. Right-click and select the Collapse item from the right mouse menu. The selection will be collapsed into a block diagram (called BD1 by default) as shown in Figure 3-14. within the block diagram in a separate view. Simply double-click on the block diagram to expand the icon. Block diagrams can also be nested.

3. Use the View 2 option, as described in Session 2, to view the unit operations

SESSION 3: PRESENTATION OF OUTPUT

73

Figure 3-13: Selected Area of PFD

Figure 3-14: Selected Section Collapsed into a Block Diagram

74

PRO/II TUTORIAL GUIDE

June 2005

Figure 3-15: View 1 is the top level PFD. BD1-View 1 is the block diagram BD1

This completes Session 3 of the tutorial. In this session, you have learnt some of the features that allow you to transfer your PRO/II results to reports and other applications. Your tutorial session ends here. Good luck working on your own flow sheets.

SESSION 3: PRESENTATION OF OUTPUT

75

Index
Adding streams........................................... 11 units................................................ 10 Analyzing data requirements.............. 19 Black-bordered items ........................... 5 Block diagram .................................... 74 Blue-bordered items............................. 5 Building the Flowsheet ................... 9, 33 streams........................................... 11 units................................................ 10 Chiller................................................. 42 Colors status conventions............................ 5 Column............................................... 48 condenser....................................... 33 feeds and products......................... 48 main data entry window.................. 48 overhead ........................................ 48 performance specification............... 50 pressure profile............................... 50 reboiler ........................................... 33 trays ............................................... 33 Component data entry window .......................... 13 selection ......................................... 14 composition .......................................... 9 Composition data entry window .......................... 22 defining stream............................... 21 Compressor ....................................... 44 adiabatic efficiency ......................... 44 define ............................................. 44 main data entry window.................. 44 specification.................................... 44 work................................................ 44 Connect units ................................................12 Correcting PFD diagram .....................13 Creating Plots .....................................71 Database file .PRI...............................33 Defining component list ......................13 Defining thermodynamic method set ..16 Dimensional units setting local units ............................22 Displaying multiple windows ...............34 Displaying stream properties ..............63 Displaying Stream Results in HTML ..........................................73 Expander adiabatic efficiency .........................28 main data entry window ..................28 outlet pressure ................................28 Expander plant .....................................6 Exporting PFD to clipboard.................65 Feed ports ..........................................11 Feed stream composition.....................................21 main data entry window ..................20 specification ....................................23 Feeds .................................................13 Flash drum duty .................................................25 main data entry window ..................25 pressure drop..................................25 Flash hot-key ..................See Flash Tool Flash Tool...........................................31 Floating PFD palette...........................10 Flow rate data entry window...........................21 modifying units of measure .............22 Flowsheet .............................................9 Flowsheet errors.................................29

76

PRO/II TUTORIAL GUIDE

June 2005

Gas-gas heat exchanger.................... 39 Gray-bordered items ............................ 5 Green-bordered items .......................... 5 Heat exchangers ................................ 39 hot product temperature ................. 41 main data entry window.................. 40 specifications.................................. 41 specifying process streams ............ 40 Library components............................ 15 Linked text.......................................... 45 Messages window........................ 30, 60 Modifying simulation defaults ............. 60 Modifying stream data........................ 38 Notepad ............................................. 32 Opening a file ..................................... 33 Page outline ....................................... 67 Page setup ......................................... 68 Palette.......................... See PFD palette Peng-Robinson .................................. 16 PFD palette ........................................ 36 Plot options ........................................ 71 Printing reports................................... 30 Process flow diagram........................... 6 Process unit description ...................................... 25 placing on PFD............................... 10

Producing stream report .....................66 program ................................................8 Reconnecting streams........................37 results...................................................8 Reviewing simulation results ........30, 60 Running the simulation .................29, 59 Saving the simulation .........................26 Starting a new simulation .....................9 Stream border style ............................61 Streams main data entry window ..................20 mode...............................................12 products ....................................12, 19 Streams data ................................19, 20 Thermodynamic method sets .............16 Unit Operation Column ...........................................48 Unit operations data .....................19, 25 Unsatisfied connectivity ......................13 Unsatisfied data..................................12 Valve main data entry window ..................27 outlet pressure ................................27 Viewing output reports........................60 Viewports multiple windows.............................34

Index

77