You are on page 1of 122

SimSci-Esscor

PRO/II 9.1 Getting Started Guide

August 1, 2011

All rights reserved. No part of this documentation shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Invensys Systems, Inc. No copyright or patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this documentation, the publisher and the author assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein.

The information in this documentation is subject to change without notice and does not represent a commitment on the part of Invensys Systems, Inc. The software described in this documentation is furnished under a license or nondisclosure agreement. This software may be used or copied only in accordance with the terms of these agreements.

2011 by Invensys Systems, Inc. All rights reserved. Invensys Systems, Inc. 26561 Rancho Parkway South Lake Forest, CA 92630 U.S.A. (949) 727-3200 http://www.simsci-esscor.com/ For comments or suggestions about the product documentation, send an e-mail message to ProductDocumentationComments@invensys.com.

All terms mentioned in this documentation that are known to be trademarks or service marks have been appropriately capitalized. Invensys Systems, Inc. cannot attest to the accuracy of this information. Use of a term in this documentation should not be regarded as affecting the validity of any trademark or service mark. Invensys, Pro/II, SimSci-Esscor are trademark of Invensys plc, its subsidiaries and affiliates. All other brands may be trademarks of their respective owners.

Contents
Introduction
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii About PRO/II Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .viii About SimSci-Esscor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .viii Where to Find PRO/II Software Documentation. . . . . . . . . . . . . . .ix Online Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Where to Find Additional Help. . . . . . . . . . . . . . . . . . . . . . . . . x Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi Authorized SimSci-Esscor Technical Support Centers. . . . . . xii

Chapter 1 Installation Requirements


Verifying the Package Contents . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1 Installation Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1 Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1 Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 PRO/II 9.1 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 SIM4ME PORTAL Requirement . . . . . . . . . . . . . . . . . . . . .1-3 Disk Space Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3 Virtual Memory Requirement . . . . . . . . . . . . . . . . . . . . . . . . .1-3 Security Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4 USB Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4 Switching to USB Security . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4 FLEXlm Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4 Switching To Any FLEXlm-Based Security. . . . . . . . . . . . . .1-5 Delayed Reboot of PRO/II When Using FLEXlm Security . .1-5

Chapter 2 Installing PRO/II Software


Installing a Local Version of PRO/II Software . . . . . . . . . . . . . . .2-2 Directory Structures and Desktop Icons . . . . . . . . . . . . . . . . . . . .2-5 PRO/II Installed Directory Structure (Standalone) . . . . . . . . .2-5 PRO/II 9.1 Getting Started Guide iii

Testing PRO/II . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6 Reviewing the Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6 Generate an Output Report . . . . . . . . . . . . . . . . . . . . . . . . 2-6 Converting Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6 Modifying/Repairing/Removing PRO/II Software . . . . . . . . . . 2-7

Chapter 3 Installation Troubleshooting


Diagnose TOKEN, TOKENNET and FLEXlm 9.5/FLEXNET 11 Security Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 Diagnose USB Security Problems . . . . . . . . . . . . . . . . . . . . . . . 3-12 General License Security Questions . . . . . . . . . . . . . . . . . . . . . . 3-17 OLI Chemistry Wizard License Security . . . . . . . . . . . . . . . . . 3-19 Changing the Chemistry Wizard Serial Number . . . . . . . . . 3-19

Chapter 4 Tutorial : Introduction


What can PRO/II Software do? . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21 Simulation Status Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21 How is this Tutorial Organized? . . . . . . . . . . . . . . . . . . . . . . . . . 4-22 Where to Start? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22 Where to Find Additional Help? . . . . . . . . . . . . . . . . . . . . . . . . . 4-22 Description of the Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23 How to Proceed? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24

Chapter 5 Session 1: Separator


Starting PRO/II Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Building the Flowsheet (required). . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Process Units. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 Process Streams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 Correcting the PFD Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5 Defining the Component List (required) . . . . . . . . . . . . . . . . . . . . 5-5 Defining a Thermodynamic Method Set (required) . . . . . . . . . . . 5-8 Specifying Unit Operation and Stream Data (required) . . . . . . . 5-11 Analyzing the Data Requirements. . . . . . . . . . . . . . . . . . . . . . . . 5-12 Stream Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12 Unit Operations Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17 Saving the Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17 Running the Simulation (required) . . . . . . . . . . . . . . . . . . . . . . . 5-21 iv Contents

Reviewing the Simulation Results . . . . . . . . . . . . . . . . . . . . . . . .5-21 Viewing the Output Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-22 Using the Flash Tool (optional) . . . . . . . . . . . . . . . . . . . . . . . . . .5-23

Chapter 6 Session 2: Complete Expander Plant


Building the Flowsheet (required) . . . . . . . . . . . . . . . . . . . . . . . . .6-1 Modifying the Stream Data (required). . . . . . . . . . . . . . . . . . . . . .6-8 Specifying the Process Unit Data (required) . . . . . . . . . . . . . . . . .6-8 Heat Exchangers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-8 Compressor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-12 Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-15 Running the Simulation (required) . . . . . . . . . . . . . . . . . . . . . . .6-25 Reviewing the Simulation Results . . . . . . . . . . . . . . . . . . . . . . . .6-25 Modifying the Simulation Defaults . . . . . . . . . . . . . . . . . . . . . . .6-26

Chapter 7 Session 3: Presentation of Output


Modifying the Flowsheet Stream Border Style . . . . . . . . . . . . . . .7-1 Displaying Stream Properties on the PFD . . . . . . . . . . . . . . . . . . .7-3 Exporting the PFD to the Windows Clipboard . . . . . . . . . . . . . . .7-5 Producing a Stream Report in a Spreadsheet . . . . . . . . . . . . . . . . .7-6 Creating Pages for Printing the PFD . . . . . . . . . . . . . . . . . . . . . . .7-7 Creating Plots. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-10 Displaying Stream Results in HTML . . . . . . . . . . . . . . . . . . . . .7-11 Block Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-13

Index

PRO/II 9.1 Getting Started Guide

vi

Contents

Introduction
About this Manual
This manual will guide you through the installation of the PRO/II family of software products and provides you with three sample sessions on using PRO/II Software.

An outline of this document is provided below.


Chapter 1 Installation Requirements Chapter 2 Installing PRO/II Software Chapter 3 Installation Troubleshooting Chapter 4 Tutorial : Introduction Outlines installation and security requirements. Describes how to install PRO/II 9.1 Software. Addresses some of the problems you may encounter while installing PRO/II 9.1 Software. Introduces the user to PRO/II Software capabilities, conventions and finding information.

Chapter 5 Session 1: Separator Step-by-step instructions to enable you to simulate a minimal set of process units in a gas processing application. Chapter 6 Session 2: Complete Additonal process units are added to Expander Plant complete an entire demethanizer/ expander plant simulation. Chapter 7 Session 3: Presentation of Output Introduces tools provided by PRO/II Software to organize, format and review results.

PRO/II 9.1 Getting Started Guide

vii

About PRO/II Software


PRO/II Software is a comprehensive computer simulation system for process engineers in the chemical, petroleum, natural gas, solids processing, and polymer industries. It combines the data resources of a large chemical component library and extensive thermodynamic property prediction methods with the most advanced and flexible unit operations techniques. It provides the process engineer with the computational facilities to perform all mass and energy balance calculations needed to model most steadystate processes.

The PRO/II Software process simulation program is designed with both the beginner and the expert in mind. It is based on a foundation of comprehensive, reliable, and accurate simulation capabilities. It is easy to use, and the input language is an extension of the universal language of chemical engineering. Expert systems, extensive input processing, and error checking allow even an inexperienced user to be instantly productive. These features have made PRO/II Software an industry standard.

About SimSci-Esscor
For 40 years, SimSci-Esscor has been a leader in the development and deployment of process simulation software, services, and complete solutions for oil and gas production, hydrocarbon and specialty chemical processing and refining, and fossil and nuclear power. Benefit from products that minimize capital requirements, optimize facility performance, maximize ROI, and produce assets for: Plant engineering design and simulation:

Integrated process engineering (FEED) Pipeline production analysis, asset model management Operational analysis, optimization, process control Dynamic simulation, operator training

Design-Operate-Optimize a safe and profitable plant subject to ever more stringent market and regulatory constraints. SimSci-Esscor software solutions are indispensable tools in solving these three increasingly complex challenges simultaneously. SimSci-Esscor is business unit of Invensys Process Systems, owned by Invensys, plc.
viii Introduction

Where to Find PRO/II Software Documentation


Online Documentation
Online documentation is provided in the form of .PDF files that are conveniently viewed using Adobe Acrobat Reader 7.0.5 or Acrobat Exchange 7.0.5. Adobe Acrobat Reader Software is freeware that can be installed from the Adobe Systems website (www.adobe.com). Adobe Acrobat Reader Software requires seven MB of disk space in addition to the space required to install PRO/II Software. The Welcome Screen lists all the online manuals (See below). These online manuals are stored in the SIMSCI\PROII\Manuals directory. PRO/II 9.1 Welcome Screen

PRO/II 9.1 Getting Started Guide

-ix

Online Help
PRO/II Software incorporates an online Help system, a comprehensive reference tool that quickly accesses information. Online answers are instantly available while you work. In the Help system, commands, features, and data fields are explained in easy steps. You can access the electronic Contents for the Help system by selecting Help/Contents from the PRO/II menu bar. Contextsensitive help is accessed using the <F1> key or the Whats This? button by placing the cursor in the area in question.

Where to Find Additional Help


If you want to... See...

Learn how to install PRO/II Software

PRO/II Getting Started Guide

Quickly learn how to simulate a simple PRO/II Getting Started Guide flowsheet using PRO/II Software Obtain detailed information on the PRO/II Users Guide capabilities and use of PRO/II Software Obtain basic information on PRO/II keywords Obtain basic information on PRO/II Software calculation methods Obtain more detailed information on PRO/II Software calculation methods Obtain detailed information of component and thermodynamic properties See simulation examples PRO/II Keyword Manual Online Help PRO/II Online Reference Manual SIMSCI Component and Thermodynamic Data Input Manual PRO/II Keyword Manual

See simulation examples for chemical, PRO/II Application Briefs solid processing, petrochemical, batch, Manual and electrolyte applications Demonstrates the use of PRO/II Software with process industry examples Learn how to create a custom component databank using the LIBMGR utility PRO/II Casebooks

LIBMGR and COMPS Users Guide

Learn about PRO/II batch reactor and PRO/II Add-on Modules distillation, electrolytes, Profimatics or Users Guide polymers modules

Introduction

Where to Find Additional Help (cont.)


If you want to... See...

Learn about PRO/II-HTRI , PRO/IIHTFS or Linnhoff March ColumnTarget Interface modules Learn about PRO/II User-added Subroutines or the PRO/II Data Transfer System Learn to write applications (input and calculated) to access data in PRO/II simulation databases Information on APIs to the PRO/II COM Server with examples Learn about Ternary Mixture Plots

PRO/II Interface Modules Users Guide PRO/II Data Transfer System and User-added Subroutines Users Guide COM Server Programmers Guide and Tutorial COM Server Reference Guide Ternary Mixture Plots Help Manual

Technical Support
SimSci-Esscor and its agents around the world provide technical support and service for PES products. If you have any questions regarding the use of the program or the interpretation of output produced by the program, contact your local SimSci-Esscor representative for advice or consultation. When calling one of the Technical Support Centers, be prepared to describe your problem or the type of assistance required. Also, to expedite your call, complete the following steps before calling Technical Support:

Have the installation DVD and all the provided documentation available. Determine the type of computer you are using. Determine the amount of free disk space available on the disk on which the product is installed. Note the exact actions you were taking when the problem occurred, as well as the steps you took leading up to that point. Note the exact error messages that appear on your screen, as well as any other symptoms.

