Keywords

1 Introduction

The field of energy storage has been dominated by lithium ion batteries (LIBs) for the past few decades [1,2,3]. Electrolytes in conventional energy storage devices usually contain Li salt with volatile and flammable organic solvents, resulting in safety concerns while operating at higher temperatures and larger scale [1, 3,4,5,6]. The demand for clean and sustainable electrolytes is increasing for their use in energy storage applications in electric vehicles and grid storage. Ionic liquids (ILs) and highlyconcentrated water-in-salt (WIS) electrolytes show great potential to replace conventional electrolytes in next-generation high-capacity batteries [7,8,9]. ILs are complex salts that are liquid below 100 \(^{\circ }\)C and do not contain any neutral molecular species such as water or organic solvents [10]. ILs exhibit unique properties such as a wide electrochemical window, nonvolatility, high chemical and thermal stability, and high ionic conductivity, which make them suitable candidate for energy storage [11,12,13,14,15,16,17,18,19,20]. Several studies have demonstrated the capability of ILs to improve the performance of supercapacitors [21,22,23,24,25,26]. WIS electrolytes are another class of electrolytes that have emerged as novel electrolytes for high performance batteries. WIS electrolytes have a salt to solvent ratio greater than 1, i.e., they have more amount of salt than water in mass and volume [9]. WIS electrolytes belong to a wider range of “solvent-in-salt" electrolytes which are also termed as highly concentrated electrolytes [27]. These electrolytes consist of large amount of salts dissolved in different solvents [28,29,30]. Like ILs, WIS electrolytes also possess enhanced redox stability and a wide electrochemical window [9, 29, 31,32,33,34]. Highly concentrated or superconcentrated solutions have been frequently explored as electrolytes in batteries [27, 30, 32, 35,36,37,38].

In an electrochemical system, electron transfer occurs at the electrode-electrolyte interface. The distribution of electrolyte species at the interface governs the interfacial reactions occurring within the electrochemical devices. Understanding the structure and distribution of the electrolytes at the model electrode surfaces helps determine their capability to be used in batteries and capacitors [39]. Many studies on the nanodroplets of ILs on electrode surface have revealed that the structure of ionic liquids at the interface and the extent of wetting are dependent on the extent of hydrophobic or hydrophilic nature of the surface [40,41,42,43,44,45,46,47,48]. The structure of ILs has been studied extensively near different electrode surfaces at varying potentials [49,50,51,52,53,54]. Similar but limited number of studies are also available on the WIS electrolytes under confinement or on electrode surfaces [55,56,57]. However, most simulation studies explored the electrodes having smooth surfaces and only the van der Waal and electrostatic interactions between the electrode and electrolyte molecules have been considered. Although, the findings in the above mentioned endeavours were very insightful, an ideal electrode in energy storage devices possesses rough surfaces with pores of different shapes and sizes [58,59,60]. The actual performance of the device also depends on the wetting of these nanopores by the electrolyte molecules or ions. Additionally, in LIBs the process of charging and discharging involve intercalation and deintercalation of electrolyte species at the anode and cathode [3, 61]. The computational studies focusing on the structure of the electrolytes in the nanoscopic confinements and intercalation of electrolytes in electrodes are scarce in the literature. In this chapter, we made an effort to compile our recent studies on the structure and thermodynamics stability of confined ILs and WIS electrolytes using molecular simulations.

