#-----------------------------------------------------------------------
# NRTL configuration file for 1 gas phase plus 2 liquid phases
# (uses LLE form of NRTL)
#
# 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;

# Define the vapour phase model as ideal gas, idg.
model MIDG IDG;

# Define the liquid phase model as NRTL (lle version) using the gas phase
# model Midg. To set BIPs use the default BIPSET identifier NRTLLLEBIP3
# Define LLE and VLE BIP databank.
#
bipdata INFOLLBIPS INFOBIPS;
bipset NRTLLLEBIP3 3 constant ;
model MNRTLLLEMIDG NRTL LLE MIDG NRTLLLEBIP3;

# Define models for the viscosity, thermal conductivity and surface
# tension using simple mixing rules for vapour and liquid phases
model MVVS1 VVS1;
model MLVS1 LVS1;
model MVTC1 VTC1;
model MLTC1 LTC1;
model MST1 ST1;

# Remove all current PDs
remove pd;

# define the phase descriptor named 'Gas' for the gas phase.
# The thermodynamic properties are calculated by Midg. The viscosity and
# thermal conductivity are calculated from the mixing rule models
pd GAS gas MIDG * * MVVS1 MVTC1;

# Define the phase descriptors for the first and second liquid phases
pd LIQUID1 liquid MNRTLLLEMIDG * * MLVS1 MLTC1 MST1;
pd LIQUID2 liquid MNRTLLLEMIDG * * MLVS1 MLTC1 MST1;

# define KEY components if required to distinguish between the liquid phases