Both new and experienced users will benefit significantly from attending one of SimSci-Esscors regularly scheduled training courses on PES products. If you would like to obtain a list of courses available, or if you have any questions relating to the use of a PES product, its methods, data, or technology, please call your
PRO/II 9.1 Getting Started Guide -xi

nearest SimSci-Esscor Technical Support office or visit our website at www.simsci-esscor.com.

Authorized SimSci-Esscor Technical Support Centers


Support Center USA Address Invensys Process Systems (SimSciEsscor) 10900 Equity Drive Houston, TX 77041 Invensys Process Systems (SimSciEsscor) Gateway Corporate Center, Suite 304, 223 Wilmington-West Chester Pike, Chaddsford, PA 19317 Tel/Fax/Internet Tel: + 1 800 SIMSCI 1 + 1 713 329 8584 Fax: + 1 713 329 1700 E-mail: support.simsci@invensys.com Tel: + 1 800 SIMSCI 1 + 1 484 840 9407 Fax: + 1 484 480 9499 E-mail: support.simsci@invensys.com

USA East Coast

USA West Coast

Tel: ++ 1 800 SIMSCI 1 Invensys SimSci-Esscor, 26561 Rancho Parkway South, Suite Fax: + 1949 455 8154 100, E-mail: support.simsci@invensys.com Lake Forest, CA 92630 Invensys Systems Mexico S.A Amargura # 60 Col. Parques de la Herradura, Huixquilucan, Edo.de, 52786 Invensys SIMSCI-ESSCOR, 7665 - 10th Street NE, Calgary T2E8X2 Tel: + 52 55 52 63 01 76 Fax:+ 52 55 52 63 01 60 Email: mexico.simsci@invensys.com Tel: + 403-617-6220 (Cell) Fax: + 403-274-8651 E-mail: support.simsci@invensys.com

Mexico

Canada

Argentina

Invensys Systems Argentina Inc. Tel: + 54 11 6345 2100 Fax: + 54 11 6345 2111 Nunez 4334 Buenos Aires (Argentina) C1430AND E-mail:simsci.latino@invensys.com Invensys Systems Italia S.p.A Tel: + 39 02 262 9293 Fax: + 39 02 262 9200 Via Carducci, 126 Sesto San Giovanni (MI) 20100, Italia E-mail:simsci.eura@invensys.com Tel: + 58 212 267 5868 ext. 282 Invensys Systems Venezuela Torre Delta Piso 12, Av.Francisco de Fax: + 58 212 2670964 E-mail:simscilat@invensys.com Miranda Altamira, Caracas 1060 Invensys Systems Brasil Ltda. Av. Chibaras, 75 - Moema Sao Paulo, SP O 4076 - 000 Tel:+ 55 11 2844 0201/291 Fax: + 55 11 2844 0341 E-mail: suporte.simsciesscorbrasil@invensys.c om

Italy

Venezuela

Brazil

xii

Introduction

Support Center Germany

Address Invensys Systems GmbH & Wonderware GmbH Hermann Klammt Str. 1-3 D- 41460 Neuss

Tel/Fax/Internet Tel: + 49 (0) 89 /444 19650 E-mail:simsci.eura@invensys.com

Australia and Invensys Performance Solutions New Zealand Level 2-4, 810 Elizabeth Street Sydney 2017, Australia Japan

Tel: + 61 2 8396 3626 Fax:+ 61 2 8396 3604 E-mail: simsci.apac@invensys.com

Invensys Process Systems Japan, Inc. Tel: + 81 3 6450 1095 8th Fl. Suzuebaydium, 1-15-1 Kaigan, Fax:+ 81 3 5408 9220 Minato-ku, Tokyo 105-0022 Japan E-mail: ipsjp.support@invensys.com Invensys ME Dubai PO Box 61495 Jebel Ali Free Zone, Dubai Tel: + 971 4 88 11440 Fax: + 971 4 88 11426 E-mail: simsci.eura@invensys.com Tel: + 65 6829 8643 Fax: + 65 6829 8202 E-mail: simsci.apac@invensys.com

Middle East

Asia - Pacific Invensys Software Systems (s) Pte. Ltd. 15, Changi Business Park Central 1 Singapore 486057 United Kingdom Invensys Systems (UK) Limited The Genesis Centre, Birchwood Science Park, Birchwood, Warrington United Kingdom WA3 7BH Invensys Process Systems (China), No. 211, Huancheng Road East, Fengpu Industrial Park, Shanghai 201400 Invensys Systems LA Colombia Calle 100 # 36-39 Int. 4-203, Bucaramanga, SDER Invensys Korea Simsci-Esscor 6F, Dongsung B/D, 17-8, Yeouidodong, Seoul, 150-874

Tel: + 44 (0) 1925 811469 Fax: + 44 (0) 1925 838509 E-mail: simsci.eura@invensys.com

China

Tel: + 86 21 3718 0000 ext. 5912 Fax: + 86 10 8458 4521 E-mail: simsci.apac@invensys.com Tel: + 57 1 3136360 E-mail: support.co@simsci.com Tel: + 82-22-090-0822 Fax: + 82-32-542-3778 E-mail: support.kr@invensys.com

Colombia

Korea

PRO/II 9.1 Getting Started Guide

-xiii

xiv

Introduction

Chapter 1 Installation Requirements


This chapter surveys the contents of the PRO/II Software release package.

Verifying the Package Contents


Installation Media
PRO/II Software is distributed on a DVD.

Documentation
A partial list of available PRO/II online documents is:

PRO/II Keyword Manual SIMSCI Component and Thermodynamic Data Input Manuals PRO/II User Guide PRO/II Getting Started Guide (this document) PRO/II Interface Modules User Guide PRO/II Data Transfer System User Guide PRO/II User-Added Subroutines User Guide

Additional documentation is provided for each additional features as required.

PRO/II 9.1 Getting Started Guide

1-1

Software Requirements
PRO/II 9.1 Requirements
The minimum software requirements are listed below. PRO/II 9.1 Software functions properly only on the operating systems in the lists.: Operating System Windows XP SP3, Windows VISTA SP2 (Business / Enterprise), Windows 7 (Business / Enterprise), Windows 7 Enterprise(64 Bit), or Windows 2008 Server SP2 Proper installation of PRO/II Software under all operating systems requires administrator rights. Microsoft Office Compilers Office 2010, Office 2007, Office 2003, Office XP.

User-Added Subroutines and PDTS applications require the following programs: Microsoft Visual Studio Net 2003 (or .NET 2005 or .NET 2007) Intel Visual FORTRAN version 10.x for Windows (Standard or Professional Edition). Newer versions (such as version 11.x) are compatible.

UAS and PDTS sample projects shipped with PRO/II 9.1 Software are built using .NET Framework 2003. Newer versions (.NET 2005 and .NET 2007) may be used, but require the end user to upgrade UAS and PDTS projects themselves. Conversion utilities and instructions automatically are invoked when a project needing conversion is opened in Microsoft Visual Studio.NET with Intel Visual Fortran installed.
Note:

User-added subroutines and PDTS applications built under Windows 2000 will run under Windows XP, Windows 2003, and Windows VISTA.

1-2

Installation Requirements

Acrobat Reader

Most PRO/II 9.1 documentation is delivered using Portable Document Format (i.e., as .pdf files). A recent version of Acrobat Reader is included on the PRO/II installation DVD. The latest free version also may be downloaded from an Adobe web site. As of this writing one such Adobe web site is: http://get.adobe.com/reader/

SIM4ME PORTAL Requirement


The minimum software requirements for SIM4ME PORTAL are: Operating System Windows VISTA SP2 (Business / Enterprise), Windows 2003 SP2, or Windows XP SP3. Proper installation of SIM4ME PORTAL under all OSs requires administrator rights. Office 2007 (preferred), or Office 2003 Professional with SP2, SP3. Earlier versions of MS Office are incompatible due to format upgrades implemented by Microsoft.

Microsoft Office

Disk Space Requirements


The computer should have at least one gigabyte (1GB) of available free disk space. This amount is adequate for a complete PRO/II 9.1 installation, storage for many simulations, and ample free space for paging without excessive fragmentation. Periodically running a disk defragmentation program is a recommended part of good maintenance practices.

Virtual Memory Requirement


PRO/II Software requires at least 55 MB of virtual memory to provide sufficient paging area. Newer operating systems (such as Vista) typically allocate a larger paging file size, so the changes discussed here probably will not be required. To set (or merely verify) virtual memory in Windows XP: From the Windows Start menu, select Settings/Control Panel. Click Performance and Maintenance Options. Open the System item and access the Advanced tab.
PRO/II 9.1 Getting Started Guide 1-3

Click the Settings button under Performance. Select the Advance tab. Click on the Change... button in the Virtual Memory section. If desired, change the size in the paging file size for selected drive section; then click the Set button.

To set virtual memory in Windows 2003 Server and Windows VISTA: From the Vista Start menu, select Settings/Control Panel. Open the System item and access the Advanced tab. Click the Settings button under Performance. Select the Advance tab. Click the Change... button in the Virtual Memory section. If desired, change the size in the paging file size for selected drive section, and click the Set button.

Security Options
USB Security
SimSci-Esscor provides USB hardware security, in which you insert key specially coded to allow use of PRO/II Software. During installation, the USB key should not be plugged in. After installation, simply plug the security hardware device directly into one of the computers USB ports to start running PRO/II Software.

Switching to USB Security


To switch to USB security: Open the proii.ini file found in the user directory. Find the section entitled [wss_Security] and set Type=USB. Save the file and exit. This completes the procedure to use USB security.

FLEXlm Security
SimSci-Esscor provides three different FLEXlm security options on the FLEXlm Server Application installation DVD.

FLEXNET 11 Security Single license option FLEXlm 9.5 Security Single license option TOKEN Security Multi-user license sharing option

1-4

Installation Requirements

TOKENNET Security Multi-user license sharing option

The FLEXlm License Manager is a third-party concurrent-user software licensing tool from Macrovision Corporation. It is a client/ server-based tool that has been customized by Invensys Operations Management personnel. FLEXlm Server can run under Windows XP. The server must have at least 5 MB of available disk space. To install, learn, and troubleshoot FLEXlm security, follow the instructions provided in the FLEXlm Security Guide included in the standard release package.

Switching To Any FLEXlm-Based Security


Open the file named PROII.INI located in the user directory of the PRO/II 9.1 installation directory tree. Find the section titled [wss_Security] and perform only ONE of the following: To switch to FLEXNET 11 security: set Type=FLXNET11 or To switch to FLEXlm 9.5 security: set Type=FLXLM95 or To switch to TOKEN security: set Type=TOKEN To switch to TOKENNET security: set Type=TOKENNET or Save the file and exit. If running Windows XP, 2003, or VISTA, add the IPASSI_LICENSE_FILE=@{FLEXlm server machine name} system environment variable to your control panel/system/ advanced/environment variables. Reboot the computer, so the changes to the security environment will be correctly configured.

Delayed Reboot of PRO/II When Using FLEXlm Security


On rare occasions, PRO/II 9.1 may encounter situations in which it cannot continue to function. In such situations, it issues a message and shuts itself down. All unsaved data is lost. This commonly is known as a crash. The only recourse available to the user is to

PRO/II 9.1 Getting Started Guide

1-5

