Introduction

Ionic liquids (ILs) have melting points below 100 °C, which are composed entirely of cations and anions. They have suitable characteristics such as negligible vapor pressure, high heat capacity, high density, high thermal conductivity, high thermal stability and the existence of liquid state over a wide range of temperature. They have been used in different research fields such as lithium battery, solar cells and fuel cells [1, 2]. Some classes of ILs containing energetic cations or anions have also some applications as new energetic compounds, e.g., high explosives and propellants [3,4,5,6]. Due to importance of ILs, some new methods have been developed to predict different physical and thermodynamic properties as well as thermal stabilities, e.g., density [7,8,9,10,11].

The glass transition temperature of a material shows the reversible transition in amorphous materials from a hard and relatively brittle “glassy” state into a viscous or rubbery state, quite below the melting point, by increasing temperature. It is one of the most important properties of amorphous polymer [12,13,14,15]. It is one of the important properties for ILs because viscosity and conductivity are often reflected in the glass transition where low values leading to favorable properties [16]. Differential scanning calorimetry and differential thermal analysis (DSC/DTA) were usually used to determine the glass transition of ILs.

Due to the lack of experimental data for the large number kinds of ILs, it is essential to develop available mathematical models to predict the glass transition temperature of ILs. Several models have been developed for predicting the glass transition temperature of one kind or multiple kinds of ILs using available literature data. Mirkhani et al. [17] introduced a quantitative structure–property relationship (QSPR) model to forecast glass transition temperature of 73 ammonium-based ILs. Mousavisafavi and coauthors [18] used a QSPR method to develop linear and nonlinear models for estimation of the glass transition temperature of 109 1,3-dialkyl imidazolium ILs. These QSPR models are limited to one kind of ILs. Mirkhani et al. [19] used QSPR method to estimate the glass transition temperature of 139 ILs. Yan et al. [20] developed a QSPR model on the basis of the general topological index (TI) for predicting the glass transition temperatures of five kinds of ILs including imidazolium, pyridinium, ammonium, sulfonium and triazolium. The QSPR model of Yan et al. [20] has the following form:

$$T_{{{\text{g}},{\text{IL}}}} = 431.847 + \sum\limits_{i = 1}^{7} {\alpha_{{{\text{cat,i}}}} \times {\text{TI}}_{{{\text{cat,i}}}} + } \sum\limits_{j = 1}^{16} {\alpha_{{{\text{ani,j}}}} \times {\text{TI}}_{{{\text{ani,j}}}} + } \sum\limits_{h = 1}^{2} {\alpha_{\text{to,h}} \times {\text{TI}}_{{{\text{to,h}}}} }$$
(1)

where \(T_{\text{g,IL}}\) is the glass transition temperature of a desired ionic liquid in K; TIcat,i, TIani,j and TIto,h are TIs generated from cation, anion and their interaction, respectively; α cat,i, α ani,j and α to,h are parameters, which depend on the type of TIs. Although the accuracy of these QSPR methods is high, they have three limitations: (1) they are based on complex descriptors; (2) they require special computer codes; and (3) they need the expert users. Gharagheizi et al. [21] introduced a group contribution (GC) method for the estimation of the glass transition temperature of 496 ILs. Lazzús [22] developed another GC method for predicting the glass transition temperature of 496 ILs. Mokadem and coworkers [23] introduced a group interaction contribution method for the estimation of glass transition temperature of 368 ILs. They proposed two models requiring binary interactions between single groups with three order contributions. Accuracy of group contribution methods is usually less than the QSPR methods. Moreover, GC methods can be applied only for those ILs that the contributions of cations and anions have been considered. These QSPR and GC models have the advantage that they can be used for predicting the glass transition temperature of multiple kinds of ILs.

The purpose of this work is to introduce two new correlations on the basis of the molecular structure of cations and anions for accurate and reliable prediction of the glass transition temperature of five kinds of ILs including imidazolium, pyridinium, ammonium, sulfonium and triazolium. The predicted results will be compared with the computed outputs of QSPR model of Yan et al. [20]. For some further ILs, the predicted results will be compared with the measured values.

