Introduction

Ionic liquids (ILs) have drawn considerate interest due to their unique properties such as high stability, high ionic conductivity, low toxicity, and structural diversity. Thus ILs are widely applied in various fields, including electrochemical devices, synthesis, energy harvesters, bioengineering, and material science.1,2,3,4 Above all, their low vapor pressure and hydrophobic nature are advantageous for the storage of energetically unstable materials. Recently, several high energy density ILs and hypergolic ILs were introduced as potential propellants.5,6,7 The ionic bonding between the cation and anion in ILs could be tailor-made, to give high energy density, by simple ion exchange and this process is easier as compared to traditional electrically neutral materials. Therefore, each of these cations and anions are “building blocks” for high-energy ionic liquids.8,9 In this context, the ionic liquids could be designed as stable non-toxic alternatives and replace traditionally toxic and highly unstable energetic neutral materials such as TNT (2,4,6-trinitrotoluene) and hydrazine.10,11,12,13,14

Despite these advantages, the choices for ion paring between anions and cations are limited in the development of new EILs when a new cation or anion is necessary.15,16,17 This could be attributed to that there are very few selection rules for pairing ions with their counter ions. The lattice energy consideration of ion pairs is one of the selection rules, however, the lattice energy greatly affects the heat of formation and the density of the energetic material. Therefore, it is difficult to select counter ions until the material is actually synthesized. Although it is possible to estimate the lattice energy and density,18 this estimation inevitably involves simulation errors. Therefore, the error in the predicted values is amplified, yielding calculated values with a poor accuracy.

To predict the thermal and energetic properties of ionic materials, the Kamlet–Jacobs equation19 or a state equation-based program such as Explo520 or Cheetha21 have been used. However, these existing methods require information on the heat of formation (ΔH f ) and density (ρ) of target structures, which require time staking computation and synthesis of target material, respectively. Thus, there is a strong need for a reliable tool to predict target properties in a fast and simple manner before synthesizing the material.

Since the quantitative structure–property relationship (QSPR) method is based on the conjecture that differences in the properties of chemicals is determined by differences in their chemical structures,22 it has been generated a simulation model with which to predict the toxicity23 and decomposition temperature (Td) of some ILs24 without requiring their synthesis.

Therefore, we explored a QSPR model that predicts the thermal characteristics of EILs using simple structural information on cation and anion pair without using ΔHf and ρ. Although there is a report on the QSPR model to predict the thermal decomposition temperature (Td) of imidazolium ILs,24 there has been no report on the energetic properties for a wide range of energetic ionic liquids including azoles and acyclic energetic salts. Herein, we report a QSPR model for the prediction of detonation characteristics for ionic liquids, through multiple linear regression derived from over 300 energetic ionic liquids.

Results and discussion

Building database

The number of structural descriptors used for QSPR modelling25,26 was 12, including the molar weight (Mw), molar weight difference between an ion pair (M d ), the atomic number of positively charged carbon (C+), nitrogen (N+), and oxygen (O+), and negatively charged carbon (C), nitrogen (N), oxygen (O), and chlorine (Cl), the number of each atoms in ions, the square sum of the ionic charge (qt), the modified oxygen balance (mOB), the number of chemical bonds including single and multiple bonds (nBT), the number of multiple bonds (nBM), the number of atoms in a ring structure (nRA), and the length of conjugation (nCG). The ionic liquids were composed of different cations and anions, and their descriptors were calculated as a sum of cations and anions to develop simple and convenient models without considering more sophisticated and complex molecular descriptors. The square sum of the ionic charge (qt) was selected to consider the ionic interaction between cations and anions. The Mw, M d , and the atomic composition descriptors (ad) were calculated by employing ChemDraw Ultra 8.0. The atomic composition descriptors were calculated by dividing the number of each atom against total number of atoms. The mOB was calculated using Eq. 1.

$${\mathbf{mOB}} = - {\mathbf{OB}}[{\mathrm{\% }}]/100 = 16/{\mathbf{Mw}} \times (2{\boldsymbol{a}} + {\boldsymbol{b}}/2 - {\boldsymbol{c}})$$
(1)

Other descriptors (qt, nBT, nBM, nRA, and nCG) were calculated from the molecular structure of EILs. The descriptor values for all compounds in this study are summarized in Supplementary Table S1. Using the calculated descriptor values, the optimal subset of descriptors that contribute significantly to the reported detonation properties were selected by the correlation of each descriptor data to the detonation properties of the corresponding materials (Supplementary Figure S1). The least mean square algorithm (LS) and genetic algorithm (GA) were applied to the regression method as described below. Among the 12 structural descriptors, 10 were finally selected: Mw, the atomic composition of atoms (a~d), nBT, nBM, qt, mOB, and nRA. While selecting descriptors for modelling, we used primary descriptors that can be easily obtained simply from their molecular structures without the descriptors that had to be obtained experimentally because the ultimate goal of this research is to find a QSPR model that is useful for estimating the detonation properties based on the structure of the ionic liquids, which allows the fast and easy calculation of the detonation properties of a target molecule.

Model development based on multiple linear regression (MLR)

First, a hybrid approach was used to determine the optimal subset of descriptors by combining regression with the least-mean square algorithm (LS)27 or the genetic algorithm (GA)28 as an optimization method. The Multiple linear regression (MLR) analysis (Eq. 2) were used to develop a QSPR model that accurately features relationships between ionic structures and the detonation velocity of EILs.

