Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Interface Modules: User'S Guide

Download as pdf or txt
Download as pdf or txt
You are on page 1of 30

INTERFACE MODULES

USER’S GUIDE
PRO/II INTERFACE The software described in this guide is furnished under a license
MODULES USER’S GUIDE agreement and may be used only in accordance with the terms of
that agreement.

Information in this document is subject to change without notice.


Simulation Sciences Inc. assumes no liability for any damage to
any hardware or software component or any loss of data that
may occur as a result of the use of the information contained in
this manual.

Copyright Notice Copyright © 1997 Simulation Sciences Inc. All Rights Reserved.
No part of this publication may be copied and/or distributed with-
out the express written permission of Simulation Sciences Inc.,
601 S. Valencia Avenue, Brea, CA 92823, USA.

Trademarks PRO/II is a registered mark of Simulation Sciences Inc.


SIMSCI is a service mark of Simulation Sciences Inc.
Microsoft and Windows are registered trademark of Microsoft
Corporation.
Windows NT is a trademark of Microsoft Corporation.

Printed in the United States of America.


Table of Contents
PRO/II-HTFS Interface Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Installing the PRO/II-HTFS Interface Module . . . . . . . . . . . . . . . . . . . . . . 1-1
Interface Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
HTFS TASC Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
PRO/II Stream Data Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Important Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Units of Measure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Using the PRO/II-HTFS Interface Module . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Prior to Running the PRO/II-HTFS Interface Module . . . . . . . . . . . . . . . . 1-6
Running the PRO/II-HTFS Interface Module . . . . . . . . . . . . . . . . . . . . 1-7
Running the HTFS TASC Program with the P2HTFS-Created Input File . . . . . 1-7

PRO/II-HTRI Interface Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Installing the PRO/II-HTRI Interface Module . . . . . . . . . . . . . . . . . . . . . . 2-1
Interface Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
HTRI Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
PRO/II Data Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Units of Measure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Stream Property Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Default Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
User Responsibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Using the PRO/II-HTRI Interface Module . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Prior to Running the PRO/II-HTRI Interface Module . . . . . . . . . . . . . . . . 2-6
Running the PRO/II-HTRI Interface Module . . . . . . . . . . . . . . . . . . . . 2-7
Running the HTRI Programs with the P2HTRI-Created Input File . . . . . . . . 2-10

Linnhoff March ColumnTarget Interface Module. . . . . . . . . . . . . . . . . . . . . 3-1


Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Installing the Linnhoff March ColumnTarget Interface Module . . . . . . . . . . . . . 3-1
Using the Linnhoff March ColumnTarget Interface Module . . . . . . . . . . . . . . . 3-3
Running the Linnhoff March ColumnTarget
Interface Module at the Command Prompt . . . . . . . . . . . . . . . . . . . . . . . 3-4
Limitations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I-1

PRO/II Interface Modules User's Guide Table of Contents


December 1997 i
This page intentionally left blank.

Table of Contents PRO/II Interface Modules User's Guide


ii December 1997
Chapter 1
PRO/II-HTFS Interface Module
Overview
The PRO/II-HTFS Interface Module (P2HTFS) uses the PRO/II Data
Transfer System (PDTS) to automate the retrieval of stream property
data from a PRO/II database and to create an ASCII PowerStation
FORTRAN (PSF) input file using that data. The HTFS program can
then access the following stream property data contained in the
PRO/II-generated PSF file:
■ Density
■ Specific heat
■ Thermal conductivity
■ Viscosity
■ Surface tension
■ Enthalpy
■ Mass base quality.

Note:
Heat exchanger and stream process data are not extracted from the
PRO/II database by the PRO/II-HTFS Interface Module.

Installing the PRO/II-HTFS Interface Module


Make sure you have met the hardware and software requirements
before proceeding. The PRO/II-HTFS Interface Module requires 3 MB
of disk space in addition to the space used by PRO/II.
You must install the PRO/II 5.0 program before you install the
PRO/II-HTFS Interface Module. The module runs under Windows 95,
Windows NT 3.51, and Windows NT 4.0.
To install the PRO/II-HTFS Interface Module:
➤ Insert the PRO/II Interface Modules CD into your CD-ROM drive.
For Windows NT 3.51:
➤ From Program Manager or File Manager, select File/Run, and type
x:\P2HTFS\DISK1\SETUP
where x is the CD-ROM drive.

PRO/II Interface Modules User's Guide PRO/II-HTFS Interface Module


December 1997 1-1
➤ Follow the instructions that appear on the screen. When prompted,
select Install PRO/II-HTFS Interface Module.
For Windows 95 and Windows NT 4.0:
➤ From the Start button, select Run, and type
x:\P2HTFS\DISK1\SETUP
where x is the CD-ROM drive.
➤ Follow the instructions that appear on the screen. When prompted,
select Install PRO/II-HTFS Interface Module.
During the installation procedure, you are asked to confirm the location
of the PRO/II USER directory (where your PROII.INI file is located).
By default, the installation program will assume that your USER
directory is located at C:\SIMSCI\PROII_W\USER. You must modify
this path if necessary. Once the location of PRO/II is confirmed, the
installation program uses the paths listed in the PROII.INI file to install
the following files in the appropriate PRO/II subdirectories:
\BIN P2HTFS.EXE, P2HTFS.PIF
\USER PDTS.CFG (only if a previous version of this file did
not exist)
C46BOILD.INP, C46CONDD.INP, OILH2O.INP,
WATAIR10.INP (PRO/II input files for the four
example problems)
Hn.PSC, Hn.30C, Cn.PSC, Cn.30C – where n=1-4
(HTFS stream property data check files for the four
example problems created by the interface)
The PROII-HTFS Interface icon (Windows NT 3.51) or menu item
(Windows 95 and Windows NT 4.0) that was created when you
installed PRO/II 5.0 now allows you to run the interface module.
The working directory for all installations is specified to be the USER
subdirectory of PRO/II.
If you have more than one copy of PRO/II on your computer or
network, the module installation program will locate only the copy
pointed to by the PROII.INI file in the specified USER directory. You
can install the PRO/II-HTFS Interface Module to multiple copies of
PRO/II by rerunning the module installation program and changing the
path name of the PRO/II USER directory when asked for confirmation
of the subdirectory location.