Materials and methods

Experimental data of glass transition temperature of 139 ionic liquids are given in Table 1, which were used by Yan et al. [20] as training and test sets for developing QSPR model. They are based on five kinds of ILs, which are 63 imidazolium, 17 pyridinium, 48 ammonium, 7 sulfonium. These data were used to derive new correlations. The results have shown that the following general equation, which was obtained by the best fit to experimental data through multiple linear regression method [24], can correlate with elemental composition of cations and anions as:

$$\begin{aligned} T_{\text{g,IL}} = & 322.62 + \frac{{2153.5(n_{\text{C}} )_{\text{cat}} - 554.10(n_{\text{H}} )_{\text{cat}} + 2202.4(n_{\text{N}} )_{\text{cat}} + 1466.9(n_{\text{O}} )_{\text{cat}} }}{{{\text{Molar}}\;{\text{mass}}_{\text{cat}} }} \\ & \quad - \,\frac{{2355.7(n_{\text{C}} )_{\text{ani}} + 3285.6(n_{\text{N}} )_{\text{ani}} + 3253.8(n_{\text{O}} )_{\text{ani}} + 4929.4(n_{\text{F}} )_{\text{ani}} + 7389.7(n_{\text{Cl}} )_{\text{ani}} + 15242(n_{\text{Br}} )_{\text{ani}} + 5257.9(n_{\text{S}} )_{\text{ani}} }}{{{\text{Molar}}\;{\text{mass}}_{\text{ani}} }} \\ \end{aligned}$$
(2)

where \((n_{\text{C}} )_{\text{cat}}\), \((n_{\text{H}} )_{\text{cat}}\), \((n_{\text{N}} )_{\text{cat}}\) and \((n_{\text{O}} )_{\text{cat}}\) are the number of carbon, hydrogen, nitrogen and oxygen atoms in cation, respectively; \((n_{\text{C}} )_{\text{ani}}\), \((n_{\text{N}} )_{\text{ani}}\), \((n_{\text{O}} )_{\text{ani}}\), \((n_{\text{F}} )_{\text{ani}}\), \((n_{\text{Cl}} )_{\text{ani}}\), \((n_{\text{Br}} )_{\text{ani}}\) and \((n_{\text{S}} )_{\text{ani}}\) are the number of carbon, nitrogen, oxygen, fluorine, chlorine, bromine and sulfur atoms in anion, respectively; \({\text{Molar}}\;{\text{mass}}_{\text{cat}}\) and \({\text{Molar}}\;{\text{mass}}_{\text{ani}}\) are the molar mass (g mol−1) of cation and anion, respectively. Since the contributions of the other elemental composition do not change the coefficient of determination or R-squared values of Eq. (2), their existences were neglected.

Table 1 Comparison of the predicted \(T_{\text{g,IL}} /K\) and \(T_{\text{g,IL}}^{\text{corr}} /K\) of ionic liquids by Eqs. (2) and (3) as well as training and test of Yan et al. [20] with the experimental data

Besides the contribution of elemental composition, the existence of some specific cations or anions may enhance or reduce glass transition temperature of ionic liquids. Thus, the effects of these specific anions or cations can be considered besides those variables given in Eq. (2). However, the following re-optimized correlation can be derived using multiple linear regression method [24, 25]:

$$\begin{aligned} T_{\text{g,IL}}^{\text{corr}} = & 279.95 + \frac{{2066.1(n_{\text{C}} )_{\text{cat}} - 415.58(n_{\text{H}} )_{\text{cat}} + 1981.0(n_{\text{N}} )_{\text{cat}} + 1443.8(n_{\text{O}} )_{\text{cat}} }}{{{\text{Molar}}\;{\text{mass}}_{\text{cat}} }} \\ & \quad - \,\frac{{1942.9(n_{\text{C}} )_{\text{ani}} + 2696.5(n_{\text{N}} )_{\text{ani}} + 2579.2(n_{\text{O}} )_{\text{ani}} + 4139.5(n_{\text{F}} )_{\text{ani}} + 6081.7(n_{\text{Cl}} )_{\text{ani}} + 12420(n_{\text{Br}} )_{\text{ani}} + 4894.0(n_{\text{S}} )_{\text{ani}} }}{{{\text{Molar}}\;{\text{mass}}_{\text{ani}} }} \\ & \quad + \,24.141T_{\text{IL,g}}^{ + } - 27.150T_{\text{IL,g}}^{ - } \\ \end{aligned}$$
(3)