The interaction of a solvent/solution confined between sufficiently separated hydrophobic sheets induces the transition from liquid to vapor phase (or evaporation) inside the nanoscale confinement (capillary). The process of capillary evaporation of water from solvophobic confinements has been explored through number of theoretical and computer simulations studies [62,63,64,65,66]. Huang et al. showed that water can evaporate from a hydrophobic confinement when the separation between two confining plates is less than a critical separation \(d_c\). Also, the vapor phase of water inside the confinement stays in vapor phase below \(d_c\). However, near the \(d_c\), the liquid and vapor phases of water are found to be in equilibrium [62]. Remsing et al. showed that the process of capillary evaporation of water from solvophobic confinement starts as vapor bubble nucleation on the confining surface. The vapor bubble then spans across the confinement to form a vapor tube, which further grows in size, leading to transition from liquid phase to vapor phase of water between the confining plates [64]. Altabet et al. further verified the vapor tube formation as a critical point in the process of water evaporation and showed that the process is significantly affected by the confinement flexibility [65]. Davoodabadi and Ghasemi have recently summarized the studies on the evaporation of water from nanoscale confinements [67]. The literature on the structure and thermodynamics of water inside different confinements is very extensive. However, number of such studies on ILs or WIS electrolytes is limited. Similar to capillary evaporation, the movement of electrolyte species in (intercalation) and out (deintercalation) of electrode vacant sites is also influenced by the electrode properties [61, 68,69,70,71,72,73]. The deintercalation of electrolytes from the electrode can be modelled by mimicking the process of capillary evaporation of water from solvophobic confinements [74,75,76].

In this chapter, we have reviewed the work done by our group on the stability of electrolytes in nanoscale carbon confinements. In the following sections, we highlight different key factors that govern the process of electrolyte intercalation/deintercalation and their stability inside solvophobic nanopores. Finally, the structure of electrolyte between the confining sheets is discussed. We limit the discussion in this chapter to the computer simulation studies of ionic liquids and water-in-salt electrolytes in nanoscopic graphene/graphite like hydrophobic confinements.

2 Stability of Electrolytes

Stability of electrolytes in confinement is usually discussed in terms of their phase behavior. When the electrolyte is stable inside the confinement, it usually tends to be in condensed phase, i.e., the density and structure of the electrolyte inside the confinement is comparable to that in the bulk [76]. However, when the electrolyte is unstable between the confining surfaces, it usually exists in vapor phase or does not prefer to stay in the confinement at all. In this case, the density of electrolyte within the confining region is significantly lower than the bulk density.

2.1 Process of Deintercalation

The process of change of electrolyte phase from its liquid to vapor phase inside a confinement is called deintercalation of the electrolyte, or sometimes termed as capillary evaporation [66, 76, 77]. The mechanism and thermodynamics of electrolyte intercalation-deintercalation have been studied by modelling electrolyte inside nanoscale confinement created by two parallel flat surfaces separated by a distance d [75, 76]. The interaction between the electrolyte and the confining sheets can be tuned by tweaking the parameters of the corresponding potential energy functions. The confining surfaces is considered solvophobic when the strength of the interaction, usually defined through the Lennard-Jones potential of the surface atoms, is weak and the contact angle formed by the electrolyte is more than 90\(^{\circ }\) [48]. For example, the contact angles formed by 1-ethyl-3-methylimidazolium tetrafluoroborate ([EMIM][BF\(_{4}\)]) ionic liquid and Li bis(trifluoromethane)sulfonimide ([Li][TFSI]) WIS electrolyte on the model surfaces discussed here are around 140\(^{\circ }\) and 130\(^{\circ }\), respectively [74, 76].

The electrolyte density fluctuations inside the confinement are probed using the indirect umbrella sampling (INDUS) technique [78, 79]. The free energy of electrolyte phase transition inside the confinement is estimated through probability (\(P_{v}{(N)}\)) of finding the N atoms or species of the electrolyte between the confining surfaces, separated by a distance d, with a confinement volume v. Shrivastav et al. used total number of heavy atoms of the ions of [EMIM][BF\(_{4}\)]as the order parameter of enhanced sampling whereas Dhattarwal et al. probed total number of atoms or species of [Li][TFSI] WIS electrolyte inside the confinement as the order parameter [74, 75]. A harmonic biasing potential is applied to maintain number of species inside the confinement to the target value \({N}^{*}\) which typically varies in the range from vapor phase to liquid phase,

$$\begin{aligned} U(\widetilde{N})= \frac{\kappa }{2}(\widetilde{N}-\widetilde{N}^{*})^{2}. \end{aligned}$$
(1)

