Ionic Liquids

6.1: Install and use the ADF COSMO-RS ionic liquid database

Ionic liquids (ILs), usually consisting of a large organic cation and a small inorganic polyatomic anion, have attracted considerable attention in recent years due to their unique thermophysical properties. The low vapor pressure and high conductivity of these molten salts combined with highly tunable properties, have resulted in highly diverse applications across many different fields in chemistry, materials science (battery electrolytes), chemical engineering (gas sorption and purification), and many more.

To calculate thermodynamic properties of ionic liquids with COSMO-RS, the IL may be described either as a single ion pair or as discrete cations and anions. The latter method will be mainly used here. The COSMO-RS ionic liquid database ADFCRS-IL-2014 contains 80 cations and 56 anions. This ADFCRS-IL-2014 database consists of ADF COSMO result (.coskf) files, from standard ADF quantum mechanical calculations, as described in COSMO-RS tutorial 1. The user can create new anions and cations using that same approach and add them to the List of Added Compounds.

We recommend putting the database in your ADF data directory (e.g., C:ADF_DATA)
Start ADF COSMO-RS, for instance from ADFJobs or any other GUI component: SCM → COSMO-RS

Next we will add the compounds in the database.

Select Compounds → Add Compound(s)
Select Directory → the directory of the downloaded COSMO-RS database ADFCRS-IL-2014
Select Files of type (or Filter) → List of compounds (*.compoundlist)
Select il.compoundlist
Click ‘Open’

The reading of information about the ionic liquids may take a minute.

SCM gratefully acknowledges Prof. Zhigang Lei’s research group (State Key Laboratory of Chemical Resource Engineering, Beijing University of Chemical Technology, China) for providing the ionic liquid database as well as the corresponding tutorial.

The work of Zhigang Lei group based on the COSMO-RS model using the ADF software is listed as follows:

References

  1. Z. Lei, C. Dai, J. Zhu, B. Chen, Extractive distillation with ionic liquids: A review, AIChE Journal 60, 3312 (2014)
  1. Z. Lei, C. Dai, B. Chen, Gas solubility in ionic liquids, Chemical Reviews 14, 1289 (2014)
  1. Z. Lei, J. Han, Q. Li, and B. Chen, Process Intensification on the Supercritical Carbon Dioxide Extraction of Low-Concentration Ethanol from Aqueous Solutions, Industrial & Engineering Chemistry research 51, 2730 (2012)
  1. Z. Lei, J. Han, B. Zhang, Q. Li, J. Zhu, and B. Chen, Solubility of CO2 in Binary Mixtures of Room-Temperature Ionic Liquids at High Pressures, Journal of Chemical Engineering data 57, 2153 (2012)
  1. Z. Lei, C. Dai, X. Liu, L. Xiao, and B. Chen, Extension of the UNIFAC Model for Ionic Liquids, Industrial & Engineering Chemistry research 51, 12135 (2012)
  1. Z. Lei, C. Dai, Q. Yang, J. Zhu, and B. Chen, UNIFAC model for ionic liquid-CO (H2 ) systems: An experimental and modeling study on gas solubility, AIChE Journal (2014), DOI: 10.1002/aic.14606

6.2: Ionic liquid volumes and densities

Ionic liquid densities may be estimated from the molecular volume and molar mass (MW) of the constituent cations and anions. The COSMO volume is stored in the coskf file and is displayed, together with the MW, when a compound is selected in the COSMO-RS GUI.

Click on the search button in the compounds field
Select IL_cation_1-butyl-3-methyl-imidazolium
Click OK
/scm-uploads/doc.2017/Tutorials/_images/t6_compoundBMIM.png

Volumes and molar mass of other cations and anions can be similarly found. Data for a few compounds are listed below.

  COSMO Volume (Å 3) MW (g/mol)
cations    
C4MIM 1-butyl-3-methyl-imidazolium 197.181 139.124
C6MIM 1-hexyl-3-methyl-imidazolium 241.003 167.155
C8MIM 1-octyl-3-methyl-imidazolium 282.855 195.186
anions    
BF4 tetrafluoroborate 72.489 87.003
PF6 hexafluorophosphate 103.495 144.964
NTF2 bis(trifluoromethylsulfonyl)amide 213.173 279.917