where \(T_{\text{g,IL}}^{\text{corr}}\) is the corrected glass transition temperature in K; \(T_{\text{g,IL}}^{ + }\) and \(T_{\text{g,IL}}^{ - }\) are two correcting functions that depend on the contribution of some specific cations and anions. The values of \(T_{\text{g,IL}}^{ + }\) and \(T_{\text{g,IL}}^{ - }\) corresponding to specific cations or anions are given in Table 2. For specification of the values of \(T_{\text{g,IL}}^{ + }\) and \(T_{\text{g,IL}}^{ - }\), several steps have been done: (1) The predicted data of Eq. (2) were compared with experimental data and large deviations for various cations and anions were recognized; (2) positive and negative large deviations were identified; (3) specific cations and anions that show large deviations were specified; (4) different relative numbers have been initially selected and regression have been done many times to obtain the least value of the root mean square (rms) deviations of predictions. The parameters \(T_{\text{g,IL}}^{ + }\) and \(T_{\text{g,IL}}^{ - }\) are equal to zero if the specified cations or anions in Table 2 are not satisfied.

Table 2 Contribution of \(T_{\text{g,IL}}^{ + }\) and \(T_{\text{g,IL}}^{ - }\) in ionic liquids

Results and discussion

Statistical parameters of the new model

The values of the coefficient of determination (R 2) of Eq. (2) and Eq. (3) given in Table 1 are 0.663 and 0.932, respectively [25]. R 2 is a measure of the regression model as whole that can be calculated by:

$$R^{2} = 1 - \frac{{SS_{\text{E}} }}{{SS_{\text{T}} }}$$
(4)
$$SS_{\text{T}} = \sum\limits_{i} {\left( {y_{\text{i}} - \bar{y}} \right)}^{2}$$
(5)
$$SS_{\text{E}} = \sum\limits_{i} {\left( {y_{\text{i}} - \hat{y}_{\text{i}} } \right)}^{2}$$
(6)

where SS E and SS T are residual (error) and total sum of squares; \(y_{\text{i}}\), \(\hat{y}_{\text{i}}\) and \(\bar{y}\) are the original data, the modeled and the average values, respectively. If the value of R 2 is close to 1, the predicted values by the model are closer to the actual values. Thus, it can be expected that the reliability of Eq. (3) is higher than Eq. (2). The value of R 2 provides the proportion of the variance (fluctuation) of glass transition temperature that is predictable from the other variables given in Eq. (2) or Eq. (3) because it is such that 0 ≤ R 2 ≤ 1. As it is seen in Eqs. (2) and (3), the coefficient of \((n_{\text{H}} )_{\text{cat}}\) from cation and the coefficients of all of the variables from anion have negative values, which can provide a suitable pathway for getting lower glass transition temperature in a new designed IL through increasing their values.

Tables 3 and 4 show statistical parameters of Eqs. (2) and (3) corresponding to 11 and 13 variables, respectively. The standard error (SE) of the desired model gives an estimation of the deviation of the predicted values by the model with respect to the experimental data. It is calculated by:

$${\text{SE}} = \sqrt {\frac{{\sum\limits_{i} {\left( {y_{\text{i}} - \hat{y}_{\text{i}} } \right)}^{2} }}{N - k}}$$
(7)

where N is the number of data points; k is the number of regression coefficients to be determined. The values of SE for variables in Eqs. (2) and (3) show the significance of individual variables in predicting the dependent variable. Thus, if the value of SE of a desired variable is small relative to corresponding coefficient, the variable is significant. The p value shows the probability where a parameter estimated from the measured data should have the value that was determined. If p value of a variable is less than 0.05, the effect of the variable will be significant and the observed effect is not due to random variations. Thus, the variables in Eqs. (2) and (3) have a highly significant impact as evidenced by their suitable statistical parameters. As it is indicated in Tables 3 and 4, all of these variables have a highly significant impact as evidenced by their extremely small p values and SEs.

Table 3 Standardized coefficients and some statistical parameters of Eq. (2)
Table 4 Standardized coefficients and some statistical parameters of Eq. (3)

Reliability of the new method

The predicted results of Eqs. (2) and (3) are given in Table 1 and compared with the computer outputs of Yan et al. [20] as one of the best available methods. For 139 data given in Table 1, the rms deviations of predictions for Eq. (2), Eq. (3) and Yan et al. [20] relative to experiment are 16.96, 7.60 and 9.28 K, respectively. However, the reliability of Eq. (3) is surprisingly higher than complex computer outputs of QSPR model of Yan et al. [20].

Table 5 contains glass transition temperature of further 30 ILs, which have been tested for checking the reliability of Eqs. (2) and (3). The rms deviations of the predicted results relative to the measured glass transition temperature for Eqs. (2) and (3) are 12.50 and 9.92 K, respectively, on the basis of data given in Table 5. According to the predicted results in both Tables 1 and 5, Eq. (3) gives more reliable predictions than Eq. (2).

Table 5 Comparison of the predicted \(T_{\text{g,IL}} /K\) and \(T_{\text{g,IL}}^{\text{corr}} /K\) for further 30 ionic liquids by Eqs. (2) and (3) with the experimental data

As it is seen in Table 1, maximum deviations are 49.24, 21.38 and 31.81 K for Eq. (2), (3) and Yan et al. [20] relative to experiment, respectively. Maximum errors for Eq. (2) and (3) in Table 5 are also 28.94 and 24.95 K, respectively. By comparing geometrical complexities of different derivatives of imidazolium, pyridinium, ammonium and sulfonium given in Tables 1 and 5, it is found that the overall agreement of the new simple approach with reported glass transition temperature is quite good. As it is indicated in Eq. (3), there are four pathways for maximizing glass transition temperature of ILs: (1) reducing \((n_{\text{H}} )_{\text{cat}}\); (2) increasing \((n_{\text{C}} )_{\text{cat}}\), \((n_{\text{N}} )_{\text{cat}}\) and \((n_{\text{O}} )_{\text{cat}}\); (3) decreasing \((n_{\text{C}} )_{\text{ani}}\), \((n_{\text{N}} )_{\text{ani}}\),\((n_{\text{O}} )_{\text{ani}}\), \((n_{\text{F}} )_{\text{ani}}\), \((n_{\text{Cl}} )_{\text{ani}}\), \((n_{\text{Br}} )_{\text{ani}}\) and \((n_{\text{S}} )_{\text{ani}}\); and (iv) selecting those ILs that have \(T_{\text{g,IL}}^{ + }\). Thus, Eq. (3) provides the easiest pathway for designing IL derivatives containing the desired values of the glass transition temperature.

Conclusions

Two simple correlations have been introduced to predict the glass transition temperature of five kinds of ILs including imidazolium, pyridinium, ammonium, sulfonium and triazolium. In contrast to available QSPR methods, there is no need to use complex descriptors, computer codes and the expert users. Equation (3) provides more reliable predictions than Yan et al. [20] as one of the best of the predictive methods. Equations (2) and (3) are based on a suitable combination of elemental composition. Moreover, the existence of two correcting functions \(T_{\text{g,IL}}^{ + }\) and \(T_{\text{g,IL}}^{ - }\) in Eq. (3) is important to improve the predictive reliability of Eq. (2). The predicted results for Eq. (3) gave good results as compared to the best available complex QSPR methods.