Here, the biasing potential is applied on the continuous and coarse-grained variant of order parameter, \({\widetilde{N}}\) [78, 79]. \(\kappa \) is the spring force constant which guarantees the sampling of the phase space close to the target value of the order parameter. Figure 1 represents the simulation snapshots of a WIS electrolyte inside the nanoscale solvophobic sheets depicting a phase transition from vapor phase (VP) to liquid phase (LP). The free energy of phase transition is estimated from the probability distribution obtained from the enhanced sampling simulations using the weighted histogram analysis method (WHAM) as:

$$\begin{aligned} \Delta \textrm{G}(N)=-\mathrm {\beta ^{-1}} \ln P_{v}{(N)}, \end{aligned}$$
(2)

where \(\Delta \textrm{G}(N)\) is free energy of the phase corresponding to N species inside the confinement, \(\mathrm {\beta } = 1/k_{B}T\), and T and \(k_{B}\) are the temperature and the Boltzmann’s constant, respectively [80]. The studies reviewed in this chapter discuss the simulations performed at 310 K temperature.

The relative stability of liquid and vapor phases, and the process of electrolyte deintercalation from a nanoscale solvophobic or ionophobic confinement can be described in five different scenarios summarized through the illustration shown in Fig. 2.

Fig. 1
figure 1

Simulation snapshots of [Li][TFSI] based WIS electrolyte inside nanoscale solvophobic confinements for different number of target species between the confining sheets illustrating the transition between vapor and liquid phases of the electrolyte. The confining solvophobic carbon sheets are separated by 1.5 nm. Green, red, cyan, and grey beads represent [Li]\(^{+}\), [TFSI]\(^{-}\), water molecules, and carbon atoms of the sheets, respectively

Fig. 2
figure 2

Schematic illustration of different possible free energy profiles and stability of liquid/condensed (LP) and vapor phase (VP) of an electrolyte inside nanoscale confinements

  1. (a)

    In the first case, the free energy of LP is significantly lower than the VP, and there is no well-defined VP (see Fig. 2a). In this case, only the LP is stable inside the confinement and intercalation of electrolyte into the confinement is spontaneous.

  2. (b)

    In the second case, the free energy of LP is lower than that of VP and both the phases are separated by a appreciable free energy barrier. In this case, the LP is stable inside the confinement and VP is metastable (see Fig. 2b). Here, the LP is more favourable inside the confinement, however, VP requires some amount of energy in order to make transition to LP or vice versa.

  3. (c)

    In the third case, both VP and LP have same free energy but are separated by a significant free energy barrier (see Fig. 2c). Here, both the phases are stable inside the confinement and phase transition between them is energy intensive in both directions.

  4. (d)

    In the fourth case, free energy of VP is lower than the LP and a free energy barrier separates both the phases. Here, the VP is more stable inside the confinement than the LP, which is metastable (see Fig. 2d). However, the free energy barrier needs to be crossed for the transition from LP to VP or vice versa.

  5. (e)

    In the fifth case, the free energy of VP is significantly lower than the LP and there is no free energy barrier for LP to VP transition (see Fig. 2e). Here the process of deintercalation of the liquid or electrolyte is spontaneous, and their constituent species do not stay in the confinement.

There are multiple factors that govern the relative stability of vapor and liquid phases of electrolytes inside the confinement. In the following sections, we have discussed recent studies exploring the effect of these factors on the process of intercalation and deintercalation of electrolyte species.

2.2 Dependence on the Surface Area and Separation of Confining Sheets

Along with the surface area, the separation between the nanoscale sheets confining the electrolyte is one of the major factors that governs the relative stability of liquid and vapor states of electrolytes inside the confinement [74,75,76].

Fig. 3
figure 3

Reprinted with permission from Ref. [74], Copyright 2018 AIP