$$\begin{array}{ccccc}\\ Dv_{{\rm{MLR}}} = C_0 + C_1{\rm{Mw}} + C_2{\rm{nBT}} + C_3{\rm{nBM}} + C_4q_t\\\\ + C_5{\rm{mOB}} + C_6{\rm{nRA}} + C_7{\rm{C}}^ + + C_8{\rm{N}}^ + + C_9C_{{\rm{cat}}}\\\\ + C_{10}{\rm{H}}_{{\rm{cat}}} + C_{11}{\rm{O}}_{{\rm{cat}}} + C_{12}{\rm{N}}_{{\rm{cat}}} + C_{13}{\rm{C}}^ - + C_{14}{\rm{N}}^ - \\\\ + C_{15}{\rm{O}}^ - + C_{16}{\rm{C}}_{{\rm{ani}}} + C_{17}{\rm{H}}_{{\rm{ani}}} + C_{18}{\rm{O}}_{{\rm{ani}}}\\\\ + C_{19}{\rm{N}}_{{\rm{ani}}} + C_{20}{\rm{Cl}}_{{\rm{ani}}}\\ \end{array}$$
(2)

The detonation pressure was expressed in the same form as above.

$$\begin{array}{ccccc}\\ Dp_{{\rm{MLR}}} {\mathrm{ = }}C_0 + C_1{\rm{Mw}} + C_2{\rm{nBT}} + C_3{\rm{nBM}} + C_4q_t\\\\ + C_5{\rm{mOB}} + C_6{\rm{nRA}} + C_7{\rm{C}}^ + + C_8{\rm{N}}^ + + C_9{\rm{C}}_{{\rm{cat}}}\\\\ + C_{10}{\rm{H}}_{{\rm{cat}}} + C_{11}{\rm{O}}_{{\rm{cat}}} + C_{12}{\rm{N}}_{{\rm{cat}}} + C_{13}{\rm{C}}^ - \\\\ + C_{14}{\rm{N}}^ - + C_{15}{\rm{O}}^ - + C_{16}{\rm{C}}_{{\rm{ani}}} + C_{17}{\rm{H}}_{{\rm{ani}}}\\\\ + C_{18}{\rm{O}}_{{\rm{ani}}} + C_{19}{\rm{N}}_{{\rm{ani}}} + C_{20}{\rm{Cl}}_{{\rm{ani}}}\\ \end{array},$$
(3)

where C i (i = 0–20) are the different fitting parameters for each formula. The MLR method, which is the most basic expressions used in establishing QSPR-based expression,29 is a sophisticated hybrid approach in which either LS or GA is applied as a powerful optimization method, creating a popular statistical method for variable selection. Both LS and GA were examined to determine the optimal subset of descriptors that accurately represented the relationships between ionic structures and the detonation properties of ILs.

The fitting of each model to the reported detonation properties was conjectured from the root mean-square error of cross-validation (RMSECV). The RMSECV for Dv prediction with the QSPR model developed from LS-MLR (QML) and GA-MLR (QMG) were 911.4 and 416.2, respectively, while those for Dp with the QML and QMG were 4.70 and 3.16, respectively. The RMSECV for Dv and Dp prediction with the QMG model were obviously larger than for other models. Therefore, the QMG models were selected for further consideration. External validation was performed by dividing the 316 data set randomly into a training set and an external test set, similar to the methods in previous report.24 The training set (250 ILs, 80% of the data set) was used for descriptor selection and model development and the test set (67 ILs, 20% of the data set) was used for model validation.

Calculation of detonation properties by Kamlet–Jacobs (KJ) equations

The Kamlet–Jacobs equations19 (Eq. 4, 5), which are commonly used to predict the detonation properties of energetic materials, were used as a reference to estimate the QSPR model’s validity.

$$Dv_{{\boldsymbol{KJ}}}{\mathrm{ = }}1010\left( {N\bar M^{0.5}Q^{0.5}} \right)^{0.5}\left( {1 + 1.30\rho } \right)$$
(4)
$$Dp_{{\boldsymbol{KJ}}}{\mathrm{ = }}1.558\rho ^2N\bar M^{0.5}Q^{0.5}$$
(5)

where \(Dv_{KJ}\) was the detonation velocity (m/s), \(Dp_{KJ}\) was the detonation pressure (GPa), N was the molar amount of gas produced from each explosive material, \(\bar M\) was the average molecular weight of the gas produced from each explosive material, and Q is the detonation heat in cal/g. These three values were calculated from the chemical formulae. ΔH f and ρ for the calculation of KJ were obtained from the reported values (see references in Supplementary Table S1).

Applicability of the QSPR model

QSPR has been known as a powerful modelling method, but it is important to ensure accuracy by limiting its coverage to specific chemicals.30,31 The databases used to establish the model were all ionic liquids; non-ionic materials were not included. Since the electrical properties of the ion were taken into account when calculating the model, it is difficult to apply this to nonionic materials. In addition, most of the materials considered were organic, thus C, H, O, and N were the main components. The quantities of these four atoms was used as an important descriptor and they cannot be applied to completely different inorganic chemicals. The applicability domain (AD) of this model can be precisely defined using the standardization approach32, which were performed by analysing all dataset. The applicable area calculated by standardization approach was 98.7%. (Supplementary Figure S2)