restart PRO/II 9.1 Software and manually attempt to recover as much work as possible. FLEXlm security is managed by a proprietary client program that interacts with PRO/II 9.1 but executes independently. Security in PRO/II 9.1 is monitored periodically on-demand, not continually. A crash requires a delay of at least three minutes to re-establish communicaction with the FLEXlm security client.
Note: A crash of the PRO/II 9.1 program results in a delay of at least three minutes to re-establish communication with the FLEXlm security client. There is no need to attempt to reconfigure PRO/II 9.1 or the FLEXlm client. However, security will fail if an attempt is made to restart PRO/II Software too soon.

1-6

Installation Requirements

Chapter 2 Installing PRO/II Software


This chapter guides you through the installation of the PRO/II 9.1 Software family of software products:

The main PRO/II application PRO/II Data Transfer System (PDTS) PRO/II User-Added Subroutines (UAS) Chemistry Wizard (from OLI) Thermo Data Manager (TDM). The TDM is a silent install. SIM4ME Portal/ Reports also is a silent install. CFI (Common Framework Install) module also is a silent install. PFE Editor Notepad ++ NIST REFPROP

To begin the install procedure: Insert the PRO/II DVD into the DVD drive. Browse to the root of the DVD and read release notes. Open PROII91 folder and double-click on the setup.exe to begin the installation. The first screen you will see in the installation process is the prerequisites for the PRO/II installation. To continue, click Install. Preparing to Install appears where Windows Installer Configures. The Welcome to InstallShield Wizard dialog box appears
PRO/II 9.1 Getting Started Guide 2-1

Click Next > to continue. The License Agreement dialog box appears. Choose I agree and click Next > to continue. The Destination Folder dialog box appears This box shows the default destination directory (C:\SIMSCI) of the PRO/II files and for shared SIMSCI components, like CFI, SIM4MEPortal (C:\Program Files/Common Files/ SIMSCI).

To install to these folder, click Next >. To install to a different folder, click Change > and select another folder. . in the SIMSCI directory, place PRO/II version 9.1 in another directory (e.g., \P2v91) to avoid any conflicts.

Note: If you are maintaining an older version of PRO/II Software

Click Next > to continue. The Setup Type dialog box appears. Choose Typical or Custom.

Installing a Local Version of PRO/II Software


To continue the Local PRO/II installation procedure:
Note: Users installing a Local version of PRO/II Software on

Windows 2003/XP and Windows VISTA must have system administration privileges for the install to proceed properly. Select one of the two available local installation options:
Typical

Installs only the PRO/II program, TDM, SIM4ME Portal and Reports, PFE Editor and Notepad++. Installs components based on your selection.You can install the Standalone option from this option as well as the individual components including the Translator, PRO/II program, Chemistry Wizard module, UAS, PDTS, PFE Editor, Notepad++, NIST REFPROP and Multi Simulation Manager.

Custom

If you are performing a Custom installation:


2-2 Installing PRO/II Software

The Custom Setup dialog box appears to allow you to select the components you want to install. The list box shows all possible components. Click on the components you want to install and note the change in required disk space. Click Next >.

If you are installing a Standalone option (directly or through the Custom installation), the Security Option dialog box appears. Select one of the four security options:
FLEXlm 9.5 Allows PRO/II Software to go beyond the cur-

rent machine to obtain licenses from another machine (FLEXlm 9.5 security server machine) on the network.
FLEXNET 11

Allows PRO/II Software to go beyond the current machine to obtain licenses from another machine (FLEXNET 11 security server machine) on the network. Utilizes a USB hardware key attached to the USB port on the back of the current machine for licensing purposes. Using this type, PRO/II Software will only search this hardware key for license(s). Allows PRO/II Software to go beyond the current machine to obtain licenses from a Token server on the network. Allows PRO/II Software to go beyond the current machine to obtain licenses from a Tokennet server on the network.

USB

Token

Tokennet

If you chose FLEXNET 11, FLEXlm 9.5, Token or Tokennet, specify the prospective IPASSI FLEXlm server(s) (e.g., @server1; @server2) to guide PRO/II to find the FLEXlm server. Click Next > to continue.

A dialog box appears to select the options of creating a Shortcut on the Desktop and/or the Quick Launch bar. Click Next > to continue.

PRO/II 9.1 Getting Started Guide

2-3

If you are installing the Standalone option, the Shortcut Options Folder dialog box appears. By default, the setup program adds PRO/II icons in the SIMSCI program folder. Also select the options of creating a Shortcut on the Desktop and/or the Quick Launch bar. Click Next > to continue. The Ready to Install Program dialog box appears. If you want to review or change any settings, click < Back. If you are satisfied with the settings, click Install> to begin copying files. When your installation is complete, the InstallShield Wizard Complete Installation dialog box appears. Click Finish to complete the Local installation.
Note: Setup determines if it is necessary to restart the computer. If

so, it asks whether you want to restart the system now or later. You should now test your PRO/II installation. Proceed to the Testing PRO/II section for more information.

2-4

Installing PRO/II Software

Directory Structures and Desktop Icons


PRO/II Installed Directory Structure (Standalone)
The Standalone Installation will setup all PRO/II files under the directories shown below. C:\SIMSCI\PROII91 C:\SIMSCI\PROII91\USER C:\SIMSCI\PROII91\BIN C:\SIMSCI\PROII91\SYSTEM
C:\SIMSCI\PROII91\RESOURCE

C:\SIMSCI\PROII91\Manual C:\SIMSCI\PROII91\HLP C:\SIMSCI\OLI_for_PRO_9.x C:\Program Files\PFE32 C:\Program Files\Notepad++ C:\SIMSCI\PROII91\TDM C:\Program Files\Common Files\SIMSCI\SIM4MEPortal211 C:\SIMSCI\ MultiSimulationManager10 C:\Program Files\Common Files\SIMSCI\ SIMSCICFI40

[Main PRO/II directory] [PRO/II users directory] [Binary files] [System files] [Resource files] [PRO/II Documentation] [Online help files] [Chemistry Wizard] [PFE32 file editor files] Notepad ++ [TDM files]

[SIM4ME Portal files] [Multi Simulation Manager files]

[SIMSCI Common Framework Files]

A typical installation creates the following icons:


PRO/II 9.1 PRO/II Documentation PRO/II Re-Initialization Utility (PRU) LM ColumnTarget Interface PROII 9.1 PDTS Applications Command Prompt Ternary Plots SIM4ME Portal 2.1.1

Other icons may appear depending upon the install options chosen. For example, installing the OLI Chemistry Wizard adds an icon.

PRO/II 9.1 Getting Started Guide

2-5

Testing PRO/II
As a simple test of your PRO/II system, open PRO/II Software, import the input file G3 and run it. This will let you utilize PRO/IIs flowsheet capability and give you a sense of how PRO/II will run. To test the PRO/II system: Click Start and select Programs/SIMSCI/PROII91/PROII 9.1. A Welcome to PRO/II screen appears which provides you with basic information on the user interface.
Note: SIMSCI is the default directory and is used for illustrative

purposes in the remainder of the chapter. If you chose another directory (e.g., P2v91), use that directory name in place of SIMSCI. Click OK to continue. Select File/Import from the menu bar. Select G3.INP in the Import Keyword File window and click Open. A window will appear showing the import of problem G3 PRO/II Main Window. Click the Run button on the toolbar to begin calculations. Click Run Simulation on the Flowsheet Status dialog box to continue.

Reviewing the Results


When the simulation is complete, a RUN COMPLETED message appears in the G3 Solved window.

Generate an Output Report


To generate an output report for the sample problem: Click the Output button on the toolbar to generate an output file. The stream and process unit results are shown in a window. Compare the results to those in the file G3.CHK, located in the \SIMSCI\PROII91\USER directory.

Converting Files
This version of PRO/II Software automatically detects the file version and runs the PRO/II converter for upgrades. To convert simulation files:
2-6 Installing PRO/II Software

Launch PRO/II Software with PROVISION On the File menu, use the Open item to display the Open dialog. Enter the name of a file to convert. Click Open. The designated file will be converted to the new version PRO/II 9.1 Software.
Note: Several processing methods, such as the order of searching

component data banks, or methods for characterizing assays, change over time with the release of newer versions of PRO/ II. Running in key word mode usually does not inform the user of such changes. The PROVISION Graphical User Interface traps these changes and displays dialogs. This allows users to choose options that either (a) retain the older options or (b) updates the simulation to use current defaults. These choices of necessity require user interaction with the dialogs.

Modifying/Repairing/Removing PRO/II Software


You can modify/repair/remove PRO/II Software by accessing Add/ Remove Programs located in the Control Panel (on the Start menu of the Windows operating system), or by executing the setup.exe program located in the root directory of the PRO/II DVD. Depending on what version you have installed, the following item will appear in the Control Panel Add/Remove Programs Window:

SimSci-Esscor PRO/II 9.1. Selecting the option (listed above) and clicking on the Change/ Remove button will give you the opportunity to remove or add components, repair or modify the PRO/II configuration, or even uninstall the whole product.
Note: The order of uninstalling components and/or creating files

under the PRO/II tree may cause certain single files to remain on the disk. After uninstalling a component, check the corresponding installation directory for remaining files and delete them manually.

PRO/II 9.1 Getting Started Guide

2-7

2-8

Installing PRO/II Software

Chapter 3 Installation Troubleshooting


This chapter addresses some of the more common support questions and problems related to TOKEN,TOKENNET and FLEXlm 9.5/ FLEXNET 11, USB, and General License security. If you are having problems installing this product, review this section. If you are unable to correct the problem, contact Technical Support located at your local SIMSCI Technical Support Center, as listed in Introduction.

Diagnose TOKEN, TOKENNET and FLEXlm 9.5/FLEXNET 11 Security Problems


Step 1 - Ensure that the FLEXlm server is working correctly When encountering a licensing problem with TOKEN, TOKENNET, FLEXlm 9.5/FLEXNET 11 security, first ensure that the FLEXlm server is running without any errors. The TOKEN license server is actually a FLEXlm 9.x server, and the only difference between these two types of license servers lies in the license files, one being token-based (each product requires a specified number of tokens when used) and the other productspecific. Incidentally, only a 9.x FLEXlm server can manage a SimSci-Esscor TOKEN license file. There are two ways to verify that the FLEXlm server is running correctly. The first way is to examine the FLEXlm server debug log file ipassi.log. This log file is by default located in the FLEXlm directory (C:\Program Files\IPASSI\Security\FLEXNET 11 for FLEXNET 11 and C:\Program Files\IPASSI\Security\FLEXlm95 for FLEXlm 9.5) The actual location for this log file can be found from the FLEXlm lmtool.exe utility in the Path to the debug log
PRO/II 9.1 Getting Started Guide 3-1

file field on the Config Services tab (See figure below). Carefully go through the log file to see if there are any errors recorded in this log file.
Figure 3-1 : LMTools Configuration Service

Alternatively, after attempting to start the FLEXlm server, start the lmtools.exe utility, click on the Server Status button on the Server Status tab, and then click the Perform Status Enquiry button (as shown in the Figure below). Again, carefully go through the output text to find any error messages. Note that if you need to perform the server status enquiry multiple times, you can use Edit->Clear Window from the menu bar as this will clear the output text box for easy reading.

3-2

Installation Troubleshooting

Figure 3-2: LMTools Server Status

If there are any error messages in the FLEXlm server log file or in the lmtool.exe Server Status output text window, try and take appropriate action to resolve the problem yourself. Examples:

Attempting to start the FLEXlm server using a license file not intended for the license server causes an authentication error. In this case, you need to install the correct license (and FLEXlm server) on the machine for which the license was generated. Alternatively, contact your SimSci-Esscor representative to issue a license file for the machine on which the FLEXlm server is installed. Another issue could be that the licenses themselves have expired. The expiration date can be found by looking at the license file, ipassi.lic, or by clicking the Perform Diagnostics button on the Server Diags tab. If the licenses have expired, then contact your SimSci-Esscor sales representative to renew your licenses. A further common error is that the FLEXlm server machine name, the second item on the SERVER line in the FLEXlm

