1 Introduction

The need for energy has accelerated efforts to develop unconventional and non-fossil fuel energy sources. Consequently, renewable energy sources are given more attention globally [1, 2]. Renewable energy can be produced by exploiting the thermoelectricity that enables the effective use of waste heat by transforming thermal energy to electrical power [3, 4]. The figure of merit (ZT) establishes the capabilities of thermoelectric materials. A desired ZT is characterized by high electrical and low thermal conductivities [5]. Besides thermoelectricity, solar cells also play a vital role in renewable energy applications [6]. In this context, interest has been developed into the perovskite-based compounds after it was found that they display reasonable thermoelectric and optical properties. Due to their wide range of physical, chemical, and catalytic properties, they have garnered great attention of the research community [7,8,9,10,11,12,13,14,15,16,17]. Simple perovskite (ABX3) has a cubic crystal shape with the Fm-3m space group. The cation residing on site A and combined with its neighbors generates 12-fold cuboctahedron geometry because of having 12 coordination numbers. Octahedral geometry is produced by the interaction of the cation lying on B-site with its surroundings [8]. Thanks to their promise for applications in modern science, double perovskites in addition to the simple perovskites have stimulated a lot of research work [18, 19]. They are represented by the formula of A2BB/X6, where X can be an oxide or a halide, B and B/ sites can reside transitional or non-transitional cations, and a rare-earth or alkaline-earth metal resides on the A site [20]. Recent research on some double perovskites has revealed important information about their optoelectronic and transport capabilities [21,22,23,24].

Recently, a wide range of distinctive double perovskite compounds has been studied. In this context, detailed descriptions of A as K, Cs, Rb, B+ cation as Cu, Ag, In, Ge, B3+ cation as Bi, Sb, Sn and X as Cl, Br, I compounds were provided, showing their optoelectronics and transport capabilities [25,26,27,28,29]. McClure et al. [30] have proposed Cs2AgBiCl6 and Cs2AgBiBr6 as potential non-toxic replacements for lead-based perovskites. Long carrier lifetimes and bandgap energy have been observed in the visible spectrum for Cs2AgBiBr6. Berri and Bouarissa [31] explored K2XBF6 (X = Na, Ag,; B = Pd, Rh, Nb, Ni, Ti, Ru) as high ZT double perovskites. Ali et al. [29] calculated direct bandgaps for Rb2GeSnCl6 and Rb2GeSnBr6 as 1.2961 and 0.799 eV, respectively. They suggested these materials for energy based applications. Houari et al. [8] studied structural, electronic and optical properties of K2GeSnX6 (X = Br, I) and calculated high absorption coefficients for these perovskites. They recommended these materials for solar cell applications. Mukkadar and Ghosh [18] found that Cs2GeSnCl6 based hetrojuction solar cells are 16.35% efficient. Behera and Mukherjee [32] calculated bandgaps of Cs2GeSnCl6 and Cs2GeSnBr6 as 1.37 and 0.91 eV, respectively. They reported excellent optical and thermoelectric properties of these double halide perovskites.

A review of the literature revealed that halide double perovskites X2GeSnI6 (X = Rb, Cs) have not yet been substantially studied. This has triggered this study, which used first-principles simulations to examine the structural, electrical, optical, and thermoelectric properties of X2GeSnI6 compounds. The manuscript is divided into three portions. The introduction is covered in Part 1, the computational approach utilized in the current study is described in depth in Part 2, and the results and conclusions are covered in Sect. 3. An in-depth analysis of the estimated optical and thermoelectric properties of the examined compounds reveals applications for solar cells and other energy-producing devices.

2 Computational Details