PRO/II-HTFS Interface Module PRO/II Interface Modules User’s Guide


1-2 December 1997
To de-install the PRO/II-HTFS Interface Module:
➤ Insert the PRO/II Interface Modules CD into your CD-ROM drive.
For Windows NT 3.51:
➤ From Program Manager or File Manager, select File/Run, and type
x:\P2HTFS\DISK1\SETUP
where x is the CD-ROM drive.
➤ Follow the instructions that appear on the screen. When prompted,
select De-install PRO/II-HTFS Interface Module.
For Windows 95 and Windows NT 4.0:
➤ From the Start button, select Run, and type
x:\P2HTFS\DISK1\SETUP
where x is the CD-ROM drive.
➤ Follow the instructions that appear on the screen. When prompted,
select De-install PRO/II-HTFS Interface Module.

Interface Functionality
HTFS TASC Programs
The PSF files generated by P2HTFS can be imported directly into the
HTFS TASC program by using that program’s Import Simulator
Interface File feature.

PRO/II Stream Data Sources


Only streams included in an HCURVE unit operation can be used in
PRO/II simulations as data sources for generating HTFS input files. In
addition, the HCURVE streams must satisfy the following condition:
■ The HCURVE must generate data at specified equal adiabatic
increments of enthalpy, i.e., the Enthalpy Change (Adiabatic)
option must be selected in the HCURVE main data entry
window.

Note:
The PRO/II-HTFS Interface Module cannot be used when isothermal
increments of enthalpy are specified.

PRO/II Interface Modules User's Guide PRO/II-HTFS Interface Module


December 1997 1-3
Important Considerations
To ensure that appropriate data are generated for the HTFS TASC
program, the following conditions must be met:
■ The HCURVE must generate many more properties for the
liquids and vapors at every flash calculation point than are calcu-
lated by default. To generate additional properties:
➤ Click on the Report Additional Stream Properties button
on the main HCURVE window.
➤ Check all the properties displayed in the Additional Stream
Properties window.

Note:
For a batch run, add the PROPERTY ALL statement to the HCURVE
unit operation in the keyword file.

■ Stream property profiles should be isobaric (at constant


pressure). The range of pressures across the unit (typically the
heat exchanger) should be considered when selecting the
reference pressure for the HCURVE generation. P2HTFS checks
for constant pressure in the HCURVE profile. It warns you if the
profile’s pressure changes, but allows you to continue, in case
you are generating an HTFS input file using a standard HTFS
limitation workaround.
■ If the stream undergoes a phase change, you must ensure that an
appropriate temperature range is specified with the HCURVE
unit to account for this.

Note:
A stream increasing in temperature along the heating curve is consid-
ered to be a cold-side stream. Correspondingly, a stream decreasing in
temperature along the heating curve is considered to be a hot-side
stream.

■ A thermodynamic method for calculating transport properties


such as viscosity, thermal conductivity, and surface tension must
be specified by doing the following:
➤ In the Thermodynamic Data window, highlight the
thermodynamic method used for the HCURVE and click on
the Modify button.

PRO/II-HTFS Interface Module PRO/II Interface Modules User’s Guide


1-4 December 1997
➤ Click on the Transport Properties button.
➤ Check the Compute Transport Properties check box.

Note:
For a batch run, add the TRANSPORT=option (e.g.,
TRANSPORT=PURE) keyword to the thermodynamic METHOD
statement in the keyword file.

■ If water is present in the flowsheet and a thermodynamic method


is used that allows water decant, e.g., Soave-Redlich-Kwong,
Peng-Robinson, Grayson-Streed, Grayson-Streed-Erbar,
Improved Grayson-Streed, Chao-Seader, Chao-Seader-Erbar,
Lee-Kesler-Plocker, Braun K10, or BWRS, the water decant
option must be turned off by doing the following:
➤ In the Thermodynamic Data window, highlight the
thermodynamic method used for the HCURVE and click on
the Modify button.
➤ Click on the Water Options button.
➤ Uncheck the Decant Water as a Pure Phase check box.

Note:
For a batch run, add the WATER DECANT=OFF statement to the ther-
modynamic method in the keyword file.

Units of Measure
All data extracted from the PRO/II database are in SI units of measure
(in the .PSF ASCII file) and English units of measure (in the .300
ASCII file). Note that:
■ The units of measure used in the .PSF file are true SI units, not
the SI units as defined by HTFS.
■ On import, the HTFS program will internally convert the true SI
units into HTFS SI, METRIC, or BRITISH units of measure.