The molecular liquid density could be approximately calculated as (V in Å3 and MW in g/mol) using Avogadro’s number:

density = (MWcation + MWanion )/[0.6022*(Vcation + Vanion )]
density (g cm-3)
ionic liquid expt [621] calculated
C4MIMBF4 1.208 1.392
C6MIMBF4 1.148 1.346
C8MIMBF4 1.109 1.319
C4MIMPF6 1.37 1.569
C6MIMPF6 1.293 1.505
C8MIMPF6 1.237 1.462
C4MIMNTf2 1.429 1.696
C6MIMNTf2 1.37 1.635
C8MIMNTf2 1.32 1.591

As can be seen from this table, the calculated densities are systematically overestimated by approximately 15%. Thus, the COSMO volumes underestimate the volume of a single compound, if they are used for estimating the liquid densities.

References

  1. C. Ye and J.M. Shreeve, Rapid and Accurate Estimation of Densities of Room-Temperature Ionic Liquids and Salts, Journal of Physical Chemistry A 111, 1456 (2007)

6.3: Activity coefficient calculation

The activity coefficient of a compound i solvated in an ionic liquid is an important thermodynamic property. The cation and anion, which have been treated separately, will be used in equal amounts to ensure an electroneutral mixture in the COSMO-RS calculation.

In other applications cation-anion pair have been treated as one molecule, however, in the COSMO-RS calculations below we will treat the cation and anion as two separate molecules. This has consequences for the value of the activity coefficients.

For example, for a 1:1 IL (i.e., [A]+ [B]- ), the activity coefficient at a finite concentration of solute i in the binary mixture (IL + solute) can be calculated by

γi bin = (γi tern xi tern )/xi bin = γi tern /(1+xIL bin )

where the superscript “tern” represents the hypothetical ternary system comprising cation, anion and solute i, with

xcation tern = xanion tern
xcation tern + xanion tern + xi tern = 1

and the superscript “bin” represents the binary mixture comprising solute and IL, with

xIL bin + xi bin = 1

Accordingly, the activity coefficient of a solute i in the binary mixture (IL + solute) at infinite dilution is simplified as

γi bin = 0.5 γi tern     (at infinite dilution)

Thus in this case we should scale the activity coefficient at infinite dilution γi tern , which is directly obtained from the COSMO-RS calculation, with a factor of 0.5.

Similarly, for a ternary system comprising component i, component j and an ionic liquid, the activity coefficient at finite concentration of component i can be calculated by

γi tern = γi quart /(1+xIL tern )

where the superscript “quart” represents the hypothetical quaternary system comprised of cation, anion, solute i and solute j, with:

xcation quart = xanion quart
xcation quart + xanion quart + xi quart + xj quart = 1

and the superscript “tern” represents the ternary mixture comprising solute i, j, and IL, with

xIL tern + xi tern + xj tern = 1
Select Properties → Activity coefficients
Select ‘2 components’ in the popup menu next to Solvent
Select ‘IL_cation_1-ethyl-3-methyl-imidazolium’ for the first component in Solvent
Enter 0.5 for the Mole fraction of the first component
Select ‘IL_anion_tetracyanoborate’ for the second component in Solvent
Enter 0.5 for the Mole fraction of the second component
Enter ‘308.15’ for ‘Temperature Kelvin’
Check the ‘+’ button to add ‘Hexane’, ‘Heptane’, ‘Octane’, and ‘Decane’
Press ‘Run’
/scm-uploads/doc.2017/Tutorials/_images/t6_actinput.png

If one does not supply a density of the solvent in the input, the program calculates the density of the solvent by dividing the mass of a molecule with its COSMO volume. Note that the calculated activity coefficients do not depend on this density. The result of the calculation is given in the form of a table.

/scm-uploads/doc.2017/Tutorials/_images/t6_act.png

Note that for a comparison to experimental numbers, the calculated activity coefficients have to be scaled with 0.5, as was discussed before. In the next figure the results of the calculated activity coefficients at different temperatures are compared to experiment.

/scm-uploads/doc.2017/Tutorials/_images/t6_lngamalkane.png

