#-----------------------------------------------------------------------
# LKP configuration file for 4 phases: gas, 2 liquids, and water
#
# Revised: 17.01.2006
#
#-----------------------------------------------------------------------

# Pure component data are taken from the Infodata data bank
puredata Infodata;

# Define the characterisation type:
chardata INFOCHAR TBSOEREIDE;

# remove all currently defined models and bip sets
remove models;remove bipsets;

# Binary interaction data to be estimated with the Infochem "infobips" and
# "oilandgas" method unless entered by the user into bipset LKPBIP
bipdata OILANDGAS INFOBIPS;

# Define the Lee Kesler Plocker equation as the thermodynamic model MLKP
# To set BIPs use the default BIPSET identifier LKPBIP
bipset LKPBIP 1;
model MLKP LKP LKP LKPBIP;

# Define the Pedersen model for viscosity: MPDVISC
model MPDVISC PDVISC LFIT;

# Define the Chung, Lee and Starling method as the thermal conductivity
# model MCLSMLKP (MCLSMLKP uses the model MLKP to calculate densities)
model MCLSMLKP CLS MLKP;

# Define the MacLeod-Sugden method as the surface tension model MMCSMLKP
# (MMCSMLKP uses the thermodynamic model MLKP to calculate densities)
model MMCSMLKP MCS MLKP;

# Remove all current PDs
remove pd;

# define the phase descriptor named 'Gas' for the gas phase
# (Gas uses the MLKP model for the thermodynamic properties, the MPDVISC
# model for the viscosity, the MCLSMLKP model for the thermal conductivity)
pd GAS gas MLKP * * MPDVISC MCLSMLKP;

# Define the phase descriptor 'Liquid1' for the 1st hydrocarbon liquid phase.
# (Liquid1 uses the MLKP model for the thermodynamic properties, the MPDVISC
# model for the viscosity, the MCLSMLKP model for the thermal conductivity
# and the MMCSMLKP model for the surface tension).
pd LIQUID1 liquid MLKP * * MPDVISC MCLSMLKP MMCSMLKP;

# Define the phase descriptor 'Liquid2' for the 2nd hydrocarbon liquid phase
pd LIQUID2 liquid MLKP * * MPDVISC MCLSMLKP MMCSMLKP;

# Define the phase descriptor 'Water' for the aqueous liquid phase
pd WATER liquid MLKP * * MPDVISC MCLSMLKP MMCSMLKP;

# Define water as the key component for aqueous phase and not water
# as the key for hydrocarbon liquid phases
key LIQUID1 not 007732-18-5;
key LIQUID2 not 007732-18-5;
key WATER 007732-18-5;
