TDM User Guide
TDM User Guide
3 User Guide
© 2018 AVEVA Group plc and its subsidiaries. All rights reserved.
No part of this documentation shall be reproduced, stored in a ret rieval system, or transmitted by any
means, electronic, mechanical, photocopying, rec ording, or otherwise, without the prior written
permission of AVEVA. No liability is assumed with respect to the use of the information contained herein.
Although precaution has been taken in the preparation of this documentation, AVE VA assumes no
responsibility for errors or omissions. The information in this documentation is subject to change without
notice and does not represent a commitment on the part of AVEVA. The soft ware described in this
documentation is furnished under a lice nse agreement. This soft ware may be used or copied only in
accordance with the terms of such license agreement.
ArchestrA, Aquis, Avantis, DYNS IM, eDNA, EYESIM, InBatch, InduSoft, InStep, IntelaTrac, InTouch,
PIPEPHASE, PRiSM, PRO/II, PROV IS ION, ROMeo, SIM4ME, SimCentral, SimSci, Skelta,
SmartGlance, Spiral Software, Termis, WindowMaker, WindowViewer, and Wonderware are trademarks
of AVEVA and/or its subsidiaries. An extensive listing of AVEVA trademarks can be found at:
https://sw.aveva.com/legal. All other brands may be trademarks of their respective owners.
Publication date: 10/4/2018
Contact Information
AVEVA Group plc
High Cross
Madingley Road
Cambridge
CB3 OHB. UK
https://sw.aveva.com/
For information on how to cont act sales, customer training, and technical support, see
https://sw.aveva.com/contact.
Thermo Data Manager 4.3 User Guide
Contents
Contact Information.................................................................................................................. 3
Introduction to Thermo Data Manager .................................................................................. 9
Overview .................................................................................................................................. 9
About This Manual .................................................................................................................... 9
Who Should Use TDM? ............................................................................................................. 9
5
Thermo Data Manager 4.3 User Guide Contents
Chapter 6 Plots..................................................................................................................... 49
Overview ................................................................................................................................ 49
Plot a Single Component Property ........................................................................................... 49
Change the Temperature Range .............................................................................................. 50
Add a Component to a Plot ...................................................................................................... 50
View Plots for Two or More Properties ...................................................................................... 51
Estimate Property Values ........................................................................................................ 51
Export the Plot Values to Excel ................................................................................................ 52
6
Contents Thermo Data Manager 4.3 User Guide
Chapter 8 Regress............................................................................................................... 67
Overview ................................................................................................................................ 67
Open the Regress Utility.......................................................................................................... 68
Create a Regress Case ........................................................................................................... 69
Enter Data for a Regress Case ................................................................................................ 71
Change Units of Measure for Regress Case ............................................................................. 72
Data Set Dialog....................................................................................................................... 75
Data Setup ....................................................................................................................... 75
Data Table ........................................................................................................................ 76
Table Generator ................................................................................................................ 78
Table Generation Functionality ..................................................................................... 79
Calculation Option Dialog ........................................................................................................ 80
Fugacity Approach ............................................................................................................ 82
VLLE and LLE Cases ........................................................................................................ 82
KValue Approach .............................................................................................................. 83
Solver Setup Dialog ................................................................................................................ 83
Scenario Dialog ...................................................................................................................... 84
Scenario Setup ....................................................................................................................... 85
VLE Case ............................................................................................................................... 85
VLLE Case ............................................................................................................................. 86
LLE Cas e ............................................................................................................................... 87
Regression ............................................................................................................................. 88
Open Regression File ........................................................................................................ 90
Import Data in Regression ................................................................................................. 91
NONLIB Card Utility ................................................................................................................ 91
Import a Keyword File Containing NONLIB Cards ..................................................................... 94
Other Features of the NONLIB Card Utility................................................................................ 94
7
Thermo Data Manager 4.3 User Guide Contents
8
Thermo Data Manager 4.3 User Guide
9
Thermo Data Manager 4.3 User Guide Introduction to Thermo Data Manager
The user wants to add components not available in the system libraries.
10
Thermo Data Manager 4.3 User Guide
C HAPTER 1
User Interface
In This Chapter
Overview...................................................................................................................................... 11
Color Status Indication .................................................................................................................. 11
Interface....................................................................................................................................... 12
Overview
The TDM GUI allows the user to perform various operations for a more efficient housek eeping of the file
level operations, as well as for logical section level operations within the files. These activities include,
but are not limited to, the abilities to:
Create new user libraries
Open existing libraries
Display databanks in libraries
Delet e databanks
Display components in databanks
View and modify component data of a user-defined databank.
11
Thermo Data Manager 4.3 User Guide User Interface
Interface
Figure 1 shows a typical TDM GUI, with Unary Databanks selected, and the five tabs appropriate to
Unary databanks visible on the right side of the screen. If the user had selected Binary databanks, the
three tabs appropriat e to Binary dat abanks would be visible instead.
Databank Browser
The Databank Browser lets the user select a databank type along with the respective databanks. The
types of databanks available are Unary and Binary. Each dat abank type is a collection of databanks.
For example, the Unary databank type has Pure Components, Alpha, Rackett, and Costald
databanks.
Library Browser
The Library Browser displays the available system and its user libraries along with the databanks in the
system and their user libraries. System libraries appear first under t he Registered Libraries branch, and
then user libraries appear in the same branch. Any third -party libraries appear in the Reference
Libraries branch.
Component Viewer
The Component Viewer displays the components available in the selected databank for the particular
databank type. The user can open the databank from the Library Browser.
Component Filter
The Component Filter lets the user search for the desired component by using the component’s Name,
its Alias, or its Formula.
Status Bar
The Status Bar displays the location of the system or user library and the selected databank. It also
displays the name of the component selected in the component viewer.
12
User Interface Thermo Data Manager 4.3 User Guide
View Option
The View Option lets the user view only the checked components in user or system libraries.
Tool Tip
The mouse cursor, when it hovers over the system and user libraries, displays the Read and Write
permissions available for the library. It also shows the available databank types and databanks in the
library.
Property Form
When the user selects either a pure component databank or a binary databank, TDM displays data in the
Property Form, as shown on the right side of Figure 1. The Property Form shows properties and data for
both selected and checked components. The tabs offe r controls with which the user can review and
modify the data of pure components, or can review and modify the binary interaction parameters for
binary databanks.
The five tabs available for Unary Databanks are Ba sic, TempDep, Fixed, UNIFAC and Custom.
The three tabs available for Binary Databanks are Data, Summary and QuickEntry.
The tabs of the Property Form are available only for components in Registered Libraries. The tabs and
their controls are dis abled for Reference Libraries.
13
Thermo Data Manager 4.3 User Guide User Interface
Binary Databanks
The Binary Component Databanks have several tabs of controls that appear on the right -hand side of the
window when the us er selects Binary Dat abanks.
Data Tab
The Data tab shows the data for component j with respect to the reference component i.
Summary Tab
The Summary tab displays the summary of interaction paramet ers for all the checked components.
QuickEntry Tab
On the QuickEntry tab, the user can add a new component pair to a binary dat abank and edit its data.
The tab also displays the form of the equation. For ex ample, if the binary dat abank type is NRTL, the
Equation Format control displays the number of parameters for the corres ponding databank type.
Note: The user may not directly modify the data in system libraries. However, the user can modify data
after copying or adding it to a user library.
14
Thermo Data Manager 4.3 User Guide
C HAPTER 2
TDM Basics
This section explains the steps necessary to start working with the Thermo Dat a Manager application.
In This Chapter
Start TDM .................................................................................................................................... 15
Open a Saved User Library ........................................................................................................... 15
Explore a Library .......................................................................................................................... 16
Unregister Library ......................................................................................................................... 17
Select Databanks ......................................................................................................................... 18
Select Components....................................................................................................................... 18
Start TDM
There are several ways to start TDM from wit hin a SIMS CI application:
1. The user clicks the button on the application toolbar to open the Components and
Thermodynamics GUI window.
2. On the Library tab, the user can click the Manage Component Data button to open the TDM GUI
window.
3. On the Methods tab, the user can click the Manage Binary Data button to open the TDM GUI
window, set to view, create, or edit the binary interaction parameters.
4. The user can click the button on the toolbar of the application to open the default TDM GUI
without having to go through the Components and Thermodynamics GUI window,
The default databank type is Unary and the default databank is Pure Components. The default system
library and its databanks appear highlighted in green.
15
Thermo Data Manager 4.3 User Guide TDM Basics
2. TDM opens a Windows Explorer window that lists all the user libraries in the default location, as
shown in Figure 2. To narrow the search, the user can select the file type at the bottom of the
window. User libraries have the exte nsion .lb1.
3. The user selects the desired library, and clicks the Open button.
4. The user can view, import, and possibly modify the library, depending upon the file system security
and the given library’s password-protected access level.
Explore a Library
The user can see a list of all the databanks in a library.
1. In the Library Browser, the user hovers the mouse cursor over the library name.
16
TDM Basics Thermo Data Manager 4.3 User Guide
2. TDM displays a pop up list that contains the information about the databanks and their types for that
library, as shown in Figure 3.
3. The list closes when the us er moves the mouse cursor away.
Unregister Library
The user can unregister an opened user library or reference library from the Library Browser.
1. The user selects the open Library from the Library Tree displayed in the Library Browser.
2. The user right-clicks and selects the Unregister Library menu item, as shown in Figure 4; or from
the File menu, the user selects the Unregi ster menu item.
Note: When the user closes a library, it disappears from the list of libraries, but TDM does not
physically delete it from the disk. The user can reopen a closed library later. To delete a library
permanently, the user must first close it within TDM, and then delete it through Windows Explorer.
Select Databanks
To run a simulation, the user can choose Unary (Pure components, Alpha, COS TALD, Rackett, BWRS
Pure, and Virial), Binary (various Equation of State methods), Azeo, and Henry’s databank types. These
databank types contain pure component data and binary inte raction parameters data.
1. The user selects the desired databank type.
2. The user selects the databank from the drop -down list. Each databank type has a set of databanks.
3. The library form displays the databanks for the selected databank type, in all the opened libraries.
Select Components
1. The user selects and clicks the databank in the opened libraries listed in the library browser. The
components for the selected databank appear in the component viewer form.
2. The us er checks the desired components to view t heir properties. The user can check more than one
component.
There are two ways to select a component in TDM.
The user can select a component by clicking it. This action highlights the entire component row.
The user can select a component by selecting the check box next to the component.
The user can select only one component at a time by clicking, but many components at a time by
checking. Property tabs such as the Fixed tab, that display several component properties
simultaneously, use checked components. Tabs such as the TempDep tab, that display single
component property, use selected components. For binary data, the selected component is the i
component and the checked components are the j components.
18
Thermo Data Manager 4.3 User Guide
C HAPTER 3
Data Organization
In This Chapter
Overview...................................................................................................................................... 19
Unary Databank Type ................................................................................................................... 19
Binary Databank Ty pe................................................................................................................... 20
Interaction Parameters for Equations of State ................................................................................. 21
Interaction Parameters for Liquid Activity Coefficient Models ........................................................... 21
Interaction Parameters for Azeotropes ........................................................................................... 22
Interaction Parameters for Henry’s Law .......................................................................................... 22
Overview
TDM organizes the components and their data int o system libraries and user libraries. The commercial
version of TDM supplies system libraries that include the data compiled by SimSci. User libraries store
any custom or modified data. These libraries host one or more Dat abanks. The system libraries have the
OLILIB, PROCESS, and SIMS CI dat abanks, which are c omprehensive and widely used for their critically
evaluated pure component physical properties.
Each databank is either a Unary Databank Type or a Binary Databank Ty pe. TDM classifies the Unary
and Binary databank types further, based on their component properties.
19
Thermo Data Manager 4.3 User Guide Data Organization
The PRO/II Reference Manual gives more information on this method and its applicability.
The COS TALD databank type consists of parameters for critical temperature, acentric factor and critical
volume. The user may override all the COS TALD parameters here for a specific method set. COSTA LD
uses the parameter Vc as a characteristic volume, not as a critical volume, and retrieves it from the
COS TALD Databank. However, the equations use pure component critical volumes when the
characteristic volume is not supplied or is missing from the COS TA LD databank.
The user can also view the pure component properties for all the checked components in that selected
databank.
20
Data Organization Thermo Data Manager 4.3 User Guide
21
Thermo Data Manager 4.3 User Guide Data Organization
TDM treats each model as a distinct Databank type. The dat a available in TDM appears when the user
opens the corresponding component.
fi
H ij lim
x j 1 x
x 0 i
i
Unless the pressure is high or there is vapor phase association, the fugacity may be replaced by the
component partial pressure, yi P, where yi is the component vapor mole fraction and P is the system
pressure.
SIM4ME Thermo correlates Henry's constants to the following functional form:
ln H ij C1 C3 ln T C4 P
C2
T
where,
T = temperature, in Kelvin
P = pressure, in kPa
Hij = Henry’s constant, in kPa/mole fraction
The correlation coefficients may be read from the Henry databanks.
22
Data Organization Thermo Data Manager 4.3 User Guide
Here Tuom and Puom represent temperature and pressure expressed in units of measure possibly different
from Kelvin and kPa. Moreover, we assume that Hij,uom has the same pressure units of measure as Puom.
Further, suppose that Tuom and Puom can be converted to Kelvin and kPa, respectively, with the formulas
TKelvin T Tuom
PkPa P Puom
where T and P represent conversion factors. Then the Henry correlation can be rewritten as
C1, Bank C1 ln P C3 ln T
C2, Bank T C2
C3, Bank C3
C4
C4, Bank
P
The conversion factors T and P for various units are given next:
Tuom K R
T 1 0.55555556
2 2
Puom kPa psia atm kg/cm bar mbar dyne/cm in Hg
2
Puom MPa N/m Pa psf torr in H2O mm H2O ft H2O
Example
Conv. Factor
Tuom R 0.55555556
Puom psia 6.89476
23
Thermo Data Manager 4.3 User Guide Data Organization
Reference
1. Prausnitz, J.M., Lichtenthaler, R.N., and Gomes de Azevedo, E., 1986, Molecular Thermodynamics
of Fluid Phase Equilibria, 2nd edition, Prentice Hall, Englewood Cliffs, NJ, Chapter 8.
24
Thermo Data Manager 4.3 User Guide
C HAPTER 4
User Libraries and Components
With TDM, the user can build a customized library that contains pure component data, along with unary
and binary thermodynamic parameters.
The system libraries cover most physical property and thermodynamic data requirements. However, the
user may want to create a component user library for any of thes e reasons:
The user needs certain properties that the system libraries lack.
The user wants to modify data for components found in the protected system libraries.
The user wishes to avoid having to enter the same component and thermodynamic data for several
simulations.
The user wants to make specific property data mandatory for a given project.
Note: A User Library may contain more t han one databank. By default, user libraries have read and write
permissions. User library names appear in blue.
In This Chapter
Create a User Library .................................................................................................................... 25
Add a New Databank to a User Library........................................................................................... 25
Delet e a Dat abank from a User Library........................................................................................... 27
Component Identification............................................................................................................... 27
Component Names and Color Codes ............................................................................................. 28
Add a Known Component to a Unary Databank .............................................................................. 28
Add a New Component to a Unary Databank .................................................................................. 30
Copy an Existing Component to a New One ................................................................................... 32
Add a Component Pair to a Binary Databank .................................................................................. 40
Modify Component Data in the User Library ................................................................................... 43
Delet e a Component ..................................................................................................................... 43
25
Thermo Data Manager 4.3 User Guide User Libraries and Components
2. From the Tool s menu, the user s elects Add and t hen the Databank menu item, or right-clicks on the
User Library and selects the Add New Databank menu item, as shown in Figure 5.
3. One of the following Databank Name windows appears depending on whether a single bank, or
multiple bank, format is used.
a. The window shown in Figure 6a appears for banks supporting the single bank format.
b. The window shown in Figure 6b appears for banks s upporting the multiple bank formats.
4. Depending on the bank format used, the user does one of the following:
If single bank format is used, the user enters a name for the new Databank and clicks the OK
button.
If multiple bank format is used, the user enters a name for the new Databank, selects the bank
format* (if applicable for a databank-type) and clicks the OK button.
The databank name can be up to eight characters long.
5. The new Databank appears in the use r library.
You may find the following information useful:
Bank format* refers to the different number of parameters that are s upported for a dat abank type. For
example, for NRTL/NRTLLL databank-type, there are two formats supported: 8 parameters and 14
parameters.
New BWRS databanks created in TH3.5p and earlier versions are usable in TH3.6dev.
26
User Libraries and Components Thermo Data Manager 4.3 User Guide
New BWRS databanks created in TH3.6dev are visible in TH3.5p, but the second binary interaction
parameter (bij) will not be visible.
New NRTL/ NRTLLL databanks created in TH3.5p are visible in TH3.6dev.
New NRTL/NRTLLL databanks created with 14-parameter bank format in TH3.6dev are not visible in
TH3.5p.
Refer to the Plots section for information on importing and exporting a databank to a user library.
3. The user clicks the Ye s button to delete the Databank from the library.
Component Identification
The user must be aware of how TDM identifies components in the databanks.
1. The Name is simply a descriptive name for the component that appears to the user. TDM does not
use the Name internally to identify or locat e the component.
2. The Library ID are short names with which the user can identify and look up components in the
library. Therefore, every Library ID must be unique. The user can provide each component with up
to twelve Library ID, of eight characters each.
3. The CAS number also serves to look up components, so it also must be unique.
When managing databases, it is standard practice to assign a unique object identifier to each object in
the database. This prevents any ambiguity in the identities of objects. In the component databan ks, the
SIMSCI ID serves as this unique object identifier.
If the user adds Water as a known component to a user databank, this Water component shares the
same SimSci ID as the instances of Water in the P ROCESS and S IMSCI databanks. TDM recognizes
the component as Water when the user dat abank is included in the component search order in any
application, and the component inherits any interaction data supplied for Water in any binary databank.
If the us er adds a new component, based on Water, to a user databank, TDM gives the new component
a different SIMSCI ID, and therefore considers it to be a different component. The user must give this
new component one or more different Library ID names, which must all be different from any other
Library ID names in the databank, including those for Water. The new component cannot use the CAS
number for Water, because this would result in a conflict. The new component does not inherit any of
Water’s interaction data, so the user must enter any such data for the new compo nent.
27
Thermo Data Manager 4.3 User Guide User Libraries and Components
When a user creates new components in a user databank, TDM assigns SIMSCI ID numbers to the new
components sequentially, so that each one gets a unique value. If the us er creates more than one user
library, and plans to employ the libraries toget her in the same simulation, the user must manually
manage the SIMSCI ID numbers. TDM cannot know every user library in use, or which ones the user
may want to use together.
If two components in two user libraries represent the same actual compound, the user must assign the
components the same SIMSCI ID. Conversely, two different components must have different SIMSCI
IDs, even if the components are in different libraries. This restriction does not apply as long as the user
never tries to employ two user libraries with user components in a single simulation.
When the user creat es a brand new component, or creates a new component based on an existing
component, TDM gives the component the next sequential SIMSCI ID. The user can change the value of
the SIMSCI ID. However, the user must make any such change before leaving the Add User
Component dialog. Once the user has clicked the OK button, the SIMSCI ID for that component is
permanent.
Note: When the component name appears in green or magenta, the pure component information does
not appear.
28
User Libraries and Components Thermo Data Manager 4.3 User Guide
4. The user selects the databank into which to add the component.
5. The user types the Alias or browses for the component to add. If the user clicks the browse button,
TDM opens the Select Component dialog shown in Figure 10.
6. The Select Component dialog lists each component with its Full Name, its Alias, and its Formula.
The user double-clicks on the desired component.
29
Thermo Data Manager 4.3 User Guide User Libraries and Components
7. To narrow the search, the user can type text into the Full Name Filter, the Alias Filter, or the
Formula Filter, located above the column of the same name. TDM shows only the components that
have matching initial letters. Figure 11 shows the Formula Filter reducing the number of
components displayed to only those that have an alias that contains the letter Q.
By this method, the user can add only one component at a time to the Databank. To add several
components at one time, the us er can select one or more compo nents in the component view window,
using the <Control> or <Shift> keys as needed, then drag and drop the components onto the user
databank.
Refer to Advanced Topics on importing and exporting a component to a dat abank.
30
User Libraries and Components Thermo Data Manager 4.3 User Guide
TDM aut omatically generates the SIMSCI ID for the component. The user can edit the SIMSCI ID,
keeping in mind the rules for unique component identifiers given in the section on Component
Identification.
1. To revert to the standard SIMSCI ID for this component, the user clicks the Reset button. Onc e the
user clicks the OK button, the SIMSCI ID for this component becomes permanent.
2. The user enters the new component’s Alia s, its Name, its Formula and its CAS Number. The result
should look like Figure 13.
3. The user can ent er a maximum of twelve alias es, separat ed by commas. An alias name should not
be longer than eight characters.
31
Thermo Data Manager 4.3 User Guide User Libraries and Components
4. The user clicks the OK button to save the new component in the unary databank.
5. If the user does not know the CAS Number, this field can be left blank, but TDM shows the error
message of Figure 14.
Note: The user can add the new component only to Pure Component Dat abanks of Unary Data type.
32
User Libraries and Components Thermo Data Manager 4.3 User Guide
4. The user selects the Databank and browses for the component Alias, then clicks the OK button.
5. TDM copies the Name, the Formula and the SIMSCI ID of the selected component, as shown in
Figure 16. TDM prefixes the string Copy_of_ to the component name.
6. The user must specify a unique alias name for this copied component, to differentiate it from the
parent components in the databank.
7. If the user does not know the CAS Number, this field can be left blank, but TDM shows the error
message of Figure 14
The user can edit the SIMSCI ID, keeping in mind the rules for unique component identifiers given in
the section on Component Identification.
8. To revert to the standard SIMSCI ID for this component, the user clicks the Reset button.
33
Thermo Data Manager 4.3 User Guide User Libraries and Components
34
User Libraries and Components Thermo Data Manager 4.3 User Guide
Figure 18 shows the user having opened a system databank and selected several components, then
dragging them to the us er databank.
35
Thermo Data Manager 4.3 User Guide User Libraries and Components
Figure 19 shows the user databank after the user dragged and dropped five components in it.
The user opens the source databank and selects one or more components, using the <Control> or
<Shift> keys as needed, and then drags the components to the user databank. W hen the us er lets go the
mouse button, TDM opens the user databank and shows the list of components, which now includes
those that the user dragged and dropped.
If the user databank already contains the component that the user drops, TDM displays the Compo nent
Override window as shown in Figure 20.
36
User Libraries and Components Thermo Data Manager 4.3 User Guide
TDM opens the Update Component Details window, as shown in Figure 22.
37
Thermo Data Manager 4.3 User Guide User Libraries and Components
The user can change the component Name, Formula and CAS number. When finished, the user clicks
the OK button.
3. The Add Pet ro component window appears, as shown in Figure 24. Create Petro Components and
click OK. The first two components (PETRO1 and PETRO2) are complete and the third one
(PETRO3) is incomplete.
4. When the user clicks OK, the Invalid petro components window pops -up as shown in Figure 25.
38
User Libraries and Components Thermo Data Manager 4.3 User Guide
If the user clicks Cancel, the pet ro components created in MTGUI will be displayed as shown in
Figure 26.
If the user clicks OK, only the components, which are complete, will be displayed as shown in Figure
27.
The user can also modify the Library ID (alias name) this is useful when the generated Library ID
already exists in the user library.
39
Thermo Data Manager 4.3 User Guide User Libraries and Components
5. If the user selects OK the petro component data is persisted into the user library as shown in Figure
28.
40
User Libraries and Components Thermo Data Manager 4.3 User Guide
3. The QuickEntry tab for the binary interaction parameters appears, as shown in Figure 29.
41
Thermo Data Manager 4.3 User Guide User Libraries and Components
6. The user selects the components and clicks the Get Data button. TDM fills the Edit Data grid with
information about the component, as shown in Figure 30.
7. The user must enter at least one value in any field in the Data form to save the component pair
information.
8. To save the data, the us er clicks the Save Data button.
9. If the user exits the library without saving, TDM prompts to either Save or Di scard the changes
appears.
10. The user can view the saved component pairs and their properties in the Summary tab.
11. The user clicks the Ye s button to change the reference component.
42
User Libraries and Components Thermo Data Manager 4.3 User Guide
The user opens the source databank and selects two components, using the Control or Shift keys as
needed, then drags the components to the user databank. When the user lets go the mouse button, TDM
opens the user databank and shows the list of components, which now includes those that the user
dragged and dropped. The first component the user selects in the source databank is the reference, or i
component, and the second is the j component.
Delete a Component
The user can delete a component from the user library.
1. The user selects the component to delete from a databank.
2. The user right-clicks on the component. TDM displays the delete dialog.
3. The user clicks the Delete this Component button.
4. TDM deletes the component from the databank of the user library.
Note: If the user delet es the last component from the component list of a databank, the name of the
component appears struck through. TDM removes this component from the list the next time i t
refres hes the dat abase.
43
Thermo Data Manager 4.3 User Guide
C HAPTER 5
Local Library File
In This Chapter
Overview...................................................................................................................................... 45
Description ................................................................................................................................... 45
Creating a local library .................................................................................................................. 46
Overview
Local library file feature found in the TDM GUI is currently exposed from the DYNS IM application only.
Local library file is an application generated thermo library file, which is embedded (contained/zipped)
along with the simulation file. This file is used as the basis for simulation specific thermodynamic data.
Description
The thermo data used by the simulation files of the product application(s) are found in one of the
following ways:
Registered application system library file
Registered user library file
User can loc ally override some of the thermo property data directly/indirectly
Local library
The importance of local library feature can be best described in the following use -case scenario:
"Same simulation file when run on different machines should have the same underlying thermodynamic
data".
Illustration
A particular user (say "user1") generates a simulation file and sends out this simulation file to another
user (say "user2"), the underlying thermodynamic data being used when the simulation file is run on
"user1" & "user2" machine(s) has to be same for the application to yield same res ults across these
machine.
To bring about this thermodynamic data-c onsistency, the following actions need to be taken on the
"user2" machine:
"user1" has to send across all the user library file(s ) being used/referred in the simulation to "user2".
"user2" has to register the library files being sent by "user1"
So, just running the same simulation file generat ed on different machines does not guarantee the usage
of the same underlying thermodynamic data by simulation. In such cases, local library file will be useful,
as the local library file is embedded inside the simulation file. The thermodynamic data-consistency is
guaranteed by having the thermodynamic data reference to this local-library file when simulation file is
run on different machines.
45
Thermo Data Manager 4.3 User Guide Local Library File
3. Create a databank say "db" and create some components (screenshot below of the library tree view
for the local library).
46
Local Library File Thermo Data Manager 4.3 User Guide
5. On clicking "OK" button (above message pop-up) t he local library/databank appears in the "A vailable
Banks" list.
6. Move the "<Local>:DB" from the "A vailable Banks" list to the "Bank Search Order" list and then add
the components created in the local library.
7. Save the simulation file.
8. When this simulation file is distributed and opened in a different machine, the thermody namic data
for the components created/ used with the local library will be the same as on the sourc e machine.
9. Similarly, local library can be created and saved with simulation file for binary data.
47
Thermo Data Manager 4.3 User Guide
C HAPTER 6
Plots
In This Chapter
Overview...................................................................................................................................... 49
Plot a Single Component Property ................................................................................................. 49
Change the Temperature Range.................................................................................................... 50
Add a Component to a Plot............................................................................................................ 50
View Plots for Two or More Properties ........................................................................................... 51
Estimate Property Values .............................................................................................................. 51
Export the Plot Values to Excel ...................................................................................................... 52
Overview
TDM has functions that generat e and display a variety of temperature-dependent graphical plots of
tabulated data results. These plots appear in the Plot Viewer. The user can view a plot, add components
to a plot, export a plot to Excel, and print a plot. The user can also modify plot attributes and customiz e
the appearance of plots. The user can also c hange the color of the plot line, by right -clicking on the check
box in front the component name.
When the user hovers the cursor over the name of the component in a plot, the tool tip displays the
component name and the correlation used for plotting the property. TDM generates only one plot per
property, but the user can add other component information to the same plot.
TDM’s plotting feature lets the user estimate the value of a specific property between the minimum and
maximum temperat ure ranges.
49
Thermo Data Manager 4.3 User Guide Plots
4. TDM produces the plot. The ex ample plot shown in Figure 32 shows how the vapor pressure of the
component Methane rises as the temperature rises.
50
Plots Thermo Data Manager 4.3 User Guide
4. The plot viewer displays the plots for all the selected components in a single plot. The example plot
of Figure 33 shows the components Ethane and Toluene added to the plot of Figure 32.
51
Thermo Data Manager 4.3 User Guide Plots
4. TDM displays the value for the property, as shown in the example of Figure 34.
The user can estimate property values only for a valid temperature range.
5. With the plot open and visible, the user clicks the button, located in the upper corner of the Plot
Viewer window.
6. The user saves the Excel spreadsheet on the hard drive.
52
Thermo Data Manager 4.3 User Guide
C HAPTER 7
Advanced Topics
In This Chapter
Global Settings ............................................................................................................................. 53
Component Filter .......................................................................................................................... 54
Export Libraries, Databanks and Components ................................................................................ 54
Import Libraries ............................................................................................................................ 55
Import Databanks and Components ............................................................................................... 61
Validate Input Specifications .......................................................................................................... 62
Customize the Property Table........................................................................................................ 63
TDM App Log ............................................................................................................................... 65
Global Settings
TDM can display several engineering unit bases. Although TDM stores all data and performs internal
calculations in International System (SI) units, the user can choose to display outputs in a standard unit
base such as English Engineering (E NG) units or Metric Engineering (MKS) units. This facility serves
only to convert the data or change the unit of measure for the required unit type; it does not save the data.
1. The user can view the units of measure for any specific property by clicking the units for that
property. TDM opens the Convert Units of Measure dialog shown in Figure 35.
2. In the left-hand column of the dialog, the user clicks on the current units of a property.
3. In the right-hand column, the user clicks on the desired units, and then clicks the Convert Value
button.
4. The new value appears in the property field for the corres ponding component.
53
Thermo Data Manager 4.3 User Guide Ad vanced Topics
Component Filter
TDM allows users to searc h and retrieve component information based on the component’s name,
formula, SIMSCI ID, alias and family group. The user can search in the system libraries as well as the
user libraries. The user can double-click on the column header in the component list viewer, shown in
Figure 19, to populate the viewer with the entire list of component names and aliases.
Search on Alias
The user can ent er an alias for the component in full or partial to find all matches to this string. A
component has only one name, but it may have up to twelve aliases.
For example, water has an ID name H2O and the four aliases WATER, H20, Hydroxic Acid and
Hydrogen Hydroxide.
Sort Components
The user can sort the components based on their full name, alias, or formula by clicking on the header of
the respective options.
54
Ad vanced Topics Thermo Data Manager 4.3 User Guide
Import Libraries
The user can import component data from third-party libraries into user libraries and databanks. After
loading, these libraries appear in the Reference Library branch of the library tree. The user cannot edit,
add or delete a reference library or any of its components.
TDM supports these third party databases:
Library database files that are published by DIPP R, the Design Institute for Physical Properties.
These files can contain one or more components. These files have the extension .MDB.
Thermodynamic data files that are published by DECHEMA, the Gesellschaft für Chemische
Technik und Biotechnologie. These files usually contain one component. These files have the
extension .IK C.
Thermodynamic Dat a Engine files, also called ThermoML files, that follow the standard set by
IUPA C, the International Union of Pure and Applied Chemistry. Thes e files usually contain one
component. These files have the extension . XML.
55
Thermo Data Manager 4.3 User Guide Ad vanced Topics
To import any third-party file, the user opens the file menu and selects the Import menu item, as shown
in Figure 37.
56
Ad vanced Topics Thermo Data Manager 4.3 User Guide
After the user selects a file and clicks the OK button, the cont ents of the file appear in the Dec hema.lib
user library. Each DE CHEMA file imported creates one databank in this library, as shown in Figure 39.
57
Thermo Data Manager 4.3 User Guide Ad vanced Topics
After the user selects a file and clicks the OK button, the cont ents of the file appear in the ThermoML
user library. Each ThermoML file imported creates one databank in this library, as shown in Figure 41.
58
Ad vanced Topics Thermo Data Manager 4.3 User Guide
If the newly-imported component is not complete, TDM opens the ThermoML Data Import window,
shown in Figure 42. The lower part of this window displays all the known properties of the component.
The upper part displays a grid that displays the identifying properties of the component.
If any of the identifying properties is missing, TDM displays that property's grid box in red. To enter the
required missing dat a, the user clicks the ellipsis button on the far right side of the grid. TDM opens the
Add User Component window, as shown in Figure 43.
59
Thermo Data Manager 4.3 User Guide Ad vanced Topics
The user must give the alias, the name, the formula, or the CAS number of the new component if it lacks
any of these. Then the user clicks the OK button.
60
Ad vanced Topics Thermo Data Manager 4.3 User Guide
After the user selects a file and clicks the OK button, the cont ents of the file appear in the DIPPR.lib
reference library. Each DIPP R file import ed creates one databank in this library, as shown in Figure 45.
5. The user clicks the OK button after successfully importing the databank.
61
Thermo Data Manager 4.3 User Guide Ad vanced Topics
Table 2 shows the color codes that TDM uses to validate the input data.
Table 2 Color Codes for Validating Input Data
62
Ad vanced Topics Thermo Data Manager 4.3 User Guide
2. In the Custom Property Table grid, the user right-clicks on the component cell. TDM opens a menu
of property types (Fixed, Critical, Molecular Construction, Heat Formation and Other), eac h with
submenus of properties, as shown in Figure 50.
63
Thermo Data Manager 4.3 User Guide Ad vanced Topics
4. To assign more than one custom property at a time to a component, the user clicks the
Define Custom Property View button. TDM opens the Custom Property Definition dialog shown
in Figure 51.
5. The user checks the checkboxes of the custom properties to assign to the component, and then
clicks the OK button.
64
Ad vanced Topics Thermo Data Manager 4.3 User Guide
6. To reorder the component property data, the user drags and drops the property cells in the desired
order, as shown in Figure 52.
7. The user clicks the button to export the component data to an Excel spreadsheet on the hard
drive.
Note: The following steps are optional. Instead, the us er can send the TDM Diagnostics file directly to
SIM4ME Support. The file is located in the folder MyDocuments \SimSci\InstallationDiagnostics, and it
has a filename of the form TDM_mm_dd_yyyy. For example, a TDM diagnostics file created on 15
November 2009 will have the name TDM_11_15_2009.
1. To find out the error, the user must open the command prompt.
65
Thermo Data Manager 4.3 User Guide Ad vanced Topics
2. From the command prompt, the user runs the following command:
C:\Program Files\SIMSCI\TDM\TDM32\Bin\sqlite3.exe
C:\MyDocuments\SimSci\InstallationDiagnostics\TDM_mm_dd_yyyy
The folder \SIMSCI\ TDM\ TDM32\Bin\sqlite3.exe is the default location where TDM is installed. If the
user has installed TDM somewhere else, the user must type that navigation pat h in the command
prompt.
TDM_mm_dd_yyyy is the diagnostics file that TDM creates whenever the utility comes across any
error or crashes. The file resides in the MyDocuments \SimSci\InstallationDiagnostics folder of the
computer.
3. On running this command, the command prompt is set in sqlite mode, after which the user must
execute the following sqlite command:
Sqlite> select * from errortable;
This lists all the errors the user encountered during startup.
4. The user can send either this list of errors or the TDM Diagnostics file (TDM_mm_dd_yyyy) to
SIM4ME Support.
66
Thermo Data Manager 4.3 User Guide
C HAPTER 8
Regress
In This Chapter
Overview...................................................................................................................................... 67
Open the Regress Utility ............................................................................................................... 68
Create a Regress Case ................................................................................................................. 69
Enter Data for a Regress Case ...................................................................................................... 71
Change Units of Measure for Regress Case ................................................................................... 72
Data Set Dialog ............................................................................................................................ 75
Calculation Option Dialog .............................................................................................................. 80
Solver Setup Dialog ...................................................................................................................... 83
Scenario Dialog ............................................................................................................................ 84
Scenario Setup ............................................................................................................................. 85
VLE Case..................................................................................................................................... 85
VLLE Case ................................................................................................................................... 86
LLE Cas e ..................................................................................................................................... 87
Regression ................................................................................................................................... 88
NONLIB Card Utility ...................................................................................................................... 91
Import a Keyword File Containing NONLIB Cards ........................................................................... 94
Other Features of the NONLIB Card Utility ..................................................................................... 94
Overview
The ability to predict physical properties and phase behavior accurately is vit al for process simulation.
From chemic al plant operations to pipeline flow, the modeling effort relies on the foundation of physical
properties and thermodynamics. New models, modifications to existing models, and new input
parameters to existing models are always appearing in the open literature, to try to improve these
property predictions.
Thermodynamic models and theory have the benefit of a large body of pure component and m ixture
data, available through the open literature or through company proprietary resources. Plant operators
can use this data either to validate a model or to generate model parameters that match a given mixture.
To this end, TDM offers the Dat a Regressio n utility so that the user can generate thermodynamic model
parameters through the regression of phas e equilibria data, then save these parameters along with
correlation coefficients, alpha formulations, binary interaction parameters and ot her regression results
into TDM databanks.
With the Data Regression utility, the user can compile measured component or mixture data into a form
that other applications can use.
There are three regression options:
Property Correlations – The user may supply temperature dependent property data at a number of
temperatures and regress them onto any of the equation forms for the property correlations of ot her
applications. The Regress utility calculates the coefficients for the equations.
Phase Equilibrium – The user can regress thermodynamic equilibrium data for two or more
components to create binary interaction parameters for Liquid Activity Methods or Equations of
State. Using these parameters ensures that the selected thermodynamic method reproduces the
measured data.
67
Thermo Data Manager 4.3 User Guide Regress
Mixing Properties – The user can regress heat-of-mixing data for two or more components to
generate Redlich-Kwong binary interaction coefficients. The user can also regress volume-of-mixing
to create binary interaction parameters for Liquid Activity Methods or Equations of State.
To regress such data requires sophisticated non-linear mathematical algorithms. The algorithms used
include the weighted Orthogonal Distance Regression (ODP ) algorithm developed by the National
Institute of Standards and Technology (NIS T) as well as a non-linear least squares correlation.
As with all such regressions, initial estimates are required for the parameters. Although TDM gives
default values for the paramet ers, it is always better if the user supplies values appropriate to th e specific
simulation.
2. In the Naming Conventions area in the upper right corner, the user sets the name prototypes for the
Case, the DataSet, the Calc Option, and the Scenario.
68
Regress Thermo Data Manager 4.3 User Guide
TDM uses these prototypes to create names for actual elements, by appending the digit 1 to the
prototype to get the first new regress case or element, the digit 2 to the prototype to name the sec ond
new case pr element, and so on up to 10.
E very case uses the same set of names for elements. Given the examples of Figure 54, this means that
case LCHCase1 has a data set called A MFDataS et1, and case LCHCase2 also has a data set called
AMFDataS et1.
3. The new Regress case and all its elements follow the naming conventions shown in Figure 54.
69
Thermo Data Manager 4.3 User Guide Regress
4. If the user tries to add more than ten new cases with the same prototype name, TDM gives the error
message shown in Figure 57.
To continue adding cases, the user must change the prototy pe name for the Case global option.
5. The user can right-click on any element and choose to Delete the element, Rename it, or Copy it, as
shown in Figure 58. After copying an element, the user can paste it into anot her node of the same
type.
70
Regress Thermo Data Manager 4.3 User Guide
Each of the three nodes of a regress case can have one or more elements. The user can right-click
on the node and choose to Add another element, Delete All the elements, or Paste a copied
element, as shown in Figure 59.
2. The user can ent er the Problem name, the problem Description, and the Project name. The user
can also view the selected Components to regress, can change the units of measure, and can
Create Components and Thermo Methods for the regress case.
The problem name, the problem description, and the project name, are simple text fields.
71
Thermo Data Manager 4.3 User Guide Regress
3. To select components, the user clicks the Create Components and Thermo Methods button TDM
opens the Components and Thermodynamics window, shown in Figure 86. In this window, the
user can select and edit components, method slates, and data files. The section on the
Components and Thermodynamics window gives more information on this feature.
4. After selecting all the components, methods and files required for regression, the user clicks the OK
button to close the Components and Thermodynamics window and return to the TDM GUI. The
added components form the basis of all the Datasets created in the Regress Case.
2. To select a predefined slate of units of measure, the user clicks the checkbox next to the desired set,
and then clicks the Done button.
3. The user cannot Edit, Rename or Delete any of the predefined UOM slates. If the user selects any
predefined slate, TDM disables these buttons.
72
Regress Thermo Data Manager 4.3 User Guide
4. To create a new slate of units of measure, the user clicks the Create button. TDM opens the window
shown in Figure 62. The user enters a Name for the new UOM slate, and selects an existing UOM
Library Set to initialize the new one. A fter the user clicks the OK button, the new slate appears in the
Slate Name list shown in Figure 62.
5. To copy an existing slate of units of measure, the user clicks the Copy button. TDM opens the
window shown in Figure 63. The user ent ers a name for the new slate in the Copy to field. After the
user clicks the OK button, the new slate appears in the Slate Name list shown in Figure 61.
73
Thermo Data Manager 4.3 User Guide Regress
6. To edit the new UOM Slate, the user clicks on it in the list, highlighting it, and then clicks the Edit
button. TDM opens the Define Units-of-Measure Set dialog, shown in Figure 64.
7. To change a Unit-of-Measure Class, the user clicks on the Default value in the right-hand column.
TDM opens the Convert Units-of-Measure dialog, shown in Figure 65.
74
Regress Thermo Data Manager 4.3 User Guide
8. In the Convert Units-of-Measure dialog, the user can select whether to display the units as
abbreviations or to display them as long descriptions, fully spelled out. The user then selects a new
unit of measure to replace the old unit, and clicks either the Change Units button or the Convert
Value button. TDM returns to the Define Units-of-Measure Set dialog, which now shows the new
unit of measure.
9. After changing as many units of measure as needed, the user clicks the OK button in Define
Units-of-Measure Set dialog. TDM ret urns to t he UOM Slate Form dialog, shown in Figure 61. From
there, the us er clicks the Done button. All the UOM dialogs close. The Components and
Thermodynamics dialog shows the name of the new slate of units of measure. TDM uses this slate
for the regress calculations.
Data Setup
Figure 66 shows the Data Setup tab.
75
Thermo Data Manager 4.3 User Guide Regress
Gamma data
The user selects the Data Type from the drop -down list. The Data Type selected defines the variables
available for applying the Data Format. The user can select the variables from the Available Variables
list and drop them to the Selected Variables list to define the Data Format.
The user selects the components from the Available Components and drops them into the Selected
Components list. These components appear in the Data Set and are available for regression.
If the user enters a fixed pressure or temperature in the I so-Conditions grid, the respective variable is
not available for regression.
If the information supplied in the Data Setup is incomplete, the Status grid displays a message in red.
The user clicks the Diagnostics button to view the error and the corrective action required. The Regress
utility shows a message like the one in Figure 67.
Figure 67 Diagnostic
Data Table
In the Data Table pane, the user can enter or modify experimental data. The Data Set allows the user to
collect uncertainty data to use as experimental data. The user can give the uncertainty data as an
absolute deviation (D) or as a percent deviation (%).
76
Regress Thermo Data Manager 4.3 User Guide
The user can ent er composition as a Mole Fraction or a Ma ss Fraction, as shown in Figure 74. The
default is Mole Fraction.
The Data Set also allows the user to enter inc omplet e data or a Data Set with missing values. The
Regress utility tries to use experimental data to do parameter fitting. TDM may still use incomplet e
observations in the reporting step to generate predicted values.
The user checks the appropriate option in the View Option grid to view and edit Experimental Data or
Uncertainty Data or both. The user must check the Show All Composition Columns c heckbox to
display the concent rations (X, Y) data of multi components.
77
Thermo Data Manager 4.3 User Guide Regress
Table Generator
The Table Generator pane, shown in Figure 69, can generat e data in cases where experimental data is
not available, but sufficient data pertaining to a set of model paramet ers that are relevant to the Data
Type selected is available. This feature applies most often to pure components and binary mixtures.
The user selects the method slate from the drop down list to generate data. The user clicks the Create
Components and Thermo Methods button to add new components and met hod slates or modify the
thermodynamic methods of the existing slate.
Note: A method slate is required for all the Data Types except for the Temperature-Dependent data
type.
The data appears in a tabular form. The variables and their respective UOMs appear in the first two
columns. The US AGE column has three options: Output, Vary, and Fix. The START and END values
specify the bounds to use for the variable during data generation. The SELTYPE column represents two
ways to specify the granularity of the grid for the given variable.
The user clicks the Generate Table button to generate the requested data and then display it in a table
similar to the experimental data table. TDM bases the generated data on the model parameters and
variable details set in this pane.
Data generation is possible only for:
78
Regress Thermo Data Manager 4.3 User Guide
Output
Input
(Generated data variables)
(Applicable data
Data Type variable group Required Optional
used for
data-generation) (if the user has the variables in the
selected variable list)
79
Thermo Data Manager 4.3 User Guide Regress
Some of the temperature dependent properties are Vapor Pressure, Enthalpy, Latent Heat, Density,
Viscosity, Thermal Conductivity, Surface tension.
For isothermal data set: Set value of T, specify how to vary Y (for first component), and let P, X and
XX be output variables.
No. of data points = No. of vapor composition values
For isobaric data set: Set value of P, specify how to vary Y (for first component), and let T, X and XX
be out put variables.
No. of data points = No. of vapor composition values
For data sets where bot h T and P can vary: Specify how to vary the value of T and the value of P,
specify how to vary Y (for first component), and let X and XX be output variables.
No. of data points = (No. of T values) x (No. of vapor composition values) + (No. of P values) x (No.
of vapor composition values)
80
Regress Thermo Data Manager 4.3 User Guide
The user right-clicks on the Calc Options node and selects the Add menu item to create a new Calc
Option. The user can edit and rename an existing Calc Option. The user selects a Regression Class
from the drop-down list. The default is PROP ERTY. Based on the regression class selected, the model
type drop-down list is populated. Table 4 lists the regression classes and their respective model types
that are available for regression.
The default Method slate is Slate based on Model Type selected. This default choice corresponds to
the internal Method Slate, which TDM creates bas ed on the user’s selection of Regression Class,
Model Type and Equation.
TDM uses the method slate selected in the Calc Option Setup tab to run the Regress Scenario.
By clicking the browse control button t o the right of t he Method Slate combo -box, the user c an create one
or more new met hod slates, or can modify the thermodynamic methods of the existing slate.
If the Regression Class is either PROP ERTY or ALP HA, TDM disables both the Method Slate field and
the browse cont rol buttons. Method slate information in these cases is redundant.
The objective function is the equation used to sum the difference bet ween the calculated values and the
supplied data. E very combination of Regressi on Type and Data Type has a default objective function
equation. The user may select a different Objective Function Type from the drop-down list and the
corresponding equation appears below. There are four types of Objecti ve Function Type available;
Relative Error, Absolute Error, Average Error, and Maximum Likelihood. The Maximum
Likelihood Objective Function Type uses an estimate of the statistical sigma instead of the
experimental value. In practice, the sigma values are not available most of the tim e; so Regress uses the
uncertainty values instead.
The Maximum Iterations is the number of iterations allowed before the regression is terminat ed. The
default is fifty iterations. The Accuracy setting det ermines the number of decimals specified.
Table 4 Models Available for Regression
81
Thermo Data Manager 4.3 User Guide Regress
Fugacity Approach
The user sets up a flash for each observation and solves the phase equilibrium problem by putting a flash
specification int o the Scenario. The user must keep in mind the phas e rule when using this approach:
T-Bubble (V LE) T, X P, Y
P-Bubble (VLE ) P, X T, Y
T-Dew (V LE) T, Y P, X
P-Dew (VLE ) P, Y T, X
TP (V LE) T, P X, Y
There is a limitation to this approach. TDM assumes that PTXY data is available for a VLE calculation
when the user requests the Fugacity approach. In practice, however, there are situations where the
vapor composition Y is not present in the data set. This usually happens when the user regresses liquid
phase data using LA CT methods. The Scenario issues the following error when the user tries to regress
a PTX data set:
ERROR: The following is not supported: The data type [Equilibrium (isoP, isoT,
X)] in Data Set [PTX] and regression type [LACT] (Fugacity) in Scenario [PTX].
The workaround to the problem is to specify a dummy Y variable in the data set; that is, to specify the
variable but not to enter any data.
82
Regress Thermo Data Manager 4.3 User Guide
In the case of strictly LLE data, in which Y is missing, the user cannot employ the fugacity approac h.
Instead, the user must select the K-Value Approach. The error message for strictly LLE data is similar to
the following:
ERROR: The following is not supported: The data type [Equilibrium (isoP, isoT,
X, XX)] in Data Set [PTX_XX] and regression type [LACT] (Fugacity) in Scenario
[PTX_XX].
KValue Approach
This approac h requires the user to specify enough experimental data to perform two calculations:
1. The calculation of experimental K-values as the ratio of composition of a given component in two
phases. The user can employ the following phase pairings to generat e experimental K -values: Y/X,
Y/ XX, X/ XX.
2. The calculation of fugacity coefficients of a component in the two phases participating in the K-value
calculations in the item. The us er must specify P and T in addition to the pairs Y/ X, Y/ XX, X/ XX.
The Scenario issues the following error if any of the necessary data is missing from a data set:
ERROR: The following is not supported: The data type [Equilibrium (isoP, isoT,
X)] in Data Set [PTX] and regression type [LACT] (K -value) in Scenario [PTX].
To correct this error, the us er must simply provide enough experimental dat a according to the
guidelines listed above.
ODR_OrdinaryLS AVGERR
83
Thermo Data Manager 4.3 User Guide Regress
ODR_OrdinaryLS MA XLIK
ODR_OrdinaryLS RELERR
ODR_ImplicitModel ABSERR
ODR_ImplicitModel MA XLIK
ODR_ImplicitModel RELERR
Figure 71 shows the Solver Setup and the solver-specific information.
The Solver choice is not bound to the objective function selection in the other type. Therefore, it is
possible to select invalid combinations. If the user does so, the Regress utility reports an error condition
during validation for Run/Verify actions.
Scenario Dialog
A scenario is a convenient way to set up and experiment with various regression settings. A scenario
node associates one Calc Option with at least one Data Set node. A scenario has the ability to use Data
Sets with different types of data. A Scenario node consists of two parts:
Scenario Setup
Regression
84
Regress Thermo Data Manager 4.3 User Guide
Scenario Setup
The Scenario Setup pane, shown in Figure 72, includes the Scenario Description, the Available Data
Sets, and the list of Calc Options.
The user selects a Calc Option from the drop-down list to use in the regression.
The user selects one or more Data Sets from the Selected DataSets list to use during regression. On
selecting the Dat a Set, the Regress utility activat es the Fla sh Spec to Use option t hat shows the various
tags.
Note: The Flash Spec to Use option is activated only when the Fugacity option is checked in the Calc
Options Setup dialog box. When the K-value option is checked, Flash Spec to Use is not available.
VLE Case
Table 7 shows the general information for the VLE Case.
85
Thermo Data Manager 4.3 User Guide Regress
VLLE Case
Table 10 shows the general information for the VLLE Case.
Table 10 VLLE Case
86
Regress Thermo Data Manager 4.3 User Guide
LLE Case
Table 13 shows the general information for the LLE Case.
Table 13 LLE Case
87
Thermo Data Manager 4.3 User Guide Regress
Regression
Figure 73 shows the Regre ssion pane, which verifies or runs a scenario or a regress case. The user can
request an Excel report or a plot of the parameters. The Regression pane offers controls to load
parameters from available databanks and to specify a fixed value or an estimate for a given parameter
and a given binary pair.
The user clicks the Load from Databank button to load the model parameters from the available
databanks. TDM displays the Source Databank dialog box, shown in Figure 74.
The user checks the databank from which to call the parameter values.
88
Regress Thermo Data Manager 4.3 User Guide
In the Regression Pane, the user either checks the Fixed checkbox in the parameter dat a grid to specify
a fixed value for a given parameter or binary pair; or specifies the Lower Bound and Upper Bound
values in the parameter data grid to estimate the values of a given parameter or binary pair.
The user clicks the Run button to regress the data of a Data Set. TDM displays a regression dialog box,
similar to Figure 75, that shows information on the number of variables, equations, iterations and the
Initial and Final sum of squares.
The user clicks the OK button. The regression populates the Re sults grid with the Experimental and
Calculated values of the variables, as shown in Figure 76.
89
Thermo Data Manager 4.3 User Guide Regress
The user clicks the Verify button to validate the paramet er data or coefficients supplied by the user
against the experimental data.
The user can restore the original estimates after a regression run by clicking the Update Estimates
button.
The user clicks the Send Initial Estimate to Databank and the Send Final Value to Databank button
to send the initial estimates and the final values of the regression run, respectively to a databank of a
user library.
The Plots grid allows the us er to export the dat a to an Excel sheet or to plot a graph of the variables.
After successful regression, the user can save the regress case as an .rgx file by selecting Save from the
File menu.
You should keep the following information in mind when you perform regression:
Send Final value to Databank: Selecting the NRTL8 paramet er in the Calc option will cause dis play
of the NRTL dat abanks of both 8 and 14 parameter bank formats in the bank selection list.
Load from Databank: Selecting the NRTL14 parameter in the Calc option will cause display of the
NRTL dat abanks of bot h 8 and 14 parameter bank formats in the bank selection list.
Data Precision: The user library supports single precision, whereas Regress s upports double
precision. Hence, some precision may be lost when saving parameters to the user library. For
example, a parameter value of 687423. 23356419767 in Regress mode, when saved into a user
library, will be displayed / used as 687423.3 when viewed f rom the TempDep tab of Component
mode.
90
Regress Thermo Data Manager 4.3 User Guide
2. The user browses and selects the desired regress file to open, then clicks the OK button.
3. TDM displays the saved case in the Regre ss window.
The user browses and selects the desired regress file to open, then clicks the OK button.
TDM opens the saved regress case and displays it in the Regress window.
91
Thermo Data Manager 4.3 User Guide Regress
2. After switching to the regression mode in TDM, the user clicks on the NONLIB Card toolbar button,
shown in Figure 79.
3. TDM opens the file searc h dialog shown in Figure 80, in which t he user locates one or more keyword
files that contain NONLIB Cards.
4. The user can double-click the keyword file or click the OK button. Either method starts the NONLIB
Cards registration process. When the process finishes, TDM shows the message in Figure 81.
92
Regress Thermo Data Manager 4.3 User Guide
5. At this point the NONLIB Cards are registered in a separate library called NonLibCards.lb1 in the
folder < TDM_ROO>\Data. The user clicks the OK button.
6. Now the user switches to Component Mode and registers the library by selecting the library file as
shown in Figure 82.
93
Thermo Data Manager 4.3 User Guide Regress
7. After registering the NONLIB Cards library, the user can browse through all the NONLIB Cards in
TDM and see the properties defined for them, as shown in Figure 83. All the NONLIB Cards are
registered under a databank called NONLIB.
The user can now proceed with importing the keyword file. The user must manually register the
NONLIB Cards file created in TDM from the specified location. The NONLIB Card utility only creates
library and adds the NONLIB Cards to it.
94
Regress Thermo Data Manager 4.3 User Guide
If the user has deleted the NONLIB Cards from the library, or has skipped the first step while importing a
keyword file that contains NONLIB Cards, the keyword import utility complains that it cannot proc eed,
because the keyword file contains unregistered NONLIB Cards, as shown in Figure 85.
If TDM passport protection is applied to the NONLIB Card library, the user must unlock the library first
before running the NONLIB Card utility.
95
Thermo Data Manager 4.3 User Guide
C HAPTER 9
Batch Processing for TDM Regress
In This Chapter
Introduction to Batch File Processing ............................................................................................. 97
Use the Batch File Proc essor ........................................................................................................ 97
Batch File Syntax Specification ...................................................................................................... 97
Examples of Diagnostics Messages ............................................................................................. 100
Examples of Batch Files .............................................................................................................. 100
97
Thermo Data Manager 4.3 User Guide Batch Processing for TDM Regress
98
Batch Processing for TDM Regress Thermo Data Manager 4.3 User Guide
99
Thermo Data Manager 4.3 User Guide Batch Processing for TDM Regress
100
Batch Processing for TDM Regress Thermo Data Manager 4.3 User Guide
inb = TDM_2.0:PROCESS
inb = TDM_2.0:SIMSCI
comp = CO2
TR = 20, 200, TTPTC, F
TR = 100, 150, K
STEP = 5.5
Steps = NPTS, 20
EOS = Srk, SOAVE79
//EOS = Srk, 6
// Alpha Form can be numeric (e.g. 6 above)
// or can be mnemonic (e.g. SOAVE79)
iv = pr, 0.1, 0.2
// Since only srk is being run the above statement has no effect
fx = srk, 0.1345, 0.2654, 0.3
db = srk, batch::SRKO::ALPHAT3
db = pr, test2::PR::dby
// The second db statement will cause a warning
// as ‘PR’ is not being run
maxi = 200
accu = 7
sa = C:\testa2.rgx
end Alpha
101
Thermo Data Manager 4.3 User Guide
C HAPTER 10
Components and Thermodynamics Window
for Regress
While creating a regress case, as shown in Figure 60, the user clicks the Create Components and
Thermo Methods button. TDM opens the Components and Thermodynamics window, shown in
Figure 86, in which the user can select and edit components, method slates, and data files to use to
process the regress case.
This window controls only the components and thermodynamic methods for the selected regress case.
Although it looks similar, it is not the same as the Components and Thermodynamic GUI available
from the main application.
In This Chapter
Library Tab ................................................................................................................................. 104
Method Tab ................................................................................................................................ 108
File Tab...................................................................................................................................... 112
103
Thermo Data Manager 4.3 User Guide Components and Thermodynamics Window for Regress
Library Tab
The Components and Thermodynamics window opens to the Library t ab, in which t he us er can select
the components for the regress case.
Components
The user can select components in the Library tab, merely by double-clicking on the component names,
or by dragging and dropping the components into the Selected Components list on the left side of the
window. The user can also type a Library ID into the Add Library Component field, and then click the
Add button. The entered component appears in the Selected Components list.
To narrow down the list of components from which t o choose, the user can select a Component Family.
The Component Family list contains the names of the selected databanks, and the names of several
general types of chemicals, such as acids, ketones, petroleum lightends, and so on. If the user selects a
databank name, TDM displays only the components that are present in that databank. The names of the
other databanks appear dimmed in the Bank Search Order list. If the user selects a chemical family,
TDM displays components from all databanks, but only those that belong to the selected family.
104
Components and Thermodynamics Window for Regress Thermo Data Manager 4.3 User Guide
The user can click on one of the column headings to sort the list by that column. To narrow t he list down
even further, the user can type text into the Filter field. The Component list then displays only the
components that have names, IDs, or formulae that begin with the filter text, based on the selected sort
column. The user can type the standa rd wildcard characters * and ? within the filter field.
Unless the user has selected a databank name in the Component Family list, the component list shows
all components that are in the standard data banks. However, the user can select only those components
that are actually present in databanks shown in the Bank Search Order list. If the user tries to select a
component that is not in one if the databanks in the Bank Search Order list, TDM displays the error
message shown in Figure 87.
To resolve this problem, the user must move into the list one or more databanks that contain the
component.
E very selected component keeps an internal record of the databank search order and the value of the
Cascaded Search flag that existed at the time the user selected the component. If desired, the user can
change the bank search order and the Ca scaded Search flag before selecting every component, giving
each component a unique set of criteria.
The user can right-click on a component in the Selected Components list to open the pop-up menu
shown in Figure 88.
From this menu, the user can Rename the component, Delete the component from the Selected
Components list and therefore from the regress case, or view the Details of the component.
If the user renames the component, the new name exists only in the given regress case. The component
retains its original name in all other regress cases, and in the system databases.
105
Thermo Data Manager 4.3 User Guide Components and Thermodynamics Window for Regress
The detail screen in Figure 89 shows that the user selected t he component when Cascaded Search was
set On, and the Component Family filter was not set to a single databank. TDM found no information in
the first databank, found some information in the second databank, found further information in the th ird
databank, and nothing in the remaining databanks.
The detail screen in Figure 90 shows that the user selected t he component when Cascaded Search was
set Off, and the Component Family filter was not set to a single databank. TDM found no information in
the first databank, found some information in the second databank, and stopped searching.
If t he user had s elected a single dat abank from the Component Family list, the component detail screen
would show only that databank, no matter the setting of t he Ca scaded Search, and no matter how many
other databanks might have information about the component.
106
Components and Thermodynamics Window for Regress Thermo Data Manager 4.3 User Guide
The user must select whether to reload the component information for all components or only for the
selected ones. Then the user must select a plan for reloading component information:
To reload information using the bank search order and value of the Ca scaded Search flag that the
component already has. This option is most commonly used after the user modifies the data in a
databank and wants to reload the current components with the updated data.
To reload the information using the bank searc h order and value of the Ca scaded Search flag with
those currently set on the Library tab. This also replaces the component’s bank search order and
Cascaded Search setting. This option is used when the bank that was previously used for a
component is no longer present and the user wants to switch to a different bank.
To try to reload information using the bank search order and value of the Ca scaded Search flag that
the component already has. If those criteria are no longer valid, usually because the databanks have
changed, TDM replaces the component’s stored bank search order and value of the Ca scaded
Search flag with those currently set on the Library tab. This also replaces the component’s bank
search order and Ca scaded Search setting.
Databanks
The Available Banks list shows all t he databanks that are available in the list of Libraries in Use, which
is on the File tab. The user can move drag and drop databanks from the Available Banks list into the
Bank Search Order list.
107
Thermo Data Manager 4.3 User Guide Components and Thermodynamics Window for Regress
To change t he order in which TDM searches the databanks, the user can drag databanks up and down in
the Bank Search Order list. Depending on the problem at hand, the user may want to drag to the top of
the Bank Search Order list the databanks that are likely to have the most basic and accepted
information about the component; or the user may want to drag to the top any user -created databanks
that have special, recent or experimental information about the component.
When processing each component in the regress case, TDM searches the d atabanks for information.
If the Ca scaded Search box is checked, TDM draws component information from the topmost
databank in the Bank Search Order list. If the first databank has no data for the component, TDM
looks in the next databank in the list, and so on down the list of databanks. Even when TDM find
information in one databank, it continues to look down the list, to find furt her information that earlier
databanks might not have. Information in databanks higher in the list takes priority over information
in databanks lower in the list. If the component does not exist in any of the databanks in the Bank
Search Order list, TDM displays the error message shown in Figure 87.
If the Ca scaded Search box is unchecked, TDM tries to draws component information from the
topmost databank in the Bank Search Order list. If the component does not appear in the topmost
databank, TDM searches the next databank, and so on until it finds a databank that has information
about the component, or reaches the bottom of the list. Once TDM finds a databank that has
information about the component, it stops searching, even though later databanks may have more
information. If no databanks in the list have information about the component, TDM displays the error
message shown in Fi gure 87.
Method Tab
The user can create one or more Method Slat es for the regress case, by selecting the Method tab, as
shown in Figure 92.
108
Components and Thermodynamics Window for Regress Thermo Data Manager 4.3 User Guide
To create a Method Slate, the user enters a name for the slate in the New Method Slate field, as shown
in Figure 93, then either presses the <Enter> key or clicks the Add button.
The name appears in the Method Slate Name dropdown list, shown in Figure 94.
The user selects a method slate from the list, and then opens the Data controls to select the actual
methods for that slate. The Data controls list two main types of data for which the user can select
calculation methods: Thermodynamic Data and Transport Data. Under each of these are sub
categories, as shown in Figure 95.
Thermodynamic Data
The user can right-click on the Thermodynamic Data node and select the desired thermodynamic
method from the list. TDM applies the selected method to all phases of all properties to which the met hod
applies. For any phase or property to which the selected method does not apply, TDM selects an
appropriate method to give a complete, consistent set.
109
Thermo Data Manager 4.3 User Guide Components and Thermodynamics Window for Regress
Figure 96 shows that the user selected the Chao-S eader method, which TDM assigned to the liquid
phases of t he Equilibrium property. The CS method is not appropriate for any other properties or phases,
so TDM assigned the CP, SRK, RK and API met hods to those ot her propert ies and phases as shown.
The user can select a calculation method for the properties Enthalpy, Equilibrium, Density and
Entropy, merely by right-clicking on the name of the property and selecting a method from the list. The
list shows only thos e methods that apply to all three of the phases Vapor, Liquid 1, and Liquid 2. Figure
97 shows a partial sample list of the thermodynamic methods that are available to these three phases of
the Entropy property.
110
Components and Thermodynamics Window for Regress Thermo Data Manager 4.3 User Guide
The user can select individual methods for eac h phas e, by right -clicking on the name of the phase and
selecting a method from the list. The name of the method appears next to the phase or property to which
it applies. Figure 98 shows a single method selected for all phases of Entropy, and individual met hods
selected for each phase of Density. The list of methods available to individual phases is usually longer
than the list available to the property.
Some phases of some properties have only one calculation method. That method appears already
selected, and the user cannot select a different one. Figure 95 shows the Library method already
selected for the Solid phas e of the Enthalpy property.
Transport Data
The user can select calculation met hods for Dynamic Viscosity, Thermal Conductivity and Surface
Tension, merely by right-clicking on the name of the property and selecting a met hod from the list. The
list shows only those methods that apply to all three of the phases Vapor, Liquid 1, and Liquid 2. TDM
assigns the selected method to all phases: Vapor, Liquid 1 and Liquid 2. Figure 99 shows the transport
methods available to all three phas es of the Dynamic Viscosi ty property.
111
Thermo Data Manager 4.3 User Guide Components and Thermodynamics Window for Regress
The user can select individual methods for eac h phas e, by right -clicking on the name of the phase and
selecting a method from the list. The name of the method appears next to the phase or property to which
it applies. Figure 100 shows a single method selected for all phases of Dynamic Vi scosi ty, and
individual methods selected for each phases of Thermal Conductivity.
The user can select only a single Surface Tension method, because Surface Tension does not apply
to individual phas es.
File Tab
On the File tab, shown in Figure 101, the user can select libraries from the Available Libraries list on the
left and drag them into the list of Libraries In Use on the right. This makes all the databanks of those
libraries available for the user to select or arrange on the Library tab, shown in Figure 86.
112
Components and Thermodynamics Window for Regress Thermo Data Manager 4.3 User Guide
To remove a library, the user right-clicks on a library in the Libraries In Use list and selects the Remove
item, as shown in Figure 102.
If the Bank Search Order list on the Library tab held any of the databanks of the now-removed Library,
those databanks disappear from Bank Search Order list.
When the user clicks the OK button, the Components and Thermodynamics window closes. If the user
loaded components from a particular databank, then removed the databank from the Bank Search
Order list, TDM can no longer process the component. The error message shown in Figure 103 appears.
The user must return to the Library tab and click the Reload Component Data button.
113
Thermo Data Manager 4.3 User Guide
C HAPTER 11
Property Synthesis
The Property Synthesis utility predicts a component’s functional properties, such as vapor pressure,
density, viscosity and others, based on the molecular structure for a wi de range of temperatures.
In This Chapter
Open the Property Synthesis Utility .............................................................................................. 115
Print Results ............................................................................................................................... 121
Draw a Molecular Structure ......................................................................................................... 121
SMILES ..................................................................................................................................... 122
Info about Property ..................................................................................................................... 123
Select Units ................................................................................................................................ 124
Experimental Data and Calc ulation Options .................................................................................. 125
Component Property Mapping ..................................................................................................... 126
115
Thermo Data Manager 4.3 User Guide Property Synthesis
Either method opens the Property Synthe si s window shown in Figure 104. If t he component is a known
component, its structure appears in the Drawing Area on the right hand side of the Property Synthe si s
window.
The Property Area on the left side has five tabs. The first tab summarizes the data and calculations from
the four estimation methods shown on the other tabs. These remaining four tabs all estimate the
properties of the component, each according to a different group-contribution estimation method:
Marrero and Gani (2001), Constantinou and Gani (1994), Joback and Reid (1987), and finally
Wilson and Jasperson (1996).
116
Property Synthesis Thermo Data Manager 4.3 User Guide
Figure 105 shows the page of the Marrero and Gani method.
The first section of the page is a header with the chemical name, the CAS number and the molecular
weight of the drawn compound. The user enters the CAS number, or retrieves it from a TDM database,
and retrieves the name from a TDM database.
The second section is the Primary Properties section. Primary properties are those properties that only
depend on the molecular structure. For each property, the following data appears:
Short identifier
Unit of measure
Estimated value, calculated using the active method
Experimental value - If this value is available, the user can enter it or retrieve it from an internal data
base
Relative error, in percentage of units - If the experimental value is available, TDM calculat es this
error as Rel. Error = Abs Error/Exp. Value*100
Absolute error - If the ex perimental value is available, TDM calculates this error as: Abs. Error =
ABS(Exp. Value – Est. Value)
The next section lists the Secondary Properties, which are those that depend on both the molecular
structure and primary property values. TDM calculates secondary property values using as input data the
estimated primary property values or user-supplied values. The information offered for each secondary
property is the same as that offered for primary properties.
117
Thermo Data Manager 4.3 User Guide Property Synthesis
Figure 106 shows the Functional Properties, which depend mainly on temperatures, but can also
depend on molecular structure, primary or secondary properties, or even other functional properties.
118
Property Synthesis Thermo Data Manager 4.3 User Guide
Figure 107 shows the final section of the page, which lists the group description of the drawn chemical
structure according to the current active method.
The Summary page differs from t he other pages in the way it displays the results. Figure 107 and Figure
show that the first section of the Summary page is similar to those of the other pages, but it also shows
the SMILES string of the drawn molecular structure.
The next section shows the best results for each property obtained from the different methods. The
criteria to select the best results are as follows:
If the experimental value is available, Property Synthesis chooses the results by comparing the
relative errors obtained from each method and selecting the lowest one.
Otherwise, the selected results are those calculated by the Marrero and Gani method. If this
method cannot provide an estimate for a given property, the utility uses the results from the
Constantinou and Gani method. If this does not give the estimate either, the selection goes to the
Joback and Reid method, and as a last resort, the utility uses the Wilson and Jasperson method.
119
Thermo Data Manager 4.3 User Guide Property Synthesis
The summary data can be lengthy, and the user might have to scroll down to see all of it, as shown in
Figure 108.
If a method cannot estimate results for a given component, the Property Synthesis utility disp lays the
error message shown in Figure 109.
120
Property Synthesis Thermo Data Manager 4.3 User Guide
Print Results
The user clicks the Print Results button in the lower right corner to open the Print/Export screen, as
shown in Figure 110.
On this screen, the user clicks the Save to Word File Format … button to save the results to a file, or
clicks the Print … button to send the results to a print er.
This example starts when the user clicks the aromatic ring button on the toolbar.
121
Thermo Data Manager 4.3 User Guide Property Synthesis
SMILES
The Property Synthesis utility can use a molecule’s SMILES description to draw the molec ular structure.
The user right-clicks in the drawing area, selects Import, and then selects SMILES.
The utility opens the window shown in Figure 113, into which the user writes or pastes the SMILES
description. When the user clicks the OK button, Property Synthesis draws the molec ule and shows the
calculated properties.
122
Property Synthesis Thermo Data Manager 4.3 User Guide
If the user enters a SMILES string that is not valid, or that contains a molecule that the Property
Synthesis utility does not support, the Property Synthesis utility displays the error message shown in
Figure 114.
At the bottom of the window is the Go to Input Data button, which the user can click to open the
Experimental Data and Calculation Options window.
123
Thermo Data Manager 4.3 User Guide Property Synthesis
Select Units
The user clicks the Select Units button at the bottom of the drawing area. The Property Synthesis utility
opens the Select Units window, as shown in Figure 116.
The user clicks on a property in the Properties list, then clicks on a unit of measure in the Units list.
When all the desired units of measure are correct, the user clicks the OK button. The Property Synthesis
utility uses the selected units of measure to display the information in the Summary report and the
estimation method tabs.
124
Property Synthesis Thermo Data Manager 4.3 User Guide
Property Synthesis uses the experimental values in the Experimental Data and Calculation Options
window to compare relative errors of the four methods. The met hod that comes closest to the
experimental value for each property is the method the program selects as best suited for that specific
property. The utility normally passes back to TDM only the predicted values for eac h property. However,
If the user checks the Data Override option for a property, Property Synthesis sends to TDM the
experimental data instead of the predicted data.
The Range of Temperatures items allow the user to specify the temperatures at whic h the functional
properties are calculated. The Re set button clears all values.
The Use Exp. Values checkbox, when checked, sends the experimental values as input data to the
different estimation methods implemented in Property Synthesis. The experimental values serve to
estimate the non-primary properties, and the utility overwrites the real data.
When the user finishes entering experimental data and clicks the OK button, the Experimental Data
and Calculation Options window closes and the us er returns to the Property Synthesi s window.
125
Thermo Data Manager 4.3 User Guide Property Synthesis
Temperature-Dependent Properties
Table 14 shows the temperature dependent property data from Property Synthesis and the correlation
numbers that map the properties into TDM:
Table 14 Temperature-Dependent Property Correlation Data
Liquid Density 16
Thermal Conductivity 4
Liquid Viscosity 20
Ideal Gas Heat capacity 1
Heat of Vaporization 53
Liquid Enthalpy 54
126
Thermo Data Manager 4.3 User Guide
Figure 119 shows the user entering information for the new component. TDM assigns the SIMSCI ID.
Not knowing the CAS number, the user can leave this field blank. TDM does not allo w the FORMULA
field to be blank, so the user can enter just the letter x.
Figure 120 shows two new components, once created from scratch, and the other created as a copy of
Acetic Acid, then given its own name. The one created from scratch has no formula, and the other has
the same formula as Acetic Acid.
The user checks the checkboxes for both the new components to select them, and then selects the
Basi c tab on the right side of the window.
127
Thermo Data Manager 4.3 User Guide Fill from Structure
In Figure 121, the grid in the Ba sic tab shows that the first new component has no properties defined.
The second new component has the same defined properties as Acetic Acid, the component on which it
was based.
The TempDep tab, as shown in Figure 122, displays the temperature-dependent properties for the
selected component, which in this case is the new component that has no properties defined. The user
can select any of the properties on this tab, and they will all show values of zero.
128
Fill from Structure Thermo Data Manager 4.3 User Guide
Figure 123 shows the Ba sic Propertie s on the Fixed tab. Again, the completely new component has
values of zero for all properties, and the new component based on the existing component Acetic Acid
has the properties of that existing component.
129
Thermo Data Manager 4.3 User Guide Fill from Structure
Figure 126 shows the Fixed Heat and Energy Data on the Fixed tab.
Figure 127 shows some of the Mi scellaneous Properties on the Fixed tab.
130
Fill from Structure Thermo Data Manager 4.3 User Guide
Figure 128 shows more of the Mi scellaneous Properties on the Fixed tab.
To build the molecule of the new component, the user selects the UNIFAC tab, as shown in Figure 129.
The Category drop-down list offers several categories of molecular structures, and the Group
drop-down list shows the individual types. The category names and group numbers mostly conform to
the UNIFA C standard, with a few additional items developed by SimSci. The Structure field shows a
representation of the molecular structure.
Figure 129 shows the user selecting Amide group 421 to insert into the new component. When the user
clicks the Insert Group button, the structure appears in the lower grid.
131
Thermo Data Manager 4.3 User Guide Fill from Structure
Figure 130 shows the grid after the user selected and inserted Amide group 421, seven copies of
Naphthene group 1001, and Acid group 100. To insert more than one copy of a given group, t he user
clicks the Insert Group button once, then clicks the up and down arrows in the Group Count column of
the grid.
After selecting all the groups and the quantities of each group that will form the structure of the new
component, the user clicks the Fill from Structure button.
132
Fill from Structure Thermo Data Manager 4.3 User Guide
To verify that TDM calculated the properties of the new component, the user can select the TempDep
tab again. Figure 131 shows that the properties of the new component now have values, where Figure
122 showed them empty.
133
Thermo Data Manager 4.3 User Guide Fill from Structure
Figure 132 shows some of the miscellaneous properties of the new component, compared to Figure 127,
which shows the properties without values.
Figure 133 shows some of the critical properties of the new component, compared to Figure 124, which
shows the properties wit hout values.
134
Fill from Structure Thermo Data Manager 4.3 User Guide
When the user selects the other new component, the one created from an existing component, the
UNIFAC tab shows the structure of the original component already loaded into the grid, as shown in
Figure 134.
Figure 135 shows the grid after the user selected and inserted Aromatic group 1223 and three copies of
Ketone group 1322. To ins ert more than one copy of a given group, the user clicks the Insert Group
button once, then clicks the up and down arrows in the Group Count column of the grid.
135
Thermo Data Manager 4.3 User Guide Fill from Structure
After the user clicks the Fill from Structure button, TDM calculates the properties that are not already
calculated. Figure 136 shows that TDM calculated the Rackett property for the new component, even
though Figure 132 shows that this component did not have the Rackett property defined before.
TDM does not change the other properties to match the new molecular structure, but rather keeps the
existing values. To have the Fill from Structure function recalculate any of the existing properties, the
user must clear the properties in the grids before clicking the Fill from Structure button.
136
Thermo Data Manager 4.3 User Guide
Glossary
Checked Components are components checked in the component viewer. The data for all the checked
components appears in the Property form. The user can check more than one component. The user can
view and modify the dat a for checked components.
Databanks are a collection of components for which all necessary data are available, either by TDM or
by the user.
Data Types The dat a types are a collection of different databank types. There are two data types
available - Unary and Binary.
Databank Types A databank type is useful in predicting or estimating property data for the components.
For example, a pure component databank type of Unary data type predicts the physical and temperat ure
dependent properties of the component.
The other data types are us eful in predicting the liquid densities, liquid activity coefficients and equation
of states of the components.
Libraries A collection of databanks. The libraries can be either system or user libraries. TDM native
libraries include the SimSci databank (SIMS CI), the Process databank (P ROCESS), and the Electrolyte
databank (OLILIB).
Primary File/Library A primary library is the reference library, which TDM refers for component names
and properties. Only a system library can be set as a Primary File.
Selected Component A component selected in the component viewer. A selected component is
highlighted. The data for the selected c omponent appears in the Property form. The user c an select only
one component at a time, and can view the data only for a selected component.
137