PRO/II 9.1 Getting Started Guide

3-3

license file, is not stated correctly. An example of the server line, from a permanent license, is as follows:
SERVER miawa2ca 000874fe5ea8

Or for a temporary license:


SERVER ukfcra-g6fyq0j ANY

Note for a temporary license, the ANY entry must be retained as the third item on the SERVER line.

If the machine name is correct in the SERVER line but the FLEXlm server is still not starting correctly, then use the IP address of the server machine instead of the machine name.

For errors that you cannot resolve yourself, contact SimSci-Esscor technical support for assistance. When doing so, have the server log file available to send as an aid in troubleshooting the problem. Step 2 - Ensure that the application is using FLEXlm/TOKEN security If the FLEXlm server is up and running with the correct license, but there is still a problem launching the application due to a FLEXlm/ TOKEN security error, then the focus should switch to the SimSci-Esscor application side. The second step in troubleshooting FLEXlm/TOKEN security is to verify if FLEXlm/TOKEN is indeed the active license security type. This selection of license security type is made in the main initialization file (*.ini) of the application. These files are usually named after the applications they control, such as PROII.ini, PipePhase.ini, Datacon.ini, etc. The easiest way to locate these ini files is to search the application directory for the *.ini file that contains the string [wss_Security]. Once you identify the ini file, you need to open the file (NotePad will work fine for this) to see what the active security type is. Search for the Type statement in the [wss_Security] section. The active security Type statement is the one that does not have a semicolon (;) in front of it. If FLEXlm/TOKEN is not the current active security type, you will need to comment out the current active type by placing a semi-colon at the beginning of that line, and uncomment the ;Type=FLEXlm or the ;Type=TOKEN line. For example:
[wss_Security]

(if you are using FLEXlm 9.5 for security)

Type=FLXLM95 Type=USB

3-4

Installation Troubleshooting

Type=FLXNET11 Type=TOKEN Type=TOKENNET

Or
[wss_Security] Type= TOKEN Type=TOKENNET Type=USB Type= FLXNET11 Type=FLXLM95

(if you are using TOKEN for security)

If FLEXlm/TOKEN security was previously not the active security type and has now been made the active security type, the user should test the application to verify that the change has corrected the problem. If the FLEXlm/TOKEN security still does not work, proceed to Step 3 for further diagnosis. Step 3 - Ensure that the application is using the correct set of security files This step involves checking the security files at two levels. At the first level, the user needs to make sure that the application is actually using its own set of security files (scintf.dll, token.dll, tokennet.dll, flxnet11.dll, and flxlm95.dll). Sometimes multiple copies of the security files exist on the machine and the application may be using the file(s) somewhere on the paths specified in the PATH environment variable, not the ones under its own directory. Since this will create significant confusion during security troubleshooting, it is highly recommended that all security files that are not part of any SimSci-Esscor application file systems be deleted, especially the ones on the PATH environment variable. When this is done, the user can be sure exactly which security files the application is using. The second level is only applicable to the FLEXlm security. The SimSci-Esscor FLEXlm security comes in two versions, 7.2 and 9.5. Because these two versions are not completely compatible with each other, it is critical that the FLEXlm client (the flxlm.dll on the application side), the license file, and the FLEXlm server be of the same FLEXlm version. The symptom of this incompatibility is that the application fails and in the server debug file you see the license is checked out and back in almost at the same time. The FLEXlm server version can be found in the server log file (ipassi.log) and the
PRO/II 9.1 Getting Started Guide 3-5

license file version can be found in the license file itself. If the version cannot be found in the license file, then the license file should be FLEXlm version 7.2. The version of the flxlm.dll can be found by right-clicking the file, selecting Properties, and then selecting the Version tab. From 2006, we are moving towards using the FLEXlm version in FLEXlm dll file names. For instance, flxlm72.dll means the file is version 7.2 and flxlm95.dll means version 9.5. Moreover, the value of the Type statement in the application ini file also uses flxlm95 and flxlm72 to reflect the FLEXlm version it is using. Step 4 - Ensure that the FLEXlm communications are functioning properly If the FLEXlm server is running correctly and the application's licensing configuration is appropriate, but there is still a FLEXlm/ TOKEN licensing problem, turn the focus to the communications between the application machine and the FLEXlm server machine. To do this, first ping the FLEXlm server machine from the application machine to see if the communications between them are enabled. If not, the user should contact their IT personnel to resolve this issue first. After the fundamental communications problem is resolved, examine the value of the environment variable IPASSI_LICENSE_FILE on the application machine to see if the value points to the intended FLEXlm server machine. If this value has been set multiple times, examining and editing the value in the registry may be necessary because the old value may be cached in the registry location. Figure 3-3 shows the registry entry for server @cms4m0ca:
Figure 3-3: Registry Entry for Server @cms4m0ca

The user can directly delete or edit the value of the IPASSI_LICENSE_FILE from here or run lmpath.exe to accomplish the same result.

3-6

Installation Troubleshooting

Another issue with this environment variable is that sometimes the application machine system has a problem resolving the FLEXlm server machine name into the IP address. In this case, instead of using the FLEXlm server machine name for value of IPASSI_LICENSE_FILE, use the FLEXlm server machine's IP address, such as @123.12.10.100. If the environment variable is managed correctly and the problem still persists, the user may resolve the problem based on any error messages rendered on the application side. The user should examine the contents of the FLEXlm server log file ipassi.log to see if there are any records about the license request. If there are no records at all in the server log file about this license request, then the communication between the FLEXlm client and FLEXlm server have not been established. In this case, the user needs to examine the firewall on the FLEXlm server machine to ensure that the port numbers used by the FLEXlm server (lmgrd.exe) are enabled for the communication. The port numbers used by the FLEXlm server can be found in the FLEXlm server log file ipassi.log. Example:
10:21:59 (lmgrd) lmgrd tcp-port 27000 10:22:10 (lmgrd) IPASSI using TCP-port 2601

Another possible FLEXlm communication issue may be encountered accessing FLEXlm licenses over the internet, as it may take longer for the application to connect to the FLEXlm server machine. If this takes too long, the application may prematurely timeout the connection attempt and return an error. To overcome this problem, set the environment variable FLEXLM_TIMEOUT on the application machine. The usage of this variable is as follows: Set the timeout value of a FLEXlm-licensed application when attempting to connect to a license server port in the range 2700027009. Values are in microseconds, within the range 0 through 2147483647. The default setting is 100000 microseconds. The other thing the user can do to reduce the connection time is to explicitly set the FLEXlm server ports such that the application knows exactly what ports to talk to. Please refer to Table 3-1 for details on setting up explicit FLEXlm server ports.

PRO/II 9.1 Getting Started Guide

3-7

Table 3-1: FLEXlm License Security-related Problems and Solutions


Problem Fix Can I have multiple FLEXlm servers installed and run on the same machine? Yes, it is allowed to install and simultaneously run multiple FLEXlm servers from different vendors on the same machine. When doing so, it is highly recommended that you install the servers to different locations so that they do not interfere with one another. However, multiple FLEXlm servers from the same vendor cannot run simultaneously. Only one version can be active at a time. For example, the IPASSI FLEXlm 9.5 can be installed in different locations on the same machine, but only one of them can be running at a time. I have multiple IPASSI license files on my FLEXlm server machine. Can I combine them into one? If those license files have an identical SERVER line, then they can be combined. Otherwise, the answer is no. After the merge, there should be only one SERVER line and one VENDOR line in the resultant license file. How do I instruct my IPASSI FLEXlm server to use multiple license files? Use lmtools.exe to configure the FLEXlm service so that the field Path to the license file points to the directory where the license files are located (as shown below). In addition, all the license files in the directory must have the. lic file extension name.

Problem Fix

Problem Fix

3-8

Installation Troubleshooting

Problem Fix

How can I make FLEXlm security work with firewall on the FLEXlm server machine? To make FLEXlm security work with firewalls, the following three components must be configured correctly. 1. Use a port number on the SERVER line in the license file as follows:

Fix

SERVER host hostid [port] Example: SERVER ips-sol07 0002b303df80 27000 2. Use another port number on the VENDOR line in the license file: VENDOR vendor [port=]port Example: VENDOR IPASSI port=27001 3. On the application machine, set the value of the environment variable IPASSI_LICENSE_FILE to be 27000@ips-sol07. The port number here is the port number from the SERVER line. Make sure both the ports are enabled on the FLEXlm server machine.

4. 5. Problem Fix

Ensure that the port numbers for the SERVER line and for the VENDOR line are not used by other applications on the FLEXlm server machine, and are different from each other. How do I automatically launch my FLEXlm server when I reboot my FLEXlm server machines?

For FLEXlm servers on Windows NT/2000/XP/2003 machines, this is possible through the Config Services tab. On this tab, check the Use Services and the Start Server at Power Up checkboxes and save the server configuration. Why does FLEXlm security fail when I try to reboot immediately after a PRO/II crash? The FLEXlm server runs independently of PRO/II. A crash of PRO/II requires a delay of about 3 minutes to restore communication with the FLEXlm server. Wait a few minutes and then try rebooting PRO/II. No re-configuration and no further other action should be required. How do I prevent my FLEXlm server from being manipulated by users on other machines? Beginning with FLEXlm 9.x, when you are starting the FLEXlm server, you can specify that users on other machine cannot shut down the FLEXlm server. To do this, go to the Start/Stop/Reread tab, select the service you are about to start, click the Advanced settings, and check lmdown will only work from node where lmgrd is running. Then, click Start Server. Refer to the following screen image.

Problem Fix

Problem Fix

PRO/II 9.1 Getting Started Guide

3-9

Problem

If I get the message below when launching a SimSci-Esscor application, what could be going wrong?

Fix

A common cause of this error is that the FLEXlm dll on the application is of version 7.2, but the FLEXlm server is 9.5. In this case, run the FLEXlm 9.5 Client Retrofit program to update the application and this should resolve the problem.

3-10

Installation Troubleshooting

Problem Fix

How do I obtain the system information about the machine, including the host ID? The FLEXlm utility, lmtools.exe System Settings tab, is always the most accurate for checking the host ID. Note that when issuing a FLEXlm/TOKEN license, SimSci-Esscor uses Ethernet Address or Disk Volume Serial Number to bind the license. If your FLEXlm cannot start correctly, you may want to verify that the Ethernet address or disk volume serial number in the license file is consistent with that on the machine. In addition, you may check the Computer/ Hostname to verify that this value is the same as the second item on the SERVER line in your license file. An example of lmtools System Settings tab display:

Problem Fix

How do I configure the usage of my license(s)? Use a FLEXlm options file to specify how the license(s) should be used. For detailed information, please refer to the Options File documentation. How do I include a FLEXlm options file and how would I know if the FLEXlm server is using the options file? If you use ipassi.opt for the name of the options file, then simply put this options file in the FLEXlm server folder (where the lmgrd.exe and IPASSI.EXE are). When the next time the IPASSI FLEXlm server starts, it will automatically read and apply the rules in this file. If the options file does not have the default file name or is not located in the FLEXlm server folder, then you'll need to explicitly specify the options file on the VENDOR line in the license file as follows:

Problem Fix

VENDOR IPASSI options=C:\Program Files\IPASSI\ Security\FLEXlm95\ipassi.opt


Note that if there are any spaces in the path or the file name, put double quotes around the fully qualified path as above. When an options file is in use, you should see an entry similar to that shown below in the FLEXlm server log file, ipassi.log: 16:12:11 (IPASSI) Using options file: "C:\Program Files\IPASSI\ Security\FLEXlm95\ipassi.opt"