PRO/II Interface Modules User's Guide PRO/II-HTFS Interface Module


December 1997 1-5
Limitations
The following limitations are placed on the use of P2HTFS:
■ Standard PDTS limits apply (number of unit operations, compo-
nents, etc. in the PRO/II simulation). Refer to the PRO/II Data
Transfer System and User-Added Subroutines User’s Guide for
these limits.
■ Stream HCURVEs must be used for property profiles; unit
operation HCURVEs are not supported, due to possible pressure
drops across heat exchanger units.
■ Use only a single HCURVE for each process stream in a PRO/II
simulation to ensure that P2HTFS uses the desired HCURVE
data for that stream.
■ Heat exchangers are limited to one feed stream and one product
stream per side.

Using the PRO/II-HTFS Interface Module


Prior to Running the PRO/II-HTFS Interface Module
To ensure proper operation of the PRO/II-HTFS Interface Module,
check the following items:
■ The ASCII text file named PDTS.CFG in the USER subdirectory
must contain a single line of text consisting of the path name to
the PRO/II system subdirectory. For a standard PRO/II 5.0
installation, this file would contain the following line:
C:\SIMSCI\PROII_W\SYSTEM\
For a non-standard PRO/II installation, this configuration file
must be modified accordingly. Note that the final backslash in
the path name is required.
If this file already exists in the USER subdirectory prior to the
installation of the PRO/II-HTFS Interface Module, the installa-
tion procedure does not modify or replace it.
■ You must run the PRO/II simulation in order to generate the
appropriate PRO/II database files prior to using the
PRO/II-HTFS Interface Module. To use the P2HTFS examples
included with the module, run the .INP files installed in the
USER subdirectory as listed above. Otherwise, create and run a
new PRO/II simulation with the necessary heating curves.
Review the Important Considerations and the Limitations
sections outlined above before setting up the simulation.

PRO/II-HTFS Interface Module PRO/II Interface Modules User’s Guide


1-6 December 1997
■ If you run the PRO/II simulation in batch mode, the
NEWFILE=fileid keyword must be included on the TITLE
statement in the PRO/II keyword file to ensure the creation of
the necessary .PR1, .PR2, and .PR3 files.
■ After a simulation has converged, either generate an output
report for it or select Output\Perform Output Calculations before
saving the simulation.
■ Save the simulation as a .PR1 file. (By default, PRO/II saves
simulations as .PRZ files.)

Note:
After a simulation has converged, save and close it before running the
PRO/II-HTFS Interface Module.

Running the PRO/II-HTFS Interface Module


To start the PRO/II-HTFS Interface Module:
➤ Double-click on the PROII-HTFS Interface icon in the SIMSCI
group window (Windows NT 3.51), or select PROII-HTFS
Interface from the SIMSCI menu (Windows 95 and Windows NT
4.0). A command prompt window with the following prompt
appears:
ENTER PRO/II SIMULATION FILE NAME:
➤ Enter the file name of the PRO/II simulation without the file
extension. Enter relative or absolute path names with the file name,
if necessary. The path and file names are not case-sensitive.
P2HTFS now creates the HTFS input files for all appropriate streams in
the simulation and ends its run. The names of the .PSF and .300 files
created for each qualifying stream will correspond to the names of the
streams as specified in the PRO/II simulation.

Running the HTFS TASC Program with the P2HTFS-Created Input File
➤ Install and start the HTFS TASC program following the program
installation and operation instructions supplied by HTFS.
➤ From the main menu of the HTFS program, select the Import
Simulator Interface File option.
➤ Enter the path and file name of the HTFS stream physical property
.PSF data file created by P2HTFS.

PRO/II Interface Modules User's Guide PRO/II-HTFS Interface Module


December 1997 1-7
Note:
The English units .300 file cannot be imported correctly into the HTFS
TASC program.

➤ In the HTFS program, view all of the data loaded from the
P2HTFS-created input file to ensure the accuracy and relevance to
the desired case. In some cases, additional data may be necessary
before running the HTFS calculations.

PRO/II-HTFS Interface Module PRO/II Interface Modules User’s Guide


1-8 December 1997
Chapter 2
PRO/II-HTRI Interface Module
Overview
The PRO/II-HTRI Interface Module (P2HTRI) uses the PRO/II Data
Transfer System (PDTS) to automate the retrieval of data from a
PRO/II database and to create an HTRI input file using those data. This
module provides stream property profiles from PRO/II’s state-of-the-art
thermophysical properties calculations to HTRI’s rigorous heat
exchanger design programs. The module also reduces the duplication of
data entry in both programs by transferring all existing mechanical
and/or operational details of a specified heat exchanger, from a PRO/II
simulation to an HTRI input file. The PRO/II-HTRI Interface Module
can generate input files for the following Heat Transfer Research
Institute programs: ST-5, CST-2, RKH-3, and ACE-2.

Installing the PRO/II-HTRI Interface Module


