1 Introduction

Today’s overpopulated areas face poor air calibre and a fast-decreasing rate of energy origins worldwide. This quick utilisation rate has materialised the need for cleaned, improved, and feasible energy derivations. In many natural resources, hydrogen has tremendous focus as a coherent energy transporter, and it can be free from carbon if it is produced from sustainable sources. If it is made, there are many ways to store hydrogen in gas, liquid, or solid-state form. However, every choice has supremacy; not everyone assures the critical specifications such as price, security, pressure, and energy compactness for practical applications. Adsorption of hydrogen on the surface of solid- or solid-state hydrogen storage is preferable to achieve a secure, structured, and excessive amount of hydrogen storage, particularly for transportation. For practical implementation of hydrogen storage, solids require materials with less weight, elevated hydrogen compactness, and suitable adsorption and desorption temperature (Zhang et al. 2016). Metal hydrides are preferred for hydrogen storage with hydrogen storage by weight from 5–8 wt. % (Niaz et al. 2015). Like MgH2 and LiH, these hydrides still tolerate High thermal solidity and low reaction kinetics (Wang et al. 2018; Qi et al. 2023). The characteristics of Mg–Al alloys were experimentally studied by Anderson. In addition and removal of the hydrogen process of MgH2, it seemed that the insertion of Al boosts the system’s kinetics. Compounds like LiBH3 and NaBH3, Mg (BH2)2 and Ca (BH2)2 with greater hydrogen concentration are yet under consideration to remove the formation of Borane during the reaction (Chen 2023). Elastic effects of NaMgH3 were studied using Ab initio calculations (Reshak et al. 2011). LiBeH3 and NaBH3 show mechanical and thermal stabilities. But Be is not preferred because of its magnetic properties (Chen and Yu 2023; Wang et al. 2023). Perovskite-type hydrides like KMgH3, SrLiH3, and BLiH3 are pondered due to their lightweight, stable conditions and site of hydrogen (Zaluska et al. 2000). Thermal, electronic, and optical properties of LiBaH3, LiSrH3, and LiCsH3 are studied, and it found that LiBaH3 is more stable than LiSrH3; conversely, LiCsH3 is considered to be unstable (Bertheville et al. 2001). Due to their potential as a material for handling hydrogen and tritium as storage, availability, and rehabilitation in thermonuclear fusion devices, the AB-type zirconium-based alloy family, which includes ZrNi and ZrCo, has gained a lot of interest to date (Wang et al. 2021, 2022). This is because the stimulation process is easy, its absorption characteristics are excellent, and the kinetics of the hydrogen breakdown are high. Furthermore, they exhibit an adequate equilibrium pressure of tritium at ambient and mild temperatures for releasing tritium gas at atmospheric pressure (Zhao et al. 2023; Lu et al. 2017). The recent focus on ternary metal hydrides has been seen as a new direction for pressure-dependent high-temperature superconductor research. This is largely due to the wide variety of ways that metals even metalloids can be alloyed with hydrogen. New stages of Mg − B − H ternary hydrides can be anticipated here using first-principles evolutionary techniques. As a consequence, associated phonon and electrical calculations for the three a candidate phases are carried out one after the other to verify their potential to become conductors and their dynamic stability. The recent focus on ternary metal hydrides has been seen as a new direction for pressure-dependent high-temperature superconductor research. This is largely due to the wide variety of ways that metals even metalloids can be alloyed with hydrogen. New stages of Mg − B − H ternary hydrides can be anticipated here using first-principles evolutionary techniques. As a consequence, associated phonon and electrical calculations for the three a candidate phases are carried out one after the other to verify their potential to become conductors and their dynamic stability (Sukmas et al. 2023; Pluengphon et al. 2022). Magnesium-based ternary alkaline-earth hydrides are important to create new transition metal hydrides. In contrast to the strontium and barium-containing systems, which contain accordingly three (Sr2MgH6, SrMgH4, Sr2Mg3H10 and four (Ba2MgH6, BaMgH4, Ba5Mg7H26, Ba2Mg3H10 ternary hydride phases, only one such step is known for the calcium-containing system (Ca4Mg3H14.report on the synthesis and crystal structure of a second ternary hydride phase of composition Ca19Mg8H54. High-pressure synthesis was used to create the chemical, and it was discovered to be isostructural with Yb19 Mg8H54 (Pluengphon et al. 2021).

One of the building block groups for the solid-state storage of hydrogen is perovskite-type hydrides. Perovskite-type hydrides with the ABH3 formula demonstrate high gravimetric storage of hydrogen features. Since perovskite-type hydrides typically consist of 1A to 2A group elements, there aren’t many. NaMgH3 has been the subject of the most research. LiNiH3 perovskite type hydride has been created and studied in the literature utilising theoretical modelling and in situ synchrotron X-ray diffraction. LiNiH3 research is intriguing since it contains nickel, an element from the 8B group (Lu et al. 2023; Huang 2023). There are a couple of perovskite hydrides (X = H) situations in addition to chalcogenides and chalcogenides. The ternary metal hydrides indicate a saline coupling property when A and B are monovalent alkali (M) and divalent alkaline earth metals (Ae). For preserving hydrogen at extreme temperatures, certain hydrides are of interest. The perfect perovskite structure has been found in five reported hydrides: CsCaH3, RbCaH3, KMgH3, BaLiH3, and SrLiH3. Due to the singly charged M cation filling the octahedral gaps, the latter is sometimes called inverse perovskites. LiBeH3, a light metal hydride, has also been hypothesized to adopt the cubic perovskite structure and exhibit high-temperature superconductivity. However, LiBeH3’s composition and characteristics have been scrutinized (Feng et al. 2023; Qiu et al. 2023a).

Lithium-based compounds such as Li2BeH4 and, K2MgH4 (Adimi et al. 2017), Li2MgH4 are investigated experimentally, and Mechanical, vibrational hydrogen storage properties regarding phase transitions are studied by using DFT calculations (Sun et al. 2023). Hydrides of aluminium contemplate as a good candidate for solid-state materials. Adami et al. investigated the phase shift of AALH4(A = Li, Na, K, Rb, Cs) (Yao et al. 2020). Many magnesium-related compounds, such as Mg2FeH6, Mg2NiH4, and Mg2CoH5 were offered for hydrogen storage (Wimmer 2005; Broom 2011a). However, no one still meets the requirements for practical usage. Regarding storing high-density hydrogen storage, competence with natural resources fuels (Qiu et al. 2023b), economically suitable, increased productivity and secure practical applications, it is required to search for new materials. To achieve that, it needs to search for materials with good combinations and crystalline shapes. From this point of view, computational technique in the science of materials provides three leading facilities to explore the globe: superior knowledge of substances at the atomic level (Sheng et al. 2023), speculation of the consequences and clarifying the physical and chemical effects of substances proceeding to observations (Zhao et al. 2020; Yang et al. 2022). For some years, with the help of computers, efficiency and approach to more complex systems and calculations give rise to characteristics of materials in a considerable explanation. Enormous details about the material properties can be found using DFT calculations. Thermodynamic properties can be calculated by finding the energy difference between an ideal crystal and a deformed crystal. Likewise, vibrational and phonon trends of materials can be found by calculating the force on the remaining atoms and by detaching the pressure on these atoms (Jia et al. 2023; Kuang et al. 2018). DFT calculations can also be used to find out the elastic properties by reactions of materials concerning distortion. Using this method new hydrogen storage materials can be evaluated with accurate connections ahead with systematic, elastic, electrical, and optical characteristics without the requirements of costly experimental chains. M.Bortz et al. Studied the Rb2ZnH4 and Cs2ZnH4 by preparing the stoichiometric quantity of the above hydrides and with Zinc powder with the pressure of 80 bar at 650 K. Experimental investigations of the alkali hydrides show that the studied compounds are isotopic with K2ZnH4. This study’s first time theoretical approach has been to study the Rb2ZnH4, Cs2ZnH4 and K2ZnH4 using density functional theory calculations. Substituting Zn is expected to enhance the hydrogen sorption properties and produce changes in formation enthalpy. This way is also preferable to reserve resources, time, and workforce. Due to this reason, in this study, we reasonably and comprehensively construct metal hydrides for hydrogen storage, by using density functional theory calculations. Firstly, we propose and predict the crystalline shape of K2ZnH4, Rb2ZnH4, and Cs2ZnH4 metal hydrides, recognize their structural and electronic properties. In the end, absorption of these hydrides is calculated and examined. Since these calculations only need atomic numbers and crystal shapes as inputs. We initially studied their Gravimetric Hydrogen Density. That framework is the starting clue to this action. The gravimetric hydrogen density is an essential factor in this process, so the GHD of the studied compounds is calculated by using the following equation (Broom 2011b).

$$ C_{wt\% } = \left( {\frac{{\left( \frac{H}{M} \right)M_{H} }}{{M_{Host} + \left( {H/M} \right)M_{H} }} \times 100} \right)\% $$
(1)

where H/M denotes the ratio of hydrogen to metal, MH represents the molar mass of hydrogen and MHost is the molar mass of host material. The gravimetric hydrogen density for the studied compounds is 2.7 wt.%, 1.6 wt.% and 1.2 wt.% for K2ZnH4, Rb2ZnH4, and Cs2ZnH4 respectively.

2 Computational details

Ab initio calculations have been used to perform the structural, electronic, thermal, and elastic properties of zinc base hydrides by using the full-potential linearized augmented plane wave method within the framework of DFT by using WIEN2k Code. The generalized gradient approximation (GGA-PBE) proposed by Perdew-Burke-Ernzerhof parameterizes the exchange–correlation energy. The self-consistent calculations stop when the energy convergence reaches 0.001 Ry. In this method, the generalized gradient approximation (GGA) was used for the exchange–correlation potential to calculate structural and electronic properties (Rehmat et al. 2017). Perdew-Burke-Ernzerhof sol approximation was used to optimise the orthorhombic structure of X2ZnH4(X = K, Rb, Cs) by applying Birch Murnaghan’s equation of state. The calculations are performed using RMT*Kmax = 10 which is used to achieve the convergence in the first Brillion Zone. Here, RMT and Kmax muffin tin sphere and the largest K vector in-plane wave, respectively (Reshak and Jamal 2012). The cutoff energy for the separation between core and valence energy states was set equal to a value of −9.0 Ry (Santhosh et al. 2015). A denser mesh of k-points was used for the calculation of bandgap. Energy strain methods were performed to calculate elastic constants within the framework of the WIEN2k package (Murtaza et al. 2021). IRelast package implemented in WIEN2k code is used to calculate elastic constants. Elastic constants such as bulk modulus (B), shear modulus (G), Young’s modulus (E) and Pugh’s ratio (B/G) were.

calculated based on Voigt-Reuss-Hill approximation. Thermoelectric properties of the materials are computed by the semiclassical Boltzmann hypothesis, which is implemented in BoltzTrap. The transport properties are calculated by maintaining the constant relaxation time (Madsen and Singh 2006; Bulusu et al. 2008).

3 Results and discussion

3.1 Structural properties

As a first stage, the internal structure characteristics tune the X2ZnH4 (X = K, Rb and Cs) atom configuration. An initial investigation of the structure’s qualities was conducted using the obtained results. The equilibrium lattice constants and their first pressure derivative (B′) were determined by calculating the total energy at different volumes and fitting the result to the empirical Murnaghan’s equation of state. Figure 2 depicts the change in total energy as a function of volume. Optimized structural parameters and the materials space group were also used to determine the atomic distances between the crystal’s constituents. X2ZnH4 (X = K, Rb and Cs) has a centered orthorhombic structure and contains space group 16- PP222. The structural properties of X2ZnH4 (X = K, Rb and Cs) of the materials demonstrate orthorhombic structures with atomic positions are shown in Table 1 (Fig. 1).

Table 1 Used atomic positions and RMT
Fig. 1
figure 1

Crystal structures of (a) K2ZnH4 (b) Rb2ZnH4 (c) Cs2ZnH4

The system’s total energy is reduced to obtain the minimum point in the energy volume curve. For the implementation of this energy, two phases are important for this process. In the first one, the forces acting on one another inside the unit cell are executed. To get the energy versus volume curve, the total state of the system is calculated for a combination of the volume of the unit cell and c/a values in the second phase. The importance of X2ZnH4 has been streamlined by using the Birch-Murnaghan equation of state, and Hamiltonian variables have been calculated. Figure 2 demonstrates the total energy versus volume curves calculated at fixed equilibrium values of you and c/a ratio for K2ZnH4, Rb2ZnH4 and Cs2ZnH4. The underestimation of the lattice constants reveals that the GGA overestimates the volume. The calculated lattice constants, bulk modulus and its pressure derivative are summarised in Table 2.

Fig. 2
figure 2

Optimized curves of energy versus volume of (a) K2ZnH4 (b) Rb2ZnH4 (c) Cs2ZnH4

Table 2 The calculated lattice constants, the first derivative of bulk modulus (B′) of K2ZnH4, Rb2ZnH4 and Cs2ZnH4

In this study, the dynamical stability of the K2ZnH4, Rb2ZnH4, and Cs2ZnH4 hydrides is systematically investigated through the analysis of phonon dispersion curves (PDCs) obtained using the CASTEP software with the generalized gradient approximation (GGA). The supercells generated by PHONON software enable the construction of PDCs through the direct method, providing insights into the vibrational characteristics of the materials. The unit cells of these compounds contain 35 phonon branches, comprising 3 acoustic and 32 optic modes. Unlike the the absence of imaginary frequencies in the PDCs for K2ZnH4, Rb2ZnH4, and Cs2ZnH4 indicates their dynamical stability. The calculated phonon frequencies for K2ZnH4, Rb2ZnH4, and Cs2ZnH4 fall within the ranges of 4.4 THz, 4.5 THz, and 6 THz, respectively. There are no distinct bands attributed to large mass differences between constituent atoms, specifically H, K/Rb/Cs, and Zn. Interestingly, the absence of a gap between optical and acoustical modes further supports the dynamical stability of the compounds (Huang et al. 2022). At low frequencies, below 10 THz, the analysis of the PDCs reveals the predominant contributions to the acoustic and low-frequency optic phonon branches (Huang 2023). In summary, the presented phonon dispersion analysis demonstrates the dynamical stability of K2ZnH4, Rb2ZnH4, and Cs2ZnH4 hydrides, providing valuable insights into their vibrational characteristics. The absence of imaginary frequencies, the frequency ranges obtained, and the contributions of individual atoms contribute to a comprehensive understanding of the materials’ phonon behavior (Kuang et al. 2018), establishing a foundation. The phonon dispersion curves of X2ZnH4( X = K,Rb and Cs) are shown in Fig. 3. As there are no imaginary frequencies in the phonon spectra, therefore, all the studied materials are thermodynamically stable.

Fig. 3
figure 3

Phonon dispersion curves of (a) K2ZnH4, (b) Rb2ZnH4 and (c) Cs2ZnH4

3.2 Electronic properties

The electronic properties of the materials are investigated by band structures along with the total and partial density of states. The electronic band structures of the zinc base alkali metal hydrides are shown in Fig. 4 (Robidas and Arivuoli 2014). Horizontal dotted lines represent the Fermi level. The bands appearing nearer to the Fermi level around -1 eV are due to the contribution of the H–s state electron. Hence, these hydrides can quickly free the hydrogen without extreme heating (Hussain et al. 2020). The energy band gap values for Zinc alkali hydrides X2ZnH4 (X = K, Rb, Cs) are 1.03 eV, 0.77 eV, and 0.26 eV, respectively. Thus, these hydrides are electronically semiconducting. From the bandgaps structure, valence band maxima and conduction band minima lie at the same symmetry point (\(\Gamma\)). Fundamental energy gaps represent the direct bandgap p-type nature of the materials (Subhan et al. 2019). In p-type semiconductors, the probability of finding a hole in the valence band is more significant than in the conduction band, so it means the occurring probability of electron will be more significant in the valence band, and as a result, the fermi level shifts towards the valence band (Li et al. 2019).

Fig. 4
figure 4

The electronic band structures of (a) K2ZnH4 (b) Rb2ZnH4 and (c) Cs2ZnH4 compounds

3.3 Density of states

To visualise the electronic dawns of band structures and to understand the electronic properties of the studied compounds, the total and partial density of states of the compounds X2ZnH4 (X = K, Rb, Cs) are estimated in the range of −4 to 6.5 eV by using the generalized gradient approximations. The total and partial density of states of X2ZnH4 (X = K, Rb, Cs) plots represent the valence and conduction bands around the Fermi level set at 0 eV, as shown in Fig. 5. The total and partial density of states reveals that in all materials X2ZnH4 (X = K, Rb, Cs), no conditions are present at the corner of the valence band and the Fermi level. However, the conduction bands are lying at relatively higher energy states. Hence, a significant energy gap is present between the top of the valence band and the bottom of the conduction band. Therefore, it can be observed that these materials belong to semiconductors (Ali et al. 2018). From the plots of DOS, in K2ZnH4 peaks are observed near the top of valence and bottom of conduction bands due to the significant contribution of the d-state of zinc with the assistance of s and p-states of K along with the Hs-state while in Rb2ZnH4 p-state of Rb and Zn and s- state of hydrogen has significant contribution along with the minor contribution of s and d-state of Rb in the valence band and d-state of Rb has a significant contribution in the valence band. In the density of states of Cs2ZnH4, the d-state of Cs and p-state of Zn have the main role valence band.

Fig. 5
figure 5

Total and partial density of states of (a) K2ZnH4 (b) Rb2ZnH4 and (c) Cs2ZnH4 compunds

3.4 Elastic properties

Elastic constants of the materials are used to investigate the mechanical stability of the materials. Elastic constants demonstrate the ratio of stress to strain, deforms in crystals, and the ability of materials to regain their original shapes and give information about forces and bonding charters (Li et al. 2019). Nine independent elastic constants are defined for an orthorhombic structure as C11, C22, C33, C44, C55, C66, C12, C13, and C23 (Al et al. 2020a). The well-known born stability criteria for orthorhombic structure are given as (Pugh et al. 1954).

$$ \begin{gathered} {\text{C}}_{{{11}}} + {\text{ C}}_{{{33}}} - {\text{ 2C}}_{{{13}}} > \, 0{\text{ C}}_{{{22}}} + {\text{ C}}_{{{33}}} - {\text{2C}}_{{{23}}} > \, 0, \hfill \\ {\text{C}}_{{{11}}} + {\text{ C}}_{{{22}}} - {\text{ 2C}}_{{{12}}} > \, 0,{\text{ C}}_{{{11}}} > \, 0,{\text{ C}}_{{{22}}} > \, 0, \hfill \\ {\text{C}}_{{{33}}} > \, 0,{\text{ C}}_{{{44}}} > \, 0,{\text{ C}}_{{{55}}} > \, 0,{\text{ C}}_{{{66}}} > \, 0, \hfill \\ {\text{C}}_{{{11}}} + {\text{ C}}_{{{22}}} + {\text{ C}}_{{{33}}} + { 2}\left( {{\text{C}}_{{{12}}} + {\text{ C}}_{{{13}}} + {\text{ C}}_{{{23}}} } \right) \, > \, 0, \hfill \\ {1}/{3 }\left( {{\text{C}}_{{{12}}} + {\text{ C}}_{{{13}}} + {\text{ C}}_{{{23}}} } \right) \, < {\text{ B }} < \, \left( {{\text{C}}_{{{11}}} + {\text{ C}}_{{{22}}} + {\text{ C}}_{{{33}}} } \right) \hfill \\ \end{gathered} $$

The shear modulus(G) and bulk modulus(B) of the materials are calculated by elastic constants given in Eqs. 2 and 3 by

$$ {\varvec{G}}_{{\varvec{V}}} = \frac{1}{15}\left[ {{\text{C}}_{11} + {\text{C}}_{22} + {\text{C}}_{33} - \left( {{\text{C}}_{12} + {\text{C}}_{13} + {\text{C}}_{23} } \right)} \right] + \frac{3}{15}\left( {{\text{C}}_{44} + {\text{C}}_{55} + {\text{C}}_{66} } \right) $$
(2)
$$ {\varvec{B}}_{{\varvec{V}}} = \frac{1}{9}\left( {{\text{C}}_{11} + {\text{C}}_{22} + {\text{C}}_{33} + 2{\text{C}}_{12} + 2{\text{C}}_{13} + 2{\text{C}}_{23} } \right) $$
(3)

The Hill average of Voigt and Reuss approximations gives the best indication of Bulk and shear modulus as follows.

$$ {\varvec{B}} = \frac{{{\varvec{B}}_{{\varvec{V}}} + {\varvec{B}}_{{\varvec{R}}} }}{2} $$
(4)
$$ {\varvec{G}} = \frac{{{\varvec{G}}_{{\varvec{V}}} + {\varvec{G}}_{{\varvec{R}}} }}{2} $$
(5)

Young’s modulus (E) Pugh’s criteria (B/G), and poissons’s coefficient (υ) of the materials were calculated by following equations

$$ E = \frac{9BG}{{3B + G}} $$
(6)
$$ {\raise0.7ex\hbox{${\text{B}}$} \!\mathord{\left/ {\vphantom {{\text{B}} {\text{G}}}}\right.\kern-0pt} \!\lower0.7ex\hbox{${\text{G}}$}} = \frac{{3B_{H} - 2G_{H} }}{{2(3B_{H} + G_{H)} }} $$
(7)
$$ \upsilon = \frac{3B - Y}{{6B}} $$
(8)

The estimated values of elastic constants are given in Table 2. The deals from Table 1 represent that the materials K2ZnH4 Rb2ZnH4 are following the Born stability criteria, which indicate that both the materials are mechanically stable while the hydride Cs2ZnH4 is mechanically unstable. To find out the many unknown properties, critical parameters derived from elastic constants are given in Table 2. The bulk modulus of materials represents the resistance of materials towards volume change under the action of external stresses. Higher bulk modulus demonstrates the high resistance of materials against their volume change towards external pressures (Al et al. 2020b). It can be seen from Table 3 that Rb2ZnH4 has a higher value of bulk modulus than K2ZnH4, demonstrating that Rb2ZnH4 shows higher mechanical stability than K2ZnH4 while negative elastic constants of Cs2ZnH4can be found in low symmetry points (Pluengphon et al. 2021), and mechanically unstable than other two. Moreover, the Shear modulus of materials demonstrates the resistance of a material against shape change with the response of shear stresses. The shear modulus describes the hardness of materials better than the bulk modulus. The calculated shear modulus of Rb2ZnH4 is higher than K2ZnH4, and Cs2ZnH4 which is also in comparison with the results of the bulk modulus of compounds.

Table 3 The estimated values of elastic constants (GPa) of K2ZnH4, Rb2ZnH4, and Cs2ZnH4

Pugh’s criteria define the ductility and brittleness of materials by B/G ratio (Pugh et al. 1954); if a material has a lower percentage of B/G than 1.75 it explains that the material is brittle, and a higher value of B/G than 1.75 shows the flexibility of materials. According to the calculated results in Table 4 K2ZnH4, Rb2ZnH4 and Cs2ZnH4 have B/G ratios of 1.05, 0.52 and 3.70, respectively. K2ZnH4 Rb2ZnH4 compounds have a lower B/G ratio than 1.75. Thus these compounds have a brittle nature. The brittle nature of the studied compounds is in comparison with Li2CaH4 and Li2SrH4. The brittle nature of the materials is due to the low B/G ratio of these alkali metal hydrides. This is an important parameter for materials, especially for transportation applications. The bonding nature of the material is defined by Poisson’s ratio, which is perpendicular contraction and expansion when stresses are applied. The material shows covalent bonding when it is less or near 0.1 and ionic bonding when it is about 0.2. K2ZnH4 Rb2ZnH4 shows dominantly ionic bonding with a poisson’s ratio of 0.1, while Cs2ZnH4 has a poison’s ratio greater than 0.1 and demonstrates covalent bonding (Surucu et al. 2023). Another parameter Young’s modulus, defined the ratio of tensile stress to tensile strain. It represents the stiffness of the materials. Young modulus is the resistance of a material against any change toward x-direction. The stiffness of the materials increases with an increase in the Young modulus (Santhosh and Rajeswarapalanichamy 2016). It can be analysed that Rb2ZnH4 is much more complex and stiffer than K2ZnH4 and Cs2ZnH4.

Table 4 The calculated Bulk modulus B(GPa), Shear modulus G (GPa), Young’s modulus E(GPa), Pugh’s ratio (B/G) of K2ZnH4, Rb2ZnH4 and Cs2ZnH4

Even though there are compelling scientific and technical arguments for doing so, the mechanical characteristics of the metal hydrides have not been studied in great detail. The design of systems that use hydrides for the storage of hydrogen (such as energy storage, compressors, etc.) must take the response of the hydrides to external stress into consideration because these systems frequently depend on the development of new surfaces for the activation of the hydrides and must deal with the reduction in hydride particle size as the hydrogen is cycled in and out of the system. The hydrogen embrittlement of alloy systems based on hydride-forming metals, such as the group Vb metals (niobium, vanadium, tantalum), is also greatly influenced by the mechanical characteristics of the hydrides (Birnbaum 1984).

3.5 Thermoelectric properties

Thermoelectric properties of the materials are studied to convert thermal energy into electrical energy for practical purposes in detectors and computer cooling systems etc. Heat gradient is produced by the motion of charge as a result of potential difference and creates the thermoelectric effect. Thermoelectric behaviour of the orthorhombic K2ZnH4, Rb2ZnH4 and Cs2ZnH4 (Figs. 6 and 7) has been studied by calculating Seebeck coefficient (S), electrical conductivity (σ), thermal conductivity (\(\frac{{K_{e} }}{\tau }\)), hall coefficient as a function of temperature. The lower values of thermal conductivity and higher values of electrical conductivity and Seebeck coefficient are recommended for better thermoelectric properties.

Fig. 6
figure 6

The calculated (a) thermal conductivity, (b) specific heat capacity of K2ZnH4, Rb2ZnH4 and Cs2ZnH4 aginst temperature in the range of 0–800 K

Fig. 7
figure 7

The calculated values of (a) carrier concentration, (b) electrical conductivity, (c) Seebeck coefficient, (d) hall coefficient for K2ZnH4, Rb2ZnH4 and Cs2ZnH4 plotted against temperature in the range of 0–800 K

The thermal conductivity is attributed to the electrons and phonons vibrations in a lattice, and mechanical elastic waves are produced for both due to an increase in temperature. As the electrons being lighter are prone to thermal vibrations in contrast with their phonon vibration, we are considering the thermal conductivity of electrons only. Figure 5a shows the graph of thermal conductivity versus temperature in the range of 0–800 k. The values of thermal conductivity of K2ZnH4, Rb2ZnH4 and Cs2ZnH4 are increasing with the increase of temperature from 0 to 800k. The (\(\frac{{K_{e} }}{\tau }\)) Value of Rb2ZnH4 is greater than the other two compounds due to more considerable energy of electrons (Takeuchi 2009). The heat capacity of compounds versus temperature is shown in Fig. 5b. The heat capacity of solids consists of both phonons and free-charge carriers. Phonons and electrons contribute for indirect band semiconductors while in direct band the contributions only lowered to electrons (Noor et al. 2018a). Heat capacity of the K2ZnH4, Rb2ZnH4 and Cs2ZnH4 incresing with increase of temperature from 0 to 800k. The value of heat capacity is given by Debye law as \({\text{C}}_{{\text{v}}} {}^\backprime \alpha T^{3}\), increases linearly with temperature and becomes Cv = 3R at higher temperature, as shown in Fig. 5b.

Thermodynamic study of the compounds K2ZnH4, Rb2ZnH4 and Cs2ZnH4 has been done by exploring the carrier concentration, electrical conductivity, Seebeck coefficient and Hall coefficient aginst temperature in the range of 0–800k as shown in Fig. 6a-d. Figure 6a represents the plot of carrier concentration against temperature which increases with the rise of temperature due to the thermal excitation of electrons. In the case of semiconductors, the fermi level is present between the valence and conduction band and the process of conduction is done by the free carriers due to the electrical conductivity. With the rise of temperature, more carriers move to the conduction band. In p-type materials, holes and n-type materials, electrons are the majority carriers. The plot of electrical conductivity is increasing linearly above the temperature range from 300 to 800k. The plot of Rb2ZnH4 is decreasing from the temperature range of 0-200k due to the metallic behavior of the material below the room temperature (Huma et al. 2021). The Seebeck coefficient defined the ratio of change in voltage as the response of a change in temperature (\(S = \frac{\Delta V}{{\Delta T}}\)) (Katz and Poehler 2016). The value of the seebeck coefficient may be positive or negative according to the type of charge; the positive value of the seebeck coefficient represents holes while the negative values of the seebeck coefficient for electrons (Noor et al. 2018b). The Seebeck coefficient of Cs2ZnH4 has negative values below the room temperature, which shows the major contribution due to electrons. The estimated values of Seebeck coefficient are shown in Fig. 6c are increasing with temperature increase. The Seebeck coefficient of Cs2ZnH4 is greater than K2ZnH4 and Rb2ZnH4 at room temperature. Lastly, Fig. 6d shows the plot of the hall coefficient against temperature, which demonstrate the effect of free carriers, positive for holes and negative for electrons. The positive values of Hall coefficients agrees well with electronic behavior and Seebeck coefficients, demonstrating p-type nature of the studied materials. Metal hydrides (MH) produce a significant quantity of reaction heat throughout the hydrogen storage and release process. Improving the overall performance of a hydrogen storage unit requires careful consideration of thermal management.

4 Conclusion

The purpose of this study was to search for new zinc hydride crystals with the right combinations of structural, electronic, thermal, and elastic properties for hydrogen storage applications. In the present study, structural, electronic, thermal, and elastic properties of alkali zinc hydrides X2ZnH4 (X = K2ZnH4, Rb2ZnH4, and Cs2ZnH4) are calculated by the first principle calculations. Structural properties represent that these hydrides are stable in the orthorhombic phase with space group 16- PP222. Electronic band structures and density of states reveal that compounds have electronic semiconducting in order. The nine independent elastic constants for this phase are calculated. Phonon curves shows the thermodynamic stability of materials. Elastic properties are used to investigate the mechanical stability of the materials. The computed elastic constants of K2ZnH4 and Rb2ZnH4 follow the well-known born stability criteria, suggesting that these materials are mechanically stable while Cs2ZnH4 is mechanically unstable. Bulk modulus and shear modulus are used to investigate the resistance of materials towards deformation against volume and shape changes. Both the hydrides show brittle nature, having a poisons ratio lower than 1.75. Mechanical and thermoelectric properties of the studied hydrides are first time investigated and these results are beneficial for further investigation of metal hydrides for the storage of hydrogen in the literature.