The physical properties of X2GeSnI6 (X = Rb, Cs) compounds are examined in this study using the full potential linearized augmented plane wave (FP-LAPW) technique as implemented in the WIEN2k code [33] based on density functional theory (DFT) [34]. The Kohen-Sham equations were solved using the gradient generalized approximation GGA in the form of the Perdew-Burke-Ernzerhof (PBE) exchange–correlation functional [35]. The optimization employed the PBE-GGA approximation, which provided accurate ground state values but underestimated the electronic properties. For bandgap precision, we also successfully used the modified Becke and Johnson potential (TB-mBJ) [36]. For the convergence criterion, RMT Kmax is set to 7.0, where RMT is the muffin-tin radius for the reciprocal lattice vector and Kmax is the plane wave cut-off. The charge density's maximum Fourier expansion was set at \({G}_{max} = {12a.u.}^{-1}\). The \(10\times 10\times 10\) grid and a total of 1000 k-points were used to integrate the reciprocal space of the irreducible Brillouin zone. The self-consistent computations were carried out with total convergence threshold energy of 10–5 Ry for these materials. To ascertain the thermoelectric properties, we used the BoltzTraP simulation package [37]. For calculating the transport properties, a fine grid mesh (\(46\times 46 \times 46\)) was considered. The phonon calculations have been carried out using CASTEP code with help of finite displacement technique [38].

3 Results and Discussion

3.1 Stability Aspects

According to the structural analysis of Rb2GeSnI6 and Cs2GeSnI6, these compounds crystallize in cubic symmetry with space group of Fm-3m, and the atomic positions that make up its unit cell are X (0.25, 0.25, 0.25), Ge (0, 0, 0), Sn (0.5, 0.5, 0.5), and I (0.25,0, 0). Figure 1 shows the structure of the X2GeSnI6 unit cell where (X = Rb, Cs).

Fig. 1
figure 1

The unit cell structure of double perovskites X2GeSnI6 (X = Rb, Cs)

The thermodynamic stability of these structures has been exploited by calculating the formation energies per atom (HF) via Eq. 1 [39].

$$H_{F} = \frac{{E_{o} - 2E_{X} - E_{Ge} - E_{Sn} - 6E_{I} }}{10}$$
(1)

where, Eo is the total grond state energy of a X2GeSnI6 compound, and EX, EGe, ESn and EI are the energies of Rb/Cs, Ge Sn and I, respectively in bulk form. All these values are given in Table 1. This Table depict that the HF per atom for both the X2GeSnI6 compounds are negative. These negative values reflect that formation reaction for both the compounds is exothermic, therefore, the compounds are thermodynamically stable as per criteria [40].

Table 1 Elemental (EX, EGe, ESn, EI) in bulk, total (Eo) and formation energies of X2GeSnI6 (X = Rb, Cs)

The dynamical stability of both the X2GeSnI6 compounds was inspected by calculating the phonons bands as shown in Fig. 2. Where, the imaginary (negative) frequencies are absent throughout the considered Brillion Zone. Therefore, the existence of only positive phonos frequencies confirm that both the studied compounds are dynamically stable [41]. Further, the empty spaces for phonons band within 4–5 THz are validated by considerable difference of atomic masses within X2GeSnI6 compounds. The lighter atom vibrates at a higher frequency than heavier atom, producing a gap between different phonon bands [42].

Fig. 2
figure 2

Phonons band structures for a Rb2GeSnI6 and b Cs2GeSnI6

3.2 Structural Parameters

The optimized energy (eV) values are displayed against the volume in Fig. 3 where the PBE-GGA approximation was utilized to optimize the lattice parameters to make the structure appropriate and strain-free. The Murnaghan-equation-of-states (Eq. 2) [43] fit indicates that the highest amount of energy is released at the points when volume is minimal. The parameters given in Table 2 were obtained from this fit. As indicated from this Table, the computed lattice constants for Rb2GeSnI6 and Cs2GeSnI6 are a0 = 12.28 and 12.22 Å, respectively. By substituting Cs for Rb, the atomic radii increase from 1.72 (Rb) to 1.88 (Cs), increasing the lattice constant. As a result, the inter atomic distance increases, making the material comparatively less dense and less solid, which results in a fall in the bulk modulus (B) value from 16.86 to 16.59 GPa. The bulk modulus of Cs2GeSnI6 is considerable, indicating that it is stiffer than Rb2GeSnI6. The change in the a0 and B with cation/anion change has been also reported for other related halide double perovskites [29, 44].