The collected data of 316 substances (Supplementary Table S1) for the creation of the QSPR model were based on energetic ionic liquids including ammonium, guanidinium, and azolium salts, of which anions varied from simple halide and borohydride to azolium or multi-cyclic azide and amide. These reported EILs were synthesized substances; thus the data were more reliable than that for artificial materials created via calculations. The wide range of structural variety could generate a more accurate and credible model than the model based on a structurally similar group.

The energetic properties of those collected molecules were correlated with several parameters that are generally used as descriptors in quantitative structural-property analysis.25,26 As shown in Supplementary Figures S1 and S3, the detonation velocity of the 316 molecules correlated poorly with the number of atoms (C, H, O, and N), and melting points (Tm). However, they were linearly correlated to the density (ρ) and oxygen balance (OB). The respective correlation factors (R2) for ρ and OB were 0.61 and 0.47, indicating that ρ was better fitted to the detonation properties, possibly because the actual density played an important role in determining the explosive characteristics.

The contribution from the structural parameters on the detonation velocity (and pressure) was considered in the QSPR model in this study, using primary structural factors such as the molar weight (Mw), the atomic number of positively charged carbon (C+) and nitrogen (N+), and negatively charged carbon (C), nitrogen (N), and oxygen (O), the number of each atoms in ions, the number of single (nBT) and multiple bonds (nBM), the modified oxygen balance (mOB), the square sum of the ionic charge (qt), and the number of atoms in a ring structure (nRA), etc. (see the experimental part). While selecting descriptors for modelling, we used primary descriptors that can be easily obtained by their structures, without descriptors that had to be obtained experimentally; this ensured the rapid speed of calculations and created a model based on descriptors that did not require experimental data or multiple additional simulations.

Since ionic liquids are composed of different cations and anions, qt was selected to account for ionic interactions between cations and anions. The structural descriptor values for each material were obtained from their chemical structure, as summarized in Supplementary Table S1. The most statistically effective descriptors for the detonation properties of ionic liquids were selected through least mean square multiple linear regression and the calculated values were compared with those obtained from the Kamlet–Jacobs equations (Eq. 4, 5)19, which are commonly used to predict the properties of explosives.

Creation of a QSPR Model for EILs

A QSPR model that can predict the thermal properties (detonation velocity, detonation pressure and melting point) of ionic liquids was developed from their basic chemical structures, using the multiple linear regressions (Eq. 2, 3). The multiple linear regressions have been widely used to establish QSPR-based expressions such as models that can predict the decomposition temperature or viscosity of ionic liquids.24,29 Among the collected data for 316 materials, 250 were randomly selected for use as the training set, and the remaining 67 were used as the test set. The established QML and QMG models for the calculation of the detonation velocity (Dv) of EILs, through the least-mean square algorithm (LS) and genetic algorithm (GA), respectively, are represented as Eq. 6, 7 :

$$\begin{array}{ccccc}\\ Dv_{{\mathbf{{{QML}}}}} {{ = - 1}}{{.43{\rm{Mw}} + 31}}{{.03{\rm{nBT}} - 95}}{{.13{\rm{nBM}} - 2320}}{\mathrm{.30q}}_{\mathrm{t}}\\\\ {\mathrm{ - 12}}{\mathrm{.95mOB}} + {\mathrm{15}}{\mathrm{.18nRA}} + {\mathrm{6833}}{\mathrm{.90C}}^ + \\\\ + {\mathrm{7193}}{\mathrm{.62N}}^ + {\mathrm{ - 170}}{\mathrm{.27C}}_{{\mathrm{cat}}}{\mathrm{ - 51}}{\mathrm{.89H}}_{{\mathrm{cat}}} + {\mathrm{72}}{\mathrm{.10O}}_{{\mathrm{cat}}}\\\\ + {\mathrm{78}}{\mathrm{.37N}}_{{\mathrm{cat}}} + {\mathrm{6653}}{\mathrm{.46C}}^ - + {\mathrm{6846}}{\mathrm{.14N}}^ - \\\\ + {\mathrm{6910}}{\mathrm{.89O}}^ - {\mathrm{ - 73}}{\mathrm{.07C}}_{{\mathrm{ani}}}{\mathrm{ - 5}}{\mathrm{.92H}}_{{\mathrm{ani}}}\\\\ + {\mathrm{11}}{\mathrm{.64O}}_{{\mathrm{ani}}} + {\mathrm{32}}{\mathrm{.20N}}_{{\mathrm{ani}}}{\mathrm{ - 372}}{\mathrm{.30Cl}}_{{\mathrm{ani}}}\\ \end{array}$$
(6)
$$\begin{array}{ccccc}\\ Dv_{{\mathbf{{{QMG}}}}} {\mathrm{ = 6660}}{\mathrm{.55 - 1}}{\mathrm{.70Mw}} + {\mathrm{33}}{\mathrm{.50nBT - 95}}{\mathrm{.38nBM}}\\\\ {\mathrm{ - 616}}{\mathrm{.42q}}_{\mathrm{t}}{\mathrm{ - 12}}{\mathrm{.18mOB}} + {\mathrm{15}}{\mathrm{.00nRA}} + {\mathrm{1811}}{\mathrm{.85C}}^ + \\\\ + {\mathrm{2198}}{\mathrm{.41N}}^ + {\mathrm{ - 177}}{\mathrm{.84C}}_{{\mathrm{cat}}}{\mathrm{ - 55}}{\mathrm{.97H}}_{{\mathrm{cat}}} + {\mathrm{82}}{\mathrm{.50O}}_{{\mathrm{cat}}}\\\\ + {\mathrm{82}}{\mathrm{.71N}}_{{\mathrm{cat}}} + {\mathrm{1530}}{\mathrm{.28C}}^ - + {\mathrm{1736}}{\mathrm{.94N}}^ - \\\\ + {\mathrm{1804}}{\mathrm{.77O}}^ - {\mathrm{ - 79}}{\mathrm{.70C}}_{{\mathrm{ani}}}{\mathrm{ - 8}}{\mathrm{.20H}}_{{\mathrm{ani}}}\\\\ + {\mathrm{20}}{\mathrm{.73O}}_{{\mathrm{ani}}} + {\mathrm{35}}{\mathrm{.52N}}_{{\mathrm{ani}}}{\mathrm{ - 333}}{\mathrm{.90Cl}}_{{\mathrm{ani}}}\\ \end{array}$$
(7)

