Multiflash (32 bit), Version 6.0 README.TXT file
Copyright (C) 2015, KBC Advanced Technologies plc.

Created: 19 February 2015

1. Introduction

This file contains information that will help you install and run
Multiflash on a 32/64 bit Windows system. The 32 bit version of Multiflash
will run under Windows 2000/XP/Vista/7/8/8.1 32 or 64bit. The Excel
interface can work with 32 and 64 bit versions of Excel starting from
Excel 2000. You must also install the necessary software to run the
licensing system. 
More information can be found in sections 4 and 5 of this file.

2. Hardware requirements

The minimum requirement to run Multiflash is a Pentium class processor.
If the hardware runs Windows it will run Multiflash. 

The program itself and associated files require about 150 Mb of disk
storage. 

3. Installing the Multiflash program

  To install Multiflash on your computer run the Launch program and
  from there click "install Multiflash".
  Setup installs Multiflash itself, the HELP system, Infochem databanks,
  the standard model configuration files and sample problem setup files.
  In addition the Excel interface and associated files will also be
  installed.

 Installing the Multiflash program from the downloaded package:
   The zip file should be extracted into a directory.
   It contains these files:
      /autorun.inf
      ./Bin
      ./Bin/demo32.exe
      ./Bin/gdiplus.dll
      ./Bin/InstallGuide.pdf
      ./Bin/Multiflash
      ./Bin/Multiflash/Data1.cab
      ./Bin/Multiflash/Multiflash.msi
      ./Bin/Multiflash/setup.exe
      ./Bin/Multiflash.dbd
      ./Bin/netadmin
      ./Bin/netadmin/KBC Security Utilities.msi
      ./Bin/RLM
      ./Bin/RLM/setup.exe
      ./Bin/safenet
      ./Bin/safenet/SecurityKeyDriver.exe
      ./Bin/safenet/server
      ./Bin/safenet/server/Setup
      ./Bin/safenet/server/Setup/Data1.cab
      ./Bin/safenet/server/Setup/Sentinel RMS License Manager 8.3.0.msi
      ./Bin/safenet/server/Setup/setup.exe
      ./launch.exe
      ./Launch.ini
   1. Double click launch.exe to start the Launcher screen.
   2. Click "Install Multiflash"
   2. When Setup starts follow the instructions on your screen.
   3. You will be prompted to enter the path to the directory where you want to
         install Multiflash. The default directory is \Program Files (x86)\Infochem\MF60.
         If you have a previous version of Multiflash already installed it is
         strongly recommended that you install Version 6.0 in a separate directory.
   4. You are offered a choice of 3 types of installation.
         Typical: installs both the Multiflash program and the Excel interface.
         Minimal: installs only the Multiflash program.
         Custom:  allows you to choose to install the Multiflash API
              files, Unisim design and Hysys Upstream support along with
              Multiflash base package
   5. Setup will add a new item for Multiflash 6.0 to the Programs Menu on
         the Start button and a shortcut icon on your desktop.

A list of the files that are copied to your computer can be found in the
file FILELIST.TXT in the Multiflash directory.

4. Using the KBC SLM system
Detaild help on how to install and troubleshoot the KBC SLM system can
be accessed via the launcher screen by cliing in "Licensing help".
This will open a wiki page on the internet with help foe the KBC SLM system.

5. Installing the RLM protection system
In version 6.0, the RLM system is still supported. The software licensing system
developed by Reprise Software is called RLM (Reprise License Manager).
Infochem has also developed a software to make the licensing system
easy to manage. This is the "Multiflash license manager" which can be
used to configure RLM or to switch the license control to the USB
dongle for versions prior to 6.0.
This can be installed via the laucher screen "RLM utilities".
More information on how to run and use the program is described in the section
"RLM license system installation and management" on the installation guide.


6. Setting the PATH

The directory where the Multiflash DLL file MFPVT32.dll is installed must
be accessible to all programs that use the dll. However, setting the PATH is
only necessary if the VBA interface is going to be used. By default the dll is copied to the Multiflash
working directory ( \Program Files (x86)\Infochem\MF60 ) which is accessible to
all programs. If you wish to put the file in another directory the
directory name must be added to the PATH environment variable.