Fig. 3
figure 3

Birch Murnaghan fit to the volume optimization of X2GeSnI6 (X = Rb, Cs)

Table 2 The calculated lattice constant (a0) in (Å), Bulk modulus (B) in (Gpa), Volume in (Å3), the derivative of bulk modulus (B/), and band gap energy (eV) for X2GeSnI6 (X = Rb, Cs)

3.3 Electronic Properties

Understanding a material's band gap is crucial for understanding it’s optical and charge carrier properties. Figure 4 depicts the band structures estimated for Rb2GeSnI6 and Cs2GeSnI6, where, the maxima of the valence band and minima of the conduction band are located at the same symmetric point, indicating that the material under study is a direct band gap material. For Rb2GeSnI6 and Cs2GeSnI6, the calculated band gaps are 0.49 and 0.57 eV, respectively. For the optoelectronic application of a material operating in the visible and ultraviolet range, the band gap values of the material in this range are crucial. In addition to this, the fact that there is many more density levels in the conduction band than in the valence band indicates that the bulk of charge carriers in the conduction band are electrons.

Fig. 4
figure 4

Band structure plots for a Rb2GeSnI6 b Cs2GeSnI6

Understanding the nature of the excitation of electrons from the valence band to the conduction band requires knowledge of a material's density of states (DOS). To better understand the band structure when closely inspected, the density of states (DOS) is studied in between − 8 and 8 eV energy range as shown in Fig. 5. The Fermi energy level (EF), which is in the middle and has an energy value of 0 eV, divides the DOS-calculated plots into two parts. The valence band is the region to the left of the Fermi level, and the conduction band is the region to the right of the Fermi level.

Fig. 5
figure 5

Density of states (DOS) plots for a Rb2GeSnI6 b Cs2GeSnI6

In Fig. 5a and b, the DOS of Rb/Cs, Ge, Sn, and I are calculated and displayed in detail. Where, it is clear that s states of Sn make up the majority of the states contributing to the valence band at the EF, with p states of Ge and the halogen ion I making up the minority. The s states of Ge and Sn, the halogen ions I, and the p states of Ge and Sn all contribute to a lesser extent to the valence band, overall. The highest contribution comes from the p states of I. Similarly in the conduction band, the calculation shows that the p states of Ge and Sn contribute the most along with d states of Rb/Cs, while s, and p states of Rb/Cs, s, and d sates of Ge and all the s, p, d state of I contribute the least.

3.4 Optical Properties

The choice of a material for an optoelectronic application is greatly influenced by the material's optical characteristics, which explain how a material behaves when it interacts with incident photons. Regarding optical applications, there are two primary types of materials: anisotropic and isotropic materials. When light is incident on a material from multiple directions, the properties of an isotropic material stay constant, whereas an anisotropic material exhibits varied qualities depending on the direction of the light. Knowing a photon's interaction with X2GeSnI6 (X = Rb, Cs) is required to predict their optical behavior. Calculations for both the inter-band and intra-band transitions are required for this work, but for optical properties, the inter-band transition is regarded as being more important than the intra-band transition since it plays a crucial part in photon absorption and emission [45, 46]. Figure 6 shows the real part, ε1 (ω), and imaginary part, ε2(ω), of dielectric constant. ε1 (ω), shows the polarization behavior when the electric field of electromagnetic waves incident on a medium with different values of the refractive indices. A material medium's density affects the speed of light there, and different medium densities have varying refractive indices. The speed of light is greatest in a vacuum. In all other material mediums, the speed of light decreases with increasing material density and is the slowest in the medium with the highest density [47]. When the frequency of incident light is somewhat different from the resonance frequency, the polarization of incoming light dramatically reduces, and the absorption of incident light's energy starts. This is demonstrated by the imaginary component of the dielectric constant, or ε2(ω), in Fig. 6b. Additionally, when the cation, X is altered, the values for the real and imaginary parts of the dielectric constant changes. Rb2GeSnI6 and Cs2GeSnI6 are low bandgap perovskites. Materials with such bandgap energies are important for capturing solar energy. Because, it can be seen from the figure that maximum of ε2(ω) occur in the visible region.

