Professional Documents
Culture Documents
Flash Mate LNG
Flash Mate LNG
Short description
With this Excel add in program, flash calculations can be carried out from within Excel
through appropriate function calls and properties of the phases calculated.
Items
The product is delivered as a compressed file “FlashMateLNG Release 2008-05-
22.zip”.
Files can be extracted to a folder selected by the user. After decompressing, the following
files and directories should be present:
“Adsorption functions.xla” Excel Add-in
FlashMateLNG.dll Dynamic link library with FlashMate
core functions
Pepper\*.* Database files
InstallAddin.exe Utility to install Excel add-ins
Doc\FlashMateLNG.doc This document
Doc\Example.xls Example spreadsheet showing how to
use the stflash macro
Installation.
Create a folder, for instance “C:\Apps\Adsorption Functions”. Copy
(extract) all the files to this directory.
Make sure Excel is not running.
Go to the directory and drag “Adsorption Functions.xla” onto
InstallAddin.exe. This will install the add-in into Excel.
Open file Doc\Example.xls and check that everything works.
The first time you open this file, it will ask you whether it should update links to
another workbook, which in this case is our new xla file. Answer “No” here. After a
short while, a message box should appear, notifying you that the links were updated
automatically. After saving the file, you will not be asked this again. Note: This will
happen with any file that uses “Adsorption Functions.xla” and was created
on a PC where it was installed in a different directory than on your PC, or in an older
version in a different installation directory.
Usage
The functionality is available via the function
The inputs can be specified in the function call or by reference to one or more cells in the
spreadsheet. The meaning of the parameters (arguments) is explained in Table1. The
supported property keywords are in Table 2.
The Phase parameter indicates the phase for which you want to retrieve the properties. Phase
1 and 2 are liquid phases, while phase 3 is the vapor phase. Phase 4 can be specified to access
feed properties, where available. The phase parameter is optional and when it is not specified,
phase 3 is used, except for X, Fugacities and LogFugacityCoefficients, which are explained
below. Phase 0 is equivalent to not specifying the Phase parameter.