To set the path for Windows use Control Panel and click on System.
Select the Advanced tab and the Environment button. In the User
variables section click on PATH and then Edit to add to existing
settings or click on the New button to create a new user PATH variable.
Set the PATH user variable.


7. Environment variables

The variable INFOCHEM_LICENSE is used by the RLM system to
control Multiflash licenses. It is also used to select which security
system is used. It it does not exist in the system, the KBC SLM system
is used.


8. The databank path

Multiflash needs to use a number of data files which are listed below:

infodata.bin    Databank for fluid components
infodata.idx    Index for above
mflash.msg      Displays for Multiflash GUI
mflash.mix      Index for above
mflash.err      Error message file
mflash.eix      Index for the error messages.
dippr.bin       Dippr databank file ( optional )
dippr.idx       Index for Dippr databank
infobips.bin    BIP databank ( VLE )
infobips.idx    BIP databank index ( VLE )
infollbips.bin  BIP databank ( LLE )
infollbips.idx  BIP databank index ( LLE )

These files are normally installed in the same directory as the Multiflash
program. The Tools/Preferences/Folders menu option in the Multiflash GUI
can be used to change to contain location if you move these files.

9. Running Multiflash

After following the steps described above you should check that Multiflash
runs correctly. To start Multiflash select 'Multiflash 6.0' in the Programs
Menu and click on the Multiflash 6.0 icon or click the shortcut icon of Multiflash
6.0 on your desktop.


10. Installing the Multiflash Excel interface

The Excel Addin should be automatically installed when Multiflash is
installed.
However if it does not appear in Excel it can be easily installed manually.
The Multiflash version 6.0 32 bit Excel add-in is compatible with Excel
2000 or later. 

To manually install the Multiflash Excel add-in:
  1. Start Excel.
  2. Choose the Add-Ins from the Tools menu.
  3. Click on the Browse button.
  4. Select the directory in which you installed Multiflash (the default
     is C:\Program Files (x86)\Infochem\MF60 ) and select the add-in MFXLPVT32.xll
  5. Click on OK and Multiflash-Excel XLL Ver 6.0 should be added to the
     list of Add-ins available and should have a tick mark next to it.
  6. Click on OK to return to Excel. There should be a MF menu item added
     to the other Excel menus. This allows you to launch Multiflash GUI from
     Excel, clear or load/reload the Multiflash add-in.
     
Note: for 64bit versions of Excel the file to be used is
MFXLPVT64.xll. Additionally the Visual studio 2010 runtime libraries
must be installed manually: go to programs menu->Multiflash
6.0->utils-> VS 2010 X64 runtime.


If you have a previous version of the Multiflash add-in already
installed you will first need to remove it from Excel. This can be done
as follows:
  1. Start Excel. The MF menu item will be present.
  2. Choose the Add-Ins from the Tools menu.
  3. Click on the check box next to the Multiflash-Excel XLL add-in to
     remove the tick mark. Click on OK to close the Add-ins dialog.
  4. Save the empty workbook (eg. Book1.xls) and exit Excel.
  5. Restart Excel. The MF menu item should not be present.
  6. Now follow the instructions above to install the new Multiflash Excel
     add-in.


11. Testing the Multiflash Excel interface

After installing the Excel add-in it is recommended that you test that it
is operating correctly.
  1. Install the add-in as described above.
  2. Ensure that the settings in the Tools/Preferences/Folders menu
     option in the Multiflash GUI are correctly set, ie. that the files
     listed in section 7 above are present in the directory specified.
  3. Start Excel and open the sample file TEST.XLS which is installed in
     the Multiflash directory. This is a simple example of a flash
     calculation at specified T and P.
  4. Select the MF menu item and click on Load. A message giving the
     version of the Multiflash Excel add-in should be displayed. Click
     on OK.
  5. A dialogue box with the message 'Please enter the range containing
     the initialisation string' will be displayed next. Drag in the
     spreadsheet to select the range $A$1:$A$6 or type in the range.
  6. A message box should confirm that Multiflash has been successfully
     initialised.
  7. If Multiflash is not successfully initialised a list of
     error/warning numbers and messages will be displayed. If only
     numbers are displayed without any explanation this means that the
     error message files MFLASH.ERR and/or MFLASH.EIX cannot be found.
     To look up error numbers you can use the Help/Multiflash Error
     Codes menu item.
  8. If the add-in has successfully loaded you should be able to change
     the input conditions (T, P, composition) and the outputs will be
     recalculated. If the results are not recalculated check the
     calculation tab on the Tools/Options menu. If manual recalculation
     is selected you need to press F9 to make the spreadsheet
     recalculate.