Fig. 6
figure 6

Calculated a real, ε1 (ω), b imaginary, ε2 (ω) parts of the dielectric function of X2GeSnI6 (X = Rb, Cs)

Optical conductivity (σ) is defined as the measure of the incident photon's energy per unit length. According Fig. 7a, the Rb2GeSnI6 and Cs2GeSnI6 start to exhibit optical conductance when the energy of an incident photon is 0.49 and 0.57 eV, respectively. σ show sudden maximum values near 2 eV for both the perovskites. This signifies that Rb2GeSnI6 and Cs2GeSnI6 can be utilized for solar cells and other optical devices working the visible range of electromagnetic spectrum. Below 2 eV, and beyond 3.2 eV, σ exhibits small values. This means that in infrared and ultra violet regions, the optical conductance through X2GeSnI6 compounds is not effective, comparatively.

Fig. 7
figure 7

Calculated a optical conductivity, σ (ω) and b reflectivity R (ω) for X2GeSnI6 (X = Rb, Cs)

The quantity of light energy that scatters after striking a material's surface is measured by its reflectivity, R(ω). In Fig. 7b, the computed R(ω) of the compounds is displayed. For Rb2GeSnI6 and Cs2GeSnI6, their maximum values were found to be 0.318 and 0.325, respectively. The highest loss of energy happens at the location where the value of reflectivity R(ω) is maximum. Where, the static values R(ω) for both the compounds is nearly 020. Overall, the R(ω) has small values in studied energy range comparatively to other double perovskites [48].

3.5 Thermal Properties

The thermoelectric characteristics of X2GeSnI6 (X = Rb, Cs) were calculated using the BoltzTrap code based on classical Boltzmann transport theory (CBT) [29] in temperature range of 100–800 K and displayed in Figs. 9, 10, and 11. The both the compounds were found stable in this temperature range from negative values of Gibbs free energy (Fig. 8) calculated through Gibbs2 code [49].

Fig. 8
figure 8

The calculated Gibbs free energy (G) for Rb2GeSnI6 and Cs2GeSnI6 in temperature rang 100–800 K

The migration of electrons and phonons is what causes a semiconducting material's thermal conductivity phenomena.

$$\kappa = \kappa_{e} + \kappa_{L}$$
(2)

where, the terms \(\kappa_{e}\) and \(\kappa_{L}\) refer to the electronic and lattice (phonon) thermal conductivities, respectively. These terms against temperature for the X2GeSnI6 compounds has been given in Fig. 9. The BoltzTraP code, which is based on the classical approach and has a limited application, cannot be utilized to calculate \(\kappa_{L}\), therefore, \(\kappa_{L}\) has been calculated analytically through Slack equation [50]. Figure 9a shows that \(\kappa_{e}\) for both the double perovskites increases with temperature rise. This type of character is common in the semiconductors [5]. The maximum values of \(\kappa_{e}\) are reported as 0.351 and 0.353 W/mK for Rb2GeSnI6 and Cs2GeSnI6, respectively at 800 K. Overall, for both the perovskites, the values of \(\kappa_{e}\) are nearly same at lower and higher temperatures. Figure 9b explores the temperature dependent \(\kappa_{L}\) for the studied X2GeSnI6 compounds which show the opposite character to \(\kappa_{e}\), \(\kappa_{L}\) decreases with rise in temperature. In the entire considered temperature range, both the compounds have almost same corresponding values of \(\kappa_{L}\). This may be justified by nearly same bandgaps values for both the perovskites. The minimum calculated values of \(\kappa_{L}\) for Rb2GeSnI6 and Cs2GeSnI6 are 0.359 and 0.353 W/mK, respectively at 800 K.