Simulated free energy profiles showing variation in the free energy (\(\mathrm {\beta }\Delta \textrm{G}(N;d)\)) for [EMIM][BF\(_{4}\)] as a function of number of heavy atoms inside the solvophobic confinements at different separations. Inset highlights that in the region corresponding to the condensed or liquid phase of [EMIM][BF\(_{4}\)]  (higher N values), the free energy profiles follow a inverted Gaussian or parabolic distribution, and deviations from the inverted Gaussian distribution are observed while moving towards the vapor phase region.

Figure 3 shows the simulated free energy plotted as a function of number (N) of [EMIM][BF\(_{4}\)] heavy atoms inside the solvophobic carbon confinements at different interplate separations [74]. Here, all the free energy profiles are shifted such that the free energy of the LP of [EMIM][BF\(_{4}\)] is at zero. Basins or minima with smaller N values on the x-axis correspond to VP of [EMIM][BF\(_{4}\)] inside the confinement. Similarly, the basins formed at larger N values correspond to the LP of [EMIM][BF\(_{4}\)]. The free energy profiles have a parabolic distribution at the LP basins, which deviates to a fat tail as the N value decreases (see inset of Fig. 3). At the larger d values, e.g. 1.6 nm, there is no well-defined basin for the VP, and the LP is the only stable state of [EMIM][BF\(_{4}\)] inside the confinement. As the inter-plate separation is decreased to 1.5 nm, a minimum corresponding to the VP starts to emerges in the smaller N region of the free energy profile.

However, the free energy of this basin is still more than the LP basin, and the VP is metastable. With further decrease in the inter-plate separation, the free energy of vapor basin decreases. When the inter-plate separation is 1.2 nm, the free energy of vapor and liquid phases is same, reflecting that both the states are stable at this separation. However, the free energy barrier separating the two states is significantly high. The separation at which the LP and VP are having same free energy is called as critical separation, \({d}_{c}\) [62]. At this separation, the free energy cost of phase transition between vapor and liquid phases is very high. Moreover, below the critical separation, the VP tends to be more stable and LP become metastable. If the interplate separation is further decreased, the energy barrier between the liquid and vapor phases significantly decreases and the free energy cost for the liquid to vapor phase transition decreases. Below or at 1 nm separation between the confining surfaces, the free energy barrier vanishes, and the transition from LP to VP becomes a spontaneous process.

Fig. 4
figure 4

Reprinted with permission from Ref. [76], Copyright 2021 RSC

Simulated free energy profiles (\(\mathrm {\beta }\Delta \textrm{G}(N;d)\)) for [Li][TFSI]/water WIS electrolyte as a function of number of electrolyte species inside the solvophobic confinements at different separations. The height of the barrier separating the liquid and vapor phases of the WIS electrolyte within the confinement decreases with decrease in the separation between the confining surfaces.

The dependence of stability of WIS electrolyte on the separation between confinement sheets is similar to ILs and water [76]. Figure 4 shows the simulated free energy plotted as a function of number of WIS species inside the solvophobic carbon confinements at different interplate separations. The figure reveals that the electrolyte is more stable inside nanoscale confinements at higher interplate separations, and at significantly lower separation, deintercalation of electrolyte is spontaneous. However, the critical separation, \(d_{c}\), at which the liquid and vapor phases are equally stable is at around 1.6 nm, as compared to 1.2 nm in case of [EMIM][BF\(_{4}\)][74]. Similarly, the spontaneous evaporation of electrolyte from the confinement is observed at around 1.3 nm, which is significantly higher than 1 nm observed in case of [EMIM][BF\(_{4}\)]. These observations show that although with an increase in the confinement separation, the height of the free energy barrier separating the liquid and vapor phases increases for different electrolytes and water, the extent by which the barrier height increases depends on the type of electrolyte.

2.3 Dependence on the Confinement Flexibility