Similarly, the QML and QMG models for the detonation pressure (\(Dp\)) were established as follows:

$$\begin{array}{ccccc}\\ Dp_{{\mathbf{{{QML}}}}} = {\mathrm{0}}{\mathrm{.23nBT - 1}}{\mathrm{.06nBM - 9}}{\mathrm{.87q}}_{\mathrm{t}}{\mathrm{ - 0}}{\mathrm{.13mOB - 0}}{\mathrm{.02nRA}}\\\\ + {\mathrm{28}}{\mathrm{.62C}}^ + + {\mathrm{31}}{\mathrm{.12N}}^ + {\mathrm{ - 0}}{\mathrm{.53C}}_{{\mathrm{cat}}}{\mathrm{ - 0}}{\mathrm{.92H}}_{{\mathrm{cat}}} + {\mathrm{1}}{\mathrm{.03O}}_{{\mathrm{cat}}}\\\\ + {\mathrm{0}}{\mathrm{.43N}}_{{\mathrm{cat}}} + {\mathrm{24}}{\mathrm{.71C}}^ - + {\mathrm{25}}{\mathrm{.92N}}^ - + {\mathrm{27}}{\mathrm{.01O}}^ - {\mathrm{ - 0}}{\mathrm{.29C}}_{{\mathrm{ani}}}\\\\ {\mathrm{ - 0}}{\mathrm{.75H}}_{{\mathrm{ani}}} + {\mathrm{0}}{\mathrm{.34O}}_{{\mathrm{ani}}} + {\mathrm{0}}{\mathrm{.59N}}_{{\mathrm{ani}}} + {\mathrm{0}}{\mathrm{.10Cl}}_{{\mathrm{ani}}}\\ \end{array}$$
(8)
$$\begin{array}{ccccc}\\ Dp_{{\mathbf{{{QMG}}}}} = {\mathrm{23}}{\mathrm{.49}} + {\mathrm{0}}{\mathrm{.19nBT - 0}}{\mathrm{.84nBM - 1}}{\mathrm{.82q}}_{\mathrm{t}}{\mathrm{ - 0}}{\mathrm{.06mOB}}\\\\ + {\mathrm{0}}{\mathrm{.05nRA}} + {\mathrm{5}}{\mathrm{.28C}}^ + + {\mathrm{9}}{\mathrm{.61N}}^ + {\mathrm{ - 1}}{\mathrm{.41C}}_{{\mathrm{cat}}}{\mathrm{ - 0}}{\mathrm{.73H}}_{{\mathrm{cat}}}\\\\ + {\mathrm{1}}{\mathrm{.75O}}_{{\mathrm{cat}}} + {\mathrm{0}}{\mathrm{.59N}}_{{\mathrm{cat}}} + {\mathrm{0}}{\mathrm{.62C}}^ - + {\mathrm{2}}{\mathrm{.86N}}^ - + {\mathrm{4}}{\mathrm{.56O}}^ - \\\\ {\mathrm{ - 0}}{\mathrm{.99C}}_{{\mathrm{ani}}}{\mathrm{ - 0}}{\mathrm{.62H}}_{{\mathrm{ani}}} + {\mathrm{0}}{\mathrm{.97O}}_{{\mathrm{ani}}} + {\mathrm{0}}{\mathrm{.68N}}_{{\mathrm{ani}}} + {\mathrm{0}}{\mathrm{.94Cl}}_{{\mathrm{ani}}}\\ \end{array}$$
(9)

The calculated data for each method are compared with the reported values in the literature, in Fig. 1, in which black dots indicate the training set and red dots indicate the test set data. As can be seen in Fig. 1a, the calculated data obtained from the K–J equation did not match the reported values, indicating that they had a large error for estimating the detonation speed of ionic materials. The R2 value was -3.63, which meant that the K–J equation cannot function as a design rule.

Fig. 1
figure 1

