Professional Documents
Culture Documents
0
Getting Started Guide
INPLANT 4.0 Use of the INPLANT program, and its component parts and subsystems,
Getting Started Guide is governed by the terms and conditions of a separate written agreement
between your employer and Invensys Systems, Inc., its subsidiaries or
affiliates.
Copyright Notice 2006 Invensys Systems, Inc. All rights reserved. No part of the mate-
rial protected by this copyright may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying,
recording, broadcasting, or by any information storage and retrieval sys-
tem, without permission in writing from Invensys Systems, Inc.
Trademarks INPLANT, NETOPT, Invensys, SimSci-Esscor, and The
Power of Simulation3 are trademarks of Invensys plc, its
subsidiaries, and affiliates. TACITE is a trademark of
Institut Francais du Petrole (IFP). Windows 2000, Windows
XP, Windows 2003, and MS-DOS are trademarks of
Microsoft Corporation. Compaq Visual Fortran is a
trademark of Compaq Computer Corporation. Adobe,
Acrobat, Exchange, and Reader are registered marks and/or
trademarks of Adobe Systems, Inc. All other products noted
herein are trademarks of their respective companies.
U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND
The Software and accompanying written materials are provided with
restricted rights. Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights
in Technical Data And Computer Software clause at DFARS 252.227-
7013 or in subparagraphs (c) (1) and (2) of the Commercial Computer
Software-Restricted Rights clause at 48 C.F.R. 52.227-19, as applicable.
The Contractor/Manufacturer is: Invensys Systems, Inc. (Invensys
SimSci-Esscor) 26561 Rancho Parkway South, Suite 100, Lake Forest,
CA 92630, USA.
Printed in the United States of America, November 2006.
Contents
Table of Contents
Chapter 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
About This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
About INPLANT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
About SimSci-Esscor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Where to Find INPLANT Documentation . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Online Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Where to Find Additional Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Technical Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Chapter 2
Installation Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Verifying the Package Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Installation Media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Hardware/Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Disk Space Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Virtual Memory Requirement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
USB Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
FLEXlm Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
TOKEN Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Switching Security Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Chapter 3
Installing INPLANT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Installing a Standalone Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
For Typical installation: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
INPLANT Installation Directory (Typical) . . . . . . . . . . . . . . . . . . . . 3-4
INPLANT 4.0 Getting Started Guide i
For Custom installation: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Installing a Network Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Install all Files onto a Network File Server (NFS) . . . . . . . . . . . . . . . 3-6
Install Executable Files on an NFS and User Directories Locally . . . 3-6
Install Executable Files on an NFS: . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Typical Directory Structure on a Network Drive . . . . . . . . . . . . . . . . 3-8
Install User Directories Locally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Uninstalling INPLANT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Accessing User-Added Subroutines (UAS) . . . . . . . . . . . . . . . . . . . . . . . 3-11
Workspace for INPLANT User-Added Routines . . . . . . . . . . . . . . . . 3-12
Build Sample One: Customize a Pressure Drop Model . . . . . . . . . . . 3-13
Build Sample Two: Customize an INPLANT Thermo Routine. . . . . 3-15
Chapter 4
Installation Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Diagnosis of Problems with TOKEN and FLEXlm 7.2/9.5 Security . . . . 4-1
Diagnosis of USB Security Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
General License Security Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
Chapter 5
Sample Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Step 1 Getting Started, Setting Up the Problem . . . . . . . . . . . . . . . 5-2
Step 2 Selecting Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
Step 3 Selecting Thermodynamic Methods . . . . . . . . . . . . . . . . . . . 5-7
Step 4 Describing and Defining the Simulation . . . . . . . . . . . . . . . 5-9
Step 5 Selecting Printer Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Step 6 Entering Calculation Options . . . . . . . . . . . . . . . . . . . . . . . . 5-12
Step 7 Entering Global Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13
Step 8 Drawing the Flowsheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15
Step 9 Running the Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-21
Step 10 Viewing the Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22
Index
ii Contents
Chapter 1
Introduction
About INPLANT
The INPLANT program is a steady-state, fluid flow simulator for
designing, rating, and analyzing plant piping systems. Engineers
can quickly rate and analyze the safety of plant piping systems via
the INPLANT Graphic User Interface for Microsoft Windows
Operating Systems. INPLANT also enables the design of new
piping systems or the revamp of a wide variety of existing systems.
Applications range from simple, single pipe sizing and rating
calculations to large, multiphase fluid piping networks with
About SimSci-Esscor
For nearly 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
a business unit of Invensys Process Systems, owned by
Invensys, plc.
1-2 Introduction
online documentation is installed to the INPLANT40\MANUALS
directory during the INPLANT installation process and no longer
requires the installation CD to be present in order to be viewed.
Online Help
INPLANT comes with online Help, a comprehensive online
reference tool that accesses information quickly. In Help,
commands, features, and data fields are explained in easy steps.
Answers are available instantly, online, while you work. All dialog
boxes in INPLANT GUI have help buttons and clicking on the Help
button will take you to the help content relevant for that feature.
You can also access the electronic Contents for Help by selecting
Help/Contents from the menu bar. A Road Map to Online Help will
be displayed where you can select the help document you wish to
view. From the desired online help document you can do a search
for the desired topic. If you choose a .HLP file, you can search by
selecting Help/Search for from the menu bar. If you choose a .PDF
formatted document, you can use all the available Acrobat Reader
search features to find the topic of interest. Please refer to Acrobat
Reader online help for information concerning Acrobat Reader
features.
1-4 Introduction
Table 1-2: Authorized SimSci-Esscor Technical Support Centers
Support Center Address Tel/Fax/Internet
USA and Canada Invensys Process Systems (SimSci-Esscor) Tel: + 1 800 SIMSCI 1
10900 Equity Drive + 1 713 329 1600
Houston, TX 77041 Fax: + 1 713 329 1905
E-mail: support.simsci@ips.invensys.com
USA East Coast Invensys Process Systems (SimSci-Esscor) Tel: + 1 610 364 1900
Gateway Corporate Center, Suite 304, Fax: + 1 610 364 9600
223 Wilmington-West Chester Pike, E-mail: support.simsci@ips.invensys.com
Chaddsford, PA 19317
USA West Coast Invensys Process Systems (SimSci-Esscor) Tel: + 1 949 525 4684
26561 Rancho Parkway South Suite 100 Fax: + 1909 593 7130
Lake Forest, CA 92630 E-mail: suprt.simsci@ips.invensys.com
Mexico Invensys Systems Mexico S.A Tel: + 52 55 52 63 01 77
Ejercito Nacional 1005, Col. Irrigacion Deleg. Fax: + 52 55 55 57 26 20
Miguel Hidalgo, Mexico city 11500 E-mail: support.mx@simsci.com
Argentina Invensys Systems Argentina Inc. Tel: + 54 11 6345 2100
Nunez 4334 Fax: + 54 11 6345 2111
Buenos Aires (Argentina) C1430AND E-mail: supportar@simsci.com
Italy Invensys Systems Italia S.p.A Tel: + 39 02 262 97326
Via Carducci, 125 Fax: + 39 02 262 97200
Sesto San Giovanni (MI) 20099, Italia E-mail: support.it@simsci.com
Venezuela Invensys Systems Venezuela Tel: + 58 212 267 5868
Torre Delta Piso 12, Av.Francisco de Miranda Fax: + 58 212 6270964
Altamira, Caracas 1060 E-mail: simscilat@simsci.com
Brazil Invensys Systems Brasil Ltda. Tel: + 55 11 6844 0200
Av. Chibaras, 75 - Moema Fax: + 55 11 6844 0341
Sao Paulo, SP O 4076 - 000 E-mail: suporte.simsciesscorbrasil@ips.invensys.com
Germany Invensys Systems GmbH Tel: + (0800) 550 - 5510
Willy- Brandt- Platz, 6 E-mail: support.de@simsci.com
Mannheim, 68161
Australia and Invensys Performance Solutions Tel: + 61 2 8396 3626
New Zealand Level 2-4, 810 Elizabeth Street Fax: + 61 2 8396 3604
Sydney 2017, Australia E-mail: support.an@simsci.com
Japan Invensys Systems Japan Tel: + 81 3 6914 2655
Harbor One Building 2F, Fax: + 81 3 5715 2686
2-5-5 Higashi-Shinagawa, Shinagawa-ku, E-mail: support@simsci.jp
Tokyo 140-0002, Japan
Middle East Invensys ME Dubai Tel: + 971 4 88 11440
PO Box 61495 Fax: + 971 4 88 11426
Jebel Ali Free Zone, Dubai E-mail: support.me@simsci.com
Asia - Pacific Invensys Software Systems (s) Pte. Ltd. Tel: + 65 6829 8657
15, Changi Business Park, Central 1 Fax: + 65 6261 9492
Singapore 486057 E-mail: asiapactech@simsci.com
United Kingdom Invensys Systems (UK) Limited Tel: + 44 161 429 6744
High Bank House, Exchange Street, Fax: + 44 161 480 9063
Stockport, Cheshire E-mail: simsci.uk@ips.invensys.com
United Kingdom SK3 OET
China Invensys Process Systems (China) Co., Ltd. Tel: + 86 10 8458 5757
809, Tower B, Eaglerun Plaza, No.26 Xiaoyun Road Fax: + 86 10 8458 4521
Chaoyang District, Beijing 100016 E-mail: china.solution@ips.invensys.com
Colombia Invensys Systems LA Colombia Tel: + 57 1 3136360
Calle 100 # 36-39 Int. 4-203, E-mail: support.co@simsci.com
Bucaramanga, SDER
Korea Invensys Systems Korea Tel: + 82-32-540-0665
551-3 Hyosung-dong, Gyeyang-gu Fax: + 82-32-542-3778
Incheon, 407-040 E-mail: jekwon.lee@ips.invensys.com
Documentation
A list of available INPLANT online documents is provided below:
This document: INPLANT Getting Started Guide
INPLANT Users Guide
INPLANT Keyword Manual
SIMSCI Component Data Input Manual
SIMSCI Thermodynamic Data Input Manual
INPLANT Application Briefs
Release Notes
Note: User-added subroutines built under Windows 2000 will run under
Windows 2000, Windows XP, and Windows 2003.
FLEXlm Security
SimSci-Esscor provides a FLEXlm security option on the FLEXlm
Server Application installation CD. 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 SimSci-Esscor.
FLEXlm Server can run under Windows 2000/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.
TOKEN Security
SimSci-Esscor provides a TOKEN security option on the FLEXlm
Server 9.5 Application installation CD. 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 SimSci-Esscor.
FLEXlm Server can run under Windows 2000/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.
Typical This option installs both the GUI and the calculation
portions of INPLANT directly to your PC.
Note: If the Setup prompts for a reboot, you must restart your computer for the
software to be correctly configured.
Note: If the Setup prompts for a reboot, you must restart your computer for the
software to be correctly configured.
Note: The User-added Subroutine files will appear only if the user has selected
them during the network installation.
After you have installed local directories for a user, setup returns
you to the users desktop. Newly installed program icons appear in
the group you selected. A typical installation produces the follow-
ing icons:
INPLANT 4.0
INPLANT 4.0 Online Help
Programmers File Editor
Note: If the Setup prompts for a reboot, you must restart your computer
for the software to be correctly configured.
Uninstalling INPLANT
You can uninstall INPLANT by accessing Add/Remove Programs
in the Control Panel.
To uninstall INPLANT:
Click Start. Select Settings and then select Control Panel.
Double-click Add/Remove Programs. The Add/Remove Pro-
grams Properties dialog box appears.
Select INPLANT 4.0 (for Typical & Custom) and INPLANT 4.0
workstation for Graphics only install (Network install).
Click Add/Remove.
Click Yes to confirm the deletion. A message may ask you
whether to delete a shared file. If you know that the file is not
used by another application, click Yes. Otherwise, click No.
Uninstall deletes the component and displays a screen verifying
deletion.
Note: The order of uninstalling components and/or creating files under the
INPLANT 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.
Note: These instructions assume that you have installed the INPLANT
UAS files in the default directory structure,
C:\SIMSCI\INPLANT40\USERADD. Modify the paths indicated in the
procedure below if you have installed the routine in a directory structure
other than the default structure.
Note: To update the version identification to include the UAS, you must
rebuild D_MAINONE.DLL as described in the previous example.
Note: You may debug your routines by building this dll in debug mode as
described in the previous example.
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:
If you try to start the FLEXlm server on a license file not intended
for the license server, you will get an authentication error. In this
case, you will either need to install the license (and FLEXlm server)
on the machine for which the license was generated, or contact your
SimSci-Esscor sales representative to issue you 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 either be obtained by looking at the license
file, ipassi.lic, or by clicking on 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 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
Problem How can I make FLEXlm security work with firewall on the FLEXlm
server machine?
Fix 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:
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.
4. Make sure both the ports are enabled on the FLEXlm server
machine.
5. 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.
Problem How do I automatically launch my FLEXlm server when I reboot my
FLEXlm server machines?
Fix 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.
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.
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 CD 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:
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
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.
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 4-9 (1 Hard limit of first key found):
Overview
This sample shows a typical session using the INPLANT GUI to
enter data for a simulation, execute the calculations, and review the
results.
The Problem
Build a flowsheet for a gathering adiabatic net coming from buried
sources and pipes to above surface pipes and sinks with a planned
flow reversal in one of the links.
Table 5-1: Problem Design Constraints
Feature Parameter
Overall Dimensions SI
Temperature F
Pressure PSIA
Molar Rate MOLHR
Weight Rate KGHR
Liquid Volume Rate CMHR
Gas Volume Rate CFHR
Length FT,IN
Duty KCHR
Calculation Type Network, Compositional (GAS)
Pressure Drop Correlation PIPE= eaton
Nominal Pipe Diameter 8
Pipe Schedule 40
Pipe Roughness .001800
Pipe heat transfer coefficient 5.6783
Conductivity, Air 2
Viscosity .02
To select components:
Click on the Add button. The Library Component Data dialog
box appears as shown in Figure 5-8.
The components we wish to add are all in the component family and
Most Commonly Used is the default family. The first component
we wish to add is Ethane.
Scroll through the Specific Components Available for Selection
list box until ETHANE is found, then highlight it by clicking
on it with the mouse.
Then click the Add Components button. ETHANE will appear
as a component in the lower list box.
Do the same to add METHANE and then click OK.
The Library Component Data dialog box will now appear with
the two selected components.
Click OK to complete the component selection.
Note: If you want to edit the component data and thermodynamic methods at a
later stage, click the respective buttons available on the toolbar or from the General
menu pull-down options.
For this problem, we must enter Air, Soil, and Pipe Heat Transfer
data as shown in Table 5-1.
Click the Air Heat Transfer... button on the Pipe Global
Defaults window. The Air Heat Transfer Defaults dialog box
appears.
Enter the data as shown in Figure 5-18 and click the OK but-
ton.
Do the same for the Soil Heat Transfer Defaults...
(Figure 5-19) and the Pipe Heat Transfer Defaults...
(Figure 5-20).
Note: Make sure that the names of the nodes and junctions are consistent
with those given in the problem. This information is editable in the input
data dialog box for each node.
Now we are ready to draw the links and add devices on the
links. Table 5-3 summarizes the links and devices for the prob-
lem. As an example we will use link L002.
Click on Node S000 to reveal its attachment square.
We are now going to create the link.
Grab the attachment square and click on it with the left mouse
button. Hold the left mouse button down and drag it to junction
J006's attachment square.
Release the left mouse button. The link has been created.
Add devices to the link by double-clicking on the link to bring
up the Device Data dialog box as shown in Figure 5-25.
As you can see from Table 5-3, link L002 contains a pipe device.
Click the Pipe button on the device palette to add this device to
the link. This automatically brings up the Pipe data entry win-
dow.
Enter the data given in Table 5-3 and click the OK button.
To complete the device adding process, click the OK button in
the top left hand side of the Device Data dialog box.
Create the other links with devices by repeating the steps out-
lined above.
Note: With the GUI, the order of data entry has no bearing on the solution. As
an alternative to the approach used above, you may opt to enter all the link
connection data first followed by all the device data.
C N
Compaq Visual FORTRAN (CVF) 2-2 Network installation option 3-1
Compiler requirements 2-2
Computer requirements 2-2
Custom (full) installation option 3-1
O
Online documentation 1-3
D Operating system requirements 2-2
I-2 Index