In this figure activity coefficients at infinite dilution of n-alkenes in [EMIM]+ [TCB]- are shown for different temperatures ranging from 298 K to 358 K. The scattered points are experimental data from Ref.[633]. The points that are connected with a line are calculated numbers with ADF COSMO-RS. For example, for Hexane, the calculated values T = 308.15 K are: 1000/308.15 = 3.245, ln(0.5*63.8579) = 3.46.

References

  1. Z. Lei, C. Dai, J. Zhu, B. Chen, Extractive distillation with ionic liquids: A review, AIChE Journal 60, 3312 (2014)
  1. Z. Lei, C. Dai, B. Chen, Gas solubility in ionic liquids, Chemical Reviews 14, 1289 (2014)
  1. U. Domańska, M. Królikowska, W.E. Acree Jr., G.A. Baker, Activity coefficients at infinite dilution measurements for organic solutes and water in the ionic liquid 1-ethyl-3-methylimidazolium tetracyanoborate, The Journal of Chemical Thermodynamics 43, 1050 (2011)

6.4: Henry’s law constants

In this tutorial, we will calculate Henry’s law constants for CO2 in different ionic liquids. Henry’s law constant reflects the solubility of a gas in a solvent, and one way to define it is

\[H_i = \gamma_i^\infty P_i^S\]

where Hi is the ratio between the partial vapor pressure of a compound i in the gas phase and its molar fraction in the liquid phase, \(\gamma_i^\infty\) is the the activity coefficient of the compound at infinite dilution, and Pi S is the saturated pure compound vapor pressure of the gas.

The familiar Antoine and Wagner equations can be used to calculate the vapor pressure below the critical temperature Tc , if one knows the coefficients. Above Tc , they can be extrapolated as a hypothetical vapor pressure. If the experimental saturated vapor pressures of a gas is not available, then it can be estimated by COSMO-RS.

The saturated vapor pressure of CO2 at 298.15 K can be calculated by the following Antoine equation:

ln PCO2 S (MPa) = 12.3312 - 4759.46/(T(K)+156.462)

The saturated vapor pressure of CO2 at 298.15 K is 6.436 MPa (= 64.36 bar) according to this equation. The Antoine equation can also be written as:

\({}^{10}\)log PCO2 S (bar) = 6.35537 - 2067.0/(T(K)+156.462)

The activity coefficients of infinitely diluted carbon dioxide in [HMIM]+ [Tf2N]- will now be calculated.

Select Compounds → List of Added Compounds
Search on the left side ‘Carbon dioxide’ and click on it
Enter 6.35537 for the Antoine coefficient A on the right side
Enter 2067.0 for the Antoine coefficient B
Enter 156.462 for the Antoine coefficient C
Select Properties → Activity coefficients
Select ‘2 components’ in the popup menu next to Solvent
Select ‘IL_cation_1-hexyl-3-methyl-imidazolium’ for the first component in Solvent
Enter 0.5 for the Mole fraction of the first component
Select ‘IL_anion_bis(trifluoromethylsulfonyl)amide’ for the second component in Solvent
Enter 0.5 for the Mole fraction of the second component
Enter ‘298.15’ for ‘Temperature Kelvin’
Check the ‘+’ button to add ‘Carbon dioxide’ (Remove the alkanes if they are still present)
Press ‘Run’
/scm-uploads/doc.2017/Tutorials/_images/t6_actinputco2.png

The results of the activity coefficients.

/scm-uploads/doc.2017/Tutorials/_images/t6_actco2.png

As discussed before, we should scale the COSMO-RS calculated activity coefficient at infinite dilution \(\gamma^\infty\) with a factor of 0.5. Henry’s law coefficient is \(\gamma^\infty\) times the saturated vapor pressure of CO2 at 298.15 K (64.36 bar). For CO2 in [HMIM]+ [Tf2N]- the calculated H = 0.5*1.0148*64.36 = 32.7 bar. Applying the same calculations for more ionic liquids gives these results:

H (bar)
ionic liquid expt [644] calculated
BMIM PF6 53.4±0.3 53.1
BMIM Tf2 N 33.0±0.3 35.5
HMIM Tf2 N 31.6±0.2 32.7
HMPY Tf2 N 28.4±0.2 31.4
C6F9MIM Tf2 N 27.3±0.1 33.8
C8F13MIM Tf2 N 25.2±0.2 31.0
HMIM eFAP 25.2±0.1 27.1
HMIM pFAP 21.6±0.1 25.8
C5MIM bFAP 20.2±0.1 25.2
Et3 NBH2 MIM Tf2 N 33.1±1.2 30.5
/scm-uploads/doc.2017/Tutorials/_images/t6_henry.png

There are many different definitions of Henry’s law constant. Henry’s constant as calculated directly by COSMO-RS, kH (mol/(L atm)), is defined as the ratio between the liquid phase concentration of a compound and its partial vapor pressure in the gas phase. The relationship between kH and H is:

H = kH,inv px = 1/(kH Vsolvent )

where Vsolvent is the molar volume of the ionic liquid. If no densities for the cation, anion, or solvent are given, COSMO-RS will use the COSMO volume for calculating the molar volume of the ionic liquid, which is 0.2735 L/mol (=(241.00+213.17)*0.6022/1000) for [HMIM]+ [Tf2N]- , if the usual convention is followed, that a pair of a cation and an anion is treated as one molecule. Thus in this case H = 1.01325/(0.1134 * 0.2735) = 32.7 bar, where a conversion factor from atm to bar is included.

Note that kH does not depend on whether one treats a cation and an anion as separate molecules, or if a pair of a cation and an anion is treated as one molecule. H = kH,inv px does depend on this definition.

References

  1. P.G.T. Fogg and W. Gerrard, Solubility of gases in liquids: A critical evaluation of gas/liquid systems in theory and practice, New York: John Wiley & Sons, Inc., 1991.
  1. J.L. Anthony, J.L. Anderson, E.J. Maginn, J.F. Brennecke, Anion Effects on Gas Solubility in Ionic Liquids, Journal of Physical Chemistry B 109, 6366 (2005)
  1. J.L. Anderson, E. J. Maginn and J. F. Brennecke, Measurement of SO2 Solubility in Ionic Liquids, Journal of Physical Chemistry B 110, 15059 (2006)
  1. M.J. Muldoon, S.N.V.K. Aki, J.L. Anderson, J.K. Dixon, J.F. Brennecke, Improving Carbon Dioxide Solubility in Ionic Liquids, Journal of Physical Chemistry B 111, 9001 (2007)
  1. B.H. Culbertson, S. Dai, H. Luo, D.W. DePaoli, Low-Pressure Solubility of Carbon Dioxide in Room-Temperature Ionic Liquids Measured with a Quartz Crystal Microbalance, Journal of Physical Chemistry B 108, 721 (2004)
  1. Y. Hou and R.E. Baltus, Experimental Measurement of the Solubility and Diffusivity of CO2 in Room-Temperature Ionic Liquids Using a Transient Thin-Liquid-Film Method, Industrial & Engineering Chemistry research 46, 8166 (2007)
  1. A. Finotello, J.E. Bara, D. Camper and R.D. Noble, Room-Temperature Ionic Liquids: Temperature Dependence of Gas Solubility Selectivity, Industrial & Engineering Chemistry research 47, 3453 (2008)

6.5: Gas solubility and selectivity in ionic liquids

In this example the solubility of carbon dioxide in ionic liquids is calculated and compared to experimental data.

In the ADF COSMO-RS calculation, an ionic liquid molecule is described as a discrete cation and anion. Thus, the system of gas and ionic liquid will be treated as a hypothetical ternary mixture (“tern”) consisting of gas, cation, and anion. For a 1:1 ionic liquid, the solubility of gas xgas tern in the hypothetical ternary system can be calculated by

xgas tern = ngas /(ngas + ncation +nanion ) = ngas /(ngas + 2nIL )

where xgas tern is the molar fraction of the gas in the hypothetical ternary system, and ngas , ncation , nanion , and nIL are the molar amounts of gas, cation, anion, and IL in the liquid phase, respectively. For the real gas and IL binary system, the gas solubility x (molar fraction of the gas in the IL) is defined as:

x = ngas /(ngas + nIL )

Combining the previous equations yields:

x = 2 xgas tern /(xgas tern + 1)

First we use the experimental Antoine coefficients for CO2 .