PRO/II 9.1 Getting Started Guide

3-11

Problem Fix

Can I use a regular FLEXlm license file and a TOKEN license file under the same IPASSI FLEXlm server? Technically, this configuration should work. However, this is not recommended as the logging and reporting functionalities work differently for FLEXlm and for TOKEN security. For clarity, it is highly recommended that FLEXlm and TOKEN be installed on different license server machines. We're using FLEXlm over a wide-area network. What can we do to improve the FLEXlm licensing performance? To shorten the initial connection time between the FLEXlm Client and the FLEXlm Server over a wide-area network, you can specify the FLEXlm server port numbers in the FLEXlm license file. In this case, the Client will know exactly what ports on the Server machine to use when trying to connect to the Server. We're using FLEXlm over a slow wide-area network. What can we do to allow longer FLEXlm Client/Server initial connection time? You can set the environment variable FLEXLM_TIMEOUT to a larger value on the Client machine. This value sets the timeout period of a FLEXlm-licensed application when attempting to connect to a license server port in the range 27000-27009. Values are in microseconds, within the range 0 through 2147483647. The default setting is 100000 microseconds.

Problem Fix

Problem Fix

Diagnose USB Security Problems


When encountering licensing problem with the USB security, you can diagnose the problem following the steps described below: Step 1 - Verify the active type of license security This step ensures that USB is indeed the active license security type. Selection of security type is made in the main initialization file (*.INI) of an application. These files usually are named after the programs they control (Proii.ini, PipePhase.ini, Datacon.ini, etc.) The easiest way to locate these files is to search the application directory for the *.ini that contains the text string [wss_Security]. After identifying the applicable file, open it with a plain-text editor (NotePad works fine for this). Find the active security statement in the [wss_Security] section. The active security type does not have a semi-colon (;) as the left-most character of the Type statement. To make USB the active security type, comment out the current active type by placing a semi-colon at the beginning of that line. Next, remove the semicolon (;) from the left of the Type=USB line. When USB is the current active security type, the [wss_Security] section of the *.ini file should appear as follows:

3-12

Installation Troubleshooting

[wss_Security] Type=USB ; Type=FLXNET11 ; Type=FLXLM95 ; Type=TOKEN ; Type=TOKENNET

After changing the security type to USB (or after making any change to the security options)be sure to test the application to verify that the change has corrected the problem. If the USB security still does not work, proceed to Step 2 for further diagnosis. Step 2 - Examine the USB environment on the machine For the USB security to work, the machine itself must be able to correctly detect the USB key. This step is to determine if this is the case. With the USB key plugged in, go to the Device Manager and open the Universal Serial Bus Controllers to see whether the entry for the USB key is listed correctly as illustrated in Figure 3-4:
Figure 3-4: Device Manager

If there is a conflict or problem, the USB SuperPro controller (shown as Rainbow USB SuperPro) will show up with a yellow exclamation mark or a red X (or may not show up at all). Figure 3-5 shows an example of a USB driver issue, i.e. a yellow exclamation mark displayed by the USB SuperPro entry:
Figure 3-5: Device Manager > USB SuperPro

PRO/II 9.1 Getting Started Guide

3-13

When the machine is not detecting the USB entry correctly, please unplug the USB key from the machine and uninstall the existing USB driver using the Add/Remove Programs function (Figure 3-6):
Figure 3-6: Add/Remove Programs

After un-installing the existing USB driver, install the USB 7.0 driver. The install program for USB 7.0 driver is available from the SimSci-Esscor application install DVD or from the SimSci-Esscor ESD web site. After installing the driver successfully, the Sentinel Protection Installer 7.0.0 entry should appear in the Add/Remove Programs window as follows:
Figure 3-7: Sentinel Protection Installer 7.6.3

Now, plug the USB key back into the machine and go to the Device Manager again to verify that the system is correctly detecting the USB key. If the problem persists, then either the key is damaged or the computer, including the USB port, may be malfunctioning. In this case, the user will either have to try the key on another machine
3-14 Installation Troubleshooting

that has working USB environment to determine if the key is good; or alternatively, the user can try another USB key that is known to be working on another machine to try on this problem machine and verify if its USB environment is functioning correctly. If the result indicates that the USB key is not functioning properly, please return the key to SimSci-Esscor technical support for further diagnosis. If the USB environment on the machine is not working correctly, the user will have to resolve the machine problem first. Another method for examining the USB environment is to use the SuperproMedic utility program (SproMedic.exe) from Rainbow Technology. The install program (SuperproMedic.exe) for this utility is available in the Utility folder in the USB 5.0 Retrofit program, which can be found in the SimSci-Esscor ESD web site. The default install location for this program is C:\Program Files\ Rainbow Technologies\SuperPro\Medic. This program displays the version of the current Sentinel System Driver on the machine. Note that not all versions of Sentinel System Driver work with the SimSci-Esscor USB key. If the existing USB driver is not a good one, the SuperproMedic utility program will indicate the problem as shown below (Version 5.39.2 - Unknown S):
Figure 3-8: SuperproMedic

In this case, the user will have to unplug the USB key from the machine, un-install the current USB driver, and then re-install the USB 7.0 driver. When the utility program shows no error in the Sentinel System Driver, the user can click on the Find SuperPro button to see if it can detect the USB key. If it finds the key, the output should look similar to Figure 3-9 (1 Hard limit of first key found):

PRO/II 9.1 Getting Started Guide

3-15

Figure 3-9: USB Key Detected

If no keys are detected, the output is as follows (0 Hard limit of first key found):
Figure 3-10: USB Key Not Found

Step 3 - Examine the SimSci-Esscor USB key and the USB.DLL If the SproMedic.exe utility can correctly detect the USB key, the next thing to look at is the usb.dll and the USB key. A potential problem with the USB.DLL is that it may not be recent enough to recognize the applications turned on in the USB key. To eliminate this problem, the user simply downloads the USB 5.0 Retrofit program from the Update area in the SimSci-Esscor ESD web site, and then retrofits the application accordingly to update the USB.DLL. After the retrofitting, the user can run the
3-16 Installation Troubleshooting

USBKeyCheck.exe utility program first to see if the USB key is good. If the USBKeycheck.exe program indicates that the USB key has already expired or does not contain the license to run the application, please contact the SimSci-Esscor sales representative to resolve this issue. Step 4 - Examine the copies of USB.DLL on the machine Sometimes there are multiple copies of USB.DLL existing on the machine. In this case, the application may or may not be using the newly updated USB.DLL obtained from the previous step. The SimSci-Esscor security files, including USB.DLL, should only exist inside the application folder and the application should only use its own set of security files. Should there be any SimSci-Esscor security files existing outside of all SimSci-Esscor application folders, it is highly recommended that they be deleted to eliminate the confusion, especially those that exist on the paths specified in the PATH environment variable.

General License Security Questions


Table 3-1: General License Security-related Problems and Solutions
Problem Fix Problem Fix Can I use mixed security types in one application session? No. With the current license security implementation, only one licensing type can be used in one application session. Where do I download SimSci-Esscor license security software? As long as you have a valid SimSci-Esscor ESD user account, you are eligible to download the license security programs/utilities from the ESD web site. The steps for the download are: 1 Open the web page http://www.simsci-esscor.com 2 Select Support->Software Updates & Knowledge 3 Click the Enter the SIM4ME Software Updates & Knowledge Base Website link 4 Click the License Security link 5 Enter your user name and password and click the Login button 6 Click the Updates/documentations/Examples/Utilities/ Simulation Tips link 7 Click the item that you'd like to download You have problems reading the disks: General failure reading drive, repeats the request for the next disk (wrong disk). Errors during the installation or unloading of the archived files. 1 2 1 2 Verify that you have inserted the correct disk. Insert the disk again and retry. Verify the disk with CHKDSK. If the disk cannot be read, or if CHKDSK shows errors, contact Technical Support for fast replacement.

Problem

Fix 1 Fix 2

PRO/II 9.1 Getting Started Guide

3-17

Problem Fix 1 Fix 2 Problem Fix Problem Fix 1 Fix 2

Invalid ;path of access failures: You receive messages that files could not be copied and that the installation failed. If you are installing to a network, ensure that you have adequate read/ write access privileges. Ensure that you have enough disk space in the specified directory. PRO/II is installed on a system running Windows NT. When it runs, it produces errors relating to security. Ensure that whoever installed PRO/II had system administration rights/privileges. Security chip missing errors. The security device must be the first item in parallel port. Make sure that the security installation has been completed correctly and that you have the security device listed in the installation instructions. Make sure that the security device is firmly inserted into the parallel port. Check the 25 connector pins on the security device for damage. If a printer is attached, make sure it is turned on. Some laptop computers do not put out enough voltage to the parallel port to return an answer to the program. You can test this by attaching a printer, turning it on, and executing the program. If it works with a printer attached, then you can use that as a solution, move the program to another computer, or contact Technical Support for a special battery adapter to increase voltage directly to the security device number. Something to try: Some laptop problems have been resolved by attaching a cable at least two feet long to the printer side of the security device (no printer). Make sure only similar security devices are piggybacked.

Fix 3 Fix 4 Fix 5

Fix 6

3-18

Installation Troubleshooting

OLI Chemistry Wizard License Security


The Chemistry Wizard application is a product of OLI Systems, Inc, an independent development alliance partner of Simulation Sciences Inc.. Installation of Chemistry Wizard application is discussed in the OLI Chemistry Wizard User Guide. Installation includes registering the serial number of the product. Sometimes, the serial number may need to be changed. This may be due to installation of a new version of PRO/II or of the Chemistry Wizard application, licensing new component data from OLI Systems, or merely as part of a license renewal.

Changing the Chemistry Wizard Serial Number


This discussion assumes the PRO/II installation is complete, and the Chemistry Wizard version 3.1 is installed and functional. The PRO/II install program provides a serial number that is valid only as a partial license. However, it allows access to the MSE option in the Chemistry Wizard application.

Obtain a new serial number from OLI, Inc. Invensys cannot provide full licenses for all the OLI products that can be used by PRO/II. Refer to the Chemistry Wizard User Guide for instructions. Create a .dbs file using the MSE option. Start the OLI Chemistry Wizard application and choose the MSE option. Give the database file a name and add some components. Save the database file, being sure to remember the file name and the location where it is stored. Close Chemistry Wizard application. Run PRO/II Software to change the serial number. Start PRO/II. On the Input menu, select Thermodynamic Data... Set up PRO/II Software to use the MSE data base. In the Thermodynamic Data dialog, highlight a system in the Defined Systems: dialogue; then clock the Modify... button. Highlight Electrolyte in the Category field and User-Added Models 7.0 in the Electrolyte System: field. Press the Add button add it to the simulation. It should show up as a User method

PRO/II 9.1 Getting Started Guide

3-19

in the Defined Systems: list box. This should activate the Modify button, typically bordered in red. Click the Modify... button to open the Thermodynamic Data - Modification data entry window. Near the bottom of the window should be a field labelled DBS File Name:. Near it should be a Browse... button.

To select the .dbs file (created above using the MSE option): Click the Browse... button and navigate to the directory where the data file is stored. Select the data file. Close all Thermodynamic data DEWs to return to the main PFD window of PRO/II Software. Ther probably will be some messages about generating lists of electrolyte components. These may be ignored for now.

Run the simulation in PRO/II Software. Press the RUN button (either on the RUN palette or on the main tool bar).

At this point PRO/II should request the serial number. Enter the new serial number as requested. Press OK repeatedly to exit all dialogue windows. Close PRO/II and restart the application for the change to take effect. If the serial number is not requested, contact a PRO/II support representative.