Most simulation studies on confined electrolytes have considered rigid sheets to model the confinement, by freezing the motion of their atoms. However, significant effect of confinement flexibility has been shown on the stability of VP and LP of water as well as ILs between solvophobic sheets [65, 75]. Figure 5 shows the simulated free energy profiles as function of number of [EMIM][BF\(_{4}\)] species inside rigid and flexible solvophobic carbon confinements at three different interplate separations. At all the three separations, introduction of flexibility resulted in slight broadening of the liquid basin. The effect of confinement flexibility is more prominent on the vapor basin. The stability of vapor phase of [EMIM][BF\(_{4}\)] is significantly increased between the flexible solvophobic carbon sheets. Theoretical predictions attribute this enhanced stability to decrease in effective volume inside the confinement at lower N values [81]. When the electrolyte is in VP, a pressure difference builds up at the confinement sheets due to low density of electrolyte inside the confinement and high density of electrolyte outside the confinement. This pressure difference along with the interfacial tension in the flexible sheets lead to surface deformations, resulting in lowered confining volume [75, 81]. However, the effect of the pressure difference on the sheets is negligibly small when the electrolyte inside the confinement is in liquid state, hence, the stability of liquid state of electrolyte is not affected much by the confinement flexibility.

Fig. 5
figure 5

Reprinted with permission from Ref. [75], Copyright 2020 ACS

Comparison between the simulated free energy profiles (\(\mathrm {\beta }\Delta \textrm{G}(N;d)\)) for [EMIM][BF\(_{4}\)] as a function of number of ions inside the rigid (blue) and flexible (red) solvophobic confinements at three different separations. At all the three interplate separations studied, the free energy of [EMIM][BF\(_{4}\)] deintercalation from the flexible confinements is lower than the rigid confinements.

2.4 Dependence on the Electrolyte Concentration

Along with confinement characteristics like separation, size, and flexibility, salt concentration also governs the deintercalation process in WIS electrolytes. Figure 6 shows the free energy profiles for the WIS electrolyte as a function of number of species inside the confinement at three different concentrations for a fixed interplate separation of 1.7 nm. For 20 m (molal) salt solution, the LP of the electrolyte is more stable and VP is metastable inside the confinement. However, when the concentration is lowered to 10 m, the VP becomes more stable and LP is metastable. Just like critical separation, there is a critical concentration at which the liquid and vapor phases have similar free energies. For [Li][TFSI]-water system, the critical concentration lies between 10–20 m. With further lowering the concentration to 5 m, the VP is even more stable and the free energy barrier of liquid to vapor transition is lowered. It is expected that at even lower concentrations of the salt, the free energy barrier would further decrease and the process of electrolyte deintercalation will be spontaneous.

Fig. 6
figure 6

Reprinted with permission from Ref. [76], Copyright 2021 RSC

Simulated free energy profiles (\(\mathrm {\beta }\Delta \textrm{G}(N;d)\)) for three different concentration of [Li][TFSI]-water WIS electrolyte as a function of number of electrolyte species inside the solvophobic confinements at an interplate separation of 1.7 nm. Lowering the concentration of [Li][TFSI] in water resulted in significant increase in the stability of VP of electrolyte inside the confinement.

Fig. 7
figure 7

Reprinted with permission from Ref. [76], Copyright 2021 RSC

Illustration of liquid-vapor interface formed inside the solvophobic carbon confinements rendered at different points along the free energy profile. Here, the concentration of the salt in the WIS electrolyte is 20 m and the separation between confining sheets is 1.5 nm. \(N = 135\) corresponds to LP of WIS electrolyte, at \(N = 117\) vapor bubbles begin to form, at \(N = 105\) the bubbles join to form gap-spanning vapor tube, and \(N = 54\) to \(N = 3\) represent the growth of vapor tube inside the confinement.

3 Mechanism of Electrolyte Deintercalation

The mechanism of capillary evaporation or deintercalation of water from nanoscale solvophobic confinements involves the formation of a vapor bubble on the surface of the confinement that further grows to complete removal of water from the confinement [64, 65]. Similarly, the mechanism of deintercalation of WIS electrolyte was predicted by studying the growth of vapor bubble inside solvophobic confinement. Figure 7 shows the vapor bubble formed between the carbon surfaces (d = 1.5 nm), represented by the interface formed by the liquid (or solution) and vapor phases. When the electrolyte inside the confinement is in LP, there is no vapor bubble between the surfaces. As the number of species inside the confinement decreases, the vapor bubbles begin to appear on the opposite sides of the confinement. At an interplate separation of 1.5 nm, this process of vapor bubble formation is energy intensive. Decreasing the number of species inside the confinement requires further energy cost which leads to a gap-spanning vapor bubble formation across the confining sheets. The vapor bubble then further grows in size to eventually cover up the whole space between the surfaces, and the electrolyte is completely deintercalated from the confinement.