12. Removing Multiflash from your computer

To uninstall Multiflash:
  1. If the Excel add-in is installed remove it as described above.
  2. In the Control Panel double-click on Add/Remove Programs.
  3. Scroll down the list of programs to 'Multiflash 4.2' and select it.
  4. Click on Add/Remove and when asked to confirm the deletion click on
     Yes if you wish to go ahead. You may be asked to confirm that you wish
     to delete certain shared system files (.dll or .ocx). It is only safe
     to delete system files if all installed programs correctly follow the
     Microsoft installation guidelines. If in doubt do not delete system
     files. You may safely delete MFL4232.dll if you wish to uninstall
     Multiflash.
  5. User information is stored in the Windows Registry under the key:

     \HKEY_CURRENT_USER\Software\Infochem\Multiflash\Version 6.0
     
     The generic information is set in
     \HKEY_LOCAL_MACHINE\Software\Infochem\Multiflash\Version 6.0
     
     The uninstall procedure will remove the general settings but the 
     user settings will not be removed. You may remove these keys 
     but you should only attempt to do so if you are sure that you 
     are competent to do it and understand the consequences of getting it wrong.

13. Licence options

The standard version of Multiflash includes:

Thermodynamic models:
  Ideal gas, RK, RKS, RKS (API), RKS(Advanced), RKSA(Infochem), PR,
  PR78, PR78A, PR(Advanced), ZJ, PSRK, LK, LKP,
  BWRS equations of state (EOS), Infochem CPA-association model.
  Advanced RKS and PR EOS include options for fitting to the known
  vapour pressure, the Peneloux density correction and specialised
  mixing rules.
  Ideal liquid, WilsonE, WilsonA, UNIQUAC-VLE, UNIQUAC-LLE, NRTL-VLE,
  NRTL-LLE, UNIFAC-VLE, UNIFAC-LLE and Regular Solution activity models.
  Pure solid freeze-out model
  COSTALD liquid density model.
  Redlich-Kwong model.
  Virial (HOC) model.

Transport property models:
  Mixing rules for vapour and liquid viscosity and thermal conductivity
  and for surface tension.
  The LBC, Pedersen and Twu viscosity models.
  The Super TRAPP and CLS thermal conductivity model.
  The Macleod-Sugden and Linear Gradient Theory surface tension models.
  The Diffusivity model.

Databanks:
Infodata, Petroleum fractions correlations

The following options may still be listed in your Windows package but
will not be accessible, nor will the sample problem setup files unless
they have been licensed from Infochem or our agents.

Models:
  Gas hydrates
  Hydrate nucleation model
  Hydrate Infochem CPA association model
  Hydrate Infochem electrolyte model
  Hydrate association electrolyte model
  Hydrate Halide scales model
  Wax model
  Asphaltene model
  CSMA corresponding state model
  GERG-2008
  PC-SAFT model
  Steam tables(IAPWS-95)
  Mercury model
  CO2 high-accuracy model
Databanks:
  DIPPR
Excel interface:
  The Multiflash XLL add-in for Microsoft Excel
CAPE-OPEN interface:


Multiflash is not copy protected. You are free to make copies for backup
purposes. However, you should remember that a PC licence permits you to
use the program only on the number of PCs defined by that licence and
this is controlled by the software protection device. Passing copies on
to other people is an infringement of the copyright of Infochem Computer
Services Limited. If you have a demonstration, evaluation or lease copy
it must not be used after the expiry date.


14. Getting technical support
Multiflash includes online help via the Windows Help system. If you need
further help you can contact us by email, fax or telephone. The contact
details are listed below.

-----------------------------------------------------------

     MULTIFLASH is a product of:
     KBC Advanced Technologies plc.
     42-50 Hersham Road
     Walton on Thames
     Surrey
     KT12 1RZ
     UK
     T +44 (0) 1932 242 424
     F +44 (0) 1932 224 214
     Email:         software@kbcat.com

-----------------------------------------------------------