3-20

Installation Troubleshooting

Chapter 4 Tutorial : Introduction


What can PRO/II Software do?
PRO/II Software is a comprehensive process simulation program that runs as a Windows compliant application under Windows 2003, Windows XP or Windows VISTA. All its powerful simulation features, familiar to process engineers worldwide, are combined with the ease of the PROVISION Windows interface. Steady-state process flowsheets 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 Software. 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 flowsheet. 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 4-1.
Table 4-1: Color Significance
Color Significance

Red Green Blue

Required data. Actions or data required. Optional or default data. Data you have supplied

PRO/II 9.1 Getting Started Guide

4-21

Yellow Gray Black

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

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 Software, you are advised to work through all of Session 1: Separator.

In Session 2: Complete Expander Plant, 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 flowsheet, run the simulation, and review the results. At each step, an illustration of the PROVISION display screen is provided. Session 3: Presentation of Output; is designed to introduce some of the many tools that PRO/II Software provides, to organize, format, and review results from the first two sessions. Many features are new or improved in version 9.1.

Where to Start?
PRO/II Software 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 Getting Started Guide. Although not recommended, experienced users may skip the Getting Started 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 flowsheet. 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
4-22 Tutorial : Introduction

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. In addition, the production department is interested in knowing how this feed composition change will affect the following:

The process flowsheet is shown in Figure 4-1, and the feed composition is presented in Table 4-2.
Note: Both Sessions 1 and 2 assume that ENGLISH units of

measure were selected as the default units for input and output data.
Figure 4-1: Expander Plant Flowsheet

PRO/II 9.1 Getting Started Guide

4-23

Table 4-2: Feed Stream Information


Component Mole% Component Mole%

Nitrogen Methane Ethane Propane IButane

7.91 73.05 7.68 5.69 0.99

NButane IPentane Pentane Hexane Heptane

2.44 0.69 0.82 0.42 0.31

Flow rate (m3/s) 8.0 Temperature (F) 120.0 Pressure (psia) 602.7

How to Proceed?
Lets get started with using PRO/II Software. Session 1 simulates only three process units of the flowsheet shown in Figure 4-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 flowsheet by continuing with Session 2, which demonstrates advanced features of PRO/II Software 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.

4-24

Tutorial : Introduction

Chapter 5 Session 1: Separator


Three process unitsthe separator, liquid pressure valve, and expander will be simulated in this first tutorial session. The reduced plant process flowsheet for this session is shown in Figure 5-1. The composition of the feed to the flash drum is identical to the feed stream to the gasgas heat exchanger in Figure 5-1. This feed composition is given in Table 5-1.

Figure 5-1: Excerpt from Plant Flowsheet Diagram

PRO/II 9.1 Getting Started Guide

5-1

Starting PRO/II Software


1. 2. From the Windows Start menu, navigate to Programs, SIMSCI, PROII9.1 Left-click the mouse while the mouse cursor is positioned on the PROII 9.1 menu item.

Building the Flowsheet (required)


3. 4. First, open a new flowsheet. 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 5-2. The toolbar appears below the menu bar and above the main PFD window. Using the toolbar icons reduces the number of mouse actions required for a selection.

Figure 5-2: PRO/IIs Graphical User Interface

The floating PFD palette, for adding streams and units, appears first at the right of the flowsheet 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
5-2 Session 1: Separator

location. The floating Run palette can be relocated in the same manner.

Process Units
Start building the process flowsheet for this session by laying down each process unit and stream, one by one, on the PFD. Use Figure 5-3 as a guide. 5. 6. 7. 8. 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).

Figure 5-3: Adding Process Units to the PFD

Moving icons around on the main PFD window is easy. 9. Place the cursor on an icon, press and hold the left mouse button, and drag it to a new location.

10. Release the mouse button to drop the icon at the position of the mouse cursor.

PRO/II 9.1 Getting Started Guide

5-3

11. 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: 12. Click Streams on the floating PFD palette. The cursor changes to an arrow with an S attached. You can now add streams to your flowsheet. 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.
Figure 5-4: The PFD: Process Units and Streams

13. 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. 14. 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 5-4.
Note: As soon as you click a streams origin point, the OUTLET

ports disappear. Only the valid INLET ports appear and are colored red.
5-4 Session 1: Separator

15. 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 flowsheet, 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.

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: 16. 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. 17. To refresh the PFD quickly, select Redraw from the View menu. 18. To open the menu that provides a variety of options such as Delete, Rotate, and Flip (among others), right-click the icon. 19. To activate the Data Entry dialog box, double-click the icon.

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 box by using either of the following methods:
PRO/II 9.1 Getting Started Guide 5-5

20. Click the benzene molecule icon toolbar.

outlined in red, on the

Note: The red color of the icon border indicates that data entry is required.

21. Click Input at the top of the screen. 22. Next, click Component Selection. (see Figure 5-5). The Component Selection window is displayed.
Figure 5-5: Selecting Components

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

5-6

Session 1: Separator

Figure 5-6: Component Selection Window

24. Click Add -> to move this component to the Component Name/ Alias field (see Figure 5-7).
Figure 5-7: Component Selection Window

25. Repeat the previous two steps for each of the other components: METHANE, ETHANE, PROPANE, IBUTANE, NBU-

PRO/II 9.1 Getting Started Guide

5-7

TANE, IPENTANE, PENTANE, HEXANE, and HEPTANE (these are the valid library component names). Figure 5-8 illustrates the display after all the components are added.
Figure 5-8: Component Selection Window

Note: The border of the Component Name/Alias is now blue. This color indicates that data requirements were satisfied with usersupplied data.

26. 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. 27. Click Select from Lists in the Component Selection window. This opens another dialog box that groups various components into lists. 28. 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
5-8 Session 1: Separator

(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 box using one of the following procedures: 29. Click the equilibrium 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 30. Select Input at the top of the screen and choose Thermodynamic Data as shown in Figure 5-9.
Figure 5-9: Defining Thermodynamic Methods

This opens the Thermodynamic Data dialog box illustrated in Figure 5-10. It offers many systems of thermodynamic calculation methods. For example, the predefined Peng-Robinson 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:

PRO/II 9.1 Getting Started Guide

5-9

31. Select Most Commonly Used option from the list labeled Category. 32. Select Peng-Robinson from the Primary Method list box, as shown in Figure 5-10.
Figure 5-10: Thermodynamic Data Entry Window

33. Click Add-> to include this method set in the list of Defined Systems (see Figure 5-11).
Note: Since we have included only a single method set, it serves

as the Default System (see Figure 5-11). You may set or change the default system whenever more than one method set is included in a simulation.

5-10

Session 1: Separator

Figure 5-11: The Completed Thermodynamic Data Entry Window

34. Click OK from the Thermodynamic Data window.

Note: PRO/II Software 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 5-11 opens up a cascading series of dialog boxes 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 box. 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 flowsheet require complete data. Streams that originate as products from unit operations will be
PRO/II 9.1 Getting Started Guide 5-11

computed automatically as the simulation solves. To open the main data entry window of any icon, use any one of the following procedures: 35. Position the cursor on an icon and double-click the left mouse button. The main data entry window for the icon opens. 36. 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. 37. 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. 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 flowsheet, stream S1 feeds separator F1. In the overall flowsheet of Figure 51, 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 5-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). In addition, the pressure will be set to match the outlet pressure of chiller E2 (587.7 psia). Adjustments will be made later in Session 2.

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

Table 5-1: Feed Stream Information


Component Mole% Component Mole%

5-12

Session 1: Separator

Nitrogen Methane Ethane Propane IButane

7.91 73.05 7.68 5.69 0.99 8.0

NButane IPentane Pentane Hexane Heptane

2.44 0.69 0.82 0.42 0.31

Flow rate (m3/s)

Temperature (F) -84.0 Pressure (psia) 587.7

Double-click stream S1 to open the Stream Data dialog box (Figure 5-12).
Figure 5-12: The Stream Data Entry Window

38. 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: 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 5-13.

PRO/II 9.1 Getting Started Guide

5-13

Figure 5-13: The Stream Data Flowrate and Composition Window

The rate we have entered has the units of pound-moles per hour. However, Table 5-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: 39. Click to highlight the rate field (where 8.0000 are displayed). 40. Click UOM (upper-left in this DEW) to open the Convert Units-of-Measure window as shown in Figure 5-14.
Figure 5-14: Convert Units-of-Measure Window

41. Select Vapor Volume (Vap. Vol.) from the Basis list box. Select m3 from the second column, and sec from the third column. 42. Click Change Units to return to the Stream Data Flowrate and Composition window.
5-14 Session 1: Separator

43. Fill in the fields for each component in the Composition Mole list, using the mole percentages listed in Table 5-1 (see Figure 5-15).
Figure 5-15: Stream Data-Flowrate and Composition DEW

44. 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 5-15 shows the filled-in values through Pentane. If desired, use the scroll bar to move through the list. 45. After the composition data has been entered, click OK to return to the main Stream Data window. To specify the feed stream temperature and pressure: 46. For the First Specification data field, select Temperature option, as shown in Figure 5-16. 47. Enter the temperature value of 84.
Note: The UOM is F.

PRO/II 9.1 Getting Started Guide

5-15

Figure 5-16: Stream Data DEW

48. 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 5-17.
Figure 5-17: The Completed Stream Data Entry Window

49. No fields remain bordered in red, so, click OK to return to the PFD view.

5-16

Session 1: Separator

Unit Operations Data


Supplying data for each unit operation is similar to supplying stream data. Lets start with the flash drum unit, labeled F1. 50. 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. 51. 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 Software for this duty. Note the green border.
Figure 5-18: The Flash Drum Data Entry Window

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

Saving the Simulation


53. Save the data and flowsheet entered so far and give the simulation a name. 54. From the File menu on the main PRO/II window, select Save As... (see Figure 5-19
PRO/II 9.1 Getting Started Guide 5-17

Figure 5-19: Saving Simulation Data

55. Supply a name for the simulation data file by typing SESSION1. 56. If desired, use the drop-down navigation window to select a storage directory. 57. Click OK to continue. The main PRO/II PFD window now should look similar to Figure 5-20.
Figure 5-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.
5-18 Session 1: Separator

58. Continue entering data for the other process units. To provide data for the Valve: 59. Double-click the valve icon on the PFD to bring up the Valve data entry window.
Figure 5-21: The Valve Data Entry Window

Optionally, you may enter a description for the unit. For e.g., VALVE. 60. Select the Outlet Pressure option in the Operating Parameter field and enter the value of 125 psia. 61. Click OK to return to the main window. The completed Valve data entry window is shown in Figure 5-21. To provide data for the Expander: 62. 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. 63. Select the Outlet Pressure option in the Pressure and Work Specifications field and input a value of 125 psia. 64. Change the Adiabatic Efficiency entry from its default value of 100% to 80% as shown in Figure 5-22. 65. Click OK to continue.

PRO/II 9.1 Getting Started Guide

5-19

Figure 5-22: The Completed Expander Data Entry Window

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

Figure 5-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 flowsheet have been specified.

66. Save the simulation data file again under the name SESSION1 by selecting Save under the File menu. 67. Run the simulation.

5-20

Session 1: Separator

Running the Simulation (required)


Once the flowsheet is built, and all the required data has been entered, you may run the simulation.

Click Run calculations.

on the main PRO/II toolbar to begin the

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: 68. Click Check Data on the floating Run palette to check if there are any errors in your flowsheet. If there are errors or warnings, the Status button on the Run palette will be outlined in red or yellow. 69. Click Status to bring up the Flowsheet Status window. This window displays the errors or warning messages generated by the flowsheet data. 70. Correct the errors in your flowsheet. 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 Software performs the flowsheet calculations, the color of each PFD icon changes from green to blue. 71. Click Messages on the Run palette to display the Messages window. The Messages window contains a scrollable history of the completed calculation steps. 72. Click Messages again to close the Messages window.

PRO/II 9.1 Getting Started Guide

5-21

Viewing the Output Report


You must instruct PRO/II to create the output report before it can be viewed. 73. 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 5-24).