Fig. 8
figure 8

Reprinted with permission from Ref. [76], Copyright 2021 RSC

The free energy profiles (\(\mathrm {\beta }\Delta \textrm{G}(N;d)\)) for (ac) 20 m and (d) 5 m concentration of WIS electrolyte inside carbon confinements as function of number of electrolyte species between the confining sheets. These profiles are fitted for different processes of electrolyte deintercalation using macroscopic theory as per Eq. 3. Grey dashed lines represent the formation of vapor bubble inside the confinement, red dashed lines represent the growth of subcritical vapor tube to its supercritical size, and black dashed lines represent the growth of supercritical vapor tube to vapor phase of the electrolyte.

The process of vapor bubble formation starting from the LP follows a linear equation and growth of vapor tube can be described using macroscopic theory, [64, 76] i.e., \(\Delta G_\textrm{p}(r;d) = \Delta G_\textrm{th}(r;d)-2k_\textrm{B}T\ln (1-2r/L)\), where r is the radius of vapor tube forming inside the confinement, \(L=3\) nm is the side length of the confining surface, and the translational entropy of the tube is represented by the logarithmic term. Also,

$$\begin{aligned} \Delta G_\textrm{th} (r; d) = 2 \pi \gamma _{vl} \left[ r^2 \cos \theta + r \left( \tilde{d}+\frac{2\lambda }{\gamma _{vl}} \right) \right] , \end{aligned}$$
(3)

where \(\gamma _{vl}\) and \(\lambda \) are the surface and line tensions obtained from the fitting of free energy profiles, respectively. Figure 8 shows the simulated free energy profiles for the process of electrolyte deintercalation from the confinement of nanoscale sheets at three different separations and two different concentrations of electrolyte. The free energy corresponding to the process of vapor bubble formation is fitted using linear equation and the growth of gap-spanning vapor tube is fitted using macroscopic theory [76]. For WIS system at smaller d value (1.4 nm), single free energy fitting is sufficient to describe the growth of vapor tube inside the confinement (see Fig. 8a). At this separation, the vapor tube once formed between the confining sheets is already of supercritical size and requires no further energy for complete deintercalation of electrolyte. Remsing et al. reported a similar kind of supercritical point in the capillary evaporation of water from solvophobic nanoscale carbon confinements [64]. However, at larger interplate separations (\(d =\) 1.6 and 1.7 nm) the free energy of vapor tube growth is best described by two separate fits. At larger d values, the vapor tube initially formed between the sheets is of subcritical size and requires more energy to reach the supercritical point after which the deintercalation of electrolyte is spontaneous. Based on this analysis, Dhattarwal et al. described the electrolyte deintercalation from solvophobic confinements as a three step process [76].

  1. 1.

    The deintercalation is initiated by the formation of vapor bubbles on the opposite walls of the confinement surface. These vapor bubbles then join to form a gap-spanning vapor tube.

  2. 2.

    At the larger separations, the vapor tube formed is of subcritical size and grows further in size to reach at the supercritical size via an energy intensive process.

  3. 3.

    Once the vapor tube attain supercritical size, its size spontaneously increases, resulting in complete deintercalation of the electrolyte from the confinement.

4 Structure of Electrolytes Within the Confinement

Recent studies have highlighted the importance of local density fluctuations in governing the stability of water and electrolytes inside the nanoscale hydrophobic confinements [65, 75, 76]. The confining surface area and intersurface separation have been found to influence the distribution of electrolyte species within the confinement. The structural features of electrolytes between the confining sheets are usually studied through number density distributions of the constituent species corresponding to the LP of confined electrolyte [74, 82].