Make sure you have met the hardware and software requirements
before proceeding. The PRO/II-HTRI Interface Module requires 3 MB
of disk space in addition to the space used by PRO/II.
You must install the PRO/II 5.0 program before you install the
PRO/II-HTRI Interface Module. The module runs under Windows 95,
Windows NT 3.51, and Windows NT 4.0.
To install the PRO/II-HTRI Interface Module:
➤ Insert the PRO/II Interface Modules CD into your CD-ROM drive.
For Windows NT 3.51:
➤ From Program Manager or File Manager, select File/Run, and type
x:\P2HTRI\DISK1\SETUP
where x is the CD-ROM drive.
➤ Follow the instructions that appear on the screen. When prompted,
select Install PRO/II-HTRI Interface Module.
For Windows 95 and Windows NT 4.0:
➤ From the Start button, select Run, and type
x:\P2HTRI\DISK1\SETUP
where x is the CD-ROM drive.

PRO/II Interface Modules User's Guide PRO/II-HTRI Interface Module


December 1997 2-1
➤ Follow the instructions that appear on the screen. When prompted,
select Install PRO/II-HTRI Interface Module.
During the installation procedure, you are asked to confirm the location
of the PRO/II USER directory (where your PROII.INI file is located).
By default, the installation program will assume that your USER
directory is located at C:\SIMSCI\PROII_W\USER. You must modify
this path if necessary. After the location of PRO/II is confirmed, the
installation program uses the paths listed in the PROII.INI file to install
the following files in the appropriate PRO/II subdirectories:
\BIN P2HTRI.EXE, P2HTRI.PIF
\USER PDTS.CFG (only if a previous version of this file
did not exist)
ST5-01.INP, ST5-01.CHK (for the ST-5 example
problem)
CST2-01.INP, CST2-01.CHK (for the CST-2
example problem)
RKH3-01.INP, RKH3-01.CHK (for the RKH-3
example problem)
ACE2-01.INP, ACE2-01.CHK (for the ACE-2
example problem)
P2HTRCHK.TXT (user responses for the P2HTRI
example problems)
\SYSTEM P2HTRUOM.XLS (UOM conversions)
P2HTRVAR.XLS (default values)
The PROII-HTRI Interface icon (Windows NT 3.51) or menu item
(Windows 95 and Windows NT 4.0) that was created when you
installed PRO/II 5.0 now allows you to run the interface module.
The working directory for all installations is specified to be the USER
subdirectory of PRO/II.
If you have more than one copy of PRO/II on your computer or
network, the module installation program will locate only the copy
pointed to by the PROII.INI file in the specified USER directory. You
can install the PRO/II-HTRI Interface Module to multiple copies of
PRO/II by rerunning the module installation program and changing the
path name of the PRO/II USER directory when asked for confirmation
of the subdirectory location.

PRO/II-HTRI Interface Module PRO/II Interface Modules User’s Guide


2-2 December 1997
To de-install the PRO/II-HTRI Interface Module:
➤ Insert the PRO/II Interface Modules CD into your CD-ROM drive.
For Windows NT 3.51:
➤ From Program Manager or File Manager, select File/Run, and type
x:\P2HTRI\DISK1\SETUP
where x is the CD-ROM drive.
➤ Follow the instructions that appear on the screen. When prompted,
select De-install PRO/II-HTRI Interface Module.
For Windows 95 and Windows NT 4.0:
➤ From the Start button, select Run, and type
x:\P2HTRI\DISK1\SETUP
where x is the CD-ROM drive.
➤ Follow the instructions that appear on the screen. When prompted,
select De-install PRO/II-HTRI Interface Module.

Interface Functionality
HTRI Programs
P2HTRI can generate valid input files for the following HTRI
programs:
■ ST-5 Shell and Tube (Single-phase) Heat Exchangers
■ CST-2 Condensing Shell and Tube Heat Exchangers
■ RKH-3 Kettle and Thermosiphon Reboilers
■ ACE-2 Air-cooled Exchangers and Economizers.

PRO/II Data Sources


The following unit operations can be used in PRO/II simulations as data
sources for generating HTRI input files:
■ HXRIG unit plus HCURVEs for both shell and tube feed streams
■ Two-sided HX unit plus HCURVEs for both hot and cold feed
streams
■ HX unit with an air utility stream plus HCURVE for
process-side feed stream (for ACE-2 input file generation only)
■ HCURVEs only (defined for two streams representing the shell
and tube feed streams of a heat exchanger).
For all of the above options, the definition of HCURVEs for the feed
streams of the heat exchanger unit is required. The definition of

PRO/II Interface Modules User's Guide PRO/II-HTRI Interface Module


December 1997 2-3
HCURVEs for the product streams of the heat exchanger unit is
optional.

Units of Measure
All units of measure (UOM) systems for PRO/II and HTRI are
supported. These include:
■ English, SI, Metric, and user-defined systems for PRO/II
■ US, SI, and MKH systems for HTRI programs
UOMs for generated HTRI input files are not dependent on PRO/II
simulation UOMs.
PDTS extracts data with the specified UOM. P2HTRI performs addi-
tional unit conversions if necessary. All UOM conversions are listed in
P2HTRUOM.XLS. This file is located in the SYSTEM directory of
PRO/II.

Stream Property Profiles


HTRI programs can accept up to three property profiles at different
pressure isobars for each heat exchanger stream. P2HTRI offers the
following stream property profile options:
■ HCURVEs on heat exchanger feed streams only (utilizing one
pressure isobar)
■ HCURVEs on heat exchanger feed and product streams
(utilizing two pressure isobars - inlet and outlet pressures for
each heat exchanger stream)
■ Non-isobaric stream property profiles for both of the above
options (included to enable a standard workaround for a known
HTRI program limitation)
■ HCURVEs for heat exchanger streams can be defined in the
same HCURVE unit or in multiple HCURVE units.

Default Values
The data sources used by P2HTRI when creating the HTRI input file
from the PRO/II simulation database files are accessed in the following
order:
1. PRO/II calculated values
2. PRO/II user-entered values
3. PRO/II default values - used when not calculated or user-entered
4. P2HTRI intelligent defaults - based on PRO/II HXRIG unit default
values
PRO/II-HTRI Interface Module PRO/II Interface Modules User’s Guide
2-4 December 1997
5. HTRI default values.
A mapping among PRO/II, P2HTRI, and HTRI variables is provided in
P2HTRVAR.XLS, which also lists default values used by the interface,
if any. This file is located in the SYSTEM directory of PRO/II.

User Responsibilities
Generation of HTRI input files with P2HTRI requires certain
responsibilities from the user:
■ P2HTRI takes the first 10 points of a PRO/II HCURVE profile,
regardless of operating range significance (bubble points, dew
points, etc.). You must ensure that the heat exchanger’s
operating region of interest falls within these first 10 points of
the HCURVE.
■ HTRI requires a minimum of 3 and a maximum of 10 data points
for each isobaric reference pressure profile. P2HTRI checks for
the minimum number and takes up to the first 10 points in the
HCURVE.
■ HTRI requires a minimum of three data points in the two-phase
region when entering property profiles for streams. P2HTRI
checks for the minimum number of points in the two-phase
region and warns you when this criterion is not met.
■ Stream property profiles should be isobaric (at constant
pressure). P2HTRI checks for constant pressure in the HCURVE
profile. It warns you if the profile’s pressure changes, but allows
you to continue in case you are generating an HTRI input file
using a standard HTRI limitation workaround.
■ The transport properties options must be selected for the
thermodynamic system and HCURVEs in the PRO/II simulation
to ensure that the necessary transport properties for the HTRI
input file are generated.
■ Decant water options must be explicitly turned off for PRO/II
thermodynamic systems that can decant water.
■ Default values used by P2HTRI in generating the HTRI input
file must be valid for the situation. Override the default values, if
necessary.

PRO/II Interface Modules User's Guide PRO/II-HTRI Interface Module


December 1997 2-5
Limitations
The following limitations are placed on the use of P2HTRI:
■ Standard PDTS limits apply (number of unit operations, compo-
nents, etc. in the PRO/II simulation). Refer to the PRO/II Data
Transfer System and User-Added Subroutines User’s Guide for
these limits.
■ Stream HCURVEs must be used for property profiles; unit
operation HCURVEs are not supported due to possible pressure
drops across heat exchanger units.
■ A single HCURVE for each process stream in a PRO/II simula-
tion must be used to ensure that P2HTRI uses the desired
HCURVE data for that stream.
■ Heat exchangers are limited to one feed stream and one product
stream per side.

Using the PRO/II-HTRI Interface Module


Prior to Running the PRO/II-HTRI Interface Module
To ensure proper operation of the PRO/II-HTRI Interface Module,
check the following items:
■ The ASCII text file named PDTS.CFG in the USER subdirectory
must contain a single line of text consisting of the path name to
the PRO/II system subdirectory. For a standard PRO/II 5.0
installation, this file would contain the following line:
C:\SIMSCI\PROII_W\SYSTEM\
For a non-standard PRO/II installation, this configuration file
must be modified accordingly. Note that the final backslash in
the path name is required.
If this file already exists in the USER subdirectory prior to the
installation of the PRO/II-HTRI Interface Module, the installa-
tion procedure does not modify or replace it.
■ You must run the PRO/II simulation in order to generate the
appropriate PRO/II database files prior to using the
PRO/II-HTRI Interface Module. To use the P2HTRI examples
included with the interface, run the .INP files installed in the
USER subdirectory as listed above. Otherwise, create and run a
new PRO/II simulation with the heat exchanger unit of interest
and necessary heating curves on the heat exchanger feed
streams. Heating curves for the heat exchanger product streams
are optional. Review the User Responsibilities and the
PRO/II-HTRI Interface Module PRO/II Interface Modules User’s Guide
2-6 December 1997
Limitations sections outlined above before setting up the
simulation.
■ If you run the PRO/II simulation in batch mode, the
NEWFILE=fileid keyword must be included on the TITLE
statement in the PRO/II keyword file to ensure the creation of
the necessary .PR1, .PR2, and .PR3 files.
■ After a simulation has converged, either generate an output
report for it, or select Output/Perform Output Calculations
before saving the simulation.
■ Save the simulation as a .PR1 file. (By default, PRO/II saves
simulations as .PRZ files.)
■ Close the simulation after it has converged and been saved.

Running the PRO/II-HTRI Interface Module


To start the PRO/II-HTRI Interface Module:
➤ Double-click on the PROII-HTRI Interface icon in the SIMSCI
group window (Windows NT 3.51), or select PROII-HTRI
Interface from the SIMSCI menu (Windows 95 and Windows NT
4.0). A command prompt window with the following prompt
appears:
ENTER PRO/II FILE TO OPEN:
➤ Enter the file name of the PRO/II simulation without the file
extension. You can enter relative or absolute path names with the
file name, if necessary. The path and file names are not case-
sensitive.
➤ The following prompt appears:
ENTER HTRI INPUT FILENAME TO CREATE:
➤ Enter the file name of the HTRI input file to be created by P2HTRI
with the file extension. You can enter relative or absolute path
names with the file name, if necessary. The path and file names are
not case-sensitive. P2HTRI will not check for the previous
existence of files with the same name, and will overwrite any
previously existing files with the same name.
➤ The following prompt appears:
ENTER HTRI PROGRAM NAME (CST-2, ST-5, RKH-3,
ACE-2):
➤ Enter the name of the HTRI program for which an input file is to be
created. Only the first character of the HTRI program name is

PRO/II Interface Modules User's Guide PRO/II-HTRI Interface Module


December 1997 2-7
required. The character string for the HTRI program name is not
case-sensitive.
➤ If the ACE-2 program is selected, the following prompt appears:
ENTER AIR-COOLED EXCHANGER TYPE
(AIR-COOLED EXCHANGER=0,
ECONOMIZER=1):
➤ Enter 0 to select an air-cooled heat exchanger with one process
stream side and one utility air side. In the PRO/II simulation, a
simple one-sided HX unit with an air utility stream can be used to
generate the necessary data.
Enter 1 to select an economizer that uses two process streams.
➤ The following prompt appears:
ENTER DESIRED HTRI UOM (US=0, SI=1, MKH=2):
➤ Enter the numeric value (0, 1, or 2) of the unit of measure system
for the HTRI input file. P2HTRI extracts the PRO/II simulation
data in the desired HTRI UOM system units and performs any
conversions required. For reference purposes, the ENGLISH
system of PRO/II closely matches the US system of HTRI, the SI
systems of PRO/II and HTRI are similar, and the METRIC system
of PRO/II closely matches the MKH system of HTRI.
➤ The following prompt appears:
ENTER PRO/II DATA SOURCE TYPE
(RIGOROUS HX=0, SIMPLE HX=1, HCURVE
ONLY=2):
➤ Enter the numeric value (0, 1, or 2) to select the PRO/II heat
exchanger type to be used as the desired data source for generation
of the HTRI input file. All calculated, user-entered, and default
values for the heat exchanger will be transferred to the HTRI input
file being created. For the simple HX and HCURVE ONLY
options, intelligent default values will be used by P2HTRI, based
on the default values of PRO/II’s HXRIG unit.
➤ The following prompt appears:
ENTER NUMBER OF ISOBARS FOR PROPERTY DATA
PROFILES
(FEED STREAMS ONLY=1, FEED AND PRODUCT
STREAMS=2):
➤ Enter the numeric value (1 or 2) of the number of isobaric (constant
pressure) property profile data sets to be extracted from the PRO/II
simulation. Stream HCURVEs must be defined for both shell and
PRO/II-HTRI Interface Module PRO/II Interface Modules User’s Guide
2-8 December 1997
tube (or hot and cold) feed streams of the heat exchanger. If the two
isobars option is selected, stream HCURVEs must also be defined
for the product streams of the heat exchanger.
➤ Depending on the PRO/II data source type specified earlier, one of
the following prompts appears:
ENTER DESIRED [HXRIG, Simple HX] UNIT FOR HTRI
ANALYSIS:
➤ P2HTRI supplies a list of all heat exchangers that match the
specified PRO/II data source type in the PRO/II simulation. Enter
the name of the desired heat exchanger from the list. The full id
name should be entered as it appears in the list. This character
string is case-sensitive.
or,
ENTER DESIRED SHELL-SIDE FEED STREAM:
➤ If the HCURVE ONLY option was specified earlier, P2HTRI
supplies a list of all defined stream heating curves. It will then list
all of the stream ids of streams with defined HCURVEs found in
the PRO/II simulation. Enter the name of the desired shell-side feed
stream from the list of stream ids found by P2HTRI. The full id
name should be entered as it appears in the list. This character
string is case-sensitive.
➤ The following prompt appears:
ENTER DESIRED TUBE-SIDE FEED STREAM:
➤ Enter the name of the desired tube-side feed stream from the list of
stream ids found by P2HTRI. The full id name should be entered as
it appears in the list. This character string is case-sensitive.
➤ If you have selected the two isobars option in addition to the
HCURVE ONLY option, the following prompts appear:
ENTER DESIRED SHELL-SIDE PRODUCT STREAM:
➤ Enter the name of the desired shell-side product stream from the list
of stream ids found by P2HTRI. The full id name should be entered
as it appears in the list. This character string is case-sensitive.
and,
ENTER DESIRED TUBE-SIDE PRODUCT STREAM:
➤ Enter the name of the desired tube-side product stream from the list
of stream ids found by P2HTRI. The full id name should be entered
as it appears in the list. This character string is case-sensitive.

PRO/II Interface Modules User's Guide PRO/II-HTRI Interface Module


December 1997 2-9
P2HTRI creates the HTRI input file.

Running the HTRI Programs with the P2HTRI-Created Input File


➤ Install and start the desired HTRI program following the program
installation and operation instructions supplied by HTRI.
➤ From the main menu of the HTRI program, select L for “Load data
from a file.”
➤ In the next data entry window, enter the path and file name of the
HTRI input file created by P2HTRI.
➤ Return to the main menu of the HTRI program, and select V for
“View (and edit) all entered data.” View all of the data loaded from
the P2HTRI-created input file to ensure the accuracy and relevance
to the desired case. In some cases, additional data may be necessary
before running the HTRI calculations.

PRO/II-HTRI Interface Module PRO/II Interface Modules User’s Guide


2-10 December 1997
Chapter 3
Linnhoff March
ColumnTarget Interface Module
Overview
The Linnhoff March ColumnTarget Interface Module is an interface
between the Linnhoff March ColumnTarget program and SIMSCI’s
PRO/II simulation software. Using this module, you can import PRO/II
simulation results into the ColumnTarget program. This chapter
outlines how to install the Linnhoff March ColumnTarget Interface
Module for PRO/II and briefly explains how to start the interface. See
the Linnhoff March SuperTarget User Guide for detailed information on
using the Linnhoff March ColumnTarget program.

Installing the Linnhoff March ColumnTarget Interface Module


Make sure you have met the hardware and software requirements
before proceeding. The Linnhoff March ColumnTarget Interface
Module requires 3 MB of disk space in addition to the space used by
PRO/II.
You must install the PRO/II 5.0 program before you install the Linnhoff
March ColumnTarget Interface Module. The module runs under
Windows 95, Windows NT 3.51, and Windows NT 4.0.
To install the Linnhoff March ColumnTarget Interface Module:
➤ Insert the PRO/II Interface Modules CD into your CD-ROM drive.
For Windows NT 3.51:
➤ From Program Manager or File Manager, select File/Run, and type
x:\LINNHOFF\DISK1\SETUP
where x is the CD-ROM drive.
➤ Follow the instructions that appear on the screen. When prompted,
select Install LM ColumnTarget Interface Module.
For Windows 95 and Windows NT 4.0:
➤ From the Start button, select Run, and type
x:\LINNHOFF\DISK1\SETUP
where x is the CD-ROM drive.
➤ Follow the instructions that appear on the screen. When prompted,
select Install LM ColumnTarget Interface Module.
PRO/II Interface Modules User’s Guide Linnhoff March ColumnTarget Interface Module
December 1997 3-1
During the installation procedure, you are asked to confirm the location
of the PRO/II USER directory (where your PROII.INI file is located.).
By default, the installation program will assume that your USER
directory is located at C:\SIMSCI\PROII_W\USER. You must modify
this path if necessary. After the location of PRO/II is confirmed, the
installation program uses the paths listed in the PROII.INI file to install
the following files in the appropriate PRO/II subdirectories:
\BIN LINNHOFF.EXE, LINNHOFF.PIF
\USER PDTS.CFG (only if a previous version of this file did
not exist)
PDTSR3R.INP, PDTSR3R.CHK, PDTSR3R.CKP
(for the PDTSR3R example problem)
The LM ColumnTarget Interface icon (Windows NT 3.51) or menu
item (Windows 95 and Windows NT 4.0) that was created when you
installed PRO/II 5.0 now allows you to run the interface module.
The working directory for all installations is specified to be the USER
subdirectory of PRO/II.
If you have more than one copy of PRO/II on your computer or
network, the module installation program will locate only the copy
pointed to by the PROII.INI file in the specified USER directory. You
can install the Linnhoff March ColumnTarget Interface Module to
multiple copies of PRO/II by rerunning the module installation program
and changing the path name of the PRO/II USER directory when asked
for confirmation of the subdirectory location.
To de-install the Linnhoff March ColumnTarget Interface Module:
➤ Insert the PRO/II Interface Modules CD into your CD-ROM drive.
For Windows NT 3.51:
➤ From Program Manager or File Manager, select File/Run, and type
x:\LINNHOFF\DISK1\SETUP
where x is the CD-ROM drive.
➤ Follow the instructions that appear on the screen. When prompted,
select De-install LM ColumnTarget Interface Module.
For Windows 95 and Windows NT 4.0:
➤ From the Start button, select Run, and type
x:\LINNHOFF\DISK1\SETUP
where x is the CD-ROM drive.

Linnhoff March ColumnTarget Interface Module PRO/II Interface Modules User’s Guide
3-2 December 1997
➤ Follow the instructions that appear on the screen. When prompted,
select De-install LM ColumnTarget Interface Module.

Using the Linnhoff March ColumnTarget Interface Module

Note:
Before running the Linnhoff March ColumnTarget Interface Module,
you must first run the simulation file from which you wish to extract
data. In the example below, you will extract data from the example file,
PDTSR3R.INP, included with your installation.

■ After a simulation has converged, either generate an output


report for it or select Output/Perform Output Calculations before
saving the simulation.
■ Save the simulation as a .PR1 file. (By default, PRO/II saves
simulations as .PRZ files.)
■ Close the simulation after it has converged and been saved.
To start the Linnhoff March ColumnTarget Interface Module:
➤ Double-click on the LM ColumnTarget Interface icon in the
SIMSCI group window (Windows NT 3.51) or select LM Column-
Target Interface from the SIMSCI menu (Windows 95 and
Windows NT 4.0). A command prompt window with the following
prompt appears:
➤ ENTER PRO/II SIMULATION FILE NAME:

Enter the file name of the PRO/II simulation without the file
extension. Enter relative or absolute path names with the file
name, if necessary. The path and file names are not case-
sensitive.

Note:
By default, the interface program will look for the PRO/II simulation
files in the USER directory of PRO/II. If the PRO/II simulation files are
in a different directory, you must enter a fully qualified file name and
directory path.

After you have entered the name of the desired PRO/II simulation file,
you will see a list of the available cases and columns.
➤ If your PRO/II simulation file contains a single distillation column,
it is not necessary to specify a UID for the column. Press the

PRO/II Interface Modules User’s Guide Linnhoff March ColumnTarget Interface Module
December 1997 3-3
<Enter> key, and the program will automatically extract the data
for the single column.
➤ For a simulation file containing more than one distillation column,
supply the PRO/II unit identification (UID) of the column. For
example, to select column 1, type the following:
COL1
This entry is case-sensitive.
The program extracts the data for the specified column from your
PRO/II simulation file for use with the Linnhoff March ColumnTarget
program. In this example, the extracted data will be located in the
ASCII data file named PDTSR3R.PDS, located in the USER directory
of PRO/II.

Running the Linnhoff March ColumnTarget


Interface Module at the Command Prompt
To run the Linnhoff March ColumnTarget Interface Module at the
command prompt, do the following:
➤ At the command prompt, switch to the BIN directory of PRO/II.
➤ Type the following command:
LINNHOFF /CNF=C:\SIMSCI\PROII_W\USER\PDTS.CFG

Note:
If you installed PRO/II in a directory other than the default, change
this command to reflect the PRO/II USER directory.

➤ Press <Enter>.
➤ When prompted, enter the name of the PRO/II simulation file, such
as
\SIMSCI\PROII_W\USER\PDTSR3R
➤ When prompted, enter the desired column ID from the displayed
list.
After the program ends, you will find that the data for the specified
column have been extracted from your PRO/II simulation file for use
with the Linnhoff March ColumnTarget program. In this example, the
extracted data will be located in the ASCII data file named
PDTSR3R.PDS, located in the USER directory of PRO/II.

Linnhoff March ColumnTarget Interface Module PRO/II Interface Modules User’s Guide
3-4 December 1997
The following command line options are available:
/CNF={PDTS.CFG directory}
/PATH={default path of PRO/II database files}
/FILE={specific file to process}

Notes:
1. The command line qualifiers (i.e. /PATH) are case sensitive.
2. The trailing “\” (when entering paths for /CNF & /PATH) is
optional.

Limitations
The following limitations are placed on the use of the Linnhoff March
ColumnTarget Interface Module:
■ It does not handle the PRO/II column option for SEPARATED
FEEDS in thermosiphon reboilers (since by default they utilize
the column option for SEPARATED FEEDS).
■ If Water Decant Streams (or other streams) have a zero flowrate,
a warning will be displayed and the information for that stream
will contain all zeros.
■ It does not handle PRO/II simulation files that contain Optimizer
unit operations.
■ PRO/II does not generate the required transport properties by
default. If you need transport properties for the Linnhoff March
ColumnTarget program, request the appropriate Transport
Property Methods in your PRO/II simulation file.
■ The .PDS data file is written each time the Linnhoff March
ColumnTarget Interface Module is run, creating an output file
with the name FILENAME.PDS.
■ If you have a PRO/II simulation file that contains multiple
distillation columns, you must run the Linnhoff March Interface
Module once for each column, renaming the .PDS files after
each run of the program. If you do not rename the .PDS file
after running the program, subsequent runs of the module will
overwrite the data extracted by any previous run.
See the Linnhoff March SuperTarget User Guide for additional instruc-
tions on using the Linnhoff March ColumnTarget program.

PRO/II Interface Modules User’s Guide Linnhoff March ColumnTarget Interface Module
December 1997 3-5
This page intentionally left blank.

Linnhoff March ColumnTarget Interface Module PRO/II Interface Modules User’s Guide
3-6 December 1997
Index
H L
HCURVE Limitations
HTFS 1-3 HTFS 1-6
HTRI 2-3 HTRI 2-6
Linnhoff March ColumnTarget
HTFS TASC programs 1-3
Interface 3-5
HCURVE 1-3
running with a P2HTFS-created Linnhoff March ColumnTarget
input file 1-7 Interface Module
de-installation 3-2
I installation 3-1
Installation limitations 3-5
Linhoff March ColumnTarget running at the command prompt 3-4
Interface Module 3-1 using 3-3
PRO/II-HTFS Interface Module 1-1
PRO/II-HTRI Interface Module 2-1 P
PRO/II-HTFS Interface Module
Interface functionality, HTFS
de-installation 1-3
HTFS TASC programs 1-3
installation 1-1
important considerations 1-4
See interface functionality, HTFS
limitations 1-5
prior to running 1-6
stream data sources 1-3
running 1-7
thermodynamic method 1-4
running the HTFS TASC program
units of measure 1-5
with the P2HTFS-created input file 1-7
Interface functionality, HTRI using 1-6
default values 2-4
PRO/II-HTRI Interface Module
limitations 2-6
de-installation 2-3
stream data sources 2-3
installation 2-1
stream property profiles 2-4
See interface functionality, HTRI
units of measure 2-4
prior to running 2-6
user responsibilities 2-5
running 2-7
using 2-6

PRO/II Interface Modules User's Guide Index


December 1997 I-1
S T
Stream data sources Thermodynamic method 1-4
HTFS 1-3
HTRI 2-3 U
Stream property profiles 2-4 Units of measure
HTFS 1-5
HTRI 2-4

Index PRO/II Interface Modules User’s Guide


I-2 December 1997

You might also like