Comparison of predicted detonation velocity (Dv) by (a) the Kamlet–Jacobs equation, (b) QML, and (c) QMG of ionic liquids against reference Dv. Comparison of calculated detonation pressure (Dp) by (d) the Kamlet–Jacobs equation, (e) QML and (f) QMG of ionic liquids against reference Dp

Figure 1b, and c show the data variance of the QML and QMG models, respectively, for the calculated detonation velocity against the reported values. These models reveal relatively high accuracy compared to the K–J equation. Interestingly, the QMG model matched the reported Dv better than QML. The correlation factors (R2), validation set (qext2), and slope of regression (k) for the QMG were 0.71, 0.58, and 0.73, which are higher than that from the QML method, as compared in Table 1.

Table 1 The correlation factors (R2), validation set (qext2), and slope of regression (k) for each models

Similarly, the calculated data by the QMG model matched well with the reported detonation pressure (Dp) (Supplementary Figure S4b). As shown in Fig. 1d, the data from the K–J equation were outside the linear region when correlated with the reported values of Dp for the ionic material. The R2 value was −3.41, thus, the K–J equation did not function as a design rule for the detonation pressure either. In contrast, the R2 values of the QSPR-based models were 0.70 and 0.71 for the QML, and QMG models, respectively. Therefore, it become possible to predict the energetic properties of ionic materials with high accuracy when using these models. In particular, the QMG model showed the highest R2 among the models. Figure 2 compares the histogram of appearance for the detonation velocity and the detonation pressure of EILs from the QML and QMG models. The QMG model showed a narrower N P , suggesting that the QMG model provided calculated data with higher accuracy for both the detonation velocity and the detonation pressure.

Fig. 2
figure 2

Histogram of appearance for (a) the calculated Dv and (b) Dp by black (QML), and red (QMG)

Even though all descriptors in this study were obtained from the structure of EILs rather than experiments, the above QSPR models showed much higher accuracy than the K–J equations, which require the density and heat of formation. It is remarkable that the accuracy of the QMG model was high; this suggests that the detonation velocity and pressure are linearly correlated to the combination of selected descriptors.

Descriptor analysis

Let us consider the contribution of each descriptor in Eq. 7. Scale and proportion of each descriptor are summarized in Table 2. Descriptors with the largest value in each model are written in bold, and the proportion of the scale converted by multiplying the standard deviation of each descriptor is shown in parentheses. Major descriptors having a high contribution to the thermal and energetic properties of EILs are highlighted in yellow. Among the descriptors, the contribution of the charged atoms (C+, N+, C, N, and O) to the calculated Dv was much larger than the rest of the descriptors. This could be attributed to that the lattice energy increases as the interaction between highly charged ions is increased, and the heat of the formation of ionic liquids decreases as the lattice energy increases.18 In particular, EILs consisting of a pair of cations with N+ and an anion with O are predicted to have a high detonation velocity, which indeed shows a high detonation velocity reaching 9130 m/s as shown in the H3tta derivatives (173).33

Table 2 Descriptors of QMG models. (Parentheses; percentage of reduced contribution calculated by multiplying descriptor and standard deviation. Bold; descriptors with noticable value in each model.)

It has been known that the number of atoms increased, the heat formation of EILs could be increased, and thus Dv was expected to increase.19 But as summarized in Table 2, the increase in molecular weight due to the increase in the number of carbon atoms adversely affects the detonation velocity, while the increase in oxygen and nitrogen number has a positive effect. Ionic charge (qt) appears to have a negative effect, but it should be noted that the increase in charged atoms has a high positive impact, resulting in a multivalent ion having a higher detonation velocity. The oxygen balance (OB) and ring-forming atoms (nRA) also positively contributed to the calculated Dv. With Eq. 7, it is expected that a material with a structure similar to a cyclic explosive such as RDX or HMX would also have a high detonation. An increase in the number of multiple bonds (nBM) of EILs showed a detrimental effect on the detonation velocity; this could be attributed to the increase in molecular interactions through the π-π interactions of multiple bonds.34

The detonation pressure also showed a tendency similar to the detonation velocity. In particular, the charged atom combination of N+ and O exhibits a high detonation pressure, confirming a detonation pressure of 38.28 GPa of material 173; therefore, the detonation pressure is highly dependent on the oxidation that consumes oxygen atoms of EILs, particularly when it explodes. This observation was consistent with previous studies.35,36 In addition, the detonation pressure tended to increase as the number of ring-forming atoms (nRA) increased. Considering the above results, the most promising structure was finally assumed to be a ring structure that contains oxygen.

Calculation of melting points of EILs

The QSPR model of melting points of EILs were developed by applying the genetic algorithm based on the following Eqn. 10, in the same way as detonation velocity and detonation pressure. A total of 89 data were used, of which 19 were used as test sets.

$$\begin{array}{ccccc}\\ Tm_{{\rm{MLR}}} = C_0 + C_1{\rm{Mw}} + C_2{\rm{nBT}} + C_3{\rm{nBM}} + C_4q_t\\\\ + C_5{\rm{mOB}} + C_6{\rm{nRA}} + C_7{\rm{C}}^ + + C_8{\rm{N}}^ + + C_9{\rm{C}}_{{\rm{cat}}}\\\\ + C_{10}{\rm{H}}_{{\rm{cat}}} + C_{11}{\rm{O}}_{{\rm{cat}}} + C_{12}{\rm{N}}_{{\rm{cat}}} + C_{13}{\rm{C}}^ - + C_{14}{\rm{N}}^ - \\\\ + C_{15}{\rm{O}}^ - + C_{16}{\rm{C}}_{{\rm{ani}}} + C_{17}{\rm{H}}_{{\rm{ani}}} + C_{18}{\rm{O}}_{{\rm{ani}}}\\\\ + C_{19}{\rm{N}}_{{\rm{ani}}} + C_{20}{\rm{Cl}}_{{\rm{ani}}}\\ \end{array},$$
(10)