(Skip this part if you have just done COSMO-RS tutorial 6.4)
Select Compounds → List of Added Compounds
Search on the left side ‘Carbon dioxide’ and click on it
Enter 6.35537 for the Antoine coefficient A on the right side
Enter 2067.0 for the Antoine coefficient B
Enter 156.462 for the Antoine coefficient C

Next we calculate CO2 solubilities.

Select Properties → Solubility in Mixture
Select ‘2 components’ in the popup menu next to Solvent
Select ‘IL_cation_1-hexyl-3-methyl-imidazolium’ for the first component in Solvent
Enter 0.5 for the Mole fraction of the first component
Select ‘IL_anion_bis(trifluoromethylsulfonyl)amide’ for the second component in Solvent
Enter 0.5 for the Mole fraction of the second component
Enter ‘8’ for ‘Temperature: number of steps’
Enter ‘282.0’ for ‘Temperature from’
Enter ‘322.8’ for ‘Temperature to’
Change the popup menu next to Solutes to ‘Gas’
Use ‘MPa’ units for the pressure
Enter ‘2.0’ for the partial vapor pressure
Check the ‘+’ button to add ‘Carbon dioxide’
Press ‘Run’
/scm-uploads/doc.2017/Tutorials/_images/t6_solinputco2.png

From the results we will use the calculated mole fractions at 282.0 K, 297.3 K, and 322.8 K.

/scm-uploads/doc.2017/Tutorials/_images/t6_solco2.png

Do the same calculation for a number of vapor pressures of Carbon dioxide, namely 0.5 MPa, 1.0 MPa, and 1.5 MPa. Remember that we need to convert the calculated solubilities xgas tern to the solubility x in the binary system, consisting of gas and IL, with x = 2 xgas tern /(xgas tern + 1):

Temperature P (MPa) x tern x
282.0 0.5 0.111 0.200
282.0 1.0 0.221 0.361
282.0 1.5 0.329 0.496
282.0 2.0 0.438 0.609
297.3 0.5 0.078 0.144
297.3 1.0 0.155 0.268
297.3 1.5 0.231 0.376
297.3 2.0 0.307 0.470
322.8 0.5 0.045 0.086
322.8 1.0 0.090 0.165
322.8 1.5 0.135 0.237
322.8 2.0 0.179 0.304

In this example we also calculated the solubity of carbon dioxide at relatively high presures. In this case, for more accurate results, we also need to take the nonideal behavior of the gas into account, the gas fugacity.

fgas = Pgas \(\Phi\) (T,P)

where fgas is the gas fugacity at the system temperature and pressure, and \(\Phi\) (T,P) is the fugacity coefficiency of the gas. We will approximate the fugacity coefficients with:

\[\begin{split}\Phi (T=282.0 K,P) & \approx (1 - 0.06 (P/MPa)) \\ \Phi (T=297.3 K,P) & \approx (1 - 0.05 (P/MPa)) \\ \Phi (T=322.8 K,P) & \approx (1 - 0.04 (P/MPa))\end{split}\]

Note that these values are only approximate, and certainly not applicable for higher pressures. We can use the same solubilities as calculated before but plot them agains fugacity instead of pressure.

Temperature f (MPa) P (MPa)
282.0 0.50 0.52
282.0 1.00 1.07
282.0 1.50 1.67
282.0 2.00 2.32
297.3 0.50 0.51
297.3 1.00 1.06
297.3 1.50 1.63
297.3 2.00 2.25
322.8 0.50 0.51
322.8 1.00 1.04
322.8 1.50 1.60
322.8 2.00 2.19

The results can be compared with experimental values fromRef.[651].

/scm-uploads/doc.2017/Tutorials/_images/t6_solco2graph.png

For low pressures one can estimate gas solubility using Henry’s law constants:

\[x = P_{gas} \Phi (T,P)/H_{gas}\]

For low pressures \(\Phi\) (T,P) will be close to 1. Calculating Henry’s law constants has been described in COSMO-RS Tutorial 6.4, and following this procedure for CO2 in [HMIM][Tf2 N], results in H = 2.242 MPa at T = 282 K, H = 3.204 MPa at T = 297.3 K, and H=5.5222 MPa at T = 322.8 K.

Gas selectivity in ionic liquids can be defined as