Fig. 9
figure 9

a electronic, \(\kappa_{e}\) and b lattice, \(\kappa_{L}\) thermal conductivities of Rb2GeSnI6 and Cs2GeSnI6 in temperature rang 100–800 K

The graphs of the electrical temperature (σ) vs. temperature for Rb2GeSnI6 and Cs2GeSnI6 are displayed in Fig. 10a. It counts the number of electrons and holes that are accessible to carry charge during the transmission of electrical energy. It has been noted that when temperature rises, electrical conductivity increases. The predicted σ for the double perovskites Rb2GeSnI6 and Cs2GeSnI6 are 157.78/183.61 × (Ωm)−1 at a temperature 100 K, and this value reaches a maximum of 470,029/5095.84 (Ω m)−1 at a temperature of 800 K. This is because at high temperatures, both free charge carriers (electron/hole) and their kinetic energy increase, leading to the dissolution of covalent bonds, the release of additional free charge carriers, and an increase in conductivity. This phenomenon demonstrates the semiconducting nature of X2GeSnI6 (X = Rb, Cs). Due to fewer collisions, Cs2GeSnI6 has a higher electrical conductivity than Rb2GeSnI6. This can be justified from Fig. 10b. Where, the charge carriers per unit cell for Cs2GeSnI6 are greater than Rb2GeSnI6 and this trend is maintained in whole considered temperature range. Overall, the n values increases for each compound with rise in temperature. The increase in temperature free more charge carriers, therefore, n increases.

Fig. 10
figure 10

Temperature dependent a electrical conductivity (σ) b carriers per unit cell (n) for Rb2GeSnI6 and Cs2GeSnI6

The Seebeck cofficients (S) indicate the potential difference due to temperature change. Figure 11a displays the computed values of the S. These values for the X2GeSnI6 perovskiets are positive, indicating that holes predominate as charge carriers and the materials under study are p-type semiconductors. For Rb2GeSnI6 and Cs2GeSnI6, the S values are 277.40 and 266.10 μV/K at 100 K, respectively. Following this, the S value drops for both the perovskites and Rb2GeSnI6 and Cs2GeSnI6 achieves a values of 232.07 and 242.54 μV/K, respectivelly at 800 K.

Fig. 11
figure 11

a Seebeck coefficients (S) b Figure of merit (ZT) for Rb2GeSnI6 and Cs2GeSnI6 in temperature rang 100–800 K

In the analysis of the thermoelectric efficiency of any given material, the figure of merit (ZT) is crucial [51, 52]. Because, it is the most important factor in determining how effectively a material's thermoelectric capabilities may be used in thermoelectric devices. Plotted against the temperature in Fig. 11b are the computed values for the ZT. Where, the ZT values increases with the rise in temperature for both the X2GeSnI6 compounds, and attain a maximum values of 0.285/0.338 for Rb2GeSnI6/Cs2GeSnI6 at 800 K. These values are comparable to other related double perovskites [32].

4 Conclusions

Density functional theory has been used to explore the physical properties of double-perovskite X2GeSnI6 (X = Rb, Cs) compounds in this study. The studied compounds meet the stability criterion as backed by the negative formation energies and positive phonons frequencies. The investigated compounds are direct bandgap semiconductors with bandgap values of 0.49 and 0.57 eV, respectively. A thorough investigation of the optical parameters has been conducted to comprehend the optical properties. The outcomes of the calculations show that compounds have outstanding dielectric and excellent visible light absorption properties. Therefore, both the X2GeSnI6 double perovskites are suggested for solar cell applications. The calculated thermoelectric properties recommended these compounds as high temperature thermoelectric materials. Overall, the usage of these compounds in optical and thermoelectric devices is demonstrated by the proper values of predicted parameters, such as an adequate direct band gap, exceptional absorption spectra, and Seebeck coefficient.