where C i (i = 0–20). The population of the genetic algorithm was 200, the crossover fraction was 0.8, and the simulation was conducted until it reached 100,000th generations. Equation 11 was the result of the QMG based equation of Tm (Fig. 3). The melting point showed a general tendency to be directly proportional to the molecular weight of the substance and the number of charged atoms.

$$\begin{array}{ccccc}\\ Tm_{{\rm{QMG}}} {\mathrm{ = }}155.95 + 0.32{\rm{Mw}} - 8.65{\rm{nBT}} + 11.33{\rm{nBM}}\\\\ - 8.57q_t + 0.41{\rm{mOB}} + 2.41{\rm{nRA}} - 78.6{\rm{C}}^ + + 55.16{\rm{N}}^ + \\\\ - 28.43{\rm{C}}_{{\rm{cat}}} + 18.81{\rm{H}}_{{\rm{cat}}} + 20.35{\rm{O}}_{{\rm{cat}}} + 11.56{\rm{N}}_{{\rm{cat}}}\\\\ + 89.17{\rm{C}}^ - + 67.4{\rm{N}}^ - + 65.3{\rm{O}}^ - + 7.7{\rm{C}}_{{\rm{ani}}}\\\\ - 9.69{\rm{H}}_{{\rm{ani}}} - 0.72O_{{\rm{ani}}} + 13.36{\rm{N}}_{{\rm{ani}}} + 46.75{\rm{Cl}}_{{\rm{ani}}}\\ \end{array}$$
(11)

R2, RMSECV, qext2 and k values are 0.68, 33.78, 0.78 and 0.66 as shown in inset of Fig. 3.

Fig. 3
figure 3

Comparison of predicted melting temperature (Tm) by QMG. (Inset; validation factors of QMG model.)

Structural analysis

The detonation velocity and pressure of EILs were highly dependent on both their cation and anion structure and their combination. Figure 4a shows the detonation velocity values according to the cationic structure. The EILs with small cations such as ammonium, hydroxylammonium, and hydrazinium structure showed Dvs larger than 9,300 m/s (Fig. 4b) when combined with a large anion such as 1-nitro-N-(1-nitro-1H-tetrazol-5-yl)-N-(1-oxide ion-tetrazol-5-yl)-1H-tetrazol-5-amine (A1 in cpd 167). This result well matches to the previous report in which the combination of a large anion and small cation could form high-density energetic compounds.37 Unlike most of the cations from ammonium to imidazolium ions, which were generally well distributed along the correlation line (dashed), the Dv values for hydrazinium groups (navy triangle) deviated from the correlation line (Fig. 4c). The deviation of hydrazinium from the correlation line could be attributed to the difference in the molecular interactions and/or the positive charge distribution on the cation. It has been reported that hydrazinium ions pertain lower electrostatic potential (ESP), which is a critical clue in intermolecular interactions.37 In particular, the deviation was larger when two hydrazinium ions were combined in an anion (cpd 307). Nonetheless, the hydrazinium group showed a higher Dv than guanidinium ions (Dv < 9,200 m/s).

Fig. 4
figure 4

a Structural analysis on cationic group of ionic liquids for detonation velocity. Black (imidazolium), red (triazolium), blue (tetrazolium), magenta (ammonium), green (guanidium), navy (hydrazinium), and pupple (others). b The EILs having high Dv (>9000 m/s) in red box of (a). c Structural analysis on anionic group of ionic liquids for detonation velocity. Black (imidazolate), red (triazolate), blue (tetrazolate), magenta (amine ion), green (carbanion), navy (nitrate), wine (pyrazolate), brown (bisoxadiazolate), and dark yellow (others). d Structural analysis of cationic ionic liquids for detonation pressure calculated from Eq. 9. Black (imidazolium), red (triazolium), blue (tetrazolium), magenta (ammonium), green (guanidium), navy (hydrazinium), and pupple (others)

Among the azolinium ions, the tetrazolium group with a dinitroamide anion showed the highest Dv of 9,300 m/s. When anions were same, the tetrazolium showed higher Dv than triazolium groups. The imidazolium ions showed the lowest Dv among the cations in this study. This result could be attributed to the large contribution of the number of charged atoms on Dv (Eq. 7) and well matches to the previous report that the hypergolic properties of ILs become large in nitrogen-rich ILs.38 Almost the same ionic effects as those of Dv were observed for the detonation pressure (Dp) of EILs (Fig. 4d), showing the order of Dp as hydrazinium > tetrazolium > ammonium > guanidinium > triazolium > imidazolium.