Figure 5-24: Viewing Output Reports Using Programmers File Editor

Note: The Programmers File Editor program is the default editor for viewing output reports. Use the scroll bar to view the output.

74. While in the Programmers File Editor window, select the Print option from the File menu to print the output, if desired. 75. Select the Exit option from the File menu in the Programmers File Editor to close the output report.

5-22

Session 1: Separator

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: 76. Click stream S1 to highlight. 77. 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 5-25) appears. This information is saved in a file each time the flash tool executes.
Figure 5-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 enter the full directory path and file name of any other installed text editor, such as Notepad or WordPad.
PRO/II 9.1 Getting Started Guide 5-23

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: 78. Displaying different views of a single flowsheet (e.g., full and magnified views) in multiple viewport windows. 79. Using the Specification and Define features. 80. Entering data for a column. 81. Changing the default dimensional units. 82. Modifying the thermodynamic property calculation methods. Taking Session 2 is not a prerequisite for using PRO/II Software. You could end your tutorial session here and begin working on your own simulations. On the other hand, you can come back to the tutorial any time, if you decide to continue later.

5-24

Session 1: Separator

Chapter 6 Session 2: Complete Expander Plant


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

Building the Flowsheet (required)


To begin this session, PRO/II Software needs to be running the simulation from session 1. To open the flowsheet previously saved under the name Session 1: 1. 2. Select Open from the File menu on the main PDF window. Select the file SESSION1.PRZ from the files listed in the dropdown list box.

PRO/II loads this database file and displays the flowsheet 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: 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.

PRO/II 9.1 Getting Started Guide

6-1

4. 5.

With Figure 6-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. 6. When the column is placed on the PFD, PRO/II Software 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 6-2.

7. 8.

Figure 6-1: Column Configuration Window

Your PFD should now appear similar to Figure 6-2. The placement of the unit operation icons that you added probably will be different from 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 Software 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.

6-2

Session 2: Complete Expander Plant

Figure 6-2: PFD with Additional Process Units

PRO/II Software allows you to open multiple view windows of the simulation PFD drawing. This feature allows you to view the process units easily on large flowsheets. To open a second view of the flowsheet PFD, and to tile both windows horizontally, either: 9. or 10. Click on the main PRO/II toolbar to bring up the Flowsheet:2 window. 11. Next, open the Window menu on the main PRO/II menu bar and select Tile Horizontally. Select New View from the Window menu on the main PRO/II menu bar to bring up the Flowsheet:2 window.

PRO/II 9.1 Getting Started Guide

6-3

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 box. 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: 12. To select the Flowsheet:1 window, click on its title bar. 13. Click on the toolbar to view the entire flowsheet in window Flowsheet:1. 14. Select the Flowsheet:2 window by clicking on its title bar. 15. Click on the toolbar of the main PRO/II window. The cursor changes to a magnifying glass. 16. Move the (magnifying glass) cursor to the Flowsheet:2 window. 17. Click and hold down the left mouse button near the two heat exchangers. 18. While holding down the left mouse button, drag the mouse until the two heat exchangers are enclosed in a blue selection rectangle. 19. Release the mouse button. The area bounded by the selection rectangle zooms to fill the entire Flowsheet:2 window (see Figure 6-3).

Note: The New View button

6-4

Session 2: Complete Expander Plant

Figure 6-3: PFD with Multiple View Windows

20. Click Streams on the floating PFD palette and lay down the following streams: 1. 1. 1. 1. 1. 1. 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 flowsheets. You can now close the second window, Flowsheet:2, and maximize the Flowsheet:1 window. 2. Double-click the control-menu box of Flowsheet:2 to close it.

PRO/II 9.1 Getting Started Guide

6-5

3.

Click the maximize button of the Flowsheet:1 window to maximize it.

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

Figure 6-4: PFD with Complete Flowsheet

As mentioned in Session 1, the composition of the feed stream to the first unit (the gasgas 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: 4. 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.

5. 6.

6-6

Session 2: Complete Expander Plant

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. 7. 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 flowsheet for the total demethanizer/ expander plant as shown in Figure 6-5 below.

Figure 6-5: Reconnected PFD for Complete Flowsheet

Note: There are no stream identifiers bordered in red, since we

have merely reconnected the previously defined flash drum feed to the gasgas 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 column and change the temperature and pressure of stream S1.

PRO/II 9.1 Getting Started Guide

6-7

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: 8. 9. 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.

10. 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 6-6.
Figure 6-6: Modified Stream Data Window for Stream S1

11. 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: 12. To select E1, double-click its icon on the PFD. The Heat Exchanger data entry window as shown in Figure 6-7 appears. 13. Optionally, type in GAS-GAS HX as the unit description.

6-8

Session 2: Complete Expander Plant

Figure 6-7: The GasGas Heat Exchanger Data Entry Window

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

16. 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. 17. Select stream S6 (the column overhead) as the feed to the cold side, and stream S7 (the compressor feed) as the cold side product. 18. Return to the main data entry window for unit E1. The hot side inletcold side outlet stream temperature approach is required to be 10F.
PRO/II 9.1 Getting Started Guide 6-9

19. Select Specificationon the Heat Exchanger data entry window. The Heat Exchanger Specifications window shown in Figure 6-9 appears. 20. Select the Hot InletCold Outlet Temperature Approach specification option from the Specification drop-down list box and enter a value of 10F.
Figure 6-9: The Heat Exchanger-Specifications Window

21. 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 6-10).
Figure 6-10: The Heat Exchanger Data Entry Window

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

6-10

Session 2: Complete Expander Plant

Figure 6-11: The Chiller Data Entry Window

23. 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 Figure 6-11 and Figure 6-12.

Figure 6-12: 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 6-13.

PRO/II 9.1 Getting Started Guide

6-11

Figure 6-13: Chiller Data Entry Window

Compressor
24. Double-click the compressor icon (C1) to open the main data entry window for this unit (see Figure 6-14). 25. Enter the compressor adiabatic efficiency as 75% in the Efficiency or Temperature Specification field.
Figure 6-14: 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 Software: 26. Select Work from the Pressure, Work, or Head Specification drop-down list box.

6-12

Session 2: Complete Expander Plant

27. Click once in the data entry field directly beside the Pressure, Work or Head Specification drop-down list box. 28. Click Define (see Figure 6-14), which is now active on the data entry window toolbar. This brings up the Definition data entry window (see Figure 6-15).
Figure 6-15: Compressor Definition Window

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

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

PRO/II 9.1 Getting Started Guide

6-13

Figure 6-17: Parameter Selection Window

Figure 6-16 through Figure 6-19 show the completed Parameter, Definition, and Compressor data entry windows.

Figure 6-18: Completed Parameter Window

34. Click OK to return to the Definition window (Figure 6-19).

6-14

Session 2: Complete Expander Plant

Figure 6-19: Completed Definition Window

35. Click OK to return to the main Compressor data entry window shown in Figure 6-20.
Figure 6-20: Completed Compressor Data Entry Window

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

Column
The red label T1 of the column indicates data entry is required. 37. 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.

PRO/II 9.1 Getting Started Guide

6-15

Figure 6-21: Column Main Data Entry Window

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

41. As soon as you click OK, PRO/II displays the Transfer to Specification dialog box (see Figure 6-23).

6-16

Session 2: Complete Expander Plant

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 6-23: Transfer to Specification Option Window

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

43. Click in the main Column data entry window to specify the pressure of the top tray. The Column-Pressure Profile window appears (see Figure 6-24).
Figure 6-24: Column Pressure Profile Data Entry Window

44. 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 6-24 shows the complete window. 45. 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.

PRO/II 9.1 Getting Started Guide

6-17

46. Click on the main Column data entry window. This opens the Column-Specifications and Variables window.
Figure 6-25: Column-Specifications and Variables Window

47. Click the check box for Add Specifications and Variables and the Active check box on the right (see Figure 6-25). 48. Click the red-linked text Parameter... in the Specifications field to bring up the Parameter window (see Figure 6-26). 49. Select Stream from the Stream/Unit drop-down list box. Select the column bottoms product stream (S11) as in Figure 6-26.
Figure 6-26: Parameter Window

50. Click the red-linked text Parameter... to open the Parameter Selection window. 51. Select Flowrate from the Parameter field and choose Selected Components from the Flowrate field. 52. Select METHANE from both the Starting Component and Ending Component drop-down list boxes (see Figure 6-27).

6-18

Session 2: Complete Expander Plant

Figure 6-27: Parameter Selection Window

53. The completed Parameter window is shown in Figure 6-28. Click OK to continue.
Figure 6-28: Completed Parameter Window

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

PRO/II 9.1 Getting Started Guide

6-19

Figure 6-29: Column Specifications and Variables Window

55. Click the division sign / in the pop-up box. The resulting window should now appear as shown in Figure 6-30.
Figure 6-30: Column Specifications and Variables Window

56. Click the red-linked text Parameter in the Specifications field to open the Parameter window. 57. Select Stream from the Constant/Stream/Unit drop-down list box. 58. Next, select stream S11 (the bottom product) from the Stream Name drop-down list box as shown in Figure 6-31.
6-20 Session 2: Complete Expander Plant

Figure 6-31: Parameter Window

59. Click the red-linked text Parameter... to open the Parameter Selection window. 60. 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 6-32: Completed Parameter Selection Window

61. Click OK to return to the Parameter window, which is now complete (see Figure 6-33).
Figure 6-33: Completed Parameter Window

PRO/II 9.1 Getting Started Guide

6-21

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


Figure 6-34: Partially Completed Specification

63. 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 6-35 shows the completed column purity specification on the bottoms product.
Note: No elements of the specification are red. Figure 6-35: Completed Specification

The column model in PRO/II Software 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 not all the specifications can be met simultaneously. The PROVISION input

6-22

Session 2: Complete Expander Plant

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 6-36, we see that PRO/II Software 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 6-36.

Figure 6-36: Variable Window

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

PRO/II 9.1 Getting Started Guide

6-23

Figure 6-37: Completed Parameter Selection Window

65. Press Cancel to return to the Variable window. 66. Press Cancel to return to the Specifications and Variables window. 67. Press Cancel to return to the main column data entry window, as illustrated above in Figure 6-31. No elements are displayed in red, so the column does not require more data. 68. Click OK to save the data and exit the column. The main PRO/II window now is illustrated in Figure 6-38.

Figure 6-38: The PFD After Input of All Required Data

6-24

Session 2: Complete Expander Plant

Note: There are no remaining toolbar icons, unit identifiers, or

stream identifiers bordered in red. This means that all process data required for this flowsheet have been supplied. 69. Save the completed data file under the new name SESSION 2. Use the Save As option from the File menu. Run the simulation.

Running the Simulation (required)


PRO/II provides a visual cue that the flowsheet 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: 70. Click Run on the toolbar.

71. 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 flowsheet if necessary, or, if there are no errors and you determine the messages to be acceptable, click Continue to proceed with the simulation.

Note: To quickly stop the calculations, click

on the toolbar.

Reviewing the Simulation Results


As PRO/II Software performs the flowsheet calculations, the colors of the PFD icons change. The units and streams will all be blue in color when the flowsheet 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