Fig. 9
figure 9

Reprinted with permission from Ref. [74], Copyright 2018 AIP

Number density profiles corresponding to the terminal methyl and ethyl carbons (CM and CE) and ring carbon (CR) of [EMIM]\(^{+}\) and boron atom (B) of [BF\(_{4}\)]\(^{-}\). The profiles show highly structured and layered distribution of IL species inside the microscopic confinements.

Figure 9 depicts the number density distribution of terminal (CM and CE) and ring carbon (CR) of [EMIM]\(^{+}\) cation and the boron atom (B) of [BF\(_{4}\)]\(^{-}\) anion between two solvophobic carbon sheets at different separations [74]. Figure 9 shows the [EMIM][BF\(_{4}\)] species inside the confinement are highly structured. At small separation (d = 1.0 nm), the non-overlapping peaks corresponding to ring and terminal carbons suggest that the cations inside the confinement are distributed in a single layer and are perpendicular to the surface of the confining sheets. Note that the end-to-end expansion of [EMIM]\(^{+}\) and [BF\(_{4}\)]\(^{-}\) along the longest axis is around 0.75 nm and 0.19 nm, respectively. At interplate separation of 1.1 nm, the peaks for the terminal carbons (methyl and ethyl ends of [EMIM]\(^{+}\)) and ring carbon overlap near the confinement surface, suggesting two parallel layers of the ions. However, few cations also attain perpendicular orientation as reflected by the central peak for CR. At d = 1.3 nm, again two layers of the ions are present, however, their orientation is not parallel to the surface of the sheets. For intersurface separation of 1.5 nm, there are five peaks corresponding to the cation ring carbon. Three of these peaks overlap with the terminal carbon near the surface and at the center of the confinement, reflecting three layer distribution of the cation in parallel orientation. Some cations also attain orientations perpendicular to the confining surfaces between the parallel layers. Dhattarwal et al. also reported the layered distribution of [EMIM][BF\(_{4}\)] inside the nanoscale confinement and confirmed the orientational preferences of ions at different separations using orientational order parameter.

Fig. 10
figure 10

Reprinted with permission from Ref. [76], Copyright 2021 RSC

Simulation snapshots representing the distribution of WIS electrolyte species between the solvophobic carbon sheets. The upper row shows the distribution of [Li]\(^{+}\) and [TFSI]\(^{-}\) ions, whereas, the lower row represents the distribution of water molecules inside the confinement. Magenta, blue, green, red, yellow, and white beads represent the lithium, nitrogen, fluorine, oxygen, sulphur, and hydrogen atoms, respectively.

Similar to [EMIM][BF\(_{4}\)], highly structured distribution of electrolyte species inside nanoscale solvophobic confinement was observed in case of WIS solutions [75]. Figure 10 depicts the distribution of species of [Li][TFSI]-water electrolyte within the solvophobic confinement. Note that the end-to-end expansion of [TFSI]\(^{-}\) along the longest axis is around 0.76 nm. At lower intersurface separation (d = 1.3 nm), the [TFSI]- anions prefer to align perpendicular to the confinement surface and water molecules are distributed throughout the confinement. As the separation between the sheets increases, some of the anions prefer to align parallel to the surface. Even at higher separations, most anions prefer parallel orientation and the separation between two parallel layers of anions increases with increase in interplate separation. The additional space results in more water molecules inside the confinement at higher separations, which is also reflected in the number density profiles. This also results in lower anion to water ratio between the confinement at higher interplate separations. It has also been shown that at the supercritical point, the height of the free energy barrier separating liquid and vapor phases of the electrolyte is directly correlated with the amount of salt ion pairs present within the confinement when the electrolyte is in the liquid phase [76].

5 Structural Changes During Electrolyte Deintercalation