Si/j = Hi /Hj

where Si/j is the selectivity between gas i and j in ionic liquids; Hi and Hj are Henry’s law constants of gas i and j, which can be calculated using the methods as described in the COSMO-RS Tutorial 6.4.

References

  1. M.B. Shiflett and A. Yokozeki, Solubility of CO2 in Room Temperature Ionic Liquid [hmim][Tf2 N], Journal of Physical Chemistry B 111, 2070 (2007)

6.6: VLE for systems containing ionic liquids

In this example a vapor-liquid diagram of Acetone in [EMIM][Tf2 N] at 353.15 K is calculated and compared to experiment. The experimental saturated pure compound vapor pressure is used for Acetone.

Select Compounds → List of Added Compounds
Search on the left side ‘Acetone’ and click on it
Enter ‘2.1516’ in the ‘Pure compound vapor pressure’ field
Enter ‘353.15’ in the ‘at temperature’ field
Select Properties → Solvents s1 - s2 Composition Line
Select ‘3 components’ in the popup menu next to Solvents
Select ‘Acetone’ for the first component in Solvents
Select ‘IL_cation_1-ethyl-3-methyl-imidazolium’ for the second component in Solvent
Select ‘IL_anion_bis(trifluoromethylsulfonyl)amide’ for the third component in Solvent
Enter ‘1.0’ for the mole fraction of compound 1 of solvent s1
Enter ‘0.0’ for the mole fraction of compound 1 of solvent s2
Enter ‘0.0’ for the mole fraction of compound 2 of solvent s1
Enter ‘0.5’ for the mole fraction of compound 2 of solvent s2
Enter ‘0.0’ for the mole fraction of compound 3 of solvent s1
Enter ‘0.5’ for the mole fraction of compound 3 of solvent s2
Enter ‘20’ for ‘Number of mixtures’
Select ‘Isotherm’ from the Isotherm, isobar, flash point popup menu
Use ‘Kelvin’ as units for the temperature
Enter ‘353.15’ for ‘Temperature’
Press ‘Run’
/scm-uploads/doc.2017/Tutorials/_images/t6_inputcompline.png

Remember that, before we compare to experiment, we need to convert the calculated molar fractions xi tern from the hypothetical ternary system to the molar fractions xi bin in the binary acetone-IL system with:

xi bin = 2 xi tern /(xi tern + 1)
xi tern = xi bin /(2 - xi bin )
xtern xbin P (kPa) xbin P (kPa)
calc calc calc expt [661] expt [661]
0.00 0.0000 0.000 0.0133 1.139
0.05 0.0952 7.352 0.0383 3.485
0.10 0.1818 15.051 0.0539 4.825
0.15 0.2609 23.115 0.0683 6.073
0.20 0.3333 31.561 0.0949 8.509
0.25 0.4000 40.407 0.1521 14.884
0.30 0.4615 49.669 0.2081 21.660
0.35 0.5185 59.362 0.2735 30.115
0.40 0.5714 69.498 0.3393 39.811
0.45 0.6207 80.086 0.4022 50.263
0.50 0.6667 91.128 0.4647 61.862
0.55 0.7097 102.62 0.5249 74.281
0.60 0.7500 114.54 0.5839 87.870
0.65 0.7879 126.86 0.6369 101.46
0.70 0.8235 139.53 0.6846 114.73
0.75 0.8571 152.47 0.7264 127.22
0.80 0.8889 165.56 0.7631 138.75
0.85 0.9189 178.64 0.7948 149.16
0.90 0.9474 191.48 0.8222 158.37
0.95 0.9744 203.78 0.8455 166.29
1.00 1.0000 215.16 0.8653 173.07
      0.8967 183.75
      0.9376 196.92
      0.9671 205.80
      0.9844 210.74
      0.9933 213.25
      0.9972 214.40
      0.9990 214.94
      1.0000 215.16

Comparing the calculated and experimental vapor pressure of acetone in [EMIM][Tf2N] in a graph:

/scm-uploads/doc.2017/Tutorials/_images/t6_graphcompline.png

References

  1. M. Döker, J. Gmehling Measurement and prediction of vapor–liquid equilibria of ternary systems containing ionic liquids, Fluid Phase Equilibria 227 (2005), 255