PRO/II 9.1 Getting Started Guide

6-25

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 Session 2 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 Software provides you with a number of optional data entry windows where you can specify your simulation preferences. PRO/II Software is flexible in allowing you to: 72. Input a problem description for the simulation. 73. Specify the input and output default dimensional sets of units. 74. 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.

6-26

Session 2: Complete Expander Plant

Chapter 7 Session 3: Presentation of Output


In this third tutorial session, you will learn how to use the tools available in PRO/II Software 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 paste the flowsheet 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 Workbook.

Modifying the Flowsheet Stream Border Style


Rearranging the icons, as shown in Figure 7-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:

PRO/II 9.1 Getting Started Guide

7-1

7.

Right-click a stream. This displays the pop-up actions menu shown in Figure 8-1

Figure 7-1: Rearranged PFD Drawing

8. 9.

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

Figure 7-2: Stream Style Window

10. 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. 7-2 Session 3: Presentation of Output

To use the circle border as the default border for subsequent streams on the PDF: 11. Choose OptionsDrawing Defaults Stream Display... on the main menu bar. This opens the Stream Style window (Figure 7-3). 12. 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.

Figure 7-3: Default Stream Style Window

13. Click OK to return to the PFD.

Displaying Stream Properties on the PFD


To display stream properties for individual streams on the PFD: 14. Select a stream, then right-click on it to display the right mouse menu. 15. Choose Display... to open the Stream Style window. 16. Select stream properties from the drop-down list box for Stream Label Type.
PRO/II 9.1 Getting Started Guide 7-3

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.

Figure 7-4: Stream Style Window

Figure 7-5 illustrates the PFD drawing after applying the Property Label List to streams S1 and S8.

Figure 7-5: The PFD Using Stream Property Lists for Stream Labels

7-4

Session 3: Presentation of Output

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 box. Analogous tools are available for displaying properties of unit operations.

Exporting the PFD to the Windows Clipboard


PRO/II Software provides the option to copy the PFD drawing to the Windows clipboard. From the clipboard, it is simple to 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: 17. Choose FileExport from the main PRO/II menu bar. 18. Click the radio button for Flowsheet Drawing. 19. Click OK. PRO/II Software displays a dialog box confirming that the flowsheet has been exported to the clipboard.

PRO/II 9.1 Getting Started Guide

7-5

Figure 7-6: Flowsheet 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 Software can produce a preformatted stream report in Microsoft Excel Workbook. Figure 7-7 shows part of a stream report from the demethanizer flowsheet 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 Workbook.

7-6

Session 3: Presentation of Output

Figure 7-7: Stream Report in Excel Workbook

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

Creating Pages for Printing the PFD


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

PRO/II 9.1 Getting Started Guide

7-7

Figure 7-8: 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: 24. Double-click the left mouse button on the page boundary to bring up the Page Setup window, as shown in Figure 7-9.
Figure 7-9: Page Setup window

7-8

Session 3: Presentation of Output

As you did for the entire PFD, you can also select pages of the flowsheet PFD and export them to the clipboard. Choose the radio button Selected Page of Flowsheet Drawing from the Export window (see Figure 7-6). Figure 7-10 shows the result of exporting the page from the PFD and pasting it in MS Word.

Figure 7-10: Page Shown in Figure 7-8, in MS Word

PRO/II 9.1 Getting Started Guide

7-9

Figure 7-11: Export of the Page Shown in Figure 7-8, in MS Word

Creating Plots
PRO/II Software has built-in plotting capability, which can be used to paste Excel plots directly into your reports. In the demethanizer flowsheet, you may want to view the column profiles. To set up your plot options: 25. Select the OptionsPlot Setup... from the main PRO/II window. 26. Choose the running Excel version from the drop-down list box. 27. Click OK to return to the PFD. To create a plot: 28. Select the OutputGenerate Plot from the main PRO/II window to display the PRO/II - Generate Plot window, as shown in Figure 7-12. 29. Select column T1 from the list displayed in the Units for Selection group box. 30. Select the type of plot you want to generate from the Available Plots list.
7-10 Session 3: Presentation of Output

31. Click Plot... to create the Excel plot. Output is shown in Figure 7-12.
Figure 7-12: Generate Plot Window

Figure 7-13: Column Profile Plot Created in Excel Workbook

Displaying Stream Results in HTML


You can display stream results in HTML format using your default browser or the viewer provided by PRO/II Software. To change to the viewer: 32. Select OptionsViewer from the main PRO/II menu. PRO/II Software will display the Viewer window as shown in Figure 7-14.

PRO/II 9.1 Getting Started Guide

7-11

33. Click the radio button Viewer in the Display Results Using: group box and click OK to return to the PFD. 34. Select the stream for which you want to view the results. 35. Right-click on the stream and choose View Results from the menu. On the other hand, you can select the stream and click View on the toolbar. An HTML viewer window containing the stream results similar to Figure 7-15 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 7-14: Viewer window

7-12

Session 3: Presentation of Output

Figure 7-15: View Results window with PRO/II HTML Viewer

Block Diagrams
For large flowsheets, you may want to organize the flowsheet with subflowsheets. This is done using the PRO/II block diagram feature. To create a block diagram: 36. Drag a selection rectangle around the section of the flowsheet containing the heat exchangers and the compressor, as illustrated in Figure 7-16. 37. 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 7-17. 38. Use the View 2 option, as described in Session 2, to view the unit operations 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.

PRO/II 9.1 Getting Started Guide

7-13

Figure 7-16: Selected Area of PFD

Figure 7-17: Selected Section Collapsed into a Block Diagram

7-14

Session 3: Presentation of Output

Figure 7-18: 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 flowsheets.

PRO/II 9.1 Getting Started Guide

7-15

7-16

Session 3: Presentation of Output

Index
A
Adding units, 5-3, 5-4 work, 6-12 Connect units, 5-4 Connectivity unsatisfied, 5-5 Converting older simulation databases, 2-6 Custom installation PRO/II, 2-2

B
Bordered items color coded, 4-21, 5-5, 5-13, 6-7, 6-25 Building the Flowsheet units, 5-3, 5-4

D
Data bases Converting older, 2-6 Desktop Icons, 2-5 Dimensional units setting local units, 5-14 Directory Structure, 2-5 Directory structure PRO/II, 2-5 Disk space PRO/II Requirements, 1-3 Documentation online Help system, 1-ix online PDF files, 1-ix

C
Chemistry Wizard OLI, 2-1, 2-5, 3-19 Colors color coded items, 4-21, 5-5, 5-13, 6-7, 6-25 Column condenser, 6-2 feeds and products, 6-16 overhead, 6-16 pressure profile, 6-17 reboiler, 6-2 trays, 6-2 Compatability Security license files, 3-12 Compiler Requirements, 1-2 Composition defining stream, 5-13 composition, 5-1 Compressor adiabatic efficiency, 6-12 define, 6-13 main data entry window, 6-12

E
Electrolytes Chemistry Wizard, 2-1 Errors Security, 3-18 Expander adiabatic efficiency, 5-19

PRO/II 9.1 Getting Started Guide

I-1

outlet pressure, 5-19

online help, 1-x

F
Feed stream composition, 5-13 main data entry window, 5-13 Feeds, 5-5 File Opening, 6-1 FLEXlm 9.5, 2-3 multiple license FAQ, 3-8 multiple server FAQs, 3-8 multiple server security, 3-9 performance on WAN, 3-12 Restricting Server access, 3-9 Security, 1-4 security, 1-4 Security FAQs, 3-8 Security options file, 3-11 Switching Security, 1-5 FLEXNET 11, 1-5, 2-3 Floating PFD palette, 5-2 Flow rate modifying units of measure, 5-14 Flowsheet, 5-2 connectivity, 5-5 Flowsheet errors, 5-21

I
Icons desktop, 2-5 PRO/II, 2-5 Install Default directory, 2-5 Local Version of PRO/II, 2-2 Installation Custom, 2-2 media, 1-1 Testing PRO/II, 2-6 troubleshooting, 3-1 Installation Requirements, 1-1 Installing PRO/II, 2-1

L
Library components, 5-7 Licenses invalid Security, 3-10 Security multiple, 3-8 Linked text, 6-13

G
Gas-gas heat exchanger, 6-8 GUI color coded items, 4-21, 5-5, 5-13, 6-7, 6-25

M
Maintenance Modify, repair, remove, 2-7 Messages window, 5-21, 6-25 Modify PRO/II, 2-7

H
Hardware Requirements, 1-3 Hardware requirements, 1-2 Heat exchangers hot product temperature, 6-10 specifications, 6-10 specifying process streams, 6-9 Help

N
Notepad, 5-23

O
OLI

Index

I-2

Chemistry Wizard, 2-1, 2-5, 3-19 Online documentation, 1-x Opening a file, 6-1 Operating System Requirements, 1-2, 1-3 Options PRO/II Selecting security, 2-3 Security, 1-4 Switching Security, 1-5 Output Report generation, 2-6 sample problem, 2-6

R
Reconnecting streams, 6-6 Remove PRO/II, 2-7 Repair PRO/II, 2-7 Report Output generation, 2-6 Sample problem output, 2-6 Reqirements Operating System, 1-2 Requirements Fortran Compiler, 1-2 PRO/II Disk Space, 1-3 Results Reviewing, 2-6 results, 4-24

P
Package contents, 1-1 PaletteSee PFD palette, 6-5 PFD palette, 6-5 PRO/II color coded items, 4-21, 5-5, 5-13, 6-7, 6-25 Custom installation, 2-2 default directory structure, 2-5 FLEXln options, 3-11 icons, 2-5 Install Local Version, 2-2 Installation testing, 2-6 Installing, 2-1 Modify, repair. remove, 2-7 Output Report generation, 2-6 Reviewing results, 2-6 Sample output, 2-6 Security troubleshooting, 3-1 Security FAQs, 3-8, 3-12 Security, Selecting, 2-3 PRO/II Requirements Disk Space, 1-3 Process flow diagram, 4-22 Process unit description, 5-17 program, 4-24 PROVISION color coded items, 4-21, 5-5, 5-13, 6-7, 6-25

S
Security FLEXlm, 1-4 installation

troubleshooting, 3-1 OLI Chem Wizard, 3-19 options, 1-4 Selecting for PRO/II, 2-3 Switching, 1-5 Security FAQs downloading license security software, 3-17 drive read failure, 3-17 errors running Win NT, 3-18 finding host IDs, 3-11 FLEXlm options file, 3-11 FLEXlm performance on WAN, 3-12 invalid license keys, 3-10 launching FLEXlm server, 3-9 license file compatibility, 3-12 license usage configuration Configuration Security license FAQ, 3-11
multiple FLEXlm servers, 3-8 multiple license files, 3-8 restricting access to FLEXlm server, 3-9 security and firewalls, 3-8, 3-12 security chip missing, 3-18

I-3

PRO/II 9.1 Getting Started Guide

using mixed security types, 3-17 Server restricting access, 3-9 Software Requirements, 1-3 Software requirements, 1-2 Streams mode, 5-4 products, 5-11 Structure Default directory, 2-5 Directory, 2-5

missing security chip, 3-18 Security Errors, 3-18

U
Unsatisfied connectivity, 5-5 USB security, 1-4 Security FAQs, 3-12

T
Technical support centers, 1-xii Testing PRO/II installation, 2-6 Token, 2-3 Tokennet, 2-3 Troubelshooting Security failure, 3-17 Troubleshooting installation problems, 3-1

V
Valve outlet pressure, 5-19 Viewing output reports, 6-26 Viewports multiple windows, 6-3

W
Wizard OLI Chemistry, 2-1, 2-5, 3-19

Index

I-4