In the previous section, we observed that the electrolytes within the nanoscale confinements are highly structured in their liquid phases. In this section, we shall examine the changes in the structure and orientation of electrolyte species during the process of electrolyte deintercalation (capillary evaporation). Figure 11 shows the joint density distribution (\(\rho (z,\theta )\)), which represents the number density of [EMIM]\(^{+}\) ring vectors between the rigid and flexible confining sheets along z direction forming an angle \(\theta \) with the axis perpendicular to confinement surfaces. When [EMIM][BF\(_{4}\)] inside the confinement is in LP (\(N^{*}\) = 56), the cations prefer to align parallely near the surface (\(\theta = 90^{\circ }\)) and perpendicularly at the center of the confinement (\(\theta = 180^{\circ }\)). The plots show that for flexible sheets the number density of perpendicular cations at the center of the confinement are relatively higher. As the number of [EMIM][BF\(_{4}\)] species inside the confinement is decreased (\(N^{*}\) = 30), the enhanced preference of perpendicular cations between flexible sheets facilitates the formation of vapor tube at the confinement surface. The difference in the preference of perpendicular orientation of cations is more prominent when the [EMIM][BF\(_{4}\)] reaches towards the vapor region (\(N^{*}\) = 10). Here, the ease of vapor tube formation between flexible sheets results in lower energy barrier and relatively more stable vapor phase of [EMIM][BF\(_{4}\)].

Fig. 11
figure 11

Reprinted with permission from Ref. [75], Copyright 2020 ACS

The joint density distribution, \(\rho (z,\theta )\), plotted along the free energy profile for [EMIM][BF\(_{4}\)] representing the changes in orientation of [EMIM]\(^{+}\) ions during the deintercalation (high to low N values) of electrolyte from the solvophobic confinement.

6 Summary and Future Directions

This chapter was focused on highlighting the recent advances in computer simulation studies on understanding the effect of confinement size, separation, flexibility, and electrolyte concentration on the process of intercalation-deintercalation of ions of neoteric electrolytes, such as ILs and WIS electrolytes, through nanoscopic confinements. These studies have clearly demonstrated that the stability of VP and LP of an IL or WIS electrolyte inside a hydrophobic confinement depends on the distance between the confining sheets. In the case of WIS electrolyte, stabilization of VP and LP also depends on the concentration of the salt. In LP, the structure of the electrolytes inside the confinement can be distinct from the bulk depending the interplate separation. It has also been demonstrated that above a critical separation between the sheets, LP is more stable for a given concentration of electrolyte. Similarly, for a given separation between the confining sheets, there exists a critical concentration of electrolyte above which the LP of the electrolyte is stable inside the confinement. Additionally, introducing flexibility to the confining sheets decreases the free energy barrier of transition from LP to VP of the confined electrolyte.

Similar to the process of capillary evaporation of water from a hydrophobic nanoscale confinements, the deintercalation of electrolytes also starts with a vapor bubble formation at the confinement surface. Then the vapor bubble grows to form a gap-spanning vapor tube, which eventually covers the whole confinement. However, contrary to water, the size of vapor tube formed is supercritical in case of WIS electrolytes only at lower interplate separations. At higher separations, deintercalation of electrolyte is a four step process; formation of vapor bubble(s), formation of subcritical vapor tube, growth of vapor tube to supercritical size, and further spontaneous growth of vapor tube. It is evident that because of their unique nature, ILs and WIS electrolytes can be tailored to achieve higher extent of intercalation.

The distribution of ILs and WIS electrolytes within the microscopic confinements were found to be highly structured in their liquid phases. The structure of electrolyte between the confining sheets plays an important role in governing the process of electrolyte intercalation and deintercalation. Preferential deintercalation (dewetting) of ILs from flexible surfaces makes the process of electrolyte deintercalation more feasible from flexible confinements.

Although we have discussed some detailed studies on the stability of modern electrolytes inside nanoscale confinements but there are few important aspects that still remain unaddressed. Work needs to be done with a wider range of electrolytes along with utilization of confinement materials other than graphene or graphite. Effect of surface charge or potential on the stability of electrolytes inside microscopic confinements is also not fully understood. We believe that future studies in this direction would provide valuable insights in the field.