Table 3 summarizes the average detonation velocity of each structure. The detonation property was also established according to anion structure (Fig. 4d and Supplementary Figure S4b). As described above, the large anion such as A1 (in Fig. 4b) showed the highest detonation velocity among anions, followed by 1-nitro-N-(1-nitro-1H-tetrazol-5-yl)-N-(1-tetrazolate-5-yl)-1H-tetrazol-5-amine (A2 in Fig. 4b), tetrazolate, triazolate, imidazolate, carbanion, and amine ions. Imidazolate showed the lowest detonation velocity among the azolates as did the imidazolium among the azoliums; this indicates that the charged nitrogen (N+) in the anions of EILs were also critical for high Dv.

Table 3 Mean value of Dv and Dp for each ionic groups. (Bold; descriptors with the largest value in each model.)

Although imidazolate showed a lower Dv value among azolates, the Dv of the imidazolate group was higher than those of other small anions such as carbanion and amine anions; this was also found for the Dp (Fig. 4f). Therefore, it obviously shows that the number of positively influencing atoms that form the ring was important for high detonation properties, and this gives a strong premise for azole-based EILs. Figure 5 shows the effect of combining azolium and azolate.

Fig. 5
figure 5

Comparison of Dv (a) and Dp (b) between the calculated values from QMGAZ (Eq 12, 13) against literature values (c) detonation velocity, (b) detonation pressure, (c) Plot of the calculated Dvs from QMGAZ against literature for (i) Azolium (Az+)-Azolate (Az), (ii) Azolium (Az+)-Non-azolate (NAz), and (iii) Non-azolium (NAz+)-Azolate (Az)

Specific model for azole based ions

Azole-based ionic liquids particularly attract attention as promising high energy materials with their generally high stability and high energy density.39,40 It is already established that the accuracy of the QSPR model can be increased in a structurally similar group and by narrowing the width of the data used.26 We also established an MLR-based QSPR model (QMG) for azole-based ionic liquids using the same methodology. In total, 226 data were used and 46 data were used as a training set, with the same descriptors used for QMG to afford Dv and Dp as follows.

$$\begin{array}{ccccc}\\ Dv_{{\mathbf{{{QMGAZ}}}}} = {\mathrm{6215}}{\mathrm{.07 - 6}}{\mathrm{.13Mw}} + {\mathrm{54}}{\mathrm{.44nBT - 41}}{\mathrm{.02nBM}}\\\\ {\mathrm{ - 441}}{\mathrm{.05q}}_{\mathrm{t}}{\mathrm{ - 9}}{\mathrm{.96mOB}} + 17.71{\mathrm{nRA}} + {\mathrm{1849}}{\mathrm{.76C}}^ + \\\\ + 2413.63{\mathrm{N}}^ + {\mathrm{ - 199}}{\mathrm{.22C}}_{{\mathrm{cat}}}{\mathrm{ - 36}}{\mathrm{.16H}}_{{\mathrm{cat}}} + 146.37{\mathrm{O}}_{{\mathrm{cat}}}\\\\ + 106.84{\mathrm{N}}_{{\mathrm{cat}}} + 1160.61{\mathrm{C}}^ - + 1290.88{\mathrm{N}}^ - \\\\ + 1379.52{\mathrm{O}}^ - {\mathrm{ - 93}}{\mathrm{.24C}}_{{\mathrm{ani}}} + {\mathrm{35}}{\mathrm{.94H}}_{{\mathrm{ani}}} + {\mathrm{71}}{\mathrm{.53O}}_{{\mathrm{ani}}}\\\\ + {\mathrm{59}}{\mathrm{.06N}}_{{\mathrm{ani}}}{\mathrm{ - 137}}{\mathrm{.01Cl}}_{{\mathrm{ani}}}\\ \end{array}$$
(12)
$$\begin{array}{ccccc}\\ Dp_{{\mathbf{{{QMGAZ}}}}} {\mathrm{ = 18}}{\mathrm{.78 - 0}}{\mathrm{.04Mw}} + {\mathrm{0}}{\mathrm{.37nBT - 0}}{\mathrm{.35nBM}}\\\\ {\mathrm{ - 1}}{\mathrm{.33q}}_{\mathrm{t}}{\mathrm{ - 0}}{\mathrm{.05mOB}} + 0.07{\mathrm{nRA}} + {\mathrm{5}}{\mathrm{.96C}}^ + + 11.8{\mathrm{N}}^ + \\\\ {\mathrm{ - 1}}{\mathrm{.45C}}_{{\mathrm{cat}}}{\mathrm{ - 0}}{\mathrm{.55H}}_{{\mathrm{cat}}} + 2.13{\mathrm{O}}_{{\mathrm{cat}}} + 0.78{\mathrm{N}}_{{\mathrm{cat}}} + 0.66{\mathrm{C}}^ - \\\\ + 1.83{\mathrm{N}}^ - + 3.83{\mathrm{O}}^ - {\mathrm{ - 0}}{\mathrm{.88C}}_{{\mathrm{ani}}} - {\mathrm{0}}{\mathrm{.32H}}_{{\mathrm{ani}}}\\\\ + {\mathrm{1}}{\mathrm{.23O}}_{{\mathrm{ani}}} + {\mathrm{0}}{\mathrm{.87N}}_{{\mathrm{ani}}} + 2.08{\mathrm{Cl}}_{{\mathrm{ani}}}\\ \end{array}$$
(13)

The results of the MLR-based QSPR model for azole-based EILs (QMGAZ) were compared with the reference detonation properties (Fig. 5a, b). The correlation between the calculated Dvs by QMGAZ (Eq. 12) and reported values was much improved compared to above QMG (Eq. 7). The R2, qext2, and k values of the corresponding azolium models were 0.75, 0.68, and 0.75, respectively. Furthermore, this QMGAZ model showed high R2 (0.75), qext2 (0.79), and k (0.74) for the correlation between the calculated and the reported detonation pressure (Table 1). Thus, the detonation properties of azole-based EILs could be more accurately calculated from the QMGAZ than the QMG model. The contributions from the descriptors in QMGAZ were similar to those in QMG. For the detonation velocity, the contribution from charged atoms was increased as the number of atoms in a ring increased. The charge number (qt) tended to be inversely proportional, whereas OB was proportional to the detonation velocity. The higher the nRA, the greater the detonation velocity.

Azole-based ionic liquids could be gathered into three groups depending on their composition: Azolium (Az+)–Azolate (Az), Azolium (Az+)–non-azolate (NAz), and non-azolium (NAz+)–Azolate (Az), as plotted in Fig. 5c (i, ii, and iii, respectively).

Interestingly, high Dvs (Dv > 9,300 m/s) were observed in the asymmetric EILs having azoliums with non-azolate (Az+NAz), or non-azolium with azolate (NAz+Az). Meanwhile, the symmetric group (Az+Az) showed Dv distribution below 9,300 m/s compared to the asymmetric group. It is noteworthy that the Dv of Az+NAz pairs was largely affected by the Az+ structure, ranging from the lowest Dv 5,650 m/s for imidazolium (54 in Supplementary Table S1) to the highest 9,306 m/s for tetrazolium (133 in Supplementary Table S1). This result agrees well with the structural analysis described above. The highest Dv among the azole based ILs was calculated as 9,720 m/s for 1-nitro-N-(1-nitro-1H-tetrazol-5-yl)-N-(1-oxide ion-tetrazol-5-yl)-1H-tetrazol-5-amine (152 in Supplementary Table S1), which is within the NAz+–Az group. Therefore, Az+ and Az could be an important building block to create highly energetic ILs when combined with a NAz and NAz+ respectively.

Furthermore, considering the contribution of the descriptors and the structures of azole ions, ILs with heterocyclic structures consist of nitrogen and oxygen atoms could be designed as a promising EIL. Thus QMG model in this work provided a positive insight to design a new EIL.

A QSPR model was established for prediction of the detonation properties for ionic liquid materials. Without the use of the heat of formation or density, a LS- or GA- based MLR model was generated using only structural descriptors. The generated QMG model showed much higher accuracy than the Kamlet–Jacobs equation that required both the density and additional computation to aid rapid design. The calculated Dv and Dp correlated to those reported in the literature with a high correlation factor (R2) as R2 = 0.71 and 0.73 for the detonation velocity and pressure, respectively. The melting point of EILs was also predicted by QMG. R2, qext2 and k values are 0.68, 0.78 and 0.66, respectively. Among the descriptors, the contribution from the charged atoms (C+, N+, C, N, and O) was the most important in EILs. The oxygen balance (OB) and ring forming atoms (nRA) contributed also positively to the calculated Dv. The detonation velocity and pressure of EILs were highly dependent on both their cation and anion structure and their combination. The EILs that had small cations such as ammonium, hydroxylammonium, and hydrazinium structure showed a Dv 9,720 m/s when combined with a large anion such as 1-nitro-N-(1-nitro-1H-tetrazol-5-yl)-N-(1-oxide ion-tetrazol-5-yl)-1H-tetrazol-5-amine (152). The analysis of structural QMG model was further iterated to generate a QMG model for azole-based ionic liquids with 226 azolium or azolate molecules (QMGAZ). which showed much higher accuracy (correlation R2 = 0.75 and 0.75 for Dv and Dp, respectively) than QMG model based on entire 316 molecules. In particular, the QMGAZ model showed high qext2, and k values (0.79, and 0.74, respectively) for the correlation of the predicted against reported detonation pressures. The contribution of the descriptors was similar to those in QMG. The Dv of Az+NAz pairs was largely affected by the Az+ structure, ranging from the lowest Dv 5,650 m/s for imidazolium (54) to the highest 9,306 m/s for tetrazolium (133). The highest Dv among the azole based ILs was calculated as 9,720 m/s for tri-tetrazolate (152), which is within the NAz+–Az group. Therefore, Az+ and Az could be an important building block to create highly energetic ILs when combined with a NAz and NAz+ respectively. This provided a bright insight to design a new EIL. Considering the contribution of the descriptors and the structures of azole ions, ILs with heterocyclic structures consisting of nitrogen and oxygen atoms could be designed as a promising EIL for increasing the detonation velocity as well as pressure.

Method

Matlab R2017a was used for all calculations. Least mean square calculation was done by basic mldivide command with QR solver, because the number of samples is over the number of descriptors. For genetic algorithm, ga solver in optimization tool was used for calculation. The population of the genetic algorithm was 200, the crossover fraction was 0.8, and the simulation was conducted until it reached 100,000th generations. The source codes of each functions required to perform QSPR were written in our laboratory.

Data availability

All the data are available in supplementary information.