APROP 111 User Guide
APROP 111 User Guide
APROP 111 User Guide
1
September 2001
Copyright (c) 1981-2001 by Aspen Technology, Inc. All rights reserved.
Aspen Plus®, Aspen Properties®, Aspen Engineering Suite, AspenTech®, ModelManager, the aspen leaf logo and
Plantelligence are trademarks or registered trademarks of Aspen Technology, Inc., Cambridge, MA.
All other brand and product names are trademarks or registered trademarks of their respective companies.
This manual is intended as a guide to using AspenTech’s software. This documentation contains AspenTech
proprietary and confidential information and may not be disclosed, used, or copied without the prior consent of
AspenTech or as set forth in the applicable license agreement. Users are solely responsible for the proper use of the
software and the application of the results obtained.
Although AspenTech has tested the software and reviewed the documentation, the sole warranty for the software
may be found in the applicable license agreement between AspenTech and the user. ASPENTECH MAKES NO
WARRANTY OR REPRESENTATION, EITHER EXPRESSED OR IMPLIED, WITH RESPECT TO THIS
DOCUMENTATION, ITS QUALITY, PERFORMANCE, MERCHANTABILITY, OR FITNESS FOR A
PARTICULAR PURPOSE.
Corporate
Aspen Technology, Inc.
Ten Canal Park
Cambridge, MA 02141-2201
USA
Phone: (1) (617) 949-1021
Toll Free: (1) (888) 996-7001
Fax: (1) (617) 949-1724
URL: http://www.aspentech.com
Division
Design, Simulation and Optimization Systems
Aspen Technology, Inc.
Ten Canal Park
Cambridge, MA 02141-2201
USA
Phone: (617) 949-1000
Fax: (617) 949-1030
Contents
Technical Support
World Wide Web For additional information about AspenTech
products and services, check the AspenTech World Wide Web
home page on the Internet at: http://www.aspentech.com/
Technical resources AspenTech customers with a valid license
and software maintenance agreement can register to access the
Online Technical Support Center at
http://support.aspentech.com/
This web support site allows you to:
• Access current product documentation
• Search for tech tips, solutions and frequently asked questions
(FAQs)
• Search for and download application examples
• Submit and track technical issues
• Send suggestions
• Report product defects
• Review lists of known deficiencies and defects
Registered users can also subscribe to our Technical Support e-
Bulletins. These e-Bulletins are used to proactively alert users to
important technical support information such as:
• Technical advisories
• Product updates and Service Pack announcements
Contacting Customer Customer support is also available by phone, fax, and email for
Support customers with a current support contract for this product. For the
most up-to-date phone listings, please see the Online Technical
Support Center at http://support.aspentech.com.
Hours
Support Centers Operating Hours
North America 8:00 – 20:00 Eastern Time
South America 9:00 – 17:00 Local time
Europe 8:30 – 18:00 Central European time
Asia and Pacific Region 9:00 – 17:30 Local time
Overview
For help on the parts of the user interface, see one of the following
topics:
• The Aspen Properties main window
• The Data Browser
• The Object Manager
For more information on getting help on buttons, menus and other
screen items, see Chapter 3.
Overview
For help on creating an Aspen Properties Problem, see one of the
following topics:
• Creating a New Problem
• Selecting a Template
• Completing the input specifications
• About the templates
• Using the Online Examples Library
Aspen Properties 11.1 User Guide Creating an Aspen Properties Problem • 2-1
transport properties as well as phase equilibrium calculations using
data you define in Excel.
Aspen Properties allows you to perform a wide range of additional
tasks. You can:
• Interface results to spreadsheets
• Share input and results among other Windows applications
using OLE
Aspen Properties contains data, properties, built-in defaults,
reports, and other features and capabilities developed for specific
industrial applications, such as petroleum calculation. For more
information about industry-specific defaults and features, see
Selecting a Template.
The following four calculation types are available in Aspen
Properties Tools menu:
Calculation Description Use to
Type
Analysis Interactive Property Perform property analysis by
Analysis. generating tables and plots of
physical property values
Assay Data Assay data analysis/ Analyze assay data, generate
Analysis pseudocomponents pseudo components and
generation estimate their characterization
parameters.
Estimation Property constant Estimate property parameters.
estimation
Regression Data regression. Can Fit physical property model
contain property parameters required by Aspen
constant estimation and Properties to measured pure
property analysis component, VLE, LLE and
calculations. other mixture data.
2-2 • Creating an Aspen Properties Problem Aspen Properties 11.1 User Guide
Starting Aspen To start Aspen Properties and create a new problem:
Properties and 1 Start Aspen Properties from the Start Menu or by double-
Creating a New clicking the Aspen Properties icon on your desktop.
Problem 2 On the Aspen Properties Startup dialog box, click the
appropriate button to create a new problem using a Blank
Problem or a Template, then click OK.
3 If you choose a blank problem, the Aspen Properties main
window opens with the Components Specifications form and
you can begin specifying your problem.
4 If you choose a Template, follow the steps below.
5 In the New dialog box, select the type of template and the units
you wish to use, from the list. For more information on
choosing a Template, see Selecting a Template.
6 Click OK.
7 If the Connect to Engine dialog box appears, specify where the
Aspen Properties calculation engine will execute.
Creating a New To create a new problem if you are already in Aspen Properties:
Problem in Aspen 1 Save the current problem if you want to open it later.
Properties
2 From the File menu, click New.
3 A dialog box appears, asking if you want to close the current
problem before opening a new problem. Click Yes, No, or
Cancel:
If you This happens
choose
Yes The current run will be closed, and the new run will open in the
existing Aspen Properties window.
You will be given the option to save the current run before the
new run opens.
No The current run will remain active in the existing window, and a
new run will open in a second Aspen Properties window.
Cancel You will be returned to the current run.
4 In the New dialog box, select the type of Template and the
units you wish to use, from the list. For more information on
choosing a Template, see Selecting a Template.
5 Click OK.
Aspen Properties 11.1 User Guide Creating an Aspen Properties Problem • 2-3
Selecting a Template
When starting a new problem, you can start with a blank problem
or you can begin with a Template. Templates set defaults
commonly used by specific industries for:
• Units of measurement
• Default setting for Free-Water option
• Property method
• Other application-specific defaults
For information about creating your own templates, see
Customizing Application Template Files.
About the Built-In There are built-in Templates for the following applications:
Templates • Air Separation
• Chemicals
• Electrolytes
• Gas Processing
• General
• Petroleum
• Pharmaceuticals
• Specialty Chemicals
For each Template, you can select either metric or English units of
measurement as a default units set. Other units sets are also
available.
2-4 • Creating an Aspen Properties Problem Aspen Properties 11.1 User Guide
2 Provide additional specifications if needed by opening the Data
Browser and using the Reactions and Setup ReportOptions
forms.
Completion Status for The completion status for the problem appears in the status bar.
the Problem When completing the input specifications, you see the following
status messages:
This status Means You can
message
Required Input Input specifications Use Next from the main window
Incomplete are incomplete. or Data Browser toolbars to find
out what you must specify to
complete the input specifications
and to go to forms that are
incomplete.
Required Input Required input Start the calculation or enter
Complete specifications are optional specifications.
complete.
Completion Status on The completion status for the active form or menu appears in the
Forms status bar of the Data Browser. When completing input
specifications for a new run, you see the following status
messages:
This status Means You can
message
Required Input Input specifications Use Next from the Data Browser
Incomplete for the form or toolbar to find out what you must
object are specify to complete the input
incomplete. specifications.
Input Complete Required input Enter specifications for other
specifications for forms or start the calculation.
the form or object
are complete.
Completion Status In the Data Browser menu tree, symbols indicate the input
Indicators in the Data completion status.
Browser Menu Tree
Aspen Properties 11.1 User Guide Creating an Aspen Properties Problem • 2-5
Completion Status On forms, the completion status for each individual sheet is
Indicators on Sheets displayed on the sheet tab:
Symbol Means
Input specifications for the sheet are incomplete.
Click the tab of the incomplete sheet
– or –
Use Next
Input specifications for the sheet are complete.
The required input has been entered by the user.
(blank) Input for this sheet is optional.
Completion Status for When you are on an Object Manager for an Analysis, Property data
Objects or other object, the completion status for each object appears in the
Status column.
Status message Means You can
Input Incomplete Input specifications Use Next from the Data Browser
for the object are toolbar to go to an incomplete
incomplete. form, or select an incomplete
object from the Object Manager,
and click Edit.
Input Complete Required input Use Next from the Data Browser
specifications for toolbar to go to the next step, or
the object are enter optional specifications by
complete. selecting an object from the
Object Manager and clicking Edit.
Results Present Results are present View results, make input changes,
and re-run the calculation
Input Changed Results are present, View results, make further input
the input changes, and re-run the
specifications have calculation
been changed and
the input is
complete.
2-6 • Creating an Aspen Properties Problem Aspen Properties 11.1 User Guide
About the Templates
There are built-in Templates for the following applications:
• Air Separation
• Chemicals
• Electrolytes
• Gas Processing
• General
• Petroleum
• Pharmaceuticals
• Specialty Chemicals
About the General Use the General Template for a wide range of vapor-liquid
Template applications. The General Template defines the following units
sets. These units sets are also available in all other Templates.
Unit-Set Temp Pres Mass Mole Enthalpy Volume
Flow Flow Flow Flow
ENG F psi lb/hr lbmol/hr Btu/hr cuft/hr
MET K atm kg/hr kmol/hr cal/sec l/min
METCBAR C bar kg/hr kmol/hr MMkcal/hr cum/hr
METCKGGM C kg/sqcm kg/hr kmol/hr MMkcal/hr cum/hr
SI K n/sqm kg/sec kmol/sec watt cum/sec
SI-CBAR C bar kg/hr kmol/hr watt cum/hr
ENG is the default English units set for General Template.
METCBAR is the default metric units set for General Template.
General Template The General Template sets the following defaults.
Defaults
Specification Default
Physical property method None
Flow-basis for input Mole
Aspen Properties 11.1 User Guide Creating an Aspen Properties Problem • 2-7
General Template The General Template defines the following property sets. These
Property Sets property sets are also available in many of the other Templates.
Property Description
Set
HXDESIGN Thermal and transport properties in SI units needed by
heat exchanger design programs and ADVENT, including:
Mass vapor fraction
Mass flow rate for total, vapor, and liquid phases
Mass enthalpy for total, vapor, and liquid phases
Mass density for total, vapor, and liquid phases
Mass heat capacity for total, vapor, and liquid phases
Pseudo-critical pressure for total, vapor, and liquid phases:
Viscosity for vapor and liquid phases
Thermal conductivity for vapor and liquid phases
Average molecular weight for total, vapor, and liquid
phases
THERMAL Thermal properties, including:
Vapor and liquid phase enthalpy
Vapor and liquid phase heat capacity
Vapor and liquid phase thermal conductivity
TXPORT Transport properties, including:
Vapor and liquid phase mass density
Vapor and liquid phase viscosity
Liquid phase surface tension
VLE Vapor-liquid equilibrium component information,
including:
Component fugacity coefficient in vapor and liquid phases
Component activity coefficient in liquid phase
Pure component vapor pressure
VLLE Vapor-liquid-liquid equilibrium component information,
including:
Component fugacity coefficient in each phase
Component activity coefficient in each liquid phase
Pure component vapor pressure
2-8 • Creating an Aspen Properties Problem Aspen Properties 11.1 User Guide
The Petroleum Template defines defaults commonly used in the
About the Petroleum
petroleum industry. It is also appropriate for petrochemical
Template
applications such as ethylene plants, which involve petroleum
fractions as feedstocks.
This table shows the defaults used:
Specification English Default Metric Default
Units F, psi, lb/hr, lbmol/hr, C, bar, kg/hr, kmol/hr,
MMBtu/hr, bbl/day MMkcal/hr, bbl/day
Physical property None None
method
Free water Yes Yes
Because petroleum applications encompass a wide range of boiling
fractions/ components and process conditions, this Template does
not have a default physical property method. These methods are
used most frequently:
• BK10
• CHAO-SEA
• GRAYSON
• RK-SOAVE
• PENG-ROB
• IDEAL
You should consider additional methods for various operations
within a refinery (such as ELECNRTL for sour water strippers and
amine treatment units, and UNIFAC for aromatic extraction).
Aspen Properties provides comprehensive methods for analyzing
assay data and automatically generating pseudocomponents. You
can select from five built-in pseudocomponent property methods to
characterize pseudocomponents. You can also enter curves of
petroleum properties, such as sulfur and metal contents. Aspen
Properties tracks these properties throughout the flowsheet. You
can use them in design specifications, optimization constraints, and
objective functions.
Aspen Properties 11.1 User Guide Creating an Aspen Properties Problem • 2-9
Petroleum Property Sets In Aspen Properties, many properties can be used to characterize
streams in a refinery.
The Petroleum Template includes property sets for many widely
used petroleum-related properties.
Property Set Description
CUTS-E Standard liquid volume flow of petroleum cuts at 100º F
intervals. Valuable for concise reporting of stream
composition.
CUTS-M Mass flow rate of petroleum cuts at 50º C intervals.
Valuable for concise reporting of stream composition.
D86-5 ASTM D86 temperature at 5 liquid volume %
D86-95 ASTM D86 temperature at 95 liquid volume %
GASPROPS Vapor phase properties, including:
Compressibility factor for a mixture
Actual volume flow
Standard vapor volume flow
Heat capacity ratio (CP/CV)
KINVISC Kinematic viscosity at 100°F and 212°F or 40°C and
100°C (dry basis)
LIGHT Petroleum characteristics for light distillates (dry basis),
including:
Reid vapor pressure
Flash point based on API method
Aniline point
MIDDLE Petroleum characteristics for middle distillates (dry
basis), including:
Cetane number
Flash point based on API method
Pour point based on API method
Aniline point
PETRO General petroleum properties on dry basis, including:
Standard liquid volume flow (bbl/day) and (bbl/hr)
Standard API gravity
Standard specific gravity
Watson UOP K-factor
True boiling point distillation curve
ASTM D86 distillation curve
ASTM D1160 distillation curve
TBP-5 True boiling point temperature at 5 liquid volume %
TBP-95 True boiling point temperature at 95 liquid volume %
PETRO is the default for stream results.
2-10 • Creating an Aspen Properties Problem Aspen Properties 11.1 User Guide
Petroleum Stream Report The large number of pseudocomponents and distillation curves in a
Options petroleum application can result in a lengthy stream report.
The Petroleum Template defines several stream report format
(TFF) options so you can view or print subsets of stream
information:
TFF Displays
PETRO-E State variables, stream flows, properties, distillation
curves, and component flows. Standard volume flows of
the 100°F petroleum cuts if CUTS-E property set was
selected
PETRO-M State variables, stream flows, properties, distillation
curves, component flows. Mass flows of the 50°C
petroleum cuts if CUTS-M property set was selected
PET-COMP Only component flow and total flow results
PET-CURVE Only distillation curve stream results
PET-PROP Only state variables, stream flows, properties, and flows
of petroleum cuts
About the Gas The Gas Processing Template defines defaults commonly used in
Processing Template the gas processing industry. For example, stream flows are
standard vapor volume flows in millions of standard cubic feet per
day or millions of standard cubic meters per hour.
The gas processing defaults are:
Specification Default
English units F, psi, lb/hr, MMscfd, MMbtu/hr, MMcuft/hr
Metric units C, bar, tonne/hr, MMscmh, MMkcal/hr, cum/hr
Physical property Peng-Robinson
method
Flow basis Mole with MMscfd or MMscmh
Stream report Mole flow with MMscfd or MMscmh
compositions
MMscfd is millions of standard cubic feet per day.
MMscmh is millions of standard cubic meters per hour.
Peng-Robinson is the default method for calculating physical
properties. For many gas processing applications, such as gas
sweetening, gas dehydration, and the Claus process, you may want
to select other physical property methods. For example, you may
want to use the ELECNRTL method together with the special
amines data package for gas sweetening.
Aspen Properties 11.1 User Guide Creating an Aspen Properties Problem • 2-11
Gas Processing Property This Template also provides property sets commonly needed in gas
Sets processing applications:
Property Set Description
CRITICAL Pseudo critical properties, including:
Pseudo critical temperature
Pseudo critical pressure
Pseudo critical volume
GASPROPS General gas properties, including:
Compressibility factor
Actual volume flow
Standard vapor volume (MMscfd or MMscmh)
Heat Capacity Ratio (CP/CV) for mixture
TDEW Dew point temperature
About the Air Use the Air Separation Template for cryogenic air separation
Separation Template calculations. The defaults are:
Specification Default
English units F, psi, lb/hr, lbmol/hr, Btu/hr, cuft/hr
Metric units C, bar, kg/hr, kmol/hr, watt, cum/hr
Physical property Peng-Robinson
method
Components included O2, N2, AR
Flow basis Mole
Stream report Mole flow and mole fraction
composition
These Aspen Properties unit operation models are used extensively
in air separation calculations:
Model Description
RadFrac Rigorous distillation
MultiFrac Multiple column calculation
HeatX Rigorous heat exchange
MHeatX Cold box heat exchange
The MultiFrac model is especially useful for modeling the double-
and triple-column systems typically found in air plants. MultiFrac
solves these interlinked column systems as a single unit, without
recycle flow estimates.
Air plants are highly heat-integrated. You can specify heat streams
to model the complex heat integration between units.
2-12 • Creating an Aspen Properties Problem Aspen Properties 11.1 User Guide
Air Separation Property The air separation property sets are:
Sets Property Set Description
CRITICAL Pseudo critical properties, including:
Pseudo critical temperature
Pseudo critical pressure
Pseudo critical volume
GASPROPS General gas properties, including:
Compressibility factor
Actual volume flow
Standard vapor volume (MMscfd or MMscmh)
Heat Capacity Ratio (CP/CV) for mixture
TBUBBLE Bubble point temperature
TDEW Dew point temperature
About the Chemicals The Chemicals Template is suitable for a wide range of chemical
Template (non-electrolyte) applications. It is also appropriate for
petrochemical applications, such as MTBE production and VCM
plants, where feedstocks are defined in terms of chemical
components.
The defaults are:
Specification Default
English units F, psi, lb/hr, lbmol/hr, Btu/hr, cuft/hr
Metric units C, bar, kg/hr, kmol/hr, MMkcal/hr, cum/hr
Physical property method NRTL
Flow basis Mole
Stream report composition Mole flow
The default base property method is NRTL, which has wide
application for low-pressure ideal and non-ideal chemical systems.
Aspen Properties has several additional activity coefficient models
and equations of state for modeling chemical systems. For
example, for systems containing organic acids, use NRTL-HOC,
WILS-HOC, or UNIQ-HOC methods. For chemical systems at
high pressures, use an equation-of-state method, such as RK-
ASPEN, SR-POLAR, PRWS, PRMHV2, or PSRK.
Each activity coefficient and equation-of-state model has a large
databank of binary interaction parameters suitable for modeling
chemical systems. Aspen Properties automatically retrieves and
displays these binary parameters. If the database does not have
binary parameters for a component pair, Aspen Properties can
estimate the missing binary parameters for your application .
If you have measured data for your chemical system you can use
Aspen Properties to regress model parameters. Aspen Properties
Aspen Properties 11.1 User Guide Creating an Aspen Properties Problem • 2-13
has interactive tools for analyzing the properties and vapor-liquid
equilibrium of chemical systems.
See General Template Property Sets to see the built-in property
sets, which are the same as the General Template.
About the The Electrolytes Template is used for applications that require
Electrolytes Template rigorous modeling of electrolyte species. You can use this
Template in any application where electrolytes are important.
The defaults are:
Specification Default
English units F, psi, lb/hr, lbmol/hr, Btu/hr, cuft/hr
Metric units C, bar, kg/hr, kmol/hr, MMkcal/hr, cum/hr
Physical property method ELECNRTL
Components included H2O
Flow basis Mass
Stream report composition Mass flow
Stream report format Displays all electrolyte properties that are
requested in property sets
The ELECNRTL property method model is recommended for
rigorously modeling electrolyte systems.
Aspen Properties has a large built-in databank of electrolyte
reactions and interaction parameters for many electrolyte systems.
The Aspen Properties Electrolytes Wizard generates electrolytes
chemistry automatically and interactively, so you can control the
species and reactions to include in your calculation.
Electrolytes Property The built-in property sets are:
Sets
Property Set Property Description
FAPP Apparent component mole flow
FTRUE True component mole flow
LVOLFLOW Liquid volumetric flow
MASSCONC Mass concentration
MOLECONC Mole concentration
PH pH at current temperature
SOLINDEX Solubility index
TBUBBLE Bubble point temperature
VMOLFLOW Component mole flows in vapor phase
VMOLFRAC Component mole fractions in vapor phase
WXAPP Apparent component mass fraction
WAPP Apparent component mass flow
XTRUE True component mole fraction
2-14 • Creating an Aspen Properties Problem Aspen Properties 11.1 User Guide
About the Specialty The Specialty Chemicals Template is for specialty chemical
Chemicals Template applications, with or without electrolytes. You can view stream
results on a:
• Concentration basis
• Per batch basis, if you select the Batch-Operations report
option
The defaults for this Template are:
Specification Default
English units F, psi, lb/hr, lbmol/hr, Btu/hr, gal/hr
Metric units C, bar, kg/hr, kmol/hr, kcal/hr, l/hr
Physical property NRTL
method
Flow basis Mass
Stream report Mass flow
composition
Stream report format Displays standard properties, plus
concentration and batch stream report, if
requested. Electrolyte properties are also
displayed if an electrolyte method and
electrolyte property set are selected.
The default base property method is NRTL, which has wide
application for low-pressure ideal and non-ideal chemical systems.
Aspen Properties has additional activity coefficient models and
equations of state for modeling chemical systems.
Each activity coefficient model has a large databank of binary
interaction parameters suitable for modeling chemical systems.
Aspen Properties automatically retrieves and displays these binary
parameters. If the database does not have binary parameters for a
component pair, Aspen Properties can estimate the missing binary
parameters for your application.
If you have measured data for your chemical system, you can use
Aspen Properties to regress model parameters. Aspen Properties
has interactive tools for analyzing the properties and vapor-liquid
equilibrium of chemical systems.
If your process involves electrolytes, use the Electrolytes Wizard
to define the reactions and ionic species. The NRTL method will
be replaced by ELECNRTL, and the electrolytes database will be
used.
See Electrolytes Property Sets to see the built-in property sets,
which are the same as for the Electrolytes Template.
Aspen Properties 11.1 User Guide Creating an Aspen Properties Problem • 2-15
About the The Pharmaceuticals Template uses NRTL as the default base
Pharmaceuticals property method. You can use this method for two-liquid-phase
Template systems, or vapor and liquid systems at low pressure. This
Template reports stream composition on a mass concentration and
mass flow basis. You can also view the vapor-liquid-liquid
equilibrium for any stream and examine results on a per batch
basis, if you select the Batch-Operations report option.
The defaults for this Template are:
Specification Default
English units F, psi, lb/hr, lbmol/hr, Btu/hr, gal/hr
Metric units C, bar, kg/hr, kmol/hr, kcal/hr, l/hr
Physical property method NRTL
Flow basis Mass
Stream report composition Mass flow and mass concentration
Stream report format Displays standard properties, plus batch
stream report if requested
The built-in property sets are:
Property Set Description
LVOLFLOW Liquid volumetric flow
MASSCONC Mass concentration
MOLECONC Mole concentration
VMOLFLOW Component mole flows in vapor phase
VMOLFRAC Component mole fractions in vapor
phase
MASSCONC is the default for the stream report.
2-16 • Creating an Aspen Properties Problem Aspen Properties 11.1 User Guide
6 The input and results are then loaded. You can examine,
modify, and run the calculation.
Examining Descriptions To view a description of a file before opening it:
of Files
• Click the file then click the Preview button (button that is
furthest right) on the Open dialog box toolbar.
To view a description of an open file:
1 From the Data menu, click Setup, then click Specifications.
2 Click the Description sheet.
3 To examine available comments for forms and other objects,
click the Comments button from the toolbar of the Data
Browser.
If comments are available, the Comments button looks like this:
.
If there are no comments available, the Comments button looks
like this: .
Aspen Properties 11.1 User Guide Creating an Aspen Properties Problem • 2-17
2-18 • Creating an Aspen Properties Problem Aspen Properties 11.1 User Guide
CHAPTER 3
Overview
Aspen Properties has online Help, prompts and expert system
messages, to give you information as you use the program.
For more information on Help, see one of the following topics:
• Getting online Help
• Using the Back button
• Searching for help on a topic
• Printing help
• Linking to the AspenTech home page
• Contacting Technical Support
Getting Help
There are several ways to get help in Aspen Properties:
If you want help about Do this
A particular topic From the Help Topics dialog box, click the
Index tab.
A form or field On the Aspen Properties toolbar, click the
What’s This button then click the field or form.
A dialog box Click the Help button on the dialog box.
The item the cursor or Press F1.
mouse pointer is on
Keeping Help On Top To keep the Help window on top of any other open windows:
1 In the Help window, click the Options button or menu.
2 Point to Keep Help On Top, and then click On Top.
Aspen Properties 11.1 User Guide Using Aspen Properties Help • 3-1
Use the Back button to move back through help screens you have
Using the Back
seen. If there is no previous topic to view, the Back button is
Button
unavailable. Back keeps a complete record of all the help topics
you view. This list is cleared each time you exit help.
or
3-2 • Using Aspen Properties Help Aspen Properties 11.1 User Guide
Getting Step by Step Help
To get help on preparing, specifying, and running calculations, and
reviewing results:
1 From the Help Topics dialog box, click the Contents tab.
2 Double-click Using Aspen Properties, then click the topic you
want.
Aspen Properties 11.1 User Guide Using Aspen Properties Help • 3-3
Aspen Properties User Guide The three-volume Aspen Properties
User Guide provides step-by-step procedures for the tasks you
perform in developing and using an Aspen Properties calculation
model. This guide is task-oriented to help you accomplish the
engineering work you do.
Aspen Properties Reference Manuals The Aspen Properties
reference manuals provide detailed technical reference
information. The manuals include background information about
the unit operation models, available physical properties methods
and models, tables of Aspen Properties databank parameters,
equations, and a wide range of other reference information. The set
comprises:
• Physical Property Methods and Models
• Physical Property Data
• System Management and Customization Guide
3-4 • Using Aspen Properties Help Aspen Properties 11.1 User Guide
Registered users can also subscribe to our Technical Support e-
Bulletins. These e-Bulletins are used to proactively alert users to
important technical support information such as:
• Technical advisories
• Product updates and Service Pack announcements
The most up-to-date contact information for your nearest support
office is also available on AspenTech’s web page at
http://support.aspentech.com/
See the preface of this manual for contact information current
when this product was released.
Improving Help
We value your comments, suggestions, and criticisms. If you
couldn’t find the Help you were looking for, needed more
assistance that the online help provided, or have any suggestions
for future improvements to our online information, we want to
know.
Please email your comments to Docs@Aspentech.com
Note: If you have a query about Aspen Properties itself and want
to email the AspenTech Support team, please email your local
Technical Support office.
Aspen Properties 11.1 User Guide Using Aspen Properties Help • 3-5
3-6 • Using Aspen Properties Help Aspen Properties 11.1 User Guide
CHAPTER 4
Global Information
Overview
For help on specifying and changing all types of global
information, see one of the following topics:
• About global information
• Entering global specifications
• Overriding default calculation options
• Units of measure
• Report options
Specifying Valid Phases Aspen Properties can perform phase equilibrium (flash)
calculations. You can specify the valid phases to be used in these
calculations. Choose from Vapor-Only, Liquid-Only, Vapor-
Liquid, and Vapor-Liquid-Liquid.
You can override the global setting locally, using the Valid Phases
box on the appropriate form.
Tip: You can write a description in your text editor (for example,
Notepad), and then copy and paste them onto the Description
sheet.
Accounting Sheet Use this sheet to enter calculation accounting information (required
at some installations). The accounting information includes: a user
name, an account number, a project ID, and a project name. This
information is stored for the current calculation by the Aspen
Properties Calculation Accounting System, if it is active for your
installation.
Accounting Report Accounting report information tracks the use of Aspen Properties
Information at your installation. This information may be required at some
installations.
To specify calculation accounting information:
1 From the Data menu, click Setup.
2 Select the Accounting sheet on the Setup Specifications form.
Tip: You can override the global defaults locally, using the
Diagnostics sheet for property tables and other objects that perform
calculations.
7 Aspen Properties asks if you want to make your new units set
the global default for subsequent specifications. After you have
defined the new units set, you can specify US-1 in the Units
box in the Data Browser toolbar.
8 On the Copy From box, use the drop down arrow and select
ENG as the set to copy from. The ENG units set values appear
in the units box.
9 On the Temperature box, use the drop down arrow and select C
as the temperature.
Report Options
Use the Setup ReportOptions form to customize the calculation
report. See Generating a Report for more information on
generating and accessing the reports.
Specifying Components
Overview
For help on specifying components, see one of the following
topics:
• Forms for specifying component information
• Specifying databank and non-databank components
• Adding, deleting, and changing components
• Generating electrolyte components and reactions
• Identifying solid components
• Assigning attributes for conventional and nonconventional
components
• Specifying supercritical (HENRY) components
• Specifying UNIFAC groups
• Defining component groups
About Databanks
Aspen Properties stores physical property parameters for a large
number of components in several databanks. In addition to the
standard Aspen Properties databanks, in-house databanks may be
available at your site.
To see the available pure component databanks, and to see or
change which databanks are active for a calculation:
1 From the Data menu, click Components.
2 On the Specifications form, click the Databanks sheet.
3 Aspen Properties searches the databanks in the order listed in
the Selected Databanks list on this sheet. The default order is
appropriate for most calculations.
4 To change the search order for databanks in this calculation,
click a databank in the Selected Databanks list, and then click
the up and down arrow keys to move the databank higher or
lower in the list.
See Changing Databanks Search Order for information about
changing search order globally.
Example of Using the In this example, the advanced component Find dialog box is used
Find Dialog Box to locate a component that includes C3 in its formula and has a
boiling point between 200 and 250 K.
To do this:
1 On the Components Specifications Selection sheet, select an
empty component ID field, then click Find.
2 In the Component Name or Formula box, enter C3.
3 Select the Advanced sheet where you can also search for
components based on the chemical class, molecular weight
range, boiling point range and CAS number.
4 In the Boiling Point boxes, enter from 200 to 250 K.
5 Click Find Now.
6 Aspen Properties searches its databanks for components that
contain the characters C3 in the name or formula and have a
Boiling point between 200 and 250 K and then displays the
results in the bottom half of the window.
7 To include a component from the search results in your
calculation, select a component name from the list, and click
Add. From the Find dialog box, you can continue to select
component names and click the Add button to select multiple
components from the search results to be added to your
calculation. You can also modify your search criteria and click
Find Now again to generate new search results.
Specifying Non-Databank
Components
To define a component that is not in the databanks:
1 From the Data menu, click Components.
2 On the Specifications Selection sheet, enter only the
Component ID.
3 If Aspen Properties finds a match in a databank for the ID you
enter, delete the Formula or Component Name. Aspen
Properties then recognizes the component as a non-databank
component.
4 You must supply all required property parameters for non-
databank components. You can supply the parameters yourself
using the Properties Data and Parameters forms.
– or –
Combine user-input parameters and data with one or both of
the following:
Tip: Use the User Defined Component Wizard to help you enter
some of the commonly available data, such as normal boiling point
and vapor pressure data.
Using the User- You can use the User-Defined Component Wizard to define the
Defined Component properties needed for conventional, solid, and nonconventional
Wizard components. You can modify the parameters supplied at any time
by returning to the User-Defined Component Wizard or by going
to the forms where the information is saved.
Use this wizard to define components that are not in any pure
component databanks. You can define conventional components,
solid components, and nonconventional components. The wizard
also helps you enter commonly available data for the components,
such as molecular weight, normal boiling point, vapor pressure and
heat capacity data.
Opening the User- To open the User-Defined Component Wizard:
Defined Component
1 From the Data menu, click Components.
Wizard
2 On the Specifications Selection sheet select an empty
component ID field, then click the User-Defined button.
The User-Defined Component Wizard appears.
Adding a Component
To add a component to the existing component list:
1 From the Data menu, click Components.
2 On the Specifications Selection sheet, move to the first blank
row.
3 Enter a Component ID, name or formula.
Follow the next two steps if you want to move the component
within the list.
4 Click the Reorder button to open the Reorder Components
dialog box.
5 Select the new component and move it up in the sequence with
the up arrow to the right of the components list.
Inserting a To insert a component:
Component 1 From the Data menu, click Components.
2 On the Specifications Selection sheet, move to the row where
you want the new component inserted.
Renaming a Component
To rename an existing component:
1 From the Data menu, click Components.
2 On the Specifications Selection sheet, move to the Component
ID box for the component you want to rename.
3 Type over the existing ID.
Aspen Properties prompts you to either delete or rename the
existing component.
4 Select Rename.
The component is renamed on this form and on all other forms
where it appears. No data is lost.
If you select Delete, both the Component ID and its data is
deleted.
Deleting a Component
To delete a component:
1 From the Data menu, click Components.
2 On the Specifications Selection sheet, click the right mouse
button on the row selector for the component you want to
delete
3 Choose Delete Row from the menu that appears.
When you delete a component, all references to the component
on other sheets are automatically deleted.
Overview
Choosing the appropriate property method is often the key decision
in determining the accuracy of your calculation results. For help on
property methods, see one of the following topics:
• What is a property method
• Available property methods
• Choosing a property method
• Creating new property methods
• Specifying the global property method
• Specifying a local property method
• Defining supercritical components
• Specifying properties for the free-water phase
• Special method for K-value of water in the organic phase
• Specifying electrolyte calculations
• Modifying property methods
• Property methods for nonconventional components
Electrolyte
ELECNRTL
Real
PENG-ROB, RK-SOAVE,
LK-PLOCK, PR-BM,
RKS-BM
Nonpolar > 1atm
CHAO-SEA, GRAYSON,
BK10
Pseudo &
Real
Vacuum
BK10, IDEAL
Polarity Electrolyte
N
Polar,
non-electrolyte
N UNIFAC, UNIF-LBY,
UNIF-DMD
Y
SR-POLAR, PRWS,
RKSWS, PRMHV2,
P > 10 bar RKSMHV2
N
PSRK, RKSMHV2
Pressure Liquid-Liquid
Hexamers
WILS-HF
DP?
WILS-NTH, WILS-HOC
Y Dimers NRTL-NTH, NRTL-HOC
UNIQ-NTH, UNIQ-HOC
WILSON UNIF-HOC
NRTL VAP?
UNIQUAC
UNIFAC
N
WILSON, WILS-RK,
WILS-LR, WILS-GLR,
NRTL, NRTL-RK, NRTL-2
UNIQUAC, UNIQ-RK,
UNIQ-2, UNIFAC, UNIF-LL,
UNIF-LBY, UNIF-DMD
Degrees of polymerization
xw
3 The K-value of water is calculated by the primary property method
Water solubility option 3 is not recommended unless binary
interaction parameters regressed from liquid-liquid equilibrium
data are available.
sol
x
Note: w is solubility of water in the organic phase, calculated
using the water-solubility correlation(WATSOL). See Aspen
Properties Physical Property Methods and Models, Chapter 3, for
descriptions of the water solubility correlation.
Warning: If you modify the Routes sheet after you have modified
the Models sheet, the changes you made on the Models sheet will
be lost. You must re-enter your changes on the Models sheet.
About the Models Sheet The Models sheet displays the property models used for
calculation of the properties in the property method. To modify a
property model, select the desired model in the Model Name
column.
Warning: If you modify the Routes sheet after you have modified
the Models sheet, the changes you made on the Models sheet will
be lost. You must re-enter your changes on the Models sheet.
Overview
For help on physical property parameters and data, see one of the
following topics:
• About parameters and data
• Determining property parameter requirements
• Retrieving parameters from databanks
• Entering property parameters
• Using tabular data and polynomial coefficients
• Using property data packages
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-1
In order to understand this topic, it is important to distinguish
between the terms Parameters and Data:
Item Definition Example
Parameters The constants used in These can be scalar constants such
the many different as molecular weight (MW) and
physical property critical temperature (TC), or they
models, or equations, can be temperature-dependent
used by Aspen property correlation parameters
Properties to predict such as the coefficients for the
physical properties extended Antoine vapor pressure
equation (PLXANT).
Data Raw experimental Vapor pressure vs. Temperature
property data that can data could be used to estimate or
be used for estimation regress the extended Antoine
or regression of parameters (PLXANT).
parameters
7-2 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
This table gives further information:
If you These parameters are Enter them on this type
required of Properties Parameters
form
Request Parameters for the water Pure Component
free-water solubility model T-Dependent
calculations (WATSOL)
Parameter If you use Henry’s law for supercritical components (or
Requirements for dissolved-gas components), Henry’s constant model parameters
Henry’s Law (HENRY) are required for all dissolved-gas components with the
solvents. You must list the supercritical components on the
Components Henry Comps Selection sheet.
Aspen Properties does not automatically designate or determine
supercritical components based on process condition and the
critical temperature of the components.
If You require these parameters
More than one solvent Henry’s constant parameters for each
is in the mixture dissolved-gas solvent pair.
Henry’s constants are Henry’s constants for the major solvents.
not available for all Henry’s constants for the minor solvents can be
solvents missing. Aspen Properties uses a rigorous
defaulting procedure when Henry’s constants are
missing for a minor solvent component.
Enter Henry’s constant model parameters on the Input sheet of the
HENRY-1 object on the Properties Parameters Binary Interaction
HENRY-1 form.
Parameter The default reference state for thermodynamic properties is the
Requirements for constituent elements in an ideal gas state at 25° C and 1 atm. To
Thermodynamic calculate enthalpies, entropies, and Gibbs free energies, Aspen
Reference State Properties uses:
• Standard heat of formation (DHFORM)
• Standard Gibbs free energy of formation (DGFORM)
For systems that do not involve chemical reaction, you may allow
DHFORM and DGFORM to default to zero.
Values of Must be available for all components
DHFORM Participating in chemical reactions
DGFORM Involved in equilibrium reactions modeled by the Aspen
Plus RGibbs reactor model
Reference State for Conventional solid components may require:
Conventional Solid
• Standard solid heat of formation (DHSFRM)
Components
• Standard solid Gibbs free energy of formation (DGSFRM)
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-3
Enter them on the Properties Parameters Pure Component Scalar
Input sheet.
Reference State for Ionic The reference state for ionic species is infinite dilution in water. To
Species calculate enthalpy, entropy, and Gibbs free energy of ions, Aspen
Properties uses:
• Standard heat of formation in water at infinite dilution
(DHAQFM)
• Standard Gibbs free energy of formation in water at infinite
dilution (DGAQFM)
See Physical Property Methods and Models, Chapters 2 and 3 for
details on enthalpy calculations.
7-4 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
Generating a Report of To generate a report of all available pure component parameters
Available Pure that will be used in the calculation for the components and
Component Parameters property methods specified:
1 From the Tools menu, click Retrieve Parameters Results.
2 On the Retrieve Parameter Results dialog box, click OK to
generate a report.
3 On the next Retrieve Parameter Results dialog box, click OK to
view the results.
The Data Browser automatically opens at the Properties
Parameters Results folder.
4 In the left pane of the Data Browser, choose the Pure
Component form from the Results folder.
The Parameters Results Pure Components form contains a sheet
for scalar parameters and a sheet for T-Dependent parameters. On
each sheet you can choose to view the actual parameter values, or
the status. For the status of parameter results, the following status
is possible:
Status Indicates the parameter is
Available Available in the databank, entered on the Parameters
Input sheet, estimated, or regressed
Default A system default value
Missing Missing
Retrieving Equation- For many component systems, binary parameters are available for
of-State Binary these models:
Parameters Model Parameter name
Standard Redlich-Kwong-Soave RKSKIJ
Standard Peng-Robinson PRKIJ
Lee-Kesler-Plöcker LKPKIJ
BWR-Lee-Starling BWRKV, BWRKT
Hayden-O'Connell HOCETA
Aspen Properties retrieves any databank values and uses them
automatically. Whether you enter these parameters yourself or
retrieve them from a databank, you can view them from the
appropriate Properties Parameters Binary Interaction Input sheet.
Aspen Properties creates one form for each binary parameter.
If you do not want to retrieve built-in equation-of-state binary
parameters, remove the databank name from the Selected
Databanks list on the Databanks sheet of the Properties Parameters
Binary Interaction form for your equation-of-state model. Use the
Input sheet to enter your own binary parameter values. For more
information see Entering Scalar Binary Parameters.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-5
Retrieving Activity Aspen Properties has built-in binary parameters for a large number
Coefficient Binary of component pairs. Binary parameters are available for the
Parameters following property methods for vapor-liquid applications:
Property method Parameter name
NRTL NRTL
NRTL-HOC NRTL
NRTL-RK NRTL
UNIQUAC UNIQ
UNIQ-HOC UNIQ
UNIQ-RK UNIQ
WILSON WILSON
WILS-HOC WILSON
WILS-GLR WILSON
WILS-LR WILSON
WILS-RK WILSON
For liquid-liquid applications, binary parameters are available for
the following property methods:
Property method Parameter name
NRTL NRTL
NRTL-HOC NRTL
NRTL-RK NRTL
UNIQUAC UNIQ
UNIQ-HOC UNIQ
UNIQ-RK UNIQ
AspenTech developed these parameters using data from the
Dortmund Databank.
Whenever you select these property methods, Aspen Properties
retrieves these parameters automatically and displays them on the
Input sheet of the appropriate Properties Parameters Binary
Interaction forms. Aspen Properties creates a form for each binary
parameter. Use Help to obtain information about the quality of
each set of parameters-for example, sum of squares error and
average and maximum deviations of the fit.
If you do not want to retrieve built-in binary parameters, remove
the databank name from the Selected Databanks list on the
Databanks sheet of the Properties Parameters Binary Interaction
form. Use the Input sheet to enter your own binary parameter
values.
For more information, see Entering Temperature-Dependent
Binary Parameters.
7-6 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
Henry’s law constants are available for a large number of solutes in
Retrieving Henry’s
solvents. The solvents are water and many organic components.
Law Constants
AspenTech developed these parameters using data from the
Dortmund Databank.
If you use an activity coefficient property method and define a set
of Henry’s components, Aspen Properties retrieves the Henry’s
constants automatically and displays them on the Input sheet of the
Properties Parameters Binary Interaction HENRY-1 form.
If you do not want to retrieve built-in Henry’s law constants,
remove both the BINARY and HENRY databanks from the
Selected Databanks list on the Databanks sheet of the HENRY-1
form.
Retrieving Electrolyte Binary and pair parameters of the Electrolyte NRTL model are
Binary and Pair available for many industrially important electrolyte systems.
Parameters Aspen Properties retrieves the binary parameters and displays them
on the Properties Parameters Binary Interaction forms. For pair
parameters, Aspen Properties displays them on the Properties
Parameters Electrolyte Pair forms.
If you do not want to retrieve built-in parameters, remove the
databank name from the Selected Databanks list on the Databanks
sheet of the applicable form.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-7
• Temperature-dependent binary parameters
• Binary parameters from Dechema
• Electrolyte pair parameters
• Ternary parameters
Forms for Entering The table below shows where to enter the different types of
Property Parameters property parameters:
Use the Input sheet of this To enter
Properties Parameters form
Pure Component Scalar Scalar pure component parameters, such as critical temperature (TC) or
molecular weight (MW)
Pure Component T-Dependent Temperature-dependent pure component property correlation parameters,
such as PLXANT for the extended Antoine vapor pressure model
Pure Component Unary parameters for nonconventional components
Nonconventional
Binary Interaction Scalar binary parameters, such as the RKSKIJ binary parameters for the
Redlich-Kwong-Soave equation-of-state model
Temperature-dependent binary parameters (that is, parameters defined
with more than one element) such as the NRTL binary parameters or
Henry’s law constants
Electrolyte Pair Electrolyte-molecule and electrolyte-electrolyte pair parameters required
by the electrolyte NRTL model, such as the GMELCC parameters
Electrolyte Ternary Electrolyte ternary parameters required by the Pitzer model, such as the
cation1-cation2-common anion parameters and anion1-anion2-common
cation parameters (GMPTPS)
UNIFAC Group Area and volume parameters for the UNIFAC functional groups
UNIFAC Group Binary Scalar group-group interaction parameters for the original UNIFAC
model (GMUFB)
T-Dependent group-group interaction parameters for the modified
UNIFAC models, such as the Dortmund-modified UNIFAC and the
Lyngby-modified UNIFAC models
How to Enter The general procedure for entering all property parameters is as
Property Parameters follows:
To enter property parameters:
1 From the Data menu, click Properties.
2 In the left pane of the Data Browser, double-click the
Parameters folder.
3 Click the folder for the type of parameters you want to enter
(Pure Component, Binary Interaction, Electrolyte Pair,
Electrolyte Ternary, UNIFAC Group, or UNIFAC Group
Binary).
Aspen Properties automatically creates parameter sets for any
binary interaction, electrolyte pair, and parameters required by
the property methods specified on the Properties Specifications
7-8 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
form. The Object Manager for the appropriate parameter type
displays the IDs for these parameter sets.
4 On the Object Manager for the parameter type you choose, you
can
• Enter values for an existing parameter set by selecting the
parameter and clicking Edit.
– or –
• Create a new parameter set. In the Object Manager, click
New. If prompted, select the appropriate parameter type
and parameter name, and click OK.
5 Use the Parameter input sheet to:
• Enter values for parameters that are not in the Aspen
Properties databanks
• Override defaults or databank values by entering your own
values
You can enter parameter values in any units. After you specify
a parameter name, Aspen Properties automatically fills in the
default units.
If you change the units of measurement for the parameter after
you enter the parameter value, Aspen Properties does not
convert the displayed value.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-9
8 On the Input sheet for pure component scalar parameters,
define the matrix of components and parameters for which you
are entering data values, and specify the appropriate units.
Example of Entering Pure Enter critical temperature (TC) and critical pressure (PC) of
Component Constants 410.2 K and 40.7 atm for component C1. Enter critical pressure of
36.2 atm for component C2.
7-10 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
10 Specify the appropriate units and enter the coefficients of the
parameter as sequential elements. For a more detailed
description of models and parameters, see Physical Property
Methods and Models, Chapter 3.
You cannot enter more than one set of values for the same
parameter on the same form.
Example of Entering Ideal For component CLP, enter the coefficients for the Ideal Gas Heat
Gas Heat Capacity Capacity Polynomial model (CPIG):
Coefficients
CP IG = –2001.2 + 358.9T – 0.515T2 + 4.41 x 10–4T3 –1.58 x 10–7 T4
CPIG has units of J/kmol-K. T is in units of K.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-11
10 Enter components, parameters, and units.
When you use the general enthalpy and density models shown in
the Nonconventional Property Models table, Aspen Properties
requires at least the first element of the heat capacity polynomial
(HCGEN) and density polynomial (DENGEN), for each
constituent of each nonconventional component. The heat of
formation (DHFGEN) is required when reactions occur involving
nonconventional components.
Alternatively, you can enter tabular data directly. Polynomial
TABPOLY models are not available for nonconventional
components.
Property Model
ENTHALPY ENTHLTAB
DENSITY DNSTYTAB
For more information on using tabular data, see Using Tabular
Data and Polynomial Coefficients.
Entering Scalar To enter scalar binary parameters:
Binary Parameters 1 From the Data menu, click Properties.
2 In the left pane of the Data Browser, double-click the
Parameters folder.
3 Click the Binary Interaction folder to open the Object Manager
containing the binary parameter sets used by your specified
property methods.
4 On the Object Manager, select the scalar parameter of interest
and click Edit.
5 Define the ij matrix of components for which you are entering
binary parameter values.
6 Enter the parameter values.
Example for Entering Binary parameters for the Redlich-Kwong-Soave equation of state,
Redlich-Kwong-Soave RKSKIJ, are symmetric (that is, kij = kji). Enter the following
Binary Parameters values for the binary parameters in the three-component system
C1-C2-C3:
Component Pair RKSKIJ
C1-C2 0.097
C1-C3 0
C2-C3 0.018
Note: You will not see the RKSKIJ-1 parameter in the Binary
Interaction Object Manager unless you have previously chosen the
RK-SOAVE property method.
7-12 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
Entering To enter temperature-dependent binary parameters:
Temperature- 1 From the Data menu, click Properties.
Dependent Binary
Parameters 2 In the left pane of the Data Browser, double-click the
Parameters folder.
3 Click the Binary Interaction folder to open the Object Manager
containing the binary parameter sets used by your specified
property methods.
4 On the Object Manager, select the temperature-dependent
parameter of interest and click Edit.
5 On the Input sheet, enter component pairs in the Component i
and Component j boxes.
6 Specify the units for the binary parameters.
7 Enter the coefficients of the parameters as sequential elements
for each component pair.
Entering Binary The DECHEMA Chemistry Data Series contains a large number of
Parameters from binary parameters for the Wilson, NRTL, and UNIQUAC models.
DECHEMA These binary parameters are not compatible with the form of the
equations used in Aspen Properties. However, you can enter them
directly, without any conversion, using the Dechema button on the
Properties Parameters Binary Interaction Input sheet for
temperature dependent parameters.
To enter binary parameters from DECHEMA:
1 From the Data menu, click Properties.
2 In the left pane of the Data Browser, double-click the
Parameters folder.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-13
3 Click the Binary Interaction folder to open the Object Manager
containing the binary parameter sets used by your specified
property methods.
4 On the Object Manager, select NRTL-1, WILSON-1, or
UNIQ-1 and choose Edit.
5 On the Input sheet, enter component pairs in the Component i
and Component j boxes.
6 With the appropriate component pair selected, click the
Dechema button.
7 In the Dechema Binary Parameters dialog box, enter the binary
parameter values. You can also specify whether the parameters
came from the VLE or LLE collection.
8 Click OK.
Aspen Properties converts the binary parameters you enter and
displays the converted values on the Input sheet.
Aspen Properties databanks contain both parameters developed
by Aspen Technology, Inc. and those obtained from the
DECHEMA Chemistry Data Series (databank name = VLE-
LIT). You will seldom need to enter binary parameters from
the DECHEMA Chemistry Data Series.
Example of Entering Enter the following binary parameters for ethanol (i) and water (j),
NRTL Binary Parameters as reported in the DECHEMA Chemistry Data Series, Vol. I, Part
from DECHEMA 1A, p. 129:
aij = -517.9603 cal/mol
aji = 1459.309 cal/mol
αij = 0.0878
7-14 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
Estimating Binary You can request the estimation of missing binary parameters for
Parameters for the Wilson, NRTL, and UNIQUAC models, using the Properties
Activity Coefficient Parameters Binary Interaction form. The UNIFAC group
Models contribution method will be used. For convenience, Aspen
Properties provides this capability in addition to the Property
Constant Estimation System (PCES).
To estimate binary parameters:
1 Go to the Properties Parameters Binary Interaction Object
Manager.
2 Select the WILSON-1, NRTL-1 or UNIQ-1 binary parameter
form of interest and choose Edit.
3 On the Input sheet, check the Estimate All Missing Parameters
by UNIFAC check box.
Entering Electrolyte Use the Properties Parameters Electrolyte Pair form to enter values
Pair Parameters for molecule-electrolyte and electrolyte-electrolyte pair parameters
for the Electrolyte NRTL model.
To enter electrolyte pair parameters:
1 From the Data menu, click Properties.
2 In the left pane of the Data Browser, double-click the
Parameters folder.
3 Click the Electrolyte Pair folder.
4 On the Electrolyte Pair Object Manager, select a parameter
name, and click Edit.
5 On the Input sheet, define the molecule-electrolyte or
electrolyte-electrolyte pairs for which you are entering values.
6 Enter the parameter values for the specified pairs.
Example of Entering Enter the following electrolyte NRTL pair parameters (GMELCC)
Electrolyte NRTL Pair for the brine system:
Parameters
τH2O,Na+ Cl- = 8.572
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-15
Entering Ternary Use the Properties Parameters Electrolyte Ternary form to enter
Parameters values for the Pitzer ternary parameters when using the Pitzer
electrolyte activity coefficient model.
For example, you can enter cation1-cation2-common anion
parameters and anion1-anion2-common cation parameters
(GMPTPS).
To enter electrolyte ternary parameters:
1 From the Data menu, click Properties.
2 In the left pane of the Data Browser, double-click the
Parameters folder.
3 Click the Electrolyte Ternary folder.
4 In the Electrolyte Ternary Object Manager, you can create new
parameter IDs, or modify existing IDs.
5 To create a new parameter set, on the Object Manager click
New.
6 In the Create New ID dialog box, enter an ID in the Enter ID
box, or accept the default ID.
7 Click OK.
8 To modify an existing parameter ID, on the Object Manager
select the name of the parameter set, and click Edit.
9 Select an electrolyte ternary parameter from the Parameter list.
10 With Cation selected in the View list, enter the cation1-
cation2-common anion parameters by listing two cations, the
common aion(s), and the respective parameter values. Enter all
cation1-cation2-common anion parameters with the Cation
view selected.
7-16 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
11 Select Anion from the View list.
12 Enter the anion1-anion2-common cation parameters by listing
two anions, the common cation(s), and the respective
parameter values. With the Anion view selected, continue to
list all anion1-anion2-common cation parameters.
For more information on using the electrolyte features with Aspen
Properties, see Generating Electrolyte Components and Reactions.
Example of Entering Enter the following Pitzer ternary parameters (GMPTPS) for the
Electrolyte Pitzer Ternary NaCl/CaSO4 system:
Parameters
i j k ψijk
Na+ Ca+2 Cl -0.014
Na+ Ca+2 SO4-2 -0.023
Cl SO4-2 Na+ 0.0014
Cl SO4-2 Ca+2 0.0
Cation view
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-17
Anion view
7-18 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
This table shows the Tabpoly properties and the model form used
Tabpoly Properties
to represent the property. The polynomial model is of the form:
a5 a6 a
Property(Normal or Logarithmic) = a 1 + a 2 T + a 3 T 2 + a 4 T 3 + + 2 + 7 + a 8 lnT
T T T
Property Model Form †
Density for nonconventional components Normal
Enthalpy for nonconventional components Normal
Enthalpy of fusion Normal
Enthalpy of sublimation Normal
Enthalpy of vaporization Normal
Henry’s constant Logarithmic
Ideal gas enthalpy Normal
Ideal gas heat capacity Normal
Liquid diffusion coefficient Normal
Liquid enthalpy Normal
Liquid enthalpy departure Normal
Liquid entropy Normal
Liquid entropy departure Normal
Liquid fugacity coefficient for a component in Logarithmic
a mixture
Liquid Gibbs free energy Normal
Liquid Gibbs free energy departure Normal
Liquid heat capacity Normal
Liquid-Liquid K-value Logarithmic
Liquid thermal conductivity Normal
Liquid viscosity Logarithmic
Liquid volume Normal
Pure component liquid fugacity coefficient Logarithmic
Pure component vapor fugacity coefficient Logarithmic
Solid enthalpy Normal
Solid enthalpy departure Normal
Solid entropy Normal
Solid entropy departure Normal
Solid fugacity coefficient Logarithmic
Solid Gibbs free energy Normal
Solid Gibbs free energy departure Normal
Solid heat capacity Normal
Solid thermal conductivity Normal
Solid vapor pressure Logarithmic
Solid volume Normal
Surface tension Normal
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-19
Property Model Form †
Vapor diffusion coefficient Normal
Vapor enthalpy Normal
Vapor enthalpy departure Normal
Vapor entropy Normal
Vapor entropy departure Normal
Vapor fugacity coefficient for a component in Logarithmic
a mixture
Vapor Gibbs free energy Normal
Vapor Gibbs free energy departure Normal
Vapor heat capacity Normal
Vapor-Liquid K-value Logarithmic
Vapor pressure Logarithmic
Vapor thermal conductivity Normal
Vapor viscosity Normal
Vapor volume Normal
† If the model form is logarithmic, the tabular model uses the
logarithmic transformation of the property to interpolate and
extrapolate. The polynomial model is the logarithmic form of the
equation.
How Aspen Aspen Properties calculates the property for the pure component,
Properties Uses using the tabular data and polynomial coefficients you enter. If you
Tabular Data and do not provide data for all components, Aspen Properties uses the
Polynomial property models of the ideal property method (IDEAL), for the
Coefficients components without data. For most properties, Aspen Properties
calculates mixture properties using mole fraction average ideal
mixing.
Property mixture = ∑x i Property i
Aspen Properties uses your tabular data directly - it does not fit a
polynomial equation to the data. When necessary, Aspen
Properties uses a quadratic interpolation method to determine the
property value at a given temperature. You should provide tabular
data at small temperature intervals to ensure accuracy.
When the temperature is outside the lowest or highest temperature
of the data that you entered, Aspen Properties calculates the
property by linear extrapolation. If the model form of the property
is logarithmic, Aspen Properties uses the logarithmic
transformation of the property to interpolate and extrapolate. For
polynomial models when temperature is outside the lower and
upper limits of the correlation, Aspen Properties also calculates the
property by linear extrapolation.
7-20 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
Aspen Properties can automatically generate entropy and Gibbs
free energy data from the enthalpy or heat capacity data that you
enter.
If you enter Then
Enthalpy or heat capacity data You can use the Data Generation
Options on the Specifications sheet to
generate entropy and Gibbs free
energy.
Vapor enthalpy data Also enter ideal gas enthalpy data to
ensure consistency.
Enthalpy, entropy, and Gibbs free Make sure they are consistent (G = H
energy data – TS).
To enter experimental data for use with Property Estimation or
Data Regression, use the Properties Data forms.
Entering Tabular Data To enter tabular data:
1 From the Data menu, click Properties.
2 From the left pane of the Data Browser, go to the Properties
Advanced Tabpoly Object Manager.
3 Click New to create a new object.
4 Enter an ID or accept the default ID, and then click OK.
5 On the Specifications sheet, choose the property for which you
are entering data in the Property list. You can enter data for
only one property on each Tabpoly form. Use as many forms as
needed to enter your data.
6 In the For Property Method list, choose the property method
for which the Tabpoly property is to be used. Specify All to use
the data for all property methods in the calculation.
7 On the Data sheet, choose the component for which you have
data, from the Component list box.
8 Select data type tabular Data, then enter the tabular data
(property versus temperature) for the component.
You must enter the temperature-dependent tabular data in order
of ascending temperature points. Aspen Properties determines
the units for the temperature and the property data from the
Units-Set you specify in the Units list box on the Data Browser
toolbar.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-21
Example of Entering This example assumes that the Units list box on the Data Browser
Vapor Pressure Data for toolbar is referencing a new Units-Set defined with temperature
Component CLP units of C and pressure units of mmHg.
Enter the following tabular data:
Vapor pressure (mmHg) Temperature (C)
70 0
177 20
390 40
760 59.4
2358 100
8200 160
7-22 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
Entering Polynomial To enter polynomial coefficients for a general polynomial model:
Coefficients for the 1 From the Data menu, click Properties.
General Polynomial 2 In the left pane of the Data Browser, double-click the
Model Advanced folder.
3 Click the Tabpoly folder.
4 On the Tabpoly Object Manager, click New to create a new
object.
5 Enter an ID or accept the default ID, and then click OK.
6 On the Specifications sheet, specify the property for which you
are entering polynomial coefficients in the Property list box.
You can enter polynomial coefficients for only one property on
each form. Use as many forms as needed to enter your
coefficients.
7 In the For Property Method list box, choose the property
method for which the Tabpoly property is to be used. Specify
All to use the data for all property methods in the calculation.
8 On the Data sheet, choose the component for which you have
coefficients, from the Component list.
9 Select the data type: Polynomial Coefficient, then enter the
general polynomial coefficients for the selected component.
The polynomial model is of the form:
a5 a6 a
Property(Normal or Logarithmic) = a 1 + a 2 T + a 3 T 2 + a 4 T 3 + + 2 + 7 + a 8 lnT
T T T
See Tabpoly Properties to determine whether the property you
want to enter uses the normal or logarithmic form.
The coefficients a2 through a8 default to zero. The lower
temperature limit of the correlation (Min. temperature) defaults
to 0 K. The upper temperature limit (Max. temperature)
defaults to 1000 K. When the temperature is outside the limits,
Aspen Properties calculates the property by linear
extrapolation.
The Units-Set you specify in the Units list box on the Data
Browser toolbar determines the units for the coefficients. If a5,
a6, a7, or a8 is non-zero, Aspen Properties assumes absolute
temperature units for all coefficients.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-23
Aspen Properties can adjust the reference state of the enthalpy,
Adjusting Reference
entropy, and Gibbs free energy data that you entered. To specify
States for Tabular
Data and Polynomials this:
1 On the Tabpoly Specifications sheet, deselect the Do Not
Adjust Reference State check box for your Tabular data or your
Polynomial data.
2 Specify the basis (Mole or Mass) for your reference value and
for the data, in the Basis list box.
3 On the Reference Points sheet, select the component for which
you want to adjust the reference state, in the Component list
box.
4 In the Reference Points boxes enter a reference Temperature
and a reference value for Enthalpy, Entropy, or Gibbs free
energy.
5 If you want to enter reference values and have Aspen
Properties generate entropy and Gibbs free energy data from
the enthalpy or heat capacity data that you enter, you must
enter reference values for two of the three properties. The
reference values must be at the same temperature.
6 To use the Aspen Properties default reference state, do not
enter any data on the Reference Points sheet. However, you
must supply these parameter values for (or they must be
available in the databanks):
• DHFORM, DGFORM, PLXANT
• DHVLWT (or DHVLDP)
The Aspen Properties thermodynamic reference state is the
component's constituent elements in an ideal gas state at 25°C
and 1 atm.
If the application has Then
No chemical reactions You can select the reference states arbitrarily.
Chemical reactions You must select reference states that include
DHFORM for all components undergoing
reaction.
Equilibrium reactions You must select reference states that include
DGFORM for all components undergoing
reaction.
7-24 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
Adjusting Tabular Aspen Properties adjusts vapor-liquid K-values, Gibbs free
Data or Polynomials energies, and entropies for the effect of pressure using the
for the Effect of following relationships:
Pressure P
K (T , P ) = ref K (T , Pref )
P
P
s(T , P ) = s (T , Pref ) − R1n ref
P
P
g (T , P ) = g (T , Pref ) − RT 1n ref
P
Where:
P ref = Reference pressure (the pressure at which the
data was obtained)
P = Actual system pressure
T = Temperature
K(T,Pref) = K-value at T and the reference pressure
s(T,Pref) = Entropy at T and the reference pressure
g(T,Pref) = Gibbs free energy at T and the reference
pressure
Requesting Pressure To request pressure adjustment:
Adjustment
1 Go to the Reference Points sheet of the Tabpoly form.
2 Choose the component for which you want to specify the
reference pressure, from the Component list box.
3 In the Pressure box, enter the reference pressure.
For K-values, Aspen Properties makes no adjustment for the
pressure effect, unless you supply the reference pressure. You
should always enter a reference pressure, unless the pressure range
of the calculation matches that of the data.
If you use the Aspen Properties thermodynamic reference state for
entropy and Gibbs free energy, an adjustment for the pressure
effect is always performed using Pref = 101325 N/m2. If you do not
use the Aspen Properties reference state, Aspen Properties adjusts
for the pressure effect only if you supply the reference pressure.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-25
Using Property Data Packages
This topic describes the Property Data Packages available in Aspen
Properties.
You can use these data packages to model many important
industrial processes. Theses data packages have been developed
using publicly available literature data. They will be updated as
new data becomes available. For your particular process, you may
need to add or remove components and provide additional
interaction parameters.
• Ammonia-water
• Ethylene
• Flue gas treatment
• Formaldehyde-methanol-water
• Glycol dehydration of natural gas
• Mineral solubilities in water using the Pitzer model
• Gas treating processes using amines: MDEA, DEA, DGA,
AMP, and MEA
• Methyl-amine
Using a Data Package To use a data package:
1 From the File menu, click Import.
2 In the Import dialog box, click the Look In Favorites button.
3 From the list of favorite folders, select Data Packages.
4 Select the data package that you want and click Open.
Ammonia-Water Data Use this data package for ammonia and water. This data package
Package uses the Electrolyte NRTL model and also the SR-POLAR
equation of state for non-electrolyte application.
This data package is applicable from 5 - 250 °C with pressure up to
100 bar when used with the Electrolyte NRTL model. For higher
temperature and pressure use the SR-POLAR equation of state.
Ethylene Data Use this data package to model Ethylene processes. This data
Package package uses the SR-POLAR equation of state model because of
its versatility in representing both hydrocarbons and polar
components such as water.
Pure component parameters were evaluated using experimental
data for vapor pressure, liquid heat capacity and liquid density.
Binary parameters were evaluated from experimental VLE and
LLE data.
7-26 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
This data package should provide a very good starting point for
building the Ethylene process model. Calculation results can be
improved by regressing missing binary parameters or updating the
existing parameters with the new ones based on latest experimental
data.
Using Electrolyte Aspen Properties provides special data packages for amines
Amines Data systems: MDEA, DEA, MEA, DGA and AMP (2-amino-2-
Packages methyl-1-propanol, C4H11NO-1).
These packages allow you to accurately model amines gas treating
processes.
These data packages use the electrolyte capabilities, and also take
into consideration kinetic reactions of CO2 in the liquid phase. The
reaction kinetics can be used in either the Aspen Plus
RADFRAC or RATEFRAC distillation models. This modeling
approach is fundamentally sound and has been validated through
industrial applications. These data packages give more accurate
results than those that do not consider kinetics reactions.
The following table shows the range of applications:
System Property Package Temperature Amines Concentration
Name
AMP KEAMP 40-100 °C 2.47 to 4.44 molal
MDEA KEMDEA 25 - 120 °C Up to 50 weight %
DEA KEDEA Up to 140 °C Up to 30 weight %
DGA KEDGA Up to 100 °C Up to 65 weight %
MEA KEMEA Up to 120 °C Up to 50 weight %
Using an Amines Data To use an amines data package:
Package
1 From the File menu, click Import.
2 In the Import dialog box, click the Look In Favorites button.
3 From the list of favorite folders, select Data Packages.
4 Select the desired data package and click Open.
5 In the Parameter Values dialog box, enter the component IDs
you are using for the amine, CO2 and H2S by first selecting the
Parameter then clicking the Edit Value button.
Note: Make sure that you use the true component approach on the
Properties Specifications Global sheet. This is required for all the
amines data packages that use kinetic reactions.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-27
Flue Gas Treatment Use this data package to model flue-gas purification process. The
Data Package data package uses the Electrolyte NRTL model.
The apparent components are:
H2O, N2, O2, CO2, CO, SO2, SO3, NO, NO2, HCL, HF, HNO3,
HNO2, H2SO4, H2SEO3, HGCL2, HG2CL2, HG, C, SE, SEO2,
HG(OH)2, CASO4*2W, CAF2, CAO, CA(OH)2
The Henry-components are:
CO CO2 SO2 HCL O2 N2 NO HG
Valid temperature range from: 273.15 to 373.15 K
Formaldehyde- Use this data package to model Formaldehyde-Methanol-Water
Methanol-Water Data system. This system is highly non-ideal because the three
Package components form multiple complexes.
The vapor phase is modeled using the Hayden-O’Connell model.
This model properly accounts for the strong association in the
vapor phase.
The liquid phase is modeled using the UNIFAC model with special
group-group interaction parameters determined from regression of
experimental data. The complexes such as methylene glycol and
hemiformal are formed using the Chemistry reactions.
Valid temperature range: 0 to 100 °C
Mole fraction of Formaldehyde: 0 - 0.6
Pressure: 0 - 3 bar
Glycol Dehydration Use this data package to model natural gas dehydration processes
Data Package using glycols (Ethylene glycol (EG): C2H6O2, Di-ethylene glycol
(DEG): C4H10O3, or Tri-ethylene glycol (TEG): C6H14O4)
The data package uses the Schwartzentruber-Renon equation-of-
state (SR-POLAR) model.
The components included in this package are:
EG, DEG, TEG, WATER, METHANOL, CO2, N2, H2S,
METHANE, ETHANE, PROPANE, N-BUTANE, N-PENTANE,
N-HEXANE, N-HEPTANE, N-OCTANE, N-NONANE, N-
DECANE, BENZENE, TOLUENE, O-XYLENE, ISO-BUTANE,
ISO-PENTANE, ETHYLENE, PROPYLENE
The experimental data used to develop the data package cover very
wide range of temperatures and pressures.
7-28 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
Pitzer Data Packages There are four data packages for calculating mineral solubilities in
water using the Pitzer electrolyte model:
1 PITZ_1: for prediction of mineral solubilities in water at 25 °C.
The system is Na-K-Mg-Ca-H-Cl-SO4-OH-HCO3-CO3-CO2-
H2O.
2 PITZ_2: for prediction of mineral solubilities in water for
systems:
Na-K-Ca-Ba-Cl-H2O and Na-Ca-Cl-SO4-H2O.
The apparent components are:
H2O, NACL, KCL, CACL2, ACL2*4H2O, CACL2*6H2O,
BACL2, ACL2*2H2O
Valid temperature range: up to 200 °C
Valid pressure: equilibrium to 1 atmosphere
3 PITZ_3: for Na-K-Ca-Cl-SO4-NO3-H2O system
The apparent components are:
H2O, NA2SO4, NACL, NA2SO4*10H2O, NA2CA(SO4)2,
NA4CA(SO4)3*2H2O, NANO3, K2SO4, KCL,
K2CA(SO4)2*H2O, KNO3, CACL2, CASO4, CACL2,
CACL2*6H2O, CASO4*2H2O, 2(CASO4)**H2O,
CACL2*4H2O,CA(NO3)2, CA(NO3)2*4H2O
Valid temperature range: 0 - 250 °C
4 PITZ_4 for H2O- NaCl- Na2SO4- KCl- K2SO4- CaCl2-
CaSO4- MgCl2- MgSO4- CaCl2*6H2O- MgCl2*6H2O-
MgCl2*8H2O- MgCl2*12H2O- KMgCl3*6H2O-
Mg2CaCl6*12H2O- Na2SO4*10H2O- MgSO4*6H2O-
MgSO4*7H2O- K2Mg(SO4)2*6H2O
Valid temperature range : -60 to 25 °C
Methyl-amine Data Use this data package to model methyl-amines process. This
Package system is highly non-ideal. The components included are:
ammonia, water, methanol, methyl-amine, dimethylamine, and
trimethyl-amine.
The property model used for representing VLE data is the SR-
POLAR equation of state. High pressure VLE data for NH3-H2O
and Methanol-Water were used in the regression. This model is
particularly good for high pressure column. The results may be
improved by adding additional binary parameters for the EOS
based on new VLE data.
Pure component parameters were evaluated using liquid density,
heat capacity and vapor pressure data.
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-29
The following tables show electrolyte data packages that are
Using Other
available in the ELECINS sub-directory.
Electrolyte Data
Packages
Data Packages Using the This table shows electrolyte data packages, available in the
ELECNRTL Property ELECINS sub-directory, that use the ELECNRTL property
Method method:
Filename Electrolyte System
h2ohc.bkp H2O - HCL (as Henry-comps)
ehno3.bkp H2O - HNO3
enaoh.bkp H2O - NAOH
eso4br.bkp H2O - H2SO4 - HBR
ehbr.bkp H2O - HBR
ehi.bkp H2O - HI
eh2so4.bkp H2O - H2SO4
ehclmg.bkp H2O - HCL - MGCL2
enaohs.bkp H2O - NAOH - SO2
eso4cl.bkp H2O - H2SO4 - HCL
ecauts.bkp H2O - NAOH - NACL - NA2SO4 -NA2SO4.10H2O -
NA2SO4.NAOH - NA2SO4.NAOH.NACL
ekoh.bkp H2O - KOH
ecaust.bkp H2O - NAOH - NACL - NA2SO4
ehcl.bkp H2O - HCL (as solvent)
ehclle.bkp H2O - HCL (as solvent, recommend for LLE)
edea.bkp H2O - DEA - H2S - CO2
ehotde.bkp H2O - DEA - K2CO3 - H2S - CO2
emea.bkp H2O - MEA - H2S - CO2
ecl2.bkp H2O - CL2 - HCL
enh3co.bkp H2O - NH3 - CO2
enh3so.bkp H2O - NH3 - SO2
esouro.bkp H2O - NH3 - H2S - CO2 - NAOH
edga.bkp H2O - DGA - H2S - CO2
enh3h2.bkp H2O - NH3 - H2S
eamp.bkp H2O - AMP - H2S - CO2
ehotca.bkp H2O - K2CO3 - CO2
enh3hc.bkp H2O - NH3 - HCN
ebrine.bkp H2O - CO2 - H2S - NACL
ebrinx.bkp H2O - CO2 - H2S - NACL (extended Temperature
range)
eclscr.bkp H2O - CL2 - CO2 - HCL - NAOH - NACL - NA2CO3
ekohx.bkp H2O - KOH (high concentration)
ehf.bkp H2O - HF
7-30 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
Filename Electrolyte System
ehotcb.bkp H2O - K2CO3 - CO2 - KHCO3
emdea.bkp H2O - MDEA - CO2 - H2S
enh3po.bkp H2O - NH3 - H3PO4 - H2S
esour.bkp H2O - NH3 - H2S - CO2
Data Packages Using the This table shows electrolyte data packages, available in the
SYSOP15M Property ELECINS sub-directory, that use the SYSOP15M property
Method method:
Filename Electrolyte System
brine.bkp H2O - CO2 - H2S - NACL
caust.bkp H2O - NAOH - NACL - NA2SO4
causts.bkp H2O - NAOH - NACL - NA2SO4 -NA2SO4.10H2O -
NA2SO4.NAOH - NA2SO4.NAOH.NACL
dea.bkp H2O - DEA - H2S - CO2
dga.bkp H2O - DGA - H2S - CO2
h2ohbr.bkp H2O - HBR
h2ohcl.bkp H2O - HCL
h2ohf.bkp H2O - HF
h2ohi.bkp H2O - HI
hotca.bkp H2O - K2CO3 - CO2
hotcb.bkp H2O - K2CO3 - CO2 - KHCO3
hotdea.bkp H2O - DEA - K2CO3 - H2S - CO2
mcl2.bkp H2O - CL2
mdea.bkp H2O - MDEA - H2S - CO2
mea.bkp H2O - MEA - H2S - CO2
mh2so4.bkp H2O - H2SO4
mhbr.bkp H2O - HBR
mhcl.bkp H2O - HCL
mhcl1.bkp H2O - HCL
mhclmg.bkp H2O - HCL - MGCL2
mhf.bkp H2O - HF
mhf2.bkp H2O - HF (to 100% HF)
mhno3.bkp H2O - HNO3
mnaoh.bkp H2O - NAOH
mnaoh1.bkp H2O - NAOH
mso4br.bkp H2O - H2SO4 - HBR
mso4cl.bkp H2O - H2SO4 - HCL
naohso.bkp H2O - NAOH - SO2
nh3co2.bkp H2O - NH3 - CO2
nh3h2s.bkp H2O - NH3 - H2S
Aspen Properties 11.1 User Guide Physical Property Parameters and Data • 7-31
Filename Electrolyte System
nh3hcn.bkp H2O - HCN
nh3po4.bkp H2O - NH3 - H2S - H3PO4
nh3so2.bkp H2O - NH3 - SO2
sour.bkp H2O - NH3 - H2S - CO2
souroh.bkp H2O - NH3 - H2S - CO2 - NAOH
Data Packages Using the This table shows electrolyte data packages, available in the
SYSOP16 Property ELECINS sub-directory, that use the SYSOP16 property method:
Method
Filename Electrolyte System
pnh3co.bkp H2O - NH3 - CO2
pnh3h2.bkp H2O - NH3
pnh3so.bkp H2O - NH3 - SO2
psour.bkp H2O - NH3 - H2S - CO2
7-32 • Physical Property Parameters and Data Aspen Properties 11.1 User Guide
CHAPTER 8
Overview
For help on making your property calculations, see one of the
following topics:
• Making the calculation
• Reinitializing calculation
• Viewing the status of the calculation
• Checking calculation history
• Making calculation on the Aspen Properties server
• Specifying calculation settings and user databanks
When your problem specifications are complete, you are ready to
make the calculation. The status of your specifications is shown at
all times in the status bar of the main window and the Data
Browser. You can make the calculation if the status is any of these:
• Input Complete
• Input Changed
Overview
For help on examining results and generating reports, see one of
the following topics:
• View calculation results interactively
• Checking the completion status
• Generate an Aspen Properties report file
Aspen Properties 11.1 User Guide Examining Results and Generating Reports • 9-1
Use the results status indicators, which appear in the Data Browser
to guide you to forms and objects. For a complete list of the status
indicators, see Status Indicators.
9-2 • Examining Results and Generating Reports Aspen Properties 11.1 User Guide
The messages on the control panel are similar to those printed in
the history file (*.his). The diagnostic level of the history file and
the control panel can be adjusted independently.
If a high level of diagnostics is needed, the diagnostics should be
printed to the history file and not to the control panel. In this way,
you will not slow down performance by writing a lot of
information to the screen.
Viewing the Control To view the Control Panel, do one of the following:
Panel
From the Select
View menu Control Panel
Calculation Run
Show/hide control panel window button
toolbar
The Calculation Messages file (*.cpm) is a text file that includes
all of the messages printed on the control panel. Calculation
Messages files must be exported from the calculation to be saved.
Checking Completion The History file displays error, warning and diagnostic messages
Status in the History from the run.
File The number of messages can be controlled globally using the
Setup Specifications Diagnostics sheet
To check the History file:
• From the View menu, click History.
A history file cannot be directly saved or exported from the Aspen
Properties User Interface. However, the file is saved automatically
when a run is saved as an Aspen Properties document (*.aprapw).
You can also save the viewed history file using the text editor
File/Save command.
The history file is similar to the Calculation Messages file (*.cpm).
The diagnostic level of the history file and the control panel can be
adjusted independently. If a high level of diagnostics is needed,
they should be printed to the history file and not to the control
panel so as to not inhibit performance by writing a lot of
information to the screen.
Generating a Report
You can generate a report file documenting the complete input
specifications and calculation results. Use the Report Options
forms to control report contents. See Report Options for more
information about report options.
Before generating a report, the calculation results must be
available. You need to start the calculations if:
Aspen Properties 11.1 User Guide Examining Results and Generating Reports • 9-3
• You have not yet made the calculations.
• You changed input specifications since the last calculations.
• You changed settings on the Report Options forms since the
last calculations.
• You opened a run saved in backup format(*.aprbkp), and have
not made the calculations in the current session.
To start the Calculations:
• On the Calculation Run toolbar, click (the Run button).
– or –
• From the Run menu, click Run.
To generate a report:
• From the View menu, click Report.
Export a Report File To save the entire report file from the calculations:
1 From the File menu, click Export.
2 In the Save As Type box, select Report files.
3 Enter a filename. The file can be in any directory on the local
computer.
4 Select Save to create the report file.
For more information on managing files, see Chapter 11,
Managing Your Files.
9-4 • Examining Results and Generating Reports Aspen Properties 11.1 User Guide
C H A P T E R 10
Overview
For help on generating, customizing, and printing plots from any
input or results sheet that has tabular data, see one of the following
topics:
• Generating plots
• Working with plots
• Printing plots
About Plots
Aspen Properties plots are a useful way of viewing the data and
results from a calculation, such as property analysis and data
regression.
There are three steps involved in generating a plot:
1 Displaying the sheet containing the data you want to plot. The
sheet may contain either input or results data.
2 Generating the plot either by:
• Using the Plot Wizard
–or–
• Selecting the dependent, independent, and parametric
variables
3 Customizing the plot appearance.
Note: The Plot menu is only visible when you have the Data
Browser in the current window.
4 Select the options for the plot type you have selected.
5 Click Next.
6 Select the general options for the plot type you have selected.
The Plot Wizard guides you through the options. These
include:
• Changing the Plot type
• Modifying the Plot and Axis titles
• Choosing whether you want the plot updated when new
results are available
• Selecting if you want to display the plot legend
• Adding a time stamp
For further details on these, see Step 3: Customizing the
Appearance of a Plot .
Overview
For help on managing files, see one of the following topics:
• File formats in Aspen Properties
• Saving Aspen Properties document files
• Exporting Aspen Properties files
• Importing Aspen Properties files
• Saving an Aspen Properties run
• Managing files in a client-server environment
Backup Files Aspen Properties Backup files are ASCII files which contain a
(*.aprbkp) compact version of your Aspen Properties problem. Backup files
contain all input specifications and calculation results. They
occupy much less disk space than files saved in Document format,
and are thus preferable for long-term storage.
The main advantage of the Backup files over Document files is
that the Backup files are upwardly compatible through different
versions of Aspen Properties and are portable across different
hardware platforms. They can also be e-mailed.
Backup files can be imported into a current Aspen Properties
problem. Aspen Properties merges the information and
specifications contained in the backup file with your current
problem definitions.
Saving a Backup File To save an Aspen Properties backup file:
1 From the File menu, click Save As.
2 In the Save As dialog box, select Aspen Properties Backup File
(*.aprbkp) from the Save as Type list.
3 Select the directory and enter a filename. The file can be in any
directory.
4 Click Save.
Exporting a Backup File You can export a backup file at any time without saving your
current problem.
To export an Aspen Properties backup file:
1 From the File menu, click Export.
2 In the Export dialog box, select Aspen Properties Backup File
(*.aprbkp) from the Save as Type list.
3 Select the directory and enter a filename. The file can be in any
directory.
4 Click Save.
For very large problems, Document files are much quicker to load
into and save from the Aspen Properties User Interface.
Saving an Aspen To save an Aspen Properties document:
Properties Document
1 On the File menu, click Save As.
2 From the Save as Type list, select Aspen Properties Documents
(*.aprop).
3 Select the directory and enter a filename. The file can be in any
directory.
4 Click Save.
When you exit Aspen Properties or open a new problem, a dialog
box asks if you want to save the current run. Select Yes to save the
run in Aspen Properties Document format.
History Files (*.his) The History file is a text file that includes an echo of the input
summary and the error, warning, and diagnostic messages from the
calculation. The number of messages and the detail can be
controlled globally on the Setup Specifications Diagnostics sheet.
To view the history file, use the View menu, then select History.
Aspen Properties uses the file editor of your choice to view the
history file.
A history file cannot be exported directly from the Aspen
Properties User Interface. However, you can save the history file
by using the View menu to view the file, then use the File menu of
the text editor to save the file. A history file is saved automatically
when you save a run as a Document file.
The history file is similar to the Run Messages file. The diagnostic
levels for the history file and the control panel can be adjusted
independently. If you need a high level of diagnostics, print them
to the history file, not to the control panel. This prevents any
performance degradation that might result from lengthy
diagnostics on the screen.
Input Files (*.aprinp) Aspen Properties input files are compact summaries of the
specifications for a property calculation.
An input file can:
• Be used as the input file for a stand-alone Aspen Properties
engine run
Tip: The format for a template file is the same as for a backup file.
It is possible to create a template from a backup file, by changing
the extension from .aprbkp to .aprt.
Using the Favorites By default, the Favorites list contains 5 directories that are
List provided with Aspen Properties. The files in these directories can
be used as examples of how to define a problem or can be used to
prepare property packages for specific applications.
This table shows the Favorites directories:
Directory Description
Applications Typical Examples illustrating the use of Aspen
Properties
Assay Libraries Petroleum crude assays compiled from literature for
different regions of the world and selected crude
assays from the Phillips Petroleum Crude Assay
Library
Data Packages Special property data packages for some industrially
important systems
Electrolyte Electrolyte data packages for many industrially
Inserts important systems
Examples Selected examples
Types of Files You You can import the following types of files:
Can Import
Tip: If the history file is large, copying the history file to your
local computer can take a long time. In such a case, you should log
onto the host computer and view the file directly.
Specifying the Text You can specify the Text Editor to be used when viewing the Input
Editor Summary and the History file. To specify the text editor:
1 From the Tools menu, click Options.
2 Click the Startup tab.
3 In the Text Editor box, type the name of the editor.
4 Click OK.
Overview
Configuration options are default settings that affect how you use
Aspen Properties. For example, configuration options enable you
to specify:
• Grid and scale settings
• Default Application Template file
• Which binary databanks are used as defaults
For help on customizing your Aspen Properties environment, see
one of the following topics:
• Choosing settings for the current problem
• Choosing settings for all problems
• Specifying your default options
• Customizing Application Template files
Aspen Properties 11.1 User Guide Customizing Your Aspen Properties Environment • 12-1
Customizing Settings for All
Problems
To create a custom environment for subsequent Aspen Properties
problems:
1 Open a blank problem.
2 Customize the settings, then exit.
You do not need to save the blank problem.
Your customized settings are saved in the Windows registry
and are used for all subsequent problems. If you modify any
settings, the new settings are used in subsequent problems.
Note: Some settings are saved with the calculation. If a setting that
is saved with a calculation differs from the setting in the registry,
the setting that is saved with the calculation will be used for that
calculation; however, subsequent calculations will use the setting
that is in the registry.
12-2 • Customizing Your Aspen Properties Environment Aspen Properties 11.1 User Guide
The toolbars that are checked are those that appear by default.
See Using Toolbars for more information on using the toolbars.
Moving Toolbars Toolbars can be positioned elsewhere in the window. To do this:
1 Click and hold down the mouse button on the edge of the
toolbar you wish to move.
2 Drag the toolbar to the desired location, which can be either:
• On any edge (top, bottom, or sides) of the Aspen Properties
window
• In the center of the window
Aspen Properties 11.1 User Guide Customizing Your Aspen Properties Environment • 12-3
Using the General From the Tools menu, click Options, then click General. The
Tab General tab is used to specify general options related to making the
calculation, saving Aspen Properties documents, and making OLE
links between an Aspen Properties problem and another
application.
The following parameters are available on the Tools Options
General tab:
Use this box To Saved with
Calculation?
Allow run only Allow a run only when input is complete Yes
when input is Turning off this option allows you to initiate an interactive or batch run
complete even if the status in the toolbar is not Required Input Complete.
This option is primarily for advanced users who are familiar with keyword
input language.
Edit Keyword Edit the input language file before beginning calculation No
Input Before Aspen Properties displays the generated input language file in your editor
Starting before starting interactive calculations. This gives you a chance to make
Calculations small modifications or additions to the file, or to diagnose problems. These
modifications will not be reflected on the input forms.
This feature is intended for advanced users who are familiar with keyword
input language.
12-4 • Customizing Your Aspen Properties Environment Aspen Properties 11.1 User Guide
Use this box To Saved with
Calculation?
Accounting Allow a run only when accounting information has been completed. No
information When this option is checked, you are required to specify accounting
required to information on the Setup Specifications Accounting sheet. The accounting
complete inputinformation includes an account number, a project ID, a project name, and
a user name. This is stored for the run by the Aspen Properties Accounting
System, if it is active for your installation.
Always create Always create backup copy. No
backup copy When this option is checked, an Aspen Properties backup format file
(*.bkp) is created whenever an Aspen Properties document file (*.apw) is
saved. This is used as an additional backup safety mechanism. The
document file (*.apw) allows you to quickly restart previously saved
calculation, using a binary file. The backup file (*.bkp) stores the same run
information in a condensed ASCII file.
Save Aspen Specify the default method to save documents. No
Properties Saving documents as document files (*.apw) allows you to quickly restart
documents as previously saved calculation, using a binary file. Saving as backup files
(*.bkp) stores the same run information in a condensed ASCII file.
Copy buffer Specify what information is included when a cell is copied into the copy Yes
format buffer.
Every variable, when copied for OLE links, occurs with four attributes:
Value, Units, Label, and Basis. You can set the default attributes here, or
you can specify the attributes you need, from the Edit menu by clicking
Copy with Format.
Pro/II Input Select this box to always retain the information which Aspen Properties is No
Conversion capable of mapping from the Pro/II input file to Aspen Properties
Option variables.
Time Stamp Specify what information is included on a time stamp and whether the time Yes
stamp is automatically updated.
The Time Stamp dialog box allows you to modify the default time stamp
information (time, date, username, runid, and Aspen Properties version) for
the order of the elements and for which elements are included in the time
stamp. You can also select whether to have the time stamp update
automatically.
Using the Component Use the Component Data tab to:
Data Tab • Change the databanks search order
• Choose which databanks are searched
• Copy regression and estimation results onto Parameters forms
• Generate input language using component name or component
alias
Changing Databanks The order in which the pure and binary components databanks are
Search Order searched can be changed using the Tools Options Components
Data dialog box.
Aspen Properties 11.1 User Guide Customizing Your Aspen Properties Environment • 12-5
To change the pure and binary component databank search order:
1 From the Tools menu, click Options.
2 Click the Component Data tab.
3 In the Searched list, click the databank that you want to
reorder.
4 Click the up or down arrow to reorder the databank.
The databank at the top of the list is searched first. The data found
first for a component or a component pair is the data that is used in
the calculation.
See Example of Reordering Databanks to see an example of
reordering databanks.
About the Pure This specifies which purecomponent databanks Aspen Properties
Component Databank will search and the search order for all calculations.
Search Order
The order in which the databanks are listed is the order in which
Aspen Properties searches for data. For a specific calculation run,
you may change the list and order on the Components
Specifications Databanks sheet.
About the Binary This specifies which binary parameter databanks Aspen Properties
Databank Search Order will search and the search order for all calculations.
The order in which the databanks are listed is the order in which
Aspen Properties searches for data. These databanks contain:
• Binary parameters for equation of state models.
• Binary parameters for Wilson, NRTL, and UNIQUAC models.
• Henry’s law constants.
• Binary and pair parameters for electrolyte NRTL models.
For a specific parameter in a particular run, you may change the
list and order on the Properties Parameters Binary Interaction and
the Properties Parameters Electrolyte Pair folders.
Choosing Which To move a databank to the Searched list:
Databanks are Searched
1 Click the databank you wish to move.
2 Click the right arrow to move the databank to the Searched list.
To move a databank from the Searched list:
1 Click the databank you wish to move.
2 Click the left arrow to move the databank to the Not Searched
list.
12-6 • Customizing Your Aspen Properties Environment Aspen Properties 11.1 User Guide
To move all of the databanks at once from one list to the other:
• Click the appropriate double arrow.
Reorder the databanks using the up and down arrows.
Example of Reordering For pure component data, the PURE10 databank is searched first,
Databanks the AQUEOUS databank is searched second and then, the SOLIDS
and INORGANIC databanks are searched, in that order.
The AQU92, ASPENPCD, COMBUST, POLYMER, PURE856
and PURE93 databanks are not searched at all.
For binary data, the ENRTL-RK databank is searched followed by
the VLE-IG, VLE-RK, VLE-HOC, LLE-LIT and LLE-ASPEN
databanks. ASPEN-BM is not searched at all.
Copying Regression and You can retrieve regression or estimation parameter results and
Estimation Results display them on the Parameters forms. To do this:
• On the Components Data tab, check the Copy regression and
estimation results onto Parameters forms box.
The parameters will be used in all subsequent runs.
When this check box is clear, the parameters are available on the
appropriate Physical Properties Parameters form, using the drop
Aspen Properties 11.1 User Guide Customizing Your Aspen Properties Environment • 12-7
down list, but are not displayed on the forms. The parameters will
not be used in subsequent runs.
Changing Defaults for You can use the Components Data tab to select whether you
Generating Input generate input language using Component name or Component
Language alias.
Use the Formula column (up to 12 characters) or the Component
Name column (up to 32 characters) on the Components
Specifications Selection sheet to generate the COMPONENTS
paragraph in the Aspen Properties input file.
Using the Plots Tab Use the Tools Options Plots tab to specify the default fonts, grid
style, line style, and marker size used when creating plots. This tab
is also used to select if a legend and time stamp are displayed by
default.
The following parameters are available on the Tools Options Plots
tab:
Use this box To Saved with
calculation
Default Fonts Change the default font for the Title, No
Axis label, Axis scale, and Annotation
Grid Style Define the type of grid for the plot. No
Mesh, Horizontal, Vertical, or No grid
can be selected.
Line Style Select the line style for the data curves. No
Lines & markers, Lines, or Markers can
be selected.
Marker Size Select the size for the markers. Values No
from 1-20 can be selected.
Show Legend Show a legend No
Show Time Show a time stamp No
Stamp
Using the Remote Use the Tools Options Remote Server tab to specify information
Server Tab for a remote server.
The following parameters are available on the Tools Options
Remote Server tab:
Use this box To Saved with
Calculation
Server Type Specify the Server type for remote No
server for calculation engine.
Server Name Specify the name of the remote server. No
Username Specify the Username for the account No
on the remote server.
Working Specify the working directory on the No
Directory remote server.
12-8 • Customizing Your Aspen Properties Environment Aspen Properties 11.1 User Guide
Using the Startup Tab Use the Tools Options Startup tab to specify startup options for a
new run.
The following parameters are available on the Tools Options
Startup tab:
Use this box To
Application Select the default application template
template
Default Select the default working directory for Aspen
working Properties calculations. All new files will be created in
directory the specified working directory.
This does not affect any existing files that you open - all
the files, including temporary ones, will be created in the
directory where the file is.
Default Select which tab of the Templates dialog box is the
template default displayed when selecting a template to use to
directory begin the creation of a new Aspen Plus simulation.
Favorite
working Select which directory the favorites button ( ) jumps
directory to.
More files Select which directory "More Files" starts in when this
starts with option is selected from the initial new/open simulation
screen when Aspen Plus is starting up.
Enable forms Enable the forms for Aspen Plus layered products
for layered These options are not available for layered products that
products are not installed.
Text Editor Select the default text editor
Specify the text editor to use for editing ASCII files that
are obtained from the View Input Summary, History and
Report commands from the View menu.
Print Text File Select the command used to print
Command
Using the Upward Use the Upward Compatibility tab to set the default options for
Compatibility Tab opening and importing backup files created with previous versions
of Aspen Properties, created with the Calculation Engine, or
created with Aspen Plus.
You can also specify whether Aspen Properties should display the
Upward Compatibility dialog box when opening such backup files.
Aspen Properties 11.1 User Guide Customizing Your Aspen Properties Environment • 12-9
Using the Window Menu
The following parameters are available on the Window menu:
Use this option To
Cascade Create a cascade of all of the open windows
Tile Tile all of the open windows
Arrange Icons Arrange the icons of any minimized windows
Normal The main properties window is displayed in the
program window.
Workbook Select if the Windows are displayed using Workbook
mode
Using Workbook Use Workbook mode to help organize all of your open windows.
Mode In Workbook mode, each window has a tab that appears at the
bottom of the screen. This makes it easy to see which windows are
open.
Tip: You can also select any visible part of a window behind the
current window by clicking it.
12-10 • Customizing Your Aspen Properties Environment Aspen Properties 11.1 User Guide
Customizing Application Template
Files
An Application Template file contains calculation defaults
commonly used by specific industries or companies. You can
select an Application Template when you create a new run. You
can use and modify a built-in file, or you can create your own
Application Template files.
Use the built-in Application Templates as a guide when creating
your own customized Application Template files.
There is no limit to the amount of information that can be included
in a template: setup information, components, unit sets, property
specifications, and even unit operation models can all be saved in a
template if desired. Too much information may be inconvenient;
however, objects or specifications in a template can be deleted if
they are not needed in a calculation.
Aspen Properties 11.1 User Guide Customizing Your Aspen Properties Environment • 12-11
4 Click Open.
5 If the Resolve ID Conflict dialog box appears, there are objects
that have the same ID as objects in the current run. You must
resolve the ID conflict as appropriate.
12-12 • Customizing Your Aspen Properties Environment Aspen Properties 11.1 User Guide
C H A P T E R 13
Specifying Electrolyte
Chemistry
Overview
This topic describes how to define electrolyte reaction chemistry in
Aspen Properties including:
• About Electrolyte Chemistry
• Specifying Electrolyte Chemistry
4 Click Close when finished. You should see your new reaction
listed on the Stoichiometry sheet with the information
displayed in equation form.
5 Repeat steps 1-4 for each additional ionic equilibrium reaction.
Salt Precipitation Salt precipitation reactions describe the formation or dissolution of
Reactions salts in equilibrium with the liquid phase. Each salt precipitation
reaction within a Chemistry ID is referenced by the component ID
of the salt.
To define the stoichiometry for a new salt precipitation reaction:
1 On the Reactions Chemistry Stoichiometry sheet for your
Chemistry ID, click New.
2 On the Select Reaction Type dialog box, select Salt in the
Choose Reaction Type frame.
3 In the Enter Salt Component ID field, select the name of the
salt for which you are defining the reaction, and click OK.
4 On the Salt Dissolution Stoichiometry dialog box, enter the
components and stoichiometric coefficients for the products
(ions) formed by the dissolution of the salt. Enter positive
stoichiometric coefficients for the products.
5 Click Close when finished. You should see your new reaction
listed on the Stoichiometry sheet with the information
displayed in equation form.
6 Repeat steps 1-5 for each additional salt precipitation reaction.
Complete Dissociation Complete dissociation reactions describe the complete dissociation
Reactions of strong electrolyte in the liquid phase. These reactions do not
require equilibrium constants. Each complete dissociation reaction
Property Sets
Overview
• What is a property set
• How to specify a new or existing property set
• How to define user properties for use in property sets
Tip: Use the Search button to find the properties you want
included in the property set. For information on using the search
dialog box see Using the Search Dialog Box.
5 Select one or more units for the property, using the Units
fields.
If you select multiple units the property is reported in each of
the units selected.
6 On the Prop-Sets Qualifiers sheet, specify the following
qualifiers for the properties to be calculated:
• Phase (total mixture, total liquid, vapor, 1st or 2nd liquid,
and solid)
• Components
• 2nd liquid key components (key component to identify the
2nd liquid phase)
• Temperature
• Pressure
• Percent distilled(points on petroleum distillation curves)
• Water basis (wet or dry)
User-Defined Properties
You can define your own properties for use in property sets. You
must supply a Fortran subroutine to calculate each property. See
Aspen Properties User Models for more information about writing
the user subroutines.
To define an additional property for use in property sets:
1 From the Data menu, click Properties.
2 Open the Advanced folder by double-clicking on it in the left
pane of the Data Browser.
Analyze Properties
Overview
After you complete property specifications, you should analyze the
properties predicted by your model to ensure correct results. You
can do this using the Aspen Properties Property Analysis feature.
Property Analysis generates tables of physical property values,
which can be plotted to visualize and better understand the
behavior of properties as predicted by your property specifications.
You can access Property Analysis via the following methods:
• Many commonly used tables and plots can be generated
quickly and easily through an interactive method accessed from
the Tools menu.
• Alternatively, generating Property Analyses from the
Properties Analysis folder in the Data Browser Menu provides
the most flexibility.
This section discusses using the Property Analysis features.
– or –
Generating Residue To generate Residue Curves using the interactive Analysis Residue
Curves commands:
1 Make sure your Setup, Components, and Properties
specifications are complete.
2 From the Tools menu, point to Analysis, then Residue.
References
Doherty, M.F. and Perins, J.D., Chem. Eng. Sci., (1978), Vol. 33,
p. 281
Wahnschaft, O., "The Product Composition Regions of Single-feed
Azeotropic Distillation Columns," Ind. Eng. Chem. Res., (1992),
Vol. 31, pp. 2345-2362.
Overview
Aspen Properties stores physical property parameters in databanks
for a large number of components. If a required parameter is not in
any Aspen Properties databank, it can be:
• Entered directly
• Estimated using Property Estimation
• Regressed from experimental data using Data Regression
Note: For ring compounds, make sure you connect the last pair of
atoms to form a ring.
Atoms Numbers and When you enter an existing atom number, Aspen Properties
Types displays the atom type (except for the first pair of atoms). You can
omit specifying values in the Number and Type fields for the first
atom of a pair. Aspen Properties will automatically use the atom
number and type of the second atom for the previously entered
pair. Enter a number for the second atom of the current pair.
You can use the following bond types to simplify the task of
entering the structure of common ring compounds and saturated
hydrocarbons:
Special Bond Type Description
Benzene ring Benzene ring
Sat. 5-member ring Saturated 5-member ring
Sat. 6-member ring Saturated 6-member ring
Sat. 7-member ring Saturated 7-member ring
Sat. hydrocarbon chain Saturated hydrocarbon chain
When you use these special bond types, the atom numbers
assigned to the members of the carbon ring or carbon chain must
be consecutive.
Identifying Parameters to be
Estimated
You can use the Properties Estimation Input form to request
parameter estimation and to:
• Specify the properties and components for which parameters
are to be estimated
• Select estimation methods
• Request estimation for parameters that are not missing
You must request estimation of missing parameters. Aspen
Properties estimates all missing required parameters using default
methods, unless you specify otherwise on the Input form.
Overview
You can use experimental property data to determine the physical
property model parameters you need for an Aspen Properties
calculation.
The Aspen Properties Data Regression System fits parameters of
physical property models to measured data for pure component or
multicomponent systems. You can enter almost any kind of
experimental property data, such as:
• Vapor-liquid equilibrium
• Liquid-liquid equilibrium
• Density
• Heat capacity
• Activity coefficients
You can use Data Regression for all property models in Aspen
Properties, including electrolyte and user models.
This topic includes the following information about Data
Regression:
• Setting up a regression
• Entering pure component, phase equilibrium, and mixture data
• Plotting experimental data
• Formulating a regression case
• Evaluating the accuracy of known model parameters
• Examining and plotting regression results
• Comparing results from several cases
• Retrieving data from DETHERM and the Internet
• Data regression example
Overview
This topic explains how to use the Assay Data Analysis and
Pseudocomponent System (ADA/PCS) to define and characterize
petroleum mixtures for use in Refining and related applications.
Topics include how to:
• Use ADA/PCS
• Create assays and enter assay data including petroleum
properties
• Create a blend and enter blend specifications
• Generate pseudocomponents from assays and blends
• Define your own pseudocomponents
• Select property method to characterize the pseudocomponents
• Define and modify petroleum properties
• Examine ADA/PCS results
Aspen Properties cannot use petroleum assays, blends or the
generated pseudocomponents in its property analysis tools.
However, it can use the user-defined pseudocomponents in all
calculations.
The petroleum assays and blends defined in Aspen Properties can
be used in other applications, such as Aspen Plus, that use Aspen
Properties and its property packages.
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-1
About ADA/PCS
You can use ADA/PCS for defining and characterizing petroleum
mixtures.
You can enter data for any number of assays. The minimum assay
data consists of a distillation curve and a bulk gravity value. You
can enter optional data, such as:
• Light-ends analysis
• Gravity curve
• Molecular weight curve
You can enter any number of petroleum property curves, such as:
• Sulfur content
• Metal content
• Freeze point
• Octane numbers
Given data for any number of assays, ADA/PCS:
• Converts the distillation data into the true boiling point(TBP)
basis
• Performs extrapolations on assay curves and estimates any
missing data
• Generates blends from two or more assays
• Develops sets of pseudocomponents to represent the assays and
blends
• Reports distillation curves for assays and blends in user-
specified bases
• Estimates physical properties and characterization parameters
for each pseudocomponent
You can also define your own pseudocomponents and use
ADA/PCS to estimate their physical properties.
Creating Assays
You can define an assay using one of the following:
• Components Specifications Selection sheet
• Assay/Blend Object Manager
18-2 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
Defining an Assay To define an assay using the Components Specifications Selection
Using the sheet:
Components 1 From the Data menu, select Components, then Specifications.
Specifications 2 On the Components Specifications Selection sheet, enter a
Selection Sheet name for the assay in the Component ID field.
3 In the Type list, select Assay as the component type.
4 In the left pane of the Data Browser, click the Assay/Blend
folder.
5 In the Assay/Blend Object Manager, select the Assay ID for
which you are entering assay data, then click Edit.
6 Select the appropriate sheet to enter the assay data Entering
Assay Data.
Defining an Assay To define an assay using the Assay/Blend Object Manager:
Using the 1 From the Data menu, select Components, then Assay/Blend.
Assay/Blend Object
Manager 2 On the Assay/Blend Object Manager, click New.
3 In the Create New ID dialog box, choose Assay in the Select
Type list.
4 Enter an ID for the assay, or accept the default ID.
5 Click OK.
The Components Assay/Blend Basic Data form appears. Select the
appropriate sheet to enter assay data.
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-3
4 In the Percent Distilled and Temperature columns, enter at least
four pairs of distillation percent and temperature values for the
curve.
5 In the Bulk Gravity Value frame, enter either Specific Gravity
or API Gravity, by clicking the appropriate radio button, and
typing in the value.
- or -
Click the Gravity/UOPK tab to open that sheet, and enter in a
gravity curve. (See next section for details on entering a gravity
curve.)
By default Aspen Properties reports the distillation curve in the
input and the true boiling point (liquid volume) basis. You can
use the Optional sheet to request additional distillation curves
to be reported for the assay.
Use the remaining sheets on the Basic Data form, as well as the
Property Curves form, to enter optional information as
described below.
Entering a Gravity If you do not enter a bulk gravity value on the Dist Curve sheet,
Curve you must enter a gravity curve using the Gravity/UOPK sheet. You
may enter either:
• Gravity curve data
• Watson UOP K curve data
Gravities you specify on this sheet are normalized to match the
bulk gravity value specified on the Dist Curve sheet.
To enter a gravity curve:
1 On the Gravity/UOPK sheet of the Components Assay/Blend
Basic Data form, select the type of gravity data you wish to
enter by clicking one of the options in the Type frame.
2 Enter at least four pairs of mid-percent (on the same basis as
distillation data, i.e., volume or weight) and gravity values to
define the profile in the columns for data.
If you enter a Watson UOPK curve, you must enter an average
gravity on the Assay Basic Data Dist Curve sheet. If the distillation
type is True Boiling Point (weight basis) or Vacuum (weight
basis), you cannot enter a Watson UOPK curve.
18-4 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
Entering a Molecular You can enter a molecular weight curve using the Molecular Wt
Weight Curve sheet of the Assay/Blend Basic data form. If you do not enter a
molecular weight curve, Aspen Properties estimates it from the
distillation curve and gravity you specify.
To enter a molecular weight curve:
• On the Molecular Wt sheet, enter at least four pairs of values in
the Mid Percent Distilled and Molecular Weight fields to
define the curve.
Entering Light-Ends You can enter light-ends analysis for an assay in terms of the
Analysis compositions of light-ends components. If you enter light-ends
analysis, Aspen Properties does not generate pseudocomponents
for the light-ends portion of the assay. If you wish to specify light-
ends analysis, do this on the Light Ends sheet of the Components
Assay/Blend Basic Data form.
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-5
value, individual component fractions are treated as fractions
of the entire assay mixture.
Entering Petroleum You can enter any number of petroleum property curves for an
Property Curves assay, using the Petro Properties sheet of the Components
Assay/Blend Property Curves form. Aspen Properties allows a
variety of built-in curve types. Based on these curves, Aspen
Properties assigns property values to individual pseudocomponents
in the calculation.
When the assay or blend is assigned to a material stream in e.g.
Aspen plus, the petroleum properties are associated with the
stream. The prop-set feature can be used to report the petroleum
properties of the stream or mixture.
Examples of petroleum properties include:
• Sulfur content
• Metal content
• Octane numbers
To enter petroleum property curves:
1 From the Data menu, select Components, then Assay/Blend.
2 On the Assay/Blend Object Manager, select the assay for
which you wish to enter data, and click Edit.
3 Select Property Curves, from the left pane of the Data Browser.
4 On the Petro Properties sheet, select a petroleum property in
the Property Type list.
18-6 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
distillation data, i.e., volume or weight) and Property Value
fields, to define the curve.
6 Optionally, enter a bulk value for the property in the Bulk
Value field. If you enter a bulk value, Aspen Properties
normalizes the individual curve values to the bulk value.
7 To enter additional property curves, repeat steps 1 through 3
for each additional property.
Entering Viscosity You can enter viscosity curves at different temperatures for an
Curves assay using the Viscosity sheet of the Components Assay/Blend
Property Curves form. Viscosity curves can be entered as either
absolute or kinematic viscosity values as a function of percent
distilled for the assay. Based on these curves, Aspen Properties
will assign viscosity to the pseudocomponents generated for the
assay.
To enter viscosity curves:
1 On the Viscosity sheet of the Components Assay/Blend
Property Curves form, choose a type of viscosity (Absolute or
Kinematic) by clicking on the appropriate option in the Type
frame.
2 In the Temperature list, select New.
3 In the New Item dialog box, enter a temperature for the
viscosity curve, and click OK.
4 In the Mid Percent Distilled (on the same basis as distillation
data, i.e., volume or weight) and Viscosity fields, enter at least
four pairs of values to define the curve.
5 To enter viscosity curves at additional temperatures, repeat
steps 1 through 4 for each curve.
To compute viscosity at multiple temperatures from the curves in
the calculation, you must enter viscosity curves for at least two
temperatures.
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-7
Creating a Blend
You can create a blend from any number of assays.
Aspen Properties performs blending on all available assay data:
• Distillation curves
• Gravity curves
• Molecular weight curves
• Light-ends analysis
• Petroleum properties curves
• Viscosity curves
Petroleum and viscosity curves are blended using the built-in or
user-supplied blending rules. See Modifying Petroleum Property
Definitions.
You can define a blend using either of the following:
• Components Specifications Selection sheet
• Assay/Blend Object Manager
Defining a Blend To define a blend using the Components Specifications Selection
Using the sheet:
Components 1 From the Data menu, select Components, then Specifications.
Specifications
Selection Sheet 2 On the Components Specifications Selection sheet, enter a
name for the blend in the Component ID field.
3 In the Type list, select Blend as the component type.
4 In the left pane of the Data Browser, click the Assay/Blend
folder.
5 In the Assay/Blend Object Manager, select the Blend ID you
just created, and click Edit. The Components Assay/Blend
form appears.
To enter the blend specifications, see Entering Blend
Specifications.
Defining a Blend To define a blend using the Assay/Blend Object Manager:
Using the 1 From the Data menu, select Components, then Assay/Blend.
Assay/Blend Object
Manager 2 On the Assay/Blend Object Manager, click New.
3 In the Create New ID dialog box, choose Blend in the Select
Type list.
4 Enter an ID for the blend, or accept the default ID.
5 Click OK.
18-8 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
The Components Assay/Blend form appears. To enter the
blend specifications, see Entering Blend Specifications.
Version 9 or later
- or -
Version 8 or earlier
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-9
4 In the Curve Processing Options frame, you can optionally
modify any of the following specifications from their defaults:
Specification Default
Initial boiling point 0.5
Final boiling point 99
Extrapolation method Probability
Spline fitting method Harwell
5 In the Distillation Curve Conversion Method frame, you can
optionally modify the default conversion methods.
About Pseudocomponents
You can specify how assays and blends are used to generate
pseudocomponents. ADA/PCS can generate one or more sets of
pseudocomponents for a group of assays and blends. You can use a
particular assay or blend to generate only one set of
pseudocomponents.
If you do not enter any specifications for pseudocomponent
generation, ADA/PCS generates one average set of
pseudocomponents for all the assays and blends. The average set
uses equal weighting for each assay and blend.
You should generate pseudocomponents only for the assays and
blends that will be used to define material streams in Aspen Plus.
This achieves the best characterization for a calculation. Typically
you enter data for several assays to create a blend, then use the
blend to define material streams. You should generate
pseudocomponents for the blend only.
18-10 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
In general, one average set of pseudocomponents can sufficiently
represent all assays and blends. Be sure to assign appropriate
weighting factors to reflect their relative flow rates.
At times you can improve characterization accuracy by generating
a separate set of pseudocomponents for each assay and blend. Use
separate sets of pseudocomponents when multiple assays and
blends define flowsheet streams in Aspen Plus, and when the
assays and blends have the following characteristics:
• Distillation curves have significant overlaps.
• Gravities and Watson K factors are very different.
However using multiple sets of pseudocomponents in the
calculations can increase computation time.
Generating Pseudocomponents
To generate a set of pseudocomponents:
1 From the Data menu, select Components, then Petro
Characterization.
2 In the left pane of the Data Browser window, select the
Generation folder.
3 In the Generation Object Manager, click New.
4 In the Create New ID dialog box, enter an ID for the set of
pseudocomponents, or accept the default ID.
5 Click OK.
The Components Petro Characterization Generation form
appears with the Specifications sheet selected:
6 On the Specifications sheet, select the assays and blends for
which an average set of pseudocomponents is to be generated,
using the Assay/Blend ID list.
7 In the Weighting Factor field, you can assign weighting factors
to reflect the relative importance of each assay or blend in the
generation of pseudocomponents. By default each assay or
blend is given an equal weight of one.
8 At the bottom of the sheet, select a property method in the
Property Method list. This property method represents the
models to be used in the estimation of all pseudocomponent
properties and characterization parameters. By default
ADA/PCS uses the ASPEN pseudocomponent property method
to estimate pseudocomponent properties. See About
Pseudocomponent Property Methods for a description of the
built-in property methods.
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-11
Specifying Cut Points By default Aspen Properties generates pseudocomponents using a
standard set of cut points:
TBP Range ( F) Number of Cuts Increments ( F)
100 – 800 28 25
800 – 1200 8 50
1200 – 1600 4 100
To override the standard cut points, use the Cuts sheet on the
Generation form to specify a list for one of the following:
• Cut temperatures
• Cut ranges. For each range, enter either the number of cuts or
the temperature increment for each cut.
Pseudocomponent By default the generated pseudocomponents are named according
Naming Options to their mean average normal boiling point. You can use the
Naming Options sheet on the Generation form to select from five
built-in naming conventions. If you choose User Defined List, you
must enter the pseudocomponent IDs in the Pseudocomponent
fields of the Preview of Pseudocomponent Names frame.
18-12 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
To create user-defined pseudocomponents, first enter them on the
Components Specifications form:
1 From the Data menu, select Components, then Specifications.
2 On the Selection sheet, enter the IDs for the user-defined
pseudocomponents in the Component ID fields.
3 Select PseudoComponent as the component type in the Type
list. Leave the Component Name and Formula fields blank for
pseudocomponents.
Entering Basic Once you defined the pseudocomponents on the Components
Properties for Specifications form, you must enter the basic properties for the
Pseudocomponents pseudocomponents on the Components Pseudocomponents
Specifications sheet.
From these basic properties, Aspen Properties estimates all pure
component characterization parameters needed for property
calculation.
To enter basic properties for user-defined pseudocomponents:
1 From the Data menu, select Components, then
PseudoComponents.
The Components PseudoComponents form appears with the
Specifications sheet displayed:
2 On the Specifications sheet, the pseudocomponents you
defined on the Components Specifications form are listed in
the Pseudocomponents column. For each pseudocomponent,
enter at least two of the following properties to characterize the
pseudocomponent:
• Average normal boiling point
• Gravity/Density
• Molecular weight
Gravity or density can be entered in any of the following
formats:
• API gravity
• Specific gravity
• Standard liquid density
3 If you wish to modify the default pseudocomponent property
method, select a new method in the Property Method list. Refer
to About Pseudocomponent Property Methods for descriptions
of the built-in property methods.
The default view of the PseudoComponents Specifications sheet is
the Basic Layout view. This view allows for a single
pseudocomponent property method, and a single type of gravity or
density to represent all pseudocomponents. If you wish to specify
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-13
different property methods, or different types of gravity or density
for individual pseudocomponents, you can select Advanced Layout
from the View list at the top of the sheet. The Advanced Layout
allows individual specifications of property method and gravity or
density type for each pseudocomponent.
Entering You can provide vapor pressure, viscosity, and water solubility
Temperature- data as a function of temperature for pseudocomponents. This
Dependent Properties improves the accuracy of the characterization because these data
for are used directly to determine the parameters for the extended
Pseudocomponents Antoine vapor pressure model, the Andrade liquid viscosity model,
and the water solubility model, respectively.
To enter these temperature-dependent properties:
1 From the Data menu, select Components, then
PseudoComponents.
2 On the Components PseudoComponents form, there are
separate sheets for Vapor Pressure, Viscosity, and Water
Solubility. Click the appropriate sheet for the type of data you
wish to enter.
18-14 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
About Pseudocomponent Property
Methods
A pseudocomponent property method is a collection of models for
estimating pseudocomponent properties and characterization
parameters needed for property calculations. Pseudocomponent
properties that are estimated include:
• Molecular weight
• Critical properties
• Acentric factor
• Vapor pressure
• Liquid molar volume
• Water solubility
• Viscosity
• Ideal gas heat capacity
• Enthalpy of vaporization
• Standard enthalpy and Gibbs free energy of formation
• Equation of state parameters
You can use a pseudocomponent property method in two ways:
On sheet Specify a pseudocomponent
property method for
Components Petro Pseudocomponents generated from
Characterization Generation assays and blends
Specifications
Components User-defined pseudocomponents
PseudoComponents
Specifications
You can choose from five built-in pseudocomponent property
methods:
Method Description
API-METH Uses procedures recommended by the American
Petroleum Institute (API) Data Book.
API-TWU Based on the ASPEN property method, but uses
correlations by Twu for critical properties.
ASPEN Based on the API-METH property method, with
proprietary AspenTech enhancements for selected
properties. (Default)
COAL-LIQ Uses correlations developed for coal liquids.
LK Uses correlations by Lee and Kesler.
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-15
You also can create your own pseudocomponent property methods.
Use your own property methods in the same way as the built-in
methods.
18-16 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
The remaining fields on the sheet (as well as the
Thermodynamic sheet and the EOS sheet) display the models
used by the base method for each property.
7 Use the remaining fields on the Basic sheet, the
Thermodynamic sheet and the EOS sheet to select the new
models to be used in the new property method.
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-17
5 In the Blend Method field, select a property blending method.
6 If you are using a user blending subroutine, enter an option
code in the Blend Option field.
7 If the property curve does not encompass 0 and 100 percent,
specify whether it is to be extrapolated in the Extrapolate field.
18-18 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
13 If you choose to perform the units conversion in a user
subroutine, enter a units label in the Units Label field. This
label will be used in property curve results.
Aspen Properties 11.1 User Guide Petroleum Assays and Pseudocomponents • 18-19
18-20 • Petroleum Assays and Pseudocomponents Aspen Properties 11.1 User Guide
C H A P T E R 19
Overview
The Aspen Properties Windows user interface is built using
Microsoft's OLE Automation (ActiveX™) technology. This
technology enables you to transfer data easily to and from other
Windows® programs. It enables you to access calculation data and
methods through an Automation client, such as Visual Basic®
(VB).
See one of the following topics for help on Windows
interoperability features:
• About copying, pasting and OLE
• Copying and pasting calculation data
• Copying and pasting plots
• Creating active links between Aspen Properties and other
Windows applications
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-1
processor for reporting and documentation, or into a design
program.
Live data links can be established that update these applications as
the Aspen Properties model is changed to automatically propagate
results of engineering changes. The benefits to you are quick and
error-free data transfer and consistent engineering results
throughout the engineering work process.
Copying and Pasting In Aspen Properties, data contained in the fields of input and result
Data forms can be copied and pasted using the standard Copy and Paste
commands on the Edit menu. For example, you can copy
information from a field or group of fields in Aspen Properties, and
then paste it into:
• Another location within the same Aspen Properties calculation
• Another Aspen Properties calculation
• Any other Windows application such as Word, Excel, or
Access®
Copying Data To copy information in Aspen Properties using the Copy
command:
1 Select (or highlight) the information you wish to copy.
To select an individual field of data, simply click the mouse in
the field.
To select multiple fields of data, hold down the Ctrl key while
clicking the mouse on multiple fields.
When copying values from a table, you can:
• Click-and-drag the mouse over a desired range of results
• Select an entire column of data by clicking the column
heading
• Select an entire row of data by clicking the row selector
button (on the left of the row of data)
• Select the entire table by clicking the button on the top left
corner of the table
2 From the Edit menu, click Copy, or on the keyboard, press Ctrl
+ C.
The selected values are now contained in the Windows paste
buffer, and can be pasted into Aspen Properties, or another
Windows application.
19-2 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
The Copy command always copies the whole field, with these
exceptions:
• The Setup Specifications Description sheet
• The Comments dialog box for individual forms
Use the text box on these sheets for entering information, and
to select and copy information.
Copying with Format By default, the Copy command copies only the value (or values) of
information. Use the Copy with Format command from the Edit
menu to request that the label, units and basis for the values be
included with the value.
To copy information in Aspen Properties using the Copy with
Format command:
1 Select (or highlight) the information you wish to copy.
To select an individual field of data, click the mouse in the
field.
To select multiple fields of data, hold down the Ctrl key while
clicking the mouse on multiple fields.
4 Click OK.
The selected information is now contained in the Windows
paste buffer, and can be pasted into Aspen Properties, or
another Windows application.
Note: You can change the default formats included with the
standard Copy command, by selecting options in the Copy Buffer
Format frame of the General sheet on the Tools Options dialog
box.
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-3
Pasting To paste information in Aspen Properties using the Paste
command:
1 First, ensure that the paste buffer contains information that has
been copied from Aspen Properties, or another Windows
application.
2 Click the mouse in the input field where you wish to paste the
information.
For multiple fields of information, click in the upper-left most
field.
3 From the Edit menu, click Paste or on the keyboard, press Ctrl
+ V.
4 If prompted with a message asking if you want to extend the
grid, click Yes. Aspen Properties needs to extend the grid if
you are pasting more rows or columns of data than are
currently displayed.
The information contained in the paste buffer will now appear
in the field, or group of fields you selected with the cursor.
This information remains in the paste buffer, and can be pasted
into additional locations by repeating steps 2 through 4.
19-4 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
Example of Cutting and In this example, experimental VLE data from one data group are
Pasting Within Aspen pasted into another data group. This is then used as a starting point
Properties for completing the data for the target data group.
1 In the Data Browser, select Properties, then Data, and edit the
data group from which data are to be copied. On the Data tab,
click the left mouse button on the data field and drag the mouse
down to select all the data to be copied.
The example stream results are shown here.
Tip: If all the data are not displayed, you can expand the Data
Browser window to display more data. Or you can select additional
by holding down the Ctrl key and clicking with the mouse.
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-5
The example Stream Specifications sheet is shown here.
Example of Pasting This example shows the steps necessary to paste property analysis
Aspen Properties Results results in Aspen Properties into an Excel spreadsheet.
Into Other Applications
1 Open the Properties Analysis Results form.
2 On the Results tab, click and drag over the results you wish to
copy.
– or –
Hold down the Ctrl key while you click the column headings
for the data you wish to copy.
An example is shown here.
19-6 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
5 Select a cell in the Excel spreadsheet where you want to paste
the information.
6 From the Edit menu in Excel, click Paste.
An example is shown here.
The copied RadFrac results profile has been pasted into the
spreadsheet, where it can be manipulated, reformatted, combined
with additional data, and plotted using the features of Excel. This
same data could also be pasted into other applications such as a
table in Word, or a database in Access.
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-7
Example of Pasting Data In this example, atmospheric Txy data for ethyl acetate and ethanol
From Another Application will be copied from an Excel spreadsheet and pasted into a
Into Aspen Properties Properties Data form in Aspen Properties.
Excel data
19-8 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
2 Open the Properties Data mixture form for the newly created
data set, and examine the format for the columns of data.
Modify units and standard deviations if necessary.
Notice that there are columns for the compositions of ethanol,
as well as ethyl acetate. See illustration. The composition for
the second component need not be entered, as it will be
calculated as the difference between 1 and the composition of
the first component. This means that you must use two copy
and paste operations to transfer the data from Excel to Aspen
Properties:
• Firstly, copy the Temperature and X columns
• Then copy the Y column
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-9
4 Click and drag to select the data to be copied. For the first copy
operation, select the temperature and liquid composition data.
See illustration.
19-10 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
10 From the Edit menu in Excel, click Copy.
11 In Aspen Properties, on the Data sheet, select the first empty
cell in the Y column for ethyl acetate.
12 From the Aspen Properties Edit menu, click Paste.
The vapor composition data is transferred into the Data sheet.
You can now use this data set to estimate or regress property
parameters in Aspen Properties.
Copying and Pasting After generating plots in Aspen Properties, you can copy the plots
Plots and Other and paste them into other Windows applications as images.
Images
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-11
To create active links between a result in Aspen Properties and
Creating Active Links
another Windows application:
Between an Aspen
Properties Result and 1 Make sure you have both applications open:
another Windows • Aspen Properties open with the completed calculation and
Application results available
• Another Windows application open with the file where you
wish to paste the active link to Aspen Properties results
2 Open the Aspen Properties results form containing the
information to be linked.
3 Select the desired results.
To select an individual field of data, simply click in the field.
To select multiple fields of data, hold down the Ctrl key while
clicking the mouse on multiple fields.
When copying values from a table, you can:
• Click-and-drag the mouse over a desired range of results
• Select an entire column of data by clicking the column
heading
• Select an entire row of data by clicking the row selector
button
• Select the entire table of data by clicking the button on the
top left corner of the table
4 From the Edit menu, click Copy (or Copy with Format). If you
choose Copy with Format, in the Copying dialog box, check
the items you want included with the value (Label, Units or
Basis), and click OK.
5 Go to the appropriate location in another Windows application,
where you wish to paste the active link.
6 From the Edit menu in the other application, choose Paste
Special.
7 In the Paste Special dialog box, click the Paste Link radio
button and make sure you are pasting as text by selecting Text
in the As box.
8 Click OK to close the Paste Special dialog box.
19-12 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
Now an active link has been established between Aspen
Properties (the source document) and another application.
9 When you exit, be sure you save both the Aspen Properties file
and the other application file. If you do not, the link will not
work when you open the files. If you save the link source file
(Aspen Properties in this case) with another name, you must
save the link container (other application file) after saving the
Aspen Properties run.
The link source is the program that is providing the data.
The link container is the program into which you paste the link.
Example of Creating In this example, the property analysis results will be copied with
Active Links from Aspen units, and pasted into an Excel spreadsheet as an active link.
Properties Results into
Excel
1 Open the Property Analysis Results form.
2 Click Total Temp column to select temperature of the phase
equilibrium calculations.
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-13
3 From the Edit menu, click Copy with Format.
4 In the Copying dialog box, check the Unit checkbox, then click
OK.
5 Open the Excel spreadsheet, and select the cell where you want
to create the link to the Aspen Properties temperature results.
6 From the Edit menu in Excel, choose Paste Special.
7 In the Paste Special dialog box, click the Paste Link radio
button.
8 Select Text in the As: list, and click OK.
The temperature and units are copied into the specified
location.
19-14 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
The pasted value is an active link between Aspen Properties (the
source document) and the Excel spreadsheet (the destination
document.) As inputs are changed in the Aspen Properties analysis
specification (such as pressure), and the calculation is rerun to
generate new results, the active link displayed in the Excel
spreadsheet will reflect the changes.
You can review the source of the link in Excel by selecting the
linked cell in Excel. The source will display in the Excel Formula
Bar below the toolbar.
You can view and modify the status of the link in Excel by
selecting Links from the Edit menu.
Creating Active Links In addition to creating active links from Aspen Properties to other
from a Windows applications, you can also create active links from other
Application to Aspen applications such as Word or Excel, to input fields within Aspen
Properties Input Properties calculations. This can be used to create a simple
Fields interface to your calculation models for non Aspen Properties users
(e.g. operators or other engineers.)
1 Make sure you have:
• Aspen Properties open at the completed calculation where
you will add the active link
• Another Windows application open at the source file from
where you will originate the active link to an Aspen
Properties input field
2 In the source file of the other application, select the
information to be linked.
For example, in Excel, click in the cell containing the data to
be linked.
3 From the Edit menu in the other application, click Copy.
4 In Aspen Properties, open the appropriate input form, and
select the field where the information will be pasted to create
the active link.
5 From the Edit menu in Aspen Properties, click Paste Special.
6 In the Paste Special dialog box, click the Paste Link button and
ensure you are pasting as text by selecting Text in the As list.
7 Click OK to close the Paste Special dialog box.
Now an active link has been established between another
application (the source document) and Aspen Properties (the
destination document); if you change a value in the source
document, the change will be reflected on the appropriate
Aspen Properties input forms.
8 When you exit, ensure you save both the Aspen Properties file
and the other application file. If you do not, the link will not
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-15
work when you open the files. If you save the link source (the
other application in this case) with a different file name, you
must save the link container (Aspen Properties) after saving the
other application file.
Example of Creating a In this example, an active link will be established from Excel that
Link from Excel to an controls the pressure of a Txy property analysis in Aspen
Aspen Properties Input Properties.
Field
1 Open the Excel spreadsheet to display the data from where you
will establish the link (the source file.)
2 Select the cell containing the information that will be linked.
19-16 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
5 From the Edit menu in Aspen Properties, click Paste Special.
6 In the Paste Special dialog box, click the Paste Link radio
button and make sure you are pasting as text by selecting Text
in the As list.
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-17
To illustrate the effect of the active link established in this
example:
1 Open the Excel spreadsheet, and change the pressure in the
linked cell from 760 to 1000.
2 Open the Properties Analysis Input Temperature/Pressure sheet
again, and note that the new value for Puressure has been
automatically changed.
19-18 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
• Use Save As in Aspen Properties to save the run as
MYRUN
• Go to Excel and use Save As
• Return to Aspen Properties and Save
Opening Files with When you open the link source file, there is nothing special that
Active Links you need do.
When you open the link container file, you will usually see a
dialog box asking you if you want to re-establish the links.
Applications will behave differently or may show different dialog
boxes.
If you:
Click Then And
No The link will not be active Any changes you make in the
link source will not be reflected
in the link container.
Yes Windows will re-establish the You will not see the application
link and open the link source on the Windows taskbar. You
application in background. That might notice a pause as
is, the application will be open Windows activates the
and running, but there will be application.
no visible windows for the
application.
In some cases, when the link source is running in background, you
might want to make the application visible (have its windows
displayed) so that you can make changes.
Making the Link Source In some cases, when the link source is running in background, you
Visible might want to make the application visible (have its windows
displayed) so that you can make changes.
For example, you may be using Excel (as link source) to supply
pressure data to an Aspen Properties calculation (the link
container). Normally, you can just open Aspen Properties, re-
establish the links, and run the calculation. But if you want to
change the pressure data or add links to a another piece of data in
the Excel spreadsheet, you need to make Excel visible.
The method to make the link source application visible depends on
the application:
• For some applications, for example Aspen Properties and
Microsoft Word, you can open the file in the normal way using
Aspen Properties 11.1 User Guide Working with Other Windows Programs • 19-19
Open from the File menu or double-clicking the file in
Windows Explorer.
• For other applications, like Excel, if you try to open the file in
the normal way, you will receive a message that the file is
locked or in use by another user. If you proceed and open the
file, you are actually working on another copy of the document
and links will not work properly.
Because of problems with some applications, follow this procedure
to make the link source application visible:
1 From the Edit menu in the link container application, select
Links.
The Links dialog box appears.
2 In the Links dialog box, select the source file and click Open
Source.
Now the link source application is visible. The application will
appear on the Windows taskbar.
Updating References in Microsoft Excel has an option which you must use to ensure that
Excel links are correctly re-established when you open files with active
links. To check the option:
1 In Excel, from the Tools menu, click Options.
2 In the Options dialog box, click the Calculations tab.
3 Ensure the Update Remote References checkbox is selected.
There is also an option to Save External Link Values. This
controls the behavior of Excel when you have links but do not
re-establish them when you open the file or the links become
broken.
If this option is Excel will display
Selected The last value it had before the link was broken
Clear An error
19-20 • Working with Other Windows Programs Aspen Properties 11.1 User Guide
C H A P T E R 20
Overview
See one of the following topics for help on the Aspen Properties
ActiveX Automation Server:
• About the Automation server
• Viewing the properties and methods of Aspen Properties
objects
• Objects exposed by the Automation server
• Using the Variable Explorer to navigate the tree structure
• Navigating the tree structure in the Automation interface
• Data values and Node attributes
• Physical quantities and Units of Measure
• Referencing non-scalar data
• Controlling a calculation problem
This topic assumes that you are familiar with Visual Basic and
understand the concepts of object-oriented programming.
The examples in this topic use Visual Basic 5.0 and Visual Basic
for Applications (VBA) as the Automation Client. Examples are
based on the thiazole example problem which is provided with the
standard Aspen Properties installation as a backup file named
thiazole.aprbkp. If you installed Aspen Properties in the default
location, this file is in
C:\Program Files\AspenTech\Aspen Properties 11.1\GUI\xmp.
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-1
About the Automation Server
The Aspen Properties Windows user interface is an ActiveX
Automation Server. The ActiveX technology (also called OLE
Automation) enables an external Windows application to interact
with Aspen Properties through a programming interface using a
language such as Microsoft’s Visual Basic. The server exposes
objects through the COM object model.
With the Automation interface, you can:
• Connect both the inputs and the results of Aspen Properties
calculations to other applications such as design programs or
databases.
• Write your own user interface to an Aspen Properties model.
You can use this interface to distribute your model to others
who can run the Aspen Properties model without learning to
use the Aspen Properties user interface.
Using the Automation In order to use the Aspen Properties Automation Server, you must:
Server • Have Aspen Properties installed on your PC
• Be licensed to use Aspen Properties
Aspen Plus and Aspen Properties now share the same type library,
happ.tlb, which is located in the APrSystem GUI\xeq directory. If
you installed the APrSystem in the default directory, this will be:
C:\Program Files\AspenTech\APrSystem 11.1\GUI\xeq
The out-of-process server is AspenProperties.exe. An in-process
server AspenProperties.dll is also available.
Before you can access the Aspen Properties type library from
Visual Basic, in the Visual Basic Project References dialog box,
you must check the Aspen Plus GUI 11.1 Type Library box.
Before you can access the Aspen Properties type library from
Excel VBA, in the Excel Tools | References dialog box, you must
check the Aspen Plus GUI 11.1 Type Library box.
If Aspen Plus GUI 11.1 Type Library does not exist in the list,
click Browse and find happ.tlb in the directory listed above.
Error Handling Errors may occur in calling methods or accessing properties of the
Aspen Properties objects. It is important to create an error handler
for all code which accesses an automation interface. An
automation interface may return a dispatch error for many reasons,
most of which do not indicate fatal or even serious errors.
Unless there is an error handler in place any error will normally
cause a dialog box to be displayed on the user’s screen. In VB the
error handler is in the form of an On Error statement, e.g. On Error
20-2 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
Goto <line>. It is usual to create an error handling subroutine
which will tidy up and exit the application cleanly if any severe
errors are encountered.
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-3
The HappLS and HappIP The HappLS (IHapp) and HappIP objects are the principal objects
Objects exposed by Aspen Properties. This object provides methods and
properties such as:
• Opening a calculation problem
• Controlling the visibility of the Aspen Properties GUI
• Saving a problem
Example of Opening A The following VB example obtains the simulation object for an
Calculation existing calculation stored in the backup file thiazole.aprbkp, and
sets the Visible property to display the Aspen Properties graphical
user interface.
Function OpenSimulation() As HappLS
Dim ihAPSim As HappLS
On Error GoTo ErrorHandler
’ open existing simulation
Set ihAPSim = _
GetObject("C:\Aspen Properties 11.1\GUI\xmp\thiazole.aprbkp")
’ display the GUI
ihAPSim.Visible = True
Set OpenSimulation = ihAPSim
Exit Function
ErrorHandler:
MsgBox "OpenSimulation raised error " & Err & ": " & Error(Err)
End
End Function
End Sub
20-4 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
The final step, calling CoFreeUnusedLibraries, is needed to allow
aspenproperties.dll to be unloaded. This allows global variables to
be reinitialized if it is loaded again by the same executable.
The Aspen Properties The input and results data in an Aspen Properties calculation
Tree Structure problem are organized in a tree structure.
In order to access the data of interest in an Aspen Properties
calculation, you need to understand and navigate through the tree
structure and locate and identify the variables of interest. To do
this, you can use the Variable Explorer in the Aspen Properties
User Interface.
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-5
text, scrolling controls, selection boxes and fields for data entry.
The Variable Explorer exposes the underlying variables within the
calculation problem.
The Variable Explorer is important to the Automation user because
it shows the names and the structure of the variables which may be
accessed through the Automation interface.
Example of Using the This example gives instructions for using the Variable Explorer to
Variable Explorer access data in the RadFrac block (Block B6) in pfdtut.bkp.
1 From the Tools menu, click Variable Explorer to open the
Variable Explorer.
The tree view on the left displays just the node labeled Root.
2 Double-click on the Root folder icon or click on the + icon to
display the nodes immediately below this: Data, Unit Table and
Settings.
3 Expand Data to display the next level of nodes: Setup through
to Results Summary.
4 Expand the Blocks icon to reveal a list of blocks on the
flowsheet: B1 through B6.
5 Expand B6 to display nodes labeled Input through to Work
Results.
6 Expand Input to display a list of nodes labeled Unit Set through
to Y_EST.
These nodes represent the calculation input data for the
RadFrac block. For example, below the Input node, the node
labeled NSTAGE holds the input value for the number of
stages in the column.
7 Click on the Output node to display a list of nodes labeled Unit
Set through Y_MS.
These nodes represent the output data for the RadFrac block.
For example, below the Output node, the node labeled
BU_RATIO holds the result value for the boilup ratio.
The Path to Node field of the Variable Explorer displays the
path to the node which is currently open. From this field, you
20-6 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
can copy and paste directly into your program. To do this,
complete these steps:
8 Select the text in the Path to Node field, then click the right
mouse button.
9 From the menu that appears, click Copy.
10 Go to your application (for example, Visual Basic or the Excel
Module sheet).
11 From the Edit menu, click Paste.
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-7
The collection object ihcolOffspring contains the collection of
nodes immediately below the root, i.e. those nodes with the labels
Data, Unit Table and Settings as observed in the Variable Explorer.
Nodes within each collection object may be accessed in one of two
ways:
• You can iterate through the collection object using a For Each
… Next structure, accessing each node in turn.
• You can access a node explicitly using the Item property of the
IHNodeCol object. In order to identify a particular item in a
collection, the Item property takes one or more arguments.
Each argument is either a string specifying the label or item
name of an offspring node in the next level of the tree, or an
integer specifying the ordinal number of the node in the
collection of offspring nodes. The number of arguments
required to the Item property is given by the Dimension
property of the parent.
Thus:
For Each ihOffspring In ihcolOffspring
.
.
.
Next
Dot Notation for To navigate down the tree you can chain the Item property
Navigating the Tree references together. For example, to get to the node labeled
NSTAGE which represents the number of stages in a RadFrac
block:
Set ihNStageNode = ihAPsim.Elements("Data"). _
Elements("Blocks").Elements("B6"). _
Elements("Input").Elements("NSTAGE")
20-8 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
without specifying either the Elements or the Item properties. For
example, the above assignment may be written:
Set ihNStageNode = ihAPSim.Tree.Data.Blocks.B6.Input.NSTAGE
Data Values
Once you have the leaf node containing the data value of interest,
you can obtain the data value associated with the node from the
Value property. Data values have an associated data type which is
held in the ValueType property.
ValueType returns one of the following:
ValueType Description Visual Basic Data Type
0 Value not defined
1 Integer Long
2 Real Double
3 String String
4 Node IHNode
Note: Aspen Properties returns 32bit integer and 64bit real values.
Therefore when using Visual Basic, integer and real valued
properties should be assigned to Long and Double variables
respectively in order to avoid potential overflow errors.
Node Attributes
You can obtain information called attributes about the node from
the AttributeValue and AttributeType properties. These take an
attribute number argument which is an enumerated value from
the HAPAttributeNumber class.
See one of these topics to see some commonly used attributes and
their descriptions.
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-9
The Attribute Name corresponds to the field in the Variable
Explorer.
• Value-related Attributes
• Meta-data Attributes for Records
• Attributes for Variable Nodes
• Attributes for Multi-dimensioned Variables Nodes
• Other attributes
You can see the full range of possible values and descriptions in
the Object Browser of your Automation client (e.g., VB5). In
general, you will only need a small subset of the attributes.
Each node typically only supports a subset of the attributes. You
can check whether an attribute is supported by querying the
AttributeType for the attribute. The attribute types returned are as
shown above for ValueType. If the AttributeType property returns
a value of zero for an attribute then the attribute is not defined for
that node.
Value-related This table shows commonly used value related attributes:
Attributes
20-10 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
Attributes for This table shows commonly used attributes for variable nodes:
Variable Nodes
Attribute Name HAP_AttributeNumber Description
Output HAP_OUTVAR Is the variable node a results variable (read-only)
Enterable HAP_ENTERABLE Can the value attribute be modified?
Upper Limit HAP_UPPERLIMIT The upper limit on the value attribute.
Lower Limit HAP_LOWERLIMIT The lower limit on the value attribute.
Default Value HAP_VALUEDEFAULT The default value for the value attribute.
Prompt HAP_PROMPT A descriptive prompt for the node.
Attributes for Multi- This table shows commonly used attributes for multi-dimensioned
dimensioned variables nodes:
Variables Nodes
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-11
Units of Measure as a The unit of measurement symbol for a value can be obtained from
String the UnitString property.
Example of Using Units of Measure
The Units Table Physical quantities and the corresponding units of measurement are
described in Aspen Properties by references to a Unit Table.
Sometimes it is convenient to use the units table directly, instead of
dealing with the UnitString of a particular value.
The unit table consists of rows representing physical quantities
and columns representing the units of measurement in which the
quantities can be expressed. The unit table is exposed in the
automation interface below the root node as a node labeled "Unit
Table". The elements in the collection below the Unit Table node
represent the rows of the table i.e. physical quantities. The labels of
these nodes are the names of the physical quantities. Below each
physical quantity node is a collection of nodes whose labels are
strings representing the symbols of the units of measurement in
which the owning physical quantity may be expressed.
For a node in the tree containing a physical value, the physical
quantity, or Unit Table row number, is obtained by reference to the
property AttributeValue(HAP_UNITROW). The unit of
measurement symbol, or Unit Table column number, is referenced
by the property AttributeValue(HAP_UNITCOL). Note that the
attribute values are actual row and column numbers and that when
referencing the row numbers with the Unit Table collections, you
must subtract one from these values.
Converting the Units You can retrieve a value in a specific unit with the ValueForUnit
of Measure for a property. The ValueForUnit property takes two arguments, the
Value desired unit row and the desired unit column.
Example of Converting Units of Measure
Retrieve the pressure of block B3, both in the units specified in the
run (psi) and in atm. atm is column 3 in the Unit Table.
20-12 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
Sub UnitsConversionExample(ihAPSim As IHApp)
’ This example retrieves a value both in the display units and an alternative
Dim ihPres As ihNode
Dim nRow As Long
Dim nCol As Long
Dim strDisplayUnits As String
Dim strConvertedUnits As String
On Error GoTo ErrorHandler
Set ihPres = ihAPSim.Tree.Data.Blocks.B3.Output.B_PRES
’ retrieve the attributes for the display units (psi)
nRow = ihPres.AttributeValue(HAP_UNITROW)
nCol = ihPres.AttributeValue(HAP_UNITCOL)
strDisplayUnits = UnitsString(ihAPSim, nRow, nCol)
’select the alternative unit table column (atm)
nCol = 3
strConvertedUnits = UnitsString(ihAPSim, nRow, nCol)
MsgBox "Pressure in Display units: " & ihPres.Value & _
" " & strDisplayUnits & Chr$(13) & _
"Pressure in Converted units: " & _
ihPres.ValueForUnit(nRow, nCol) & " " & strConvertedUnits, _
, "UnitsConversionExample"
Exit Sub
ErrorHandler:
MsgBox "UnitsConversionExample raised error " & Err & ": " & Error(Err)
End Sub
Public Function UnitsString(ihAPSim As IHApp, nRow As Long, nCol As Long)
’ This function returns the units of measurement symbol given
’ the unit table row and column
On Error GoTo UnitsStringFailed
UnitsString = ihAPSim.Tree.Elements("Unit Table"). _
Elements(nRow - 1).Elements.Label(0, nCol - 1)
Exit Function
UnitsStringFailed:
UnitsString = ""
End Function
Changing the Units of You can use the HAP_UNITCOL attribute to directly change the
Measure for the units of measurement in the Aspen Properties run.
Aspen Properties Changing the HAP_UNITCOL attribute value has a different effect
Run depending on whether the value in an Input or Output value, as
follows:
• Changing the HAP_UNITCOL attribute of an output value will
convert the retrieved output value into the selected unit of
measurement. This is equivalent to changing the units on a
Results sheet in the Aspen Properties GUI.
• Changing the HAP_UNITCOL attribute for an input value
node will change the input specification units. It does not
convert the value into the selected unit of measurement. This is
equivalent to changing the units on an Input sheet in the Aspen
Properties GUI.
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-13
Sub UnitsChangeExample(ihAPsim)
Example of Converting Dim ihPres As ihNode
Units of Measure On Error GoTo ErrorHandler
Set ihPres = ihAPsim.Tree.Data.Blocks.B3.Output.B_PRES
MsgBox "Pressure in default units: " _
& ihPres.Value _
& Chr(9) & ihPres.UnitString
’ change units of measure to bar
ihPres.AttributeValue(HAP_UNITCOL, True) = 5
MsgBox "Pressure in selected units: " _
& ihPres.Value _
& Chr(9) & ihPres.UnitString
Exit Sub
ErrorHandler:
MsgBox "UnitsChangeExample raised error " & Err & ": " _
& Error(Err)
End Sub
20-14 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
Offspring nodes are obtained in one of two ways:
• Using an iterator to loop through the collection object. For
example, using a For Each loop in Visual Basic
• Using the Item property of the collection object and specifying
an argument for each Dimension of the collection. The
argument may be either:
• An integer Location (also known as RowNumber) which
represents the ordinal number within the dimension. The
first Location in each dimension is numbered zero.
• A string Label which identifies the offspring node within
in the Dimension.
For each dimension you can obtain the number of valid locations
or labels from the RowCount property of the collection.
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-15
Accessing Variables The temperature profile in a RadFrac column is an example of a
With a Single variable with a single identifier. For the pfdtut calculation results,
Identifier: Column the temperature profile is displayed in the Data Browser in tabular
Temperature Profile form under Blocks>B6>Profiles>TPFQ.
The same information is located in the Variable Explorer under the
Root>Data>Blocks>B6>Output>B_TEMP variable node. Under
this node there are fifteen leaf nodes labeled 1 through 15,
corresponding to the temperatures on the stages.
See illustration.
20-16 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
Sub TempProfExample(ihAPsim)
’ This example retrieves values for a non-scalar variable with one identifier
Dim ihTVar As ihNode
Dim ihStage As ihNode
Dim strOut As String
On Error GoTo ErrorHandler
Set ihTVar = ihAPsim.Tree.Data.Blocks.B6.Output.B_TEMP
strOut = ihTVar.Elements.DimensionName(0) & Chr(9) & ihTVar.Name
For Each ihStage In ihTVar.Elements
strOut = strOut & Chr(13) & ihStage.Name _
& Chr(9) & Format(ihStage.Value, "###.00") _
& Chr(9) & ihStage.UnitString
Next ihStage
MsgBox strOut, , "TempProfExample"
Exit Sub
ErrorHandler:
MsgBox "TempProfExample raised error " & Err & ": " & Error(Err)
End Sub
The first level of nodes below the variable X represents the stages
in the column and each node has the Name property set to the stage
number. The second level of nodes contains the nodes for each of
the component compositions and the Name property of these nodes
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-17
is the component id. The Value property of the second level node
is the composition of the component in the stage represented by the
first level node.
The following code fragment illustrates how to retrieve the
component compositions from this structure. It contains two nested
loops which iterate through the levels to access the value nodes.
Public Sub CompProfExample(ihAPsim As IHApp)
’ This example retrieves values for a non-scalar variable with two
’ identifiers
Dim ihTrayNode As ihNode
Dim ihXNode As ihNode
Dim ihCompNode As ihNode
Dim strOut As String
On Error GoTo ErrorHandler
Set ihXNode = ihAPsim.Tree.Data.Blocks.B6.Output.Elements("X")
For Each ihTrayNode In ihXNode.Elements
For Each ihCompNode In ihTrayNode.Elements
strOut = strOut & Chr(13) & ihTrayNode.Name & _
Chr(9) & ihCompNode.Name & Chr(9) & _
ihCompNode.Value
Next ihCompNode
Next ihTrayNode
MsgBox strOut, , "CompProfExample"
Exit Sub
ErrorHandler:
MsgBox "CompProfExample raised error " & Err & ": " & Error(Err)
End Sub
20-18 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
This illustration shows the Variable Explorer tree view for the the
Accessing Variables
RStoic reactor block B2 in the pfdtut calculation.
With 3 Identifiers:
Reaction Coefficients
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-19
existence of paired scrolling may be determined from the value of
the property AttributeValue (HAP_FIRSTPAIR). If the node uses
paired scrolling of offspring, this property returns the 1-based
index of the first item of the scrolling pair.
The following example code shows how to retrieve the coefficients
under the COEF node together with the associated identifiers. Note
that because paired scrolling is used, only the nodes with the same
value of location in each dimension are accessed.
Sub ReacCoeffExample(ihAPsim As IHApp)
’ This example illustrates retrieving values for a non-scalar variable
’ with three identifiers
Dim ihReacNode As ihNode
Dim ihCoeffNode As ihNode
Dim intOff As Long
Dim strHeading As String
Dim strTable As String
Dim nReacCoeff As Integer
On Error GoTo ErrorHandler
Set ihCoeffNode = ihAPsim.Tree.Data.Blocks.B2.Input.COEF
’ loop through reaction nodes
For Each ihReacNode In ihCoeffNode.Elements
strHeading = ihCoeffNode.Elements.DimensionName(0) _
& Chr(9) & ihReacNode.Elements.DimensionName(0) _
& Chr(9) & ihReacNode.Elements.DimensionName(1)
nReacCoeff = ihReacNode.Elements.RowCount(0)
’ loop through coefficient nodes retrieving component and substream
’ identifiers and coefficient values
For intOff = 0 To nReacCoeff - 1
strTable = strTable & Chr(13) & ihReacNode.Name & Chr(9) _
& Chr(9) & ihReacNode.Elements.Label(0, intOff) & Chr(9) _
& Chr(9) & ihReacNode.Elements.Label(1, intOff) & Chr(9) _
& Chr(9) & ihReacNode.Elements.Item(intOff, intOff).Value
Next intOff
MsgBox strHeading & strTable, , "ReacCoeffExample"
Next ihReacNode
Exit Sub
ErrorHandler:
MsgBox "ReacCoeffExample raised error " & Err & ": " & Error(Err)
End Sub
20-20 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
Controlling a Calculation from an
Automation Client
The Engine property of a Happ object returns a IHAPEngine
object, which is an interface to the calculation engine. The Happ
and IHAPEngine objects provide methods to enable an Automation
client program to run and control a calculation.
The following code fragment illustrates how a user is prompted for
a calculation parameter, the calculation is re-run and the updated
results are displayed to the user.
Public Sub RunExample(ihAPsim As IHApp)
’ This example changes a calculation parameter and
’ re-runs the calculation
Dim ihEngine As IHAPEngine
Dim nStages As Variant
Dim strPrompt As String
On Error GoTo ErrorHandler
Set ihEngine = ihAPsim.Engine
EditCalculation:
nStages = ihAPsim.Tree.Data.Blocks.B6.Input.Elements("NSTAGE").Value
strPrompt = "Existing number of stages for column B6 = " & nStages _
& Chr(13) & "Enter new value for number of stages."
nStages = InputBox(strPrompt)
If (nStages = "") Then GoTo finish
’ edit the calculation
ihAPsim.Tree.Data.Blocks.B6.Input.Elements("NSTAGE").Value = nStages
’ run the calculation
ihAPsim.Run
’ look at the status and results
Call ListBlocksExample(ihAPsim)
Call TempProfExample(ihAPsim)
GoTo EditCalculation
finish:
Exit Sub
ErrorHandler:
MsgBox "RunExample failed with error " & Err & Chr(13) & Error(Err)
End Sub
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-21
Members of Aspen Properties
Classes
This section lists the members of each of the exposed Aspen
Properties classes.
Members of Classes
HappLS and HappIP
Standard VB Properties and Properties to Manipulate the Main Window
Name and Arguments Member Read-only Description
Type
Activate() Sub Activate the application
Application As Happ Property Yes Returns the application of the object
FullName As String Property Yes Returns the full name of the application
Name As String Property Yes Returns the name of the application
Parent As Happ Property Yes Returns the creator of the object
Visible As Boolean Property Returns the visible state of the application
Properties to Access Other Parts of the Object Model
Name and Arguments Member Read-only Description
Type
Engine As Property Yes Return the interface to the calculation engine
IHAPEngine
Tree As IHNode Property Yes Get top node of file
Basic File Operations
Name and Arguments Member Read-only Description
Type
Save() Sub Saves current file
SaveAs(filename As Sub Saves current file under new name
String, [overwrite])
Restore(filename As Property Yes Restores, or merges, an archive file into the current
String) problem
WriteArchive Sub Exports a archive file.
(filename As String)
20-22 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
Initialization Methods to be Used with CreateObject()
Name and Arguments Member Read-only Description
Type
InitFromArchive Sub Opens an archive and initializes
(filename As String)
InitFromFile(filename Sub Opens a file and initializes
As String, [readonly])
InitFromTemplate Sub Opens a template and initializes
(filename As String)
InitNew([filename], Sub Initializes a new, untitled tree
[overwrite])
Basic Run Operations
Name and Arguments Member Type Read-only Description
Reinit() Sub Reinitialize the calculation case. To reinitialize
specific blocks or streams, use the Reinit member of
the IHAPEngine class.
Run() Sub Run the calculation case.
Selection Buffer Operations Used to do Cut and Paste Strictly Via
Automation
Name and Arguments Member Type Read-only Description
DeleteSelection(Key Sub Delete a selection buffer.
As String)
NewSelection(Key As Function Create and return a new selection buffer.
String) As IHSelection
SaveSelection(Key As Sub Save a selection buffer.
String)
Selection(Key As Property Yes Retrieve a selection buffer.
String) As IHSelection
Members of Class
IHNode
Standard VB Properties
Name and Arguments Member Type Read-only Description
Application As Happ Property Yes Returns the application of the object.
Parent As Happ Property Yes Returns the creator of the object.
Properties to Access Other Parts of the Object Model
Name and Arguments Member Type Read-only Description
Dimension As Long Property Yes Return the number of dimensions in the directory (0
for scalar).
Elements As Property Yes Return a collection object containing the node’s
IHNodeCol offspring nodes
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-23
Access Data Values
Name and Arguments Member Read-only Description
Type
AttributeType Property Yes Get type of attribute for attrnum:
(attrnumber As 1=int
Integer) As Integer 2=real
3=string
4=node
5=memory block
(see Enum HAPAttributeNumber for possible values).
AttributeValue Property Get the value of the attribute for attrnum (see Enum
(attrnumbe As Integer, HAPAttributeNumber for possible values).
[force])
HasAttribute Property Yes Checks whether attribute is defined for attrnum (see
(attrnumber As HAPAttributeNumber for possible values).
Integer) As Boolean
SetValueAndUnit Sub Store the value attribute and the Unit of Measurement
(Value, unitcol As attribute of the object simultaneously.
Integer, [force])
SetValueUnitAndBasis Sub Store the value attribute, the Unit of Measurement
(Value, unitcol As attribute, and the basis for the object simultaneously.
Integer, basis As
String, [force])
Value([force]) Property Get the value attribute of the object.
ValueForUnit(unitrow Property Gets the value in the specified units.
As Integer, unitcol As
Integer)
ValueType As Integer Property Yes Get type of value attribute:
0=not defined
1=int
2=real
3=string
4=node
5=memory block
Helper Methods
Name and Arguments Member Read-only Description
Type
FindNode(path As Function Navigate to a different node.
String) As IHNode
Name([force]) As Property Returns the name of the object (force argument is
String unused).
UnitString As String Property Yes Returns the unit of measurement symbol of the node
value as a string.
20-24 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
Methods Used to Manipulate the Data
Name and Arguments Member Read-only Description
Type
Clear() Sub Clear contents of the node.
Delete() Sub Delete element.
RemoveAll() Sub Remove all elements.
Members of Class
IHNodeCol
Standard VB Properties
Name and Arguments Member Type Read- Description
only
Application As Happ Property Yes Returns the application of the object.
Parent As Happ Property Yes Returns the creator of the object.
Main Navigation Method
Name and Arguments Member Read-only Description
Type
Item(loc_or_name, Property Yes Given a set of indices or names, returns an element in
[loc_or_name2], the collection
[loc_or_name3],
[loc_or_name4],
[loc_or_name5]) As
IHNode
Principal Data Manipulation Methods
Name and Arguments Member Read-only Description
Type
Add([loc_or_name], Function Creates and adds a child of type:
[loc_or_name2], 1 = scalar
[loc_or_name3], 4 = list
[loc_or_name4], 5 = named list, with value type of:
[loc_or_name5]) As 0=not defined
IHNode 1=int
2=real
3=string
4=node
5=memory block.
Insert(element As Sub Inserts an element into collection.
IHNode,
[loc_or_name],
[loc_or_name2],
[loc_or_name3],
[loc_or_name4],
[loc_or_name5])
InsertRow(dimension Sub Inserts a new row at location in the specified dimension,
As Long, location As dim.
Long)
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-25
Name and Arguments Member Read-only Description
Type
Remove(loc_or_name, Function Removes an element.
[loc_or_name2],
[loc_or_name3],
[loc_or_name4],
[loc_or_name5]) As
IHNode
RemoveRow Sub Removes a row at location in the specified dimension,
(dimension As Long, dim.
location As Long)
Important Properties About the Data
Name and Arguments Member Read-only Description
Type
Dimension As Long Property Yes Returns the number of dimensions in the directory.
Label(dimension As Property Returns the row label for the specified row location in
Long, location As the specified dimension (force argument is unused).
Long, [force]) As
String
LabelLocation(Label Property Yes Returns the location, or row number, of the label along
As String, dimension the dimension, dim.
As Long) As Long
RowCount(dimension Property Yes Returns the number of elements in the dimension.
As Long) As Long
Other Properties About the Data
Name and Arguments Member Type Read- Description
only
Count Property Yes Returns total number of object slots in collection.
DimensionName Property Yes Gets a display name for the given dimension for variable
(dimension As Long) or table.
As String
LabelNode(dimension Property Yes Returns a node for manipulating the label.
As Long, location As
Long, [Label]) As
IHNode
IsNamedDimension Property Yes Returns whether the rows for this dimension of the
([dim]) As Boolean collection are named.
ItemName(location As Property Returns name or row name for element at location (force
Long, [dim], [force]) argument is unused).
As String
LabelAttribute Property Returns the value of an attribute for the label in the row,
(dimension As Long, location, along the dimension, dim, for attrnum (see
location As Long, HAPAttributeNumber for possible values), (force
attrnum As Integer, argument is unused).
[force])
20-26 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
Name and Arguments Member Type Read- Description
only
LabelAttributeType Property Yes Returns the type of an attribute for the label in the row,
(dimension As Long, location, along the dimension, dim, for attrnum (see
location As Long, HAPAttributeNumber for possible values).
attrnum As Integer) As
Integer
Members of Class
IHAPEngine
Basic Run Operations
Name and Arguments Member Read-only Description
Type
MoveTo(object_type Sub Move current calculation step to object or begining of
As sequence.
IAP_MOVETO_TYPE,
[object_id])
Reinit([object_type], Sub Reinitialize all or portion of calculation (if object_type is
[object_id]) used it must be an IAP_REINIT_TYPE.)
Run() Sub Run calculation problem.
Stop() Sub Stop calculation run.
Manipulate Stop Points
Name and Arguments Member Read-only Description
Type
AddStopPoint(type As Sub Add a stop point, before_or_after:
IAP_STOPPOINT_TYPE, 1 = before
object_id As String, 2 = after.
before_or_after As
Long)
ClearStopPoints() Sub Clear all stop points.
DeleteStopPoint(index Sub Delete stop point based on 1-based index.
As Long)
StopPointCount As Property Yes How many stop points are set?
Long
GetStopPoint(index As Sub Retrieve information about a stop point, index: 1-based
Long, type As index of stop point before_or_after: 1 = before , 2 =
IAP_STOPPOINT_TYPE, after.
object_id As String,
before_or_after As
Long)
Aspen Properties 11.1 User Guide Using the Aspen Properties ActiveX Automation Server • 20-27
Manipulate the Client-Server Communications
Name and Arguments Member Read-only Description
Type
Host(host_type As Function Connect to host specified by host_type (0-based index of
Long, [node], available host types).
[username],
[password],
[working_directory])
As Boolean
HostCount As Long Property Yes Returns the number of host types available to connect to.
HostDescription Function Returns a description for the host type specifed by the
(host_type As Long) host_type index (0-based).
As String
Miscellaneous Option Settings
Name and Arguments Member Read-only Description
Type
EngineFilesSettings Property Retrieve setting for engine files.
(file As
IAP_ENGINEFILES)
As String
OptionSettings(type As Property Retrieve setting for calculation run options.
IAP_RUN_OPTION)
As Boolean
20-28 • Using the Aspen Properties ActiveX Automation Server Aspen Properties 11.1 User Guide
C H A P T E R 21
Overview
This chapter describes how to install and use the Aspen Properties
Excel Calculator for your property calculation needs from
Microsoft Excel™.
Topics covered include:
• About Aspen Properties Excel Calculator
• Adding Aspen Properties Excel Calculator to the Excel
Environment
• Using Aspen Properties Excel Calculator
• Aspen Properties Excel Functions
• Flash Calculations
• Example of Using the Aspen Properties Excel Calculator
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-1
components and mixtures, as well as to perform phase equilibrium
calculations.
21-2 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
Setting a Property A Property package is a complete, reusable, validated collection of
Package chemical components, property methods, property constants and
model parameters required for property calculations. You can
either use one of the existing property packages or create a new
package using Aspen Properties User Interface. Property packages
are saved in the Aspen Properties backup format (*.aprbkp).
Selecting a Property To select a property package:
Package
1 Select any cell on the worksheet. Go to the Aspen Properties
Tool bar menu and choose the Select Property Package option.
Choose either Aspen Properties (for the package saved as
*.aprbkp file) or CAPE-OPEN (for the package saved as
CAPE-OPEN compliant property package) from the list of
types of Property Packages available.
If you select CAPE-OPEN, the following property packages
appear. The available CAPE-OPEN property packages are
those saved in the Cape-Open Property Packages directory
where the Aspen Properties Engine was installed (e.g.,
C:\Program Files\AspenTech\Aspen Properties
11.1\Engine\CapeOpen Property Packages).
2 Choose the desired property package from the list then click
the OK button.
If you select Aspen Properties, the Open dialog box appears.
Type *.aprbkp in the File name field to show all Aspen Properties
backup files. You can then locate the property packages that have
been configured and saved as the Aspen Properties backup files.
Click open to select the property package.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-3
Creating a New Property To create a new property package, use the Aspen Properties User
Package Interface. You can start Aspen Properties in the following ways:
• From the Aspen Properties Toolbar menu of Excel, select
Launch Aspen Properties.
• From the Start menu of the desktop, select Programs,
AspenTech, Aspen Engineering Suite, Aspen Properties 11.1
and then Aspen Properties User Interface.
Use the Aspen Properties User Interface to select components and
property methods, enter property parameters and data, perform
analysis to verify the property data and methods, or estimate any
missing parameters. When you are satisfied that you can
adequately represent the system of interest, save the property
package by using File/Save As then select the Aspen Properties
backup (*.aprbkp) format.
Selecting To select components from a selected property package for use in
Components the Excel property functions:
1 Select a range of cells depending on the number of components
required. Go to the Aspen Properties/Select Components menu.
A list of components available in the property package appears.
2 Select the desired components. Click OK.
21-4 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
Selecting Units All input to and output from Aspen Properties functions are in SI
units. However, Aspen Properties Excel Calculator provides:
1 Utility to specify a units label for a value you enter. For
example, you can specify that the value has the temperature
units of C.
2 A function to convert a value from one units to another units.
To select units:
1 Select a cell and go to the Aspen Properties/Select Units menu.
A list of available units appears.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-5
Alternatively, use right click on mouse to bring up a window
and select Specify Units or Convert Units. Temperature and
pressure units have been predefined for quick access. This will
tag the cell for units conversion (see the note on
UnitsConversion in the Using Properties Functions section).
2 Select a units type, then the units label. Click OK
The selected units label will be displayed in the current cell.
You can choose another cell and select the desired units. To
convert units, you need to use the UnitsConversion function
described in the Using Properties Functions section. Note that
the units label you specify is not associated with any value in
another cell.
You can also tag a value entered in a cell with units. The units of
measure appears as the comment for the value. To assign units to a
value:
1 Select the cell where the value has been entered. Use the right
mouse button to bring up the option menu. Select Specity
units. The Select Units dialog box appears.
2 Select a Units type, then units label. Click OK.
The selected units label appears as comments for the value.
For convenience, the right mouse menu contains options for
temperature and pressure units specification and conversion.
Using Properties Aspen Properties provides functions for performing property and
Functions flash calculations as well as units conversion. These functions can
be categorized in two types, depending on their return value. Scalar
functions return a single value, whereas Array functions return
multiple values in the form of an array.
Aspen Properties functions work in the same way as the Excel
built-in functions, such as the SUM, AVERAGE, STDEV, MAX,
etc.
To use a property function, highlight the desired cell (or multiple
cells for an array function), click on the button on the toolbar,
then follow the instructions for the functions wizard.
Scalar Functions These functions return a single property value.
1 Select a single cell and go to the Insert/Function menu or use
the Function button on the toolbar.
A Paste Function window appears.
21-6 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
2 Select Aspen Properties in the Function category list and a
desired scalar Function name from the list available (A
description of available functions is given below). Once a
function is selected, click OK.
A new window appears with a list of function arguments to be
filled. Fill the arguments by selecting the cells on the
spreadsheet containing the corresponding information, e.g.
Temperature, Pressure, ComponentList, or you can enter the
value directly.
Make sure you complete all the arguments. Use the scroll bar
to see more arguments. Due to the limitation of the Excel
function dialog, the dialog box cannot be expanded to show all
the required arguments. Click OK.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-7
Array Functions These functions return multiple values, depending on the number
of components.
• Select a horizontal range of cells and go to the Insert/Function
menu or use the Function button on the toolbar. A Paste
Function window appears. Note that array functions return a
horizontal row of results; a column range will not work.
• Select Aspen Properties in the Function Category list and a
desired array Function name from the list available (A
description of available functions is given below).
• Fill the arguments by selecting the cells on the spreadsheet
containing the corresponding information, e.g. Temperature,
Pressure, ComponentList, or you can enter the value directly.
Make sure you fill in all the arguments.
• While holding down Ctrl + Shift keys, click OK.
21-8 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
Arguments for the functions are listed below:
Name Type Description
ComponentList Array List of components for which
properties are to be calculated.
MoleFraction Array Composition of the mixture
(mole fraction of each
component). Should be in the
same order as ComponentList.
PropertyName Scalar Property to be calculated. Use
the Aspen Properties, Select
Properties menu to obtain a list
of available properties.
Temperature Scalar Temperature (K)
Pressure Scalar Pressure (N/sqm)
MolarEnthalpy Scalar Molar enthalpy (J/kmol)
Phase Scalar Phase identifier. L for liquid, V
for vapor.
VaporFraction Scalar Vapor fraction (a number
between 0 and 1)
FlashType Scalar Type of flash calculation (see
Flash Calculations Section))
From_Units Scalar Units from which conversion is
to be performed
To_Units Scalar Units to which conversion is to
be performed.
From_Value Scalar Numerical value which needs to
be converted
PureComponent This function returns pure component constant values such as
Constant molecular weight and normal boiling point. This function returns
multiple values, with one value for each component specified. Use
Shift-Ctrl while defining this function for multiple components.
You must select the same number of cells as the number of
components. Return values are in SI units.
Syntax:
PureComponentConstant(ComponentList, Property Name)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture. Can be a single value
or an array.
Property Name A string specifying name of property to be
calculated. Must be a single value. Valid property
names are displayed through Aspen Property/Select
properties menu item.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-9
VaporPressure This function returns vapor pressure of pure component at a given
temperature. Temperature must be specified in Kelvin. This
function returns multiple values, with each value representing
vapor pressure of a component specified in the list. Use Shift-Ctrl
while defining this function for multiple components. You must
select the same number of cells as the number of components.
Syntax:
VaporPressure(ComponentList,Temperature)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture. Can be a single value
or an array.
Temperature A real number specifying temperature in Kelvin.
21-10 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
This function returns the pure component property for the specified
PureProperty
components at given temperature and pressure. Temperature must
be specified in Kelvin and pressure in N/sqm. This function returns
multiple values, with one property value for each component
specified. Use Shift+Ctrl while defining this function for multiple
components. Return values are in SI units.
Syntax:
PureProperty(ComponentList, PropertyName, Temperature, Pressure,
Phase)
Arguments:
ComponentList List of strings specifying component IDs for
which properties are to be calculated. Can be a
single value for one component or an array for
multicomponents.
PropertyName A string specifying name of property to be
calculated. Must be a single value. Valid property
names are displayed through the Aspen
Properties/Select properties menu.
Temperature A real number specifying temperature in Kelvin.
Pressure A real number specifying pressure in N/sqm.
Phase A string specifying the phase for the property.
Valid phases are L, V and S.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-11
This function returns property for the specified mixture at the
MixtureProperty
given temperature, pressure and mole fractions. Temperature must
be specified in Kelvin and pressure in N/sqm. This function returns
a single property value( molar volume, molar enthalpy etc.) as well
as multiple values for the property of a component in the mixture(
fugacity coefficient, activity coefficient etc. ). Use Shift+Ctrl while
defining this function for multiple values. Return values are in SI
units.
Syntax:
MixtureProperty(ComponentList, MoleFraction, PropertyName,
Temperature, Pressure, Phase)
Arguments:
ComponentList List of strings specifying component
IDs for components in the mixture. Can
be a single value or an array.
MoleFraction Mole fractions of components in the
mixture. Must be in the same order as
ComponentList. Total of mole fraction
values must be 1.
PropertyName A string specifying name of property to
be calculated. Must be a single value.
Valid property names are displayed
through Aspen Property/Select
properties menu item.
Temperature A real number specifying temperature in
Kelvin.
Pressure A real number specifying pressure in
N/m2.
Phase A string specifying the phase for the
property. Valid phases are L, V and S.
(Note: Phase is case sensitive.)
21-12 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
Flash Calculations
There are several functions available for flash (phase equilibrium)
calculations. Aspen Properties supports vapor-liquid (2 phase) as
well as vapor-liquid-liquid (3-phase) equilibrium calculations.
Valid types for flash are:
FlashType Descriptions Required Return Values
Specificatio
ns
PVFlash Pressure-Vapor fraction P, V T, H, X, Y
vapor-liquid flash
PHFlash Pressure-Enthalpy vapor- P, H T, V, X, Y
liquid flash
TPFlash Temperature-Pressure T,P V, H, X, Y
vapor-liquid flash
TVFlash Temperature-Vapor fraction T, V P, H, X, Y
vapor-liquid flash
THFlash Temperature-Enthalpy T, H P, V, X, Y
vapor-liquid flash
PVFlash3 Pressure-Vapor fraction P, V T, H, BETA, X:1,
vapor-liquid-liquid flash X:2, Y
PHFlash3 Pressure-Enthalpy vapor- P, H T, V, BETA, X:1,
liquid-liquid flash X:2, Y
TPFlash3 Temperature-Pressure T,P V, H, BETA, X:1,
vapor-liquid-liquid flash X:2, Y
TVFlash3 Temperature-Vapor fraction T, V P, H, BETA, X:1,
vapor-liquid-liquid flash X:2, Y
THFlash3 Temperature-Enthalpy T, H P, V, BETA, X:1,
vapor-liquid-liquid flash X:2, Y
T, P, H, BETA, and V are scalar return values
X, X:1, X:2, and Y are arrays with length equal to the number of
components specified in ComponentList.
The first return value listed for each flash type is the default return
value.
All input and return values are in SI units. You can use the Units
Conversion function to convert the input from other units and to
convert the return values to the desired units.
PVFlash This function performs vapor-liquid flash calculations for a given
mixture at specified pressure and vapor fraction. Pressure must be
specified in N/sqm. Depending on the return value requested, this
function returns single or multiple values. If temperature (T) or
molar enthalpy (H) is requested, a single value is returned. If liquid
(X) or vapor (Y) composition is requested, multiple values are
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-13
returned. Use Shift+Ctrl while defining this function to request X
or Y. Return values are in SI units.
Syntax:
PVFlash(ComponentList, MoleFraction, Pressure, VaporFraction,
Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Pressure A real number specifying pressure in N/sqm.
VaporFraction A real number between 0 and 1, specifying the
molar vapor fraction.
Returns A string specifying the variable to be returned.
Valid values are T, H, X and Y representing
temperature, molar enthalpy and liquid and vapor
mole fractions, respectively.
21-14 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
This function performs vapor-liquid flash calculations for a given
PHFlash
mixture at specified pressure and molar enthalpy. Pressure must be
specified in N/sqm. Molar enthalpy must be specified in J/kmol.
Depending on the return value requested, this function returns
single or multiple values. If temperature (T) or vapor fraction (V)
is requested, a single value is returned. If liquid (X) or vapor (Y)
composition is requested, multiple values are returned. Use
Shift+Ctrl while defining this function to request X or Y. Return
values are in SI units.
Syntax:
PHFlash(ComponentList, MoleFraction, Pressure, MolarEnthalpy,
Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Pressure A real number specifying pressure in N/sqm.
Molar enthalpy A real number specifying the molar enthalpy in
J/kmol.
Returns A string specifying the variable to be returned.
Valid values are T, V, X and Y representing
temperature, vapor fraction and liquid and vapor
mole fractions, respectively.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-15
This function performs vapor-liquid flash calculations for a given
TPFlash
mixture at specified temperature and pressure. Temperature must
be specified in Kelvin and pressure must be specified in N/sqm.
Depending on the return value requested, this function returns
single or multiple values. If vapor fraction (V) or molar enthalpy
(H) is requested, a single value is returned. If liquid (X) or vapor
(Y) composition is requested, multiple values are returned. Use
Shift+Ctrl while defining this function to request X or Y. Return
values are in SI units.
Syntax:
TPFlash(ComponentList, MoleFraction, Temperature, Pressure, Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Temperature A real number specifying temperature in Kelvin.
Pressure A real number specifying pressure in N/m2.
Returns A string specifying the variable to be returned.
Valid values are V, H, X and Y representing vapor
fraction, molar enthalpy and liquid and vapor mole
fractions, respectively.
21-16 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
This function performs vapor-liquid flash calculations for a given
TVFlash
mixture at specified temperature and vapor fraction. Temperature
must be specified in Kelvin. Depending on the return value
requested, this function returns single or multiple values. If
pressure (P) or molar enthalpy (H) is requested, a single value is
returned. If liquid (X) or vapor (Y) composition is requested,
multiple values are returned. Use Shift+Ctrl while defining this
function to request X or Y. Return values are in SI units.
Syntax:
TVFlash(ComponentList, MoleFraction, Temperature, VaporFraction,
Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Temperature A real number specifying temperature in Kelvin.
VaporFraction A real number between 0 and 1, specifying the
molar vapor fraction.
Returns A string specifying the variable to be returned.
Valid values are P, H, X and Y representing
pressure, molar enthalpy and liquid and vapor
mole fractions, respectively.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-17
This function performs vapor-liquid flash calculations for a given
THFlash
mixture at specified temperature and molar enthalpy. Temperature
must be specified in Kelvin. Molar enthalpy must be specified in
J/kmol. Depending on the return value requested, this function
returns single or multiple values. If pressure (P) or vapor fraction
(V) is requested, a single value is returned. If liquid (X) or vapor
(Y) composition is requested, multiple values are returned. Use
Shift+Ctrl while defining this function to request X or Y. Return
values are in SI units.
Syntax:
THFlash(ComponentList, MoleFraction, Temperature, MolarEnthalpy,
Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Temperature A real number specifying temperature in Kelvin.
Molar Enthalpy A real number specifying the molar enthalpy in
J/kmol.
Returns A string specifying the variable to be returned.
Valid values are P, V, X and Y representing
temperature, vapor fraction and liquid and vapor
mole fractions, respectively.
21-18 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
This function performs vapor-liquid-liquid flash calculations for a
PVFlash3
given mixture at specified pressure and vapor fraction. Pressure
must be specified in N/sqm. Depending on the return value
requested, this function returns single or multiple values. If
temperature (T), molar enthalpy (H), or molar fraction liquid 1
(BETA) is requested, a single value is returned. If liquid 1 (X:1),
liquid 2 (X:2) or vapor (Y) composition is requested, multiple
values are returned. Use Shift+Ctrl while defining this function to
request X:1, X:2 or Y. Return values are in SI units.
Syntax:
PVFlash3(ComponentList, MoleFraction, Pressure, VaporFraction,
Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Pressure A real number specifying pressure in N/sqm.
VaporFraction A real number between 0 and 1, specifying the
molar vapor fraction.
Returns A string specifying the variable to be returned.
Valid values are T, H, BETA, X:1, X:2 and Y
representing temperature, molar enthalpy, molar
fraction liquid 1, and liquid 1, liquid 2 and vapor
mole fractions, respectively.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-19
This function performs vapor-liquid-liquid flash calculations for a
PHFlash3
given mixture at specified pressure and molar enthalpy. Pressure
must be specified in N/sqm. Molar enthalpy must be specified in
J/kmol. Depending on the return value requested, this function
returns single or multiple values. If temperature (T), vapor fraction
(V), or molar fraction liquid 1 (BETA) is requested, a single value
is returned. If liquid 1 (X:1), liquid 2 (X:2) or vapor (Y)
composition is requested, multiple values are returned. Use
Shift+Ctrl while defining this function to request X:1, X:2 or Y.
Return values are in SI units.
Syntax:
PHFlash3(ComponentList, MoleFraction, Pressure, MolarEnthalpy,
Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Pressure A real number specifying pressure in N/sqm.
Molar enthalpy A real number specifying the molar enthalpy in
J/kmol.
Returns A string specifying the variable to be returned.
Valid values are T, V, BETA, X:1, X:2, and Y
representing temperature, vapor fraction, molar
fraction liquid 1 and liquid 1, liquid 2 and vapor
mole fractions, respectively.
21-20 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
This function performs vapor-liquid-liquid flash calculations for a
TPFlash3
given mixture at specified temperature and pressure. Temperature
must be specified in Kelvin and pressure must be specified in
N/sqm. Depending on the return value requested, this function
returns single or multiple values. If vapor fraction (V), molar
enthalpy (H), or molar fraction liquid 1 (BETA) is requested, a
single value is returned. If liquid 1 (X:1), liquid 2 (X:2) or vapor
(Y) composition is requested, multiple values are returned. Use
Shift+Ctrl while defining this function to request X:1, X:2 or Y.
Return values are in SI units.
Syntax:
TPFlash3(ComponentList, MoleFraction, Temperature, Pressure,
Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Temperature A real number specifying temperature in Kelvin.
Pressure A real number specifying pressure in N/m2.
Returns A string specifying the variable to be returned.
Valid values are V, H, BETA, X:1, X:2, and Y
representing vapor fraction, molar enthalpy, molar
fraction liquid 1 and liquid 1, liquid 2 and vapor
mole fractions, respectively.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-21
This function performs vapor-liquid-liquid flash calculations for a
TVFlash3
given mixture at specified temperature and vapor fraction.
Temperature must be specified in Kelvin. Depending on the return
value requested, this function returns single or multiple values. If
pressure (P), molar enthalpy (H), or molar fraction liquid 1
(BETA) is requested, a single value is returned. If liquid 1 (X:1),
liquid 2 (X:2) or vapor (Y) composition is requested, multiple
values are returned. Use Shift+Ctrl while defining this function to
request X:1, X:2 or Y. Return values are in SI units.
Syntax:
TVFlash3(ComponentList, MoleFraction, Temperature, VaporFraction,
Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Temperature A real number specifying temperature in Kelvin.
VaporFraction A real number between 0 and 1, specifying the
molar vapor fraction.
Returns A string specifying the variable to be returned.
Valid values are P, H, BETA, X:1, X:2, and Y
representing pressure, molar enthalpy, molar
fraction liquid 1 and liquid 1, liquid 2 and vapor
mole fractions, respectively.
21-22 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
This function performs vapor-liquid-liquid flash calculations for a
THFlash3
given mixture at specified temperature and molar enthalpy.
Temperature must be specified in Kelvin. Molar enthalpy must be
specified in J/kmol. Depending on the return value requested, this
function returns single or multiple values. If pressure (P), vapor
fraction (V), or molar fraction liquid 1 (BETA) is requested, a
single value is returned. If liquid 1 (X:1), liquid 2 (X:2) or vapor
(Y) composition is requested, multiple values are returned. Use
Shift+Ctrl while defining this function to request X:1, X:2 or Y.
Return values are in SI units.
Syntax:
THFlash3(ComponentList, MoleFraction, Temperature, MolarEnthalpy,
Returns)
Arguments:
ComponentList List of strings specifying component IDs for
components in the mixture.
MoleFraction Mole fractions of components in the mixture.
Must be in the same order as ComponentList.
Total of mole fraction values must be 1.
Temperature A real number specifying temperature in Kelvin.
Molar Enthalpy A real number specifying the molar enthalpy in
J/kmol.
Returns A string specifying the variable to be returned.
Valid values are P, V, BETA, X:1, X:2, and Y
representing temperature, vapor fraction, molar
fraction liquid 1 and liquid 1, liquid 2 and vapor
mole fractions, respectively.
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-23
This function performs Units Conversion from a given unit to a
UnitsConversion
desired unit, for example, you can use this function to convert
temperature from K to °C.
Syntax:
UnitsConversion (From_Units, To_Units, From_Value)
For example, UnitsConversion("K","C",300)
Arguments:
From_Units Name of Input Units.
To_Units Name of Output Units.
From_Value A real number in input units which need to be
converted.
Returns A converted number in output units.
21-24 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
Example of Using the Aspen
Properties Excel Calculator
Aspen Properties 11.1 User Guide Aspen Properties Excel Calculator • 21-25
21-26 • Aspen Properties Excel Calculator Aspen Properties 11.1 User Guide
Index
website: 3-4
A AspenTech: 3-4, 3-5
Assays
Accounting report information: 4-4
creating blends: 18-8
Accuracy
creating: 18-3
evaluating of parameters: 17-14
Assays: 18-3, 18-8
Accuracy: 17-14
Atom numbers: 16-7
Active links
Attributes
saving files: 19-18
changing plot: 10-7
Active links: 19-11, 19-18
meta-data: 20-10
ActiveX automation
multi-dimensioned variables: 20-11
using: 20-1
node: 20-9
ActiveX automation: 20-1
value related: 20-10
Activity coefficient models
variable nodes: 20-11
binary parameters: 7-6
Attributes: 10-7, 20-9, 20-10, 20-11
Activity coefficient models: 7-6
AttributeType: 20-9
ADA/PCS
AttributeValue: 20-9
about: 18-2
Automation
ADA/PCS: 18-2
about: 20-2
Adding
accessing column temperature profiles:
components to lists: 5-14
20-16
text: 10-6
clients: 20-21
Adding: 5-14, 10-6
controlling calculation: 20-21
Air separation
error handling: 20-2
template: 2-12
example: 20-19
Air separation: 2-12
non scalar data: 20-14
Analysis
tree structure: 20-7
light ends: 18-5
using: 20-2
Analysis: 18-5
Automation server
Annotations
setting up: 20-2
adding to plots: 10-6
using: 20-1, 20-2
Annotations: 10-6
Automation server: 20-1, 20-2
Aspen Properties
Automation: 20-2, 20-7, 20-14, 20-16, 20-
automation server: 20-1
19, 20-21
document files: 11-5
Axis mapping: 10-9
Aspen Properties: 11-5, 20-1
AspenTech
B
homepage: 3-4
improving our help: 3-5 Backup files
M O
Menus Object Browser: 20-3
help on: 3-2 Object Manager: 1-8
Menus: 3-2 Objects
Messages collection: 20-7
diagnostic: 4-5 error handling: 20-2
progress: 4-5 IHapp: 20-3, 20-4
setting levels: 4-5 tree structure: 20-7