1 Introduction

Sustainable energy demand of twenty-first century comes from green energy production methods like harvesting energy from nature: solar, water, and wind. Of these, solar light harvesting is pervasive and is the most agile in terms of installation.

Solar cells are typically categorized as photovoltaic [15], thermophotovoltaic [3], or nanophotonic thermophotovoltaic [22] type cells. Since solar energy is the most used green energy method, many research works (e.g., [2, 14, 30]) have been done on solar cell design and cell structure optimization to improve cells light-harvesting efficiency and solar energy production capacity maximization.

In our previous work [27], we performed simulation and experiments to improve thin-film photovoltaic type solar cell design and its light-harvesting efficiency. In this paper, we aim to improve upon our previous results [27] and extend our framework to investigate a full characterization of optimal solar cell design. Thus, we performed full scheme solar cell design simulations and investigated their Pareto surfaces. We evaluated various solar cell compositions and material combinations for designing different solar cell structures.

We formulated “solar cell structure design problem” and its optical simulations for cells quantum efficiency improvement as a multi-objective optimization (MOO) problem [4, 9]. We aimed at maximizing cells quantum efficiency and minimizing cells intrinsic layer thickness. Our MOO setup aimed at evaluating several solar cell designs. These designs were generated by simulating cells structural components into different compositions by varying transparent conductive oxide layer doping strategy, photodiode materials, back reflector (BR) materials, and roughness of BR layer. Of all possible compositions, we selected 15 cell structure designs that are practically feasible and of interest, and for which theoretical models have been validated [28, 32]. Our MOO formulation has a two-stage strategy for the optimization of cell structure designs. Stage-one applies non-dominated sorting algorithm-II (NSGA-II) to produce Pareto-optimal solutions for each cell design. In stage-two, Pareto-fronts of three cell designs selected from stage-one are optimized by using our newly designed algorithm called multi-objective optimization-immunological algorithm (OptIA-II).

Our two-stage strategy improved the baseline quantum efficiency from 0.5999 to a quantum efficiency of 0.6031, which is a \(0.6845\%\) increase from our baseline on a single solar cell quantum efficiency obtained in [27]. Note that a tiny fraction of solar cell efficiency improvement has a proportional impact on solar cell energy production capacity. We notice that our methodology can be straightforwardly extended to other solar cell structures, including, e.g., the bifacial one [33], where the optimization of optical absorption is a critical issue.

In summary, the main contributions and observations of this research are as follows:

  • We present a MOO framework for optimal thin-film solar cell structure designs.

  • We optimized, evaluated, and characterized 15 cell designs.

  • We present a new algorithm called OptIA-II for MOO of solar cells.

  • We show that our two-stage MOO can improve the quantum efficiency of cells and characterize cell designs into clusters concerning to trade-off between cells fabrication cost and cells quantum efficiency.

Section 2 of this paper explains quantum efficiency of solar cell, solar cell structure and design. Related work on cells structure optimization is discussed in Sect. 3. Formulation of solar optimization as a MOO problem and NSGA-II and OptIA-II algorithms description are presented in Sect. 4. Section 5 describes simulations and experiment setup. Results are discussed in Sect. 6. Section 7 outlines conclusions of this work.

2 Thin-film silicon solar cells

2.1 Quantum efficiency of solar cells

The quantum efficiency (\(Q_e\)) of a solar cell is the ratio of charge carrier produced at the external circuit of the cell (electronic device) to the number of photons received (or absorbed) by the cell. There are two ways this quantum efficiency ratio is calculated: (i) external quantum efficiency and (ii) internal quantum efficiency.

External quantum efficiency is a ratio of the number of photo-generated charge carriers (i.e., electrons) picked up by the cell to the number of photons incident on the cell [7].

Internal quantum efficiency is the number of electrons (charge carriers) extracted from the cell divided by the number of photons absorbed (trapped) within the cell’s photoactive layers (i.e., p-i-n-type photodiode absorption layers) [6]. This implies that if all photons absorbed by the photoactive layers results in the generation of charge carriers at the external circuit of the device, then the internal quantum efficiency would be 100% [31]. Hence, maximizing the light absorption would result in maximizing the charge carrier collected at the external circuit [13].

This in-fact is thin-film solar cell structure design problem which we discussed in Sect. 2.3. For this, many candidate cell structures are to be evaluated for achieving maximized internal quantum efficiency. We simply call it quantum efficiency, \(Q_e\). In this work, we compute quantum efficiency, \(Q_e\) of a candidate cell structure according to methods mentioned in Sect. 4, detail of which is available in [28, 32].

2.2 Structure of thin-film silicon solar cells

This study works on thin-film solar cell composition shown in Fig. 1. The composition of this cell has its p-i-n-type doped layers: amorphous silicon (a-Si) and microcrystalline silicon (\(\mu \)c-Si) separated by a thin ZnO layer (transparent conductive oxide (TCO) layer). This means that the charge careers p-type and n-type are separated by an intrinsic layer. This p-i-n-type photodiode is developed on a layer of composite substance made of SiO\(_2\) (glass) and ZnO (zinc oxide). Silver (Ag) or Aluminium (Al) metallic BR supports the cell structure, which is the bottom-most layer of cell in Fig. 1.

Glass (SiO\(_2\)) layer (topmost layer in Fig. 1) of the cell is the light’s entry point. This tandem solar cell structure is benefited from light-harvesting efficiency of its photoactive layers: amorphous silicon (a-Si) and microcrystalline silicon (\(\mu \)c-Si). Amorphous silicon (a-Si) and microcrystalline silicon (\(\mu \)c-Si) respectively have \(\sim \) 1.7 eV and \(\sim \) 1.1 eV optical band-gaps.

Fig. 1
figure 1

Example of a single thin-film solar cell design, where ZnO is the transparent conductive oxide layer; Ag is the back reflector; \(d_{\mu c\text{-}Si}\):i is the thickness of \(\mu \)c-Si:i layer; and \(\sigma _i (i = 1,\ldots ,11)\) is the roughness (cells composition parameters that are to be optimized); amorphous silicon (a-Si) and microcrystalline silicon (\(\mu \)c-Si) are materials in p-i-n photodiodes

Thin-film technology has made it possible to produce low-cost solar cells. This is mainly due to plasma-assisted chemical vapor deposition technology that enables the production of thin-film solar cells by growing silicon (Si) layers [21] instead of stacking silicon wafers. Compared with the cost-intensive poly-crystalline Si wafer cutting method where thick poly-crystalline Si wafers are cut and stacked together to form solar cells, the plasma-assisted chemical vapor deposition technology is a highly cost-effective method.

In-fact, growing Si layers (more generally the absorption layer) also enables the production of solar cells with a smaller thickness (of the order of \(\upmu \)m) compared to previously possible devices (solar cells) that were thicker by 2-order magnitude. However, smaller thickness causes less absorption of light. Therefore, the effective use of light-trapping techniques has become crucial for thin-film solar efficiency. The effectiveness of light-trapping techniques relies on thin-film solar cells structure optimization.

2.3 Design of solar cells structure

When designing and optimizing a solar cell structure, we use two light-trapping methods: light-trapping BR layer and nano-texturing. Metals like silver (Ag) maybe used as a BR layer, while alkaline solutions like KOH or NaOH are used for nano-texturing of layer’s interfaces. Alkaline solution KOH or NaOH corrodes silicon to form randomly positioned square pyramids. The depth of corrosion can be accurately tuned by controlling the temperature and time length of the corrosion process [29]. These two methods modify cell geometry (structure).

Indeed, cell geometry optimization helps improve its light-harvesting capacity. The cell geometry (structure) can be optimized by modifying mesoscale features (thickness of the different layers) and nano-scale features (nano-texturing of the interfaces of the layers).

The mesoscale features optimization relies on processing time of growing Si layers, and it directly impacts fabrication cost of solar cells. Obviously, mesoscale features optimization is a monotonic function of the layer’s thickness (mainly of the intrinsic layer \(\mu \)c-Si:i) [30]. So is the fabrication cost of solar cells.

Nano-texturing process, on the other hand, produces textured (rough) interfaces in a periodic manner to increase light absorption. The optimization of nano-texturing is essential to make a balance between shading and exposure to light [25].

This process can also be performed randomly and roughness (a numeric value measured in nm) can be optimized. Simultaneous optimization of mesoscale features and nano-scale features is a trade-off that needs to be met for efficient light-harvesting. On one hand, mesoscale features optimization is sensitive to fabrication costs. On the other hand, nano-texturing feature optimization is sensitive to light absorption capacity. Such a complex optimization problem requires an appropriate numerical approach. This, in fact, is a MOO problem where we optimize the trade-off between the effects of these two cell design features.

3 Related work

Thin-film silicon solar cell is relied on light trapping (absorption) techniques to maximize its (internal) quantum efficiency, \(Q_e\) [13]. Since not all the light entered a cell is absorbed, an optimization of thin-film silicon solar structure design must be performed by varying its structural components for enhancing its light trapping (absorption) capacity [19]. Solar cells structural components that can be optimized are layers thickness [20, 27], layers interface roughness and diffraction grating [23], type of materials used in the cell [18], and the variations in the BR [12, 24].

Numerical simulation [2] and optical simulation [28, 32] are used for thin-film solar cell structure optimization. These simulations are computationally expansive and solar cell structure design requires evaluation of many designs. Thus, very few works reported to have tackled this problem. Especially, the use of optimization algorithms is rare, leave alone its optimization as a MOO problem.

An example of genetic algorithm (GA) [16], an optimization algorithm, used for cell structure optimization is available in [23], in which the authors aimed at optimizing thin-film cell structure optimization using GA. They vary diffraction gratings (roughness of interface between ZnO:Ag back reflector) of cells. For this, they used periodic rectangular gratings, a four-level rectangular grating, and a random grating resembling a randomly textured surface. GA formulation, therefore, was used to optimize the reflector’s geometry with groove height (within range [0 nm, 800 nm]) and groove period (within rang [0.5 \(\upmu \)m, 5.0 \(\upmu \)m]).

Their purpose was to optimize (to find) grating types related to maximum quantum efficiency, \(Q_e\). Compared to their work, our work optimizes each layer’s roughness, and our purpose is to optimize photodiode intrinsic layer thickness and composition of cell related to maximum quantum efficiency, \(Q_e\). Moreover, our work aims at MOO compared to single-objective optimization mentioned in [23].

Contrary to our cell composition optimization approach, some other works in literature aimed at optimizing only a few components of cell structure using single-objective GA. For example, thin-film anti-reflection coatings optimization of solar cell is presented in [17] and authors in [1] tackles cell structure optimization by optimizing three cell geometrical parameters related to solar cell, namely, number of fingers (balancing shading and surface exposure, i.e., loosely it is the texture of light entry surface) and two values of cells doping profile.

In our previous work [27], we optimized the trade-off between the cells quantum efficiency, \(Q_e\) and the cells structural designs such as the thickness of the cell structure and layers roughness. In our previous work, we evaluated only a few solar cell compositions. However, our current work tackles thin-film solar cell optimization for a variety of TOC materials, BR metals, and TCO doping strategies. We call it a full scheme solar cell design and characterization. Here, we aim to evaluate 15 practically feasible cell designs using our two-stage MOO framework.

4 Solar cell optimization problem

Our work depends on light trapping techniques, plasmonic effects computation, and simulation methods for cells efficiency measurement and cells structure design validation. These methods consist of three parts: (i) the computation of photon’s scattering probability for cells layers textured interfaces using Maxwell simulations [5, 37]; (ii) the computation of coherent and scattered photon absorption by a cell structure using a combined method of Photonic Monte Carlo calibration and scattering matrices method; and (iii) the use of optical simulations computational model [28, 32]. Together these methods gave us the measure of solar cells quantum efficiency (\(Q_e\)) (i.e., the ratio between absorbed energy and incident energy) for several parameters like roughness of photodiode layers interfaces and thicknesses of photodiode intrinsic layer.

The structure of a thin-film solar cell composition has many layers. Its cell structure optimization is, therefore, subjected to optimization of interface roughness of these layers. We formulated the cell structure optimization problem as a MOO problem (cf. Sect. 4.1), where layers interfaces roughness were the problem’s tuneable parameters. The tuning of these parameters governs the optimization of two cost functions related to thin-film solar cells: (i) quantum efficiency maximization and (ii) intrinsic layer thickness minimization.

4.1 Solar cell multi-objective optimization formulation

Maximization of solar cell quantum efficiency (\(Q_e\)) [28, 32] and minimization of microcrystalline silicon layer thickness (\(d_{\mu c\text{-}Si}\)) are two objectives of the cell structure design. The quantum efficiency, \(Q_e\) of solar cells is subjected to optimization of their structural factors (parameters), such as (i) roughness of each interface: \(\sigma _i, i = 1,\ldots ,11\) and (ii) thickness of the microcrystalline silicon layer, \(d_{\mu c\text{-}Si}\). Therefore, the solar cell optimization problem can be defined as a multi-objective optimization (MOO) problem:

$$\begin{aligned} \begin{aligned}&\text{maximize} \quad Q_e\\&\text{minimize} \quad d_{\mu c\text{-}Si}\\&\text{subject to} \left\{ \begin{array}{l} \sigma _1 = 0 \\ 0 \le \sigma _2 \le 0.3 \bar{d_2} \\ 0 \le \sigma _i \le 0.2 \bar{d_i} \quad i = 3,\ldots ,11 \\ 0.7\bar{d}_{\mu c\text{-}Si} \le d_{\mu c\text{-}Si} \le 1.3\bar{d}_{\mu c\text{-}Si}\\ \end{array}\right. \end{aligned} \end{aligned}$$
(1)

where \(Q_e\) is the average overall quantum efficiency of a cell in an ideal charge collection condition (i.e., 100% collection efficiency independently collected on the frequency) calculated as the average absorption in the two intrinsic layers \(\mu \)c-Si:i and a-Si:i. In Eq. (1), \(d_{\mu c\text{-}Si}\) is the thickness of intrinsic (\(\mu \)c-Si) layer, and \( \bar{d_i}\) is the thickness pertaining to i-th material of the reference cell (cf. Table 1).

The cell structure optimization concerning intrinsic (\(\mu \)c-Si) layer’s thickness, \(d_{\mu c\text{-}Si}\) minimization is directly related to cells fabrication cost. However, solar cell optimization problem imposes a minimum and maximum thickness constraint on intrinsic (\(\mu \)c-Si) layers in its MOO treatment to Eq. (1). The constraint in Eq. (1) maintains the light scattering weight where intrinsic (\(\mu \)c-Si) layer is thinner than the ZnO layer’s roughness. Moreover, the approximation made by modelling approach refereed in Sect. 2.2 for cell structure optimization and validation holds true only if the constraints in Eq. (1) are met [36].

Table 1 Reference values of layers thickness of layer’s interface roughness

4.2 Multi-objective optimization algorithms

A multi-objective optimization (MOO) algorithm optimizes two or more objectives simultaneously as per: such that no one objective of the problem can be improved without a simultaneous detriment to at least one of the other objectives. Each \( f_k({\mathbf{x}} )\) is a scalar objective, and MOO problem optimizes an objective vector \(F({\mathbf{x}} )\), where \({\mathbf{x}} \in {\mathbb{R}}^n\) is its feasible solution obtained at the final population on meeting termination criteria like max number of function evaluations.

$$\begin{aligned} F({\mathbf{x}} ) \equiv (f_1({\mathbf{x}} ), \ldots , f_m({\mathbf{x}} )),\quad \text{ i.e.,}\;\; F: {{\mathbb{R}}}^n \rightarrow {{\mathbb{R}}}^m \text{ for } m \ge 2. \end{aligned}$$
(2)

More specifically, a MOO algorithm produces a set of non-dominated solutions \(\{{\mathbf{x}} _{1}, {\mathbf{x}} _{2},\ldots ,{\mathbf{x}} _{\lambda }\}\), also known as Pareto-optimal front or Pareto-optimal solutions set [11], which is defined as follows.

A solution \( {\mathbf{x}} _i \) dominates other solution \( {\mathbf{x}} _j \) if for all objectives \( f_k = 1, 2,\ldots m \), \(f_k({\mathbf{x}} _i) \preccurlyeq f_k({\mathbf{x}} _j)\), where \(\preccurlyeq \) should be read as “better of.” On the contrary, a solution \( {\mathbf{x}} _i \) is non-dominated if for at least one objective \(f_k({\mathbf{x}} _i) \preccurlyeq f_k({\mathbf{x}} _j)\) does not hold. A set of such non-dominated solutions is called the Pareto-optimal solutions set.

The solar cell structure optimization problem optimizes the objective vector:

$$\begin{aligned} F = (Q_e({\boldsymbol{\sigma }}), d_{\mu c\text{-}Si}({\boldsymbol{\sigma }})), \end{aligned}$$
(3)

where \(Q_e\) and \(d_{\mu c\text{-}Si}\) are subjected to optimization of parameters (roughness of cell structure) \( {\boldsymbol{\sigma }} = \left\langle \sigma _2, \ldots , \sigma _{11}\right\rangle \). We report three select solutions from the Pareto-front of each cell design: (i) the solution maximizing the quantum efficiency, i.e., \(Q_e({\boldsymbol{\sigma }})^*\); (ii) the solution minimizing the thickness of the microcrystalline silicon layer (\(d_{\mu c\text{-}Si}\)), i.e., \(d_{\mu c\text{-}Si}({\boldsymbol{\sigma }})^*\); and (iii) the solution closest to the Utopian point, i.e., \(U({\boldsymbol{\sigma }})^*\) which represents the solution that contributes highest to both objectives with respect to the reference cell mentioned in Table 1.

We used a two-stage approach to perform MOO of solar cell. In the first stage, we performed non-dominated sorting genetic algorithm-II (NSGA-II) based optimization of the objective \( F=(Q_e({\boldsymbol{\sigma }}), d_{\mu c\text{-}Si}({\boldsymbol{\sigma }})) \). In the second stage, we apply our multi-objective optimization-immunological algorithm (OptIA-II) to enhance the Pareto-front obtained in the first stage. We briefly describe NSGA-II and OptIA-II as follows.

4.2.1 Non-dominated sorting genetic algorithm-II (NSGA-II)

NSGA-II [11] is an evolutionary algorithm inspired by the principle of natural selection and has been found effective in real word applications (e.g., [35]). NSGA-II uses non dominated sorting, elitism, and crowding distances strategies to guide an initial population \(P = ({\boldsymbol{\sigma }}_1, \ldots , {\boldsymbol{\sigma}}_D)\) of D solution vectors through a predefined number of steps to a final population while simultaneously optimizing trade-off of multiple objectives. Operators like crossover and mutation generate new solutions in each generation. This offspring generated from the current population, is then joined to their parents to constitute an enlarged set of vectors that are then sorted to choose the population that will be passed to the next generation of the algorithm. To perform this selection, in each generation, each solution of population P is assigned a rank and a crowding distance value.

A fast non-dominated sorting process sorts D candidate solutions into several sets (called fronts) of non-dominated solutions: \(F_1,F_2, \ldots ,F_s\) such that the front \( F_1 \) contains all the non-dominated candidate solutions of population P. This means, no one solution in \(F_1\) is dominated by any other solutions.

Considering all remaining solutions except the ones already in \(F_1\), it is possible to identify a new front \(F_2\) which contains all the next non-dominated solutions of P. Subsequently, front \(F_3\) and other fronts are sorted until no solution is left to be sorted into a front.

Once solutions are sorted into several fronts, a rank is assigned to each candidate solution such that those in front \(F_1\) have rank 1, those in front \(F_2\) have rank 2, and those in front \(F_3\) have rank 3. This continues until all solutions are assigned a rank.

The rank of the solutions is then used as the first parameter considered when constructing the population for the next generation.

The crowding distance of a candidate solution \( {\boldsymbol{\sigma }} \) is the estimation of the density of solutions around it. The distance assigned to \( {\boldsymbol{\sigma }} \) is the sum of its distance from the two points found on either side of it in the objective space. Crowding distance helps NSGA-II maintain diversity in the population while propagating population, P from generation to generation, by promoting the solutions with a higher distance from the other points within the same front.

4.2.2 Multi-objective immunological algorithm (OptIA-II)

We designed a novel multi-objective optimization algorithm called OptIA-II. Our OptIA-II is a clonal selection algorithm [26, 34]. There are three immunological theories: immune networks, negative selection, and clonal selection. Of which, OptIA-II follows clonal selection theory [26]. OptIA-II works on the following four principles: (i) cloning, (ii) inversely proportional hypermutation, (iii) hypermacromutation, and (iv) aging.

Cloning operator The cloning operator clones each candidate solution so that these clones can be modified using the other operators to explore the neighbourhood in the search space [10, 26] while keeping the original parents points of the population.

Hypermutation and hypermacromutation operators Hypermutation and hypermacromutation operators [26] perturb each candidate solution using an inversely proportional law where a candidate solution with a better objective rank has a lower number of its genes mutated, and a candidate solution with a poorer objective rank has a higher number of its genes mutated. Hypermutation and hypermacromutation differ by the number gens they mutate for best and worse solutions. Hypermacromutation mutates relatively low number of genes compared to hypermutation. For example, if hypermacromutation is expected to mutate about 5 and \(15\%\) of the genes of the best and worst solutions respectively, the hypermutation is expected to mutate about \(37\%\) of the genes of the best solution and \(100\%\) of the genes of the worst solution. However, the hypermacromutation will likely apply more significant changes in the genes it mutates.

The formal definitions of hypermutation and hypermacromutation operators are as follows: Let n be the number of genes a candidate solution \({\boldsymbol{\sigma }}\) has. Then, we have \(n =10\) genes of a candidate solution subjected to mutation in this work, i.e., \({\boldsymbol{\sigma }} = \sigma _2,\sigma _3,\ldots ,\sigma _{11}\) representing layers interface roughness. For convenience, we re-index solution vector as \({\boldsymbol{\sigma }} = \sigma _1,\sigma _2,\ldots ,\sigma _{10}\).

A threshold \(\alpha \) is defined for each solution and used to determine whether its genes will be mutated by the hypermutation operator, i.e. it expresses the probability with which the mutation of a gene occurs.

Thus, for a hypermutation potential \(\rho _1\), we compute \(\alpha \) as:

$$\begin{aligned} \alpha =e^{-\rho _1\hat{F}({\boldsymbol{\sigma }})}, \end{aligned}$$
(4)

where \(\hat{F}({\boldsymbol{\sigma }})\) indicates normalized objective rank between [0, 1] of the candidate solution \({\boldsymbol{\sigma }}\), where 1 is the best solution and 0 is the worse solution. Once \(\alpha \) is defined, the expected number of genes mutated by the operator is approximately equal to \(\lfloor \alpha \cdot n + 0.5 \rfloor \).

In practice, for each gene a random variable is then drawn from a uniform distribution \({\mathcal{U}}(0,1)\) and then compared to \(\alpha \), if the variable is below the threshold the hypermutation of that gene is performed as:

$$\begin{aligned} \sigma _i = \sigma _i \cdot e^{(\tau _1\cdot r)+(\tau _2\cdot s)}, \end{aligned}$$
(5)

where \(\tau _1, \tau _2 < 1\) are two parameters dependent on the population size D and defined as \(\tau _1=1/\sqrt{2\sqrt{D}}, \tau _2=1/\sqrt{2D}\) and \(r,s \sim \mathcal {N}(0,1)\) are two variables drawn from a standard normal distribution.

figure a

On contrary to hypermutation, in the hypermacromutation operator the threshold \(\alpha \) to determine the genes of each candidate solution \({\boldsymbol{\sigma }}\) to be mutated, for a hypermacromutation potential \(\rho _2 \), is computed as:

$$\begin{aligned} \alpha = \frac{e^{-\hat{F}({\boldsymbol{\sigma }})}}{\rho _2}. \end{aligned}$$
(6)

Similarly to the hypermutation case, a random variable drawn for each gene i of the solution triggers the hypermacromutation if lower than \(\alpha \). This mutation is performed by using a convex operator which randomly selects another gene \(\sigma _j\) for \(i\ne j\) and by applying the following operation:

$$\begin{aligned} \sigma _i = (1 - \beta ) \sigma _i + \beta \left( l_i+\frac{\sigma _j-l_j}{u_j-l_j}(u_i-l_i)\right) , \end{aligned}$$
(7)

where \(\beta \in [0,1]\) is drawn from a uniform distribution, and l and u are the lower and upper bounds defined for each gene, respectively. Hence, the operator applies a convex mutation based on the value of the gene \(\sigma _i\) to be mutated and the value of another gene \(\sigma _j\) that is normalized and transferred in the feasible interval of \(\sigma _i\).

figure b

A mentioned, the two mutation operators have similarities and differences; first, the definition of the probability of the mutation \(\alpha \) involves different parameters such as the two mutation potentials \(\rho _1, \rho _2\) and, in the case of hypermutation, \(\tau _1, \tau _2\) that are dependent on the population size only. The other notable difference is how the mutation is performed; hypermutation is a variation of the corresponding gene based on its value and an exponential function that maintains the new value close to the original one due to the definition of \(\tau _1, \tau _2\), having \(D = 100\). The convex operator in the hypermacromutation makes the mutated value more likely to be far from the original gene, also depending on its normalized difference with the other randomly chosen gene in the solution.

That is, hypermacromutation aims to produce a more diverse candidate solution than the original one, improving the diversity across the population, while the hypermutation keep the exploration more within the close range of the existing genes.

In our case, posing \(\rho _1 = 1, \rho _2 = 7\) makes the chance of a hypermutation of a gene more likely that a hypermacromutation. The presence of the normalized rank of solutions \(\hat{F}({\boldsymbol{\sigma }})\) in the definition of the probabilities ensures the inversely proportional law, making both mutations more likely to occur within the worst solutions of the current population.

At every step of the procedures in which new genes are generated, they are maintained only if feasible as defined by the constraints of the problem and discarded otherwise.

Aging operator The aging operator eliminates old candidate solutions from the current population to introduce diversity and to avoid local minima [26]. Aging operator depends on the number of iterations a solution can survive in the population. For example, if we set an age limit of 50 iterations for solutions in a population. Then, the solution will be dropped from the population. However, the best solution in the population is waived from this elimination (elitism).

Moreover, the best dead solutions are retained in an archive to be considered again if during a generation the number of feasible and alive solutions found after the mutations and aging goes below the size of the population.

Pareto-front-selection operator After aging operator has eliminated older solutions from the current population, a Pareto-front-selection operator is performed to assign a rank to each solution of a combined set of solutions of both current population (without aged solution) and current offspring solutions. The Pareto-front-selection operation in OptIA-II is a fast non-dominated sorting of population, P, which is like fast non-dominated sorting of NSGA-II described in Sect. 4.2.1.

OptIA-II optimization cycle OptIA-II outlined in Algorithm 3 starts with an initial population P of D candidate solutions. Each member of the population is a candidate solution for the given optimization problem. Cloning, hypermutation, hypermacromutation, elitism, and aging operators of OptIA-II algorithm guides an initial population \(P = ({\boldsymbol{\sigma }}_1, \ldots , {\boldsymbol{\sigma }}_D)\) of D solution vectors through a predefined number of steps to a final population while simultaneously optimizing trade-offs of multiple objectives.

In main optimization cycle of OptIA-II, the cloning operator clones (duplicates) each candidate solution \(D'\) times. On these solutions, hypermutation and hypermacromutation operators are applied with respective mutation potentials \(\rho _1\) and \(\rho _2\) to mutate randomly chosen candidate solutions.

After fitness of each solution is evaluated, an aging operator discards solutions that have reached a predefined age limit (the maximum number of steps \(\tau \) that a solution can survive in the population). However, elitism preserves the best solution irrespective of its age. Finally, remaining solutions of the population are assigned rank and sorted as per Pareto-front-selection operation [8].

figure c

5 Simulations and experiment setting

5.1 Solar cell designs

We present a comprehensive and exhaustive simulation strategy for solar cell optimization in this work. We performed a total of 15 different simulations in our experimental framework. These simulation cases are shown in Table 2. We aim to investigate the structural validity and practical feasibility of these cases.

Compared to our previous work [27], where four levels of dosage of TCO and two varieties of BR roughness were used, we explore more comprehensive solar cell design variations in this work. We investigated the following design variations:

  • four-levels of TCO dosage—optimally doped (resistance less than 1 m\(\Omega \)\(\times \)cm), normally doped (resistance of the order of 1 m\(\Omega \)\(\times \)cm), lowly doped (resistance larger than 100 m\(\Omega \)\(\times \)cm), and not doped;

  • two types of TCO materials– zinc-oxide (ZnO) and tin-oxide (SnO2);

  • two varieties of BR roughness–smooth and rough surfaces; and

  • two types of back reflector–metals silver (Ag) and aluminium (Al).

Such a comprehensive and computationally expensive setup was explored to investigate solar cells structure designs and materials that could maximize the quantum efficiency, \(Q_e\) and minimize intrinsic layer thickness, \(d_{\mu c\text{-}Si}({\boldsymbol{\sigma }})\). Moreover, we hope that it will produce a full characterization of solar cell designs and associate the designs with their quantum efficiency and fabrication cost trade-off.

The solar cell structure in Fig. 1 is a layer-wise composition. The layers are designed by varying the mentioned four categories of variations (cf. Table 2). Each design, therefore, requires approximation of its layer interface roughness \( {\boldsymbol{\sigma}} \) that maximizes its quantum efficiency and minimizes its fabrication cost.

Table 2 Solar cell structure design compositions for simulation

5.2 Two-stage multi-objective optimization strategy

In our two-stage optimization strategy, the first stage uses NSGA-II algorithm. NSGA-II aims at maximizing quantum efficiency and minimizing intrinsic layer thickness simultaneously. NSGA-II based optimization was performed on all 15 cell designs. The simulation results of each design’s feasible solutions were collected and compared with their respective reference cells.

For NSGA-II based MOO, population size was \( P = 100 \), and a maximum of 200 generation was used as the stopping criterion. We used simulated binary crossover (SBX) with crossover probability \( pc = 0.9 \). For mutation, polynomial mutation with mutation probability \( pm = 1 / (\text{number of decision variables}) \) was used. The parent selection method was binary tournament selection.

The second stage was the fine-tuning stage. Here, we apply our OptIA-II algorithm to the results of NSGA-II. In this stage, OptIA-II aimed at improving select best Pareto-fronts obtained using the NSGA-II algorithm. Three best designs obtained in the first stage were optimized in the second stage.

For OptIA-II, the population size was the same as the Pareto-front population size of the NSGA-II algorithm. The cloning factor \( D' \) was 2, the aging factor \( \tau \) (maximum age) was 50 iterations, hypermutation potentiall \( \rho _1 \) was 1, hypermacromutation potential \( \rho _2 \) was 7. The stopping criteria \( T_{max} \) was \(10^4 \) fitness function evaluations.

6 Results and discussion

In our previous work [27], a solar cell design “highly doped ZnO and smooth Ag as the BR” on optimization using a single-objective algorithm showed a 5.88% improvement with respect to the reference cell (i.e., \(Q_e = 0.604169\) and \(d_{\mu c\text{-}Si}=2210\)). However, for this cell design, no constraint mentioned in Eq. (1) was applied. Thus, parameter values \( {\boldsymbol{\sigma}} \) were very high. This made the obtained design fragile and unstable.

Using single objective OptIA without violating constrained in Eq. (1), it was possible to obtain a solution with \(Q_e = 0.5928\) and \(d_{\mu c\text{-}Si}=1814.45;\) while NSGA-II based MOO produced a 5.083% improvement on absorption (\(Q_e = 0.599967\) and \(d_{\mu c\text{-}Si}=2209.97876\)) with respect to the reference cell design (cf. Table 1).

In addition, another solar cell design “low doped ZnO and rough BR Ag” produced a \(Q_e = 0.6\) and \(d_{\mu c\text{-}Si}=2100\) on NSGA-II-based optimization. For “optimally doped ZnO and smooth BR Ag,” our previous work produced a \(Q_e = 0.593\) and \(d_{\mu c\text{-}Si}=2110\) using single objective OptIA as its best results [27].

In this research, we use the max quantum efficiency, \(Q_e = 0.6\) obtained in [27] using NSGA-II for cell design “low doped ZnO and rough BR Ag” as our baseline accuracy. Moreover, we aim to maximize quantum efficiency, \(Q_e\) as much as possible while maintaining the constraint laid down in Eq. (1). We hope to obtain stable cell designs from our two-stage MOO framework with quantum efficiency, \(Q_e > 0.6\) for their intrinsic layer thickness within the range [1190, 2210].

6.1 Stage 1: Multi-objective optimization using NSGA-II

A summarized result of NSGA-II based MOO of the solar cell optimization on all 15 designs is shown in Fig. 2. In stage-one, NSAG-II offers best quantum efficiency, \(Q_e = 0.6\) on cell design configuration “optimally doped ZnO and smooth BR Ag.” This result is the same as the baseline in our previous experiment. This motivated us to fine-tune some select best results of stage-one in stage-two.

However, in our current frameworks, we hope not only for maximizing cells quantum efficiency, \(Q_e\), but we hope to have a full characterization of cell designs and approximate their design parameters, which our stage-one provides successfully. Figure 2 offers this characterization by summarizing Pareto-fronts of all 15 designs.

Fig. 2
figure 2

Pareto-front approximations obtained by using NSGA-II for the multi-objective optimization (minimization of Micro-crystal silicon layer \(d_{\mu c\text{-}Si}\) and maximization of Quantum efficiency \(Q_e\)) of the optical model for tandem-thin-film silicon solar cell with the ”full parameterized” model for all 15 solar cell simulation variations. Notice that the Pareto-front of all simulations is coloured from the lower Quantum efficiency \(Q_e\) value to higher (apparently best) the best Quantum efficiency \(Q_e\). Design with “Rough back reflector Ag and Optimal Doped ZnO version is indicted in red line with red pentagon marker appear, which also indicate the best Pareto-front among all designs (colour figure online)

In Fig. 2, quantum efficiency, \(Q_e\) maximization trait is plotted on x-axis against minimization trait of microcrystalline silicon layer thickness, \(d_{\mu c\text{-}Si}\) plotted on y-axis. We notice that this summarized plot of solar cell designs generates clusters that are linked to different design characteristics. Here, four clear clusters (four sets of cell designs) can be seen in Fig. 2. We characterize each cluster as follows:

Lowest cost-intensive and lowest quantum efficient cluster The solar cell designs that are not-doped constitute this cluster. This cluster appears in the leftmost part of Fig. 2 (first three labels listed on the right panel). The quantum efficiency, \(Q_e\) of not-doped cell designs vary between 0.47 and 0.51. These quantum efficiencies are obviously less than baseline quantum efficiency, \(Q_e = 0.6\). This makes this cluster the least quantum efficient cluster.

NSGA-II finds optimal parameters for not-doped designs that maximized quantum efficiencies of these designs with respect to their respective reference cells (cf. Fig. 3a–c). Table 3 summarizes parameter values of candidate solutions obtained for not-doped cell designs: sAg-ntZnO, rAg-ntZnO, and sAl-ntZnO. Moreover, Table 3 provides a detailed optimized parameter (layers interface roughness \( \sigma _i, i=2,\ldots ,11 \)) values and corresponding quantum efficiency, \(Q_e\) values and microcrystalline silicon layer thickness, \(d_{\mu c\text{-}Si}\) values of three candidate solution points for each design.

These three candidate solutions refer to (i) the highest quantum efficiency \(Q_e({\boldsymbol{\sigma }})^*\); (ii) the thinnest microcrystalline silicon layer \(d_{\mu c\text{-}Si}({\boldsymbol{\sigma }})^*\); and (iii) a point \(U({\boldsymbol{\sigma }})^*\) with the closest fitness to the Utopian point, that is, the theoretical point having the best obtained optimal values for both objectives simultaneously. The Utopian point is not practically feasible. However, the presented \(U({\boldsymbol{\sigma }})^*\) gives a good trade-off between the objectives in our simulations with respect to respective reference cell.

Low cost-intensive and low quantum efficient cluster The next cluster in Fig. 2 is lowly-doped cell designs (sAl-lZnO, sAg-lZnO, and rAg-lZnO) whose quantum efficiency \(Q_e\) varies between 0.5 and 0.54. Their detailed Pareto-fronts are shown in Fig. 3d–f. Table 3 summarizes their parameter values of candidate solutions.

High cost-intensive and high quantum efficient cluster In the order of the performances, the design with rough BR rAg-lZnO is better than smooth doping designs, which indicates that low doping rough BR cell design provides better light-harvesting capacity than smooth BR cell design. This fact is evident from normally-doped ZnO design and SnO\(_2\) doped design cluster (cf. Fig. 2). The detailed Pareto-fronts of normally-doped cluster designs are shown in Fig. 3g–l respectively. Their respective parameter values of three candidate solutions are shown in Table 3.

After analysing lowly-doped and normally-doped clusters, it is clearly observed that the rough BR Ag among ZnO based TCO doping is a better choice than a smooth BR. Similarly, rough BR Ag gives better light-harvesting capacity than a smooth BR. In-fact, SnO\(_2\) based TCO layer shows a higher quantum efficiency than ZnO based TCO layer in this cluster. The max quantum efficiency of rAg-SnO\(_2\) is 0.57, which is as good as the reference cell outlined in Table 1.

Highest cost-intensive and highest quantum efficient cluster The rightmost cluster in Fig. 2 is the cluster of optimally doped cell designs: “smooth BR Al plus optimally doped ZnO (sAl-oZnO),” “smooth BR Ag plus optimally doped ZnO (sAg-oZnO),” and “rough BR Ag plus optimally doped ZnO (rAg-oZnO).” Figures 4, 5, and 6, respectively show detailed NSGA-II based MOO of the simulation and all feasible solutions on the Pareto-front of sAl-oZnO, sAg-oZnO and rAg-oZnO cell designs.

The quantum efficiency of this cluster varies between 0.56 (close to the reference cell) and 0.6 (\(\approx 5.36\)% more efficient than the reference cell and equal to baseline quantum efficiency \(Q_e\)). Detailed parameter values and three candidate solutions of these designs are listed in Table 3. We select these optimally doped cell designs (sAl-oZnO, sAg-oZnO, and rAg-oZnO) for the second stage optimization (Pareto-front’s fine-tuning) using OptIA-II.

Fig. 3
figure 3

NSGA-II optimization of simulation. ac cluster of not-doped ZnO cell structure designs for smooth back reflector Al, rough back reflector Ag, smooth back reflector Ag. df cluster of lowly-doped ZnO cell structure designs for smooth back reflector Al, smooth back reflector Ag, and rough back reflector Ag. gf cluster of normally-doped ZnO and SnO\(_2\) doped cell structure designs for smooth back reflector Al (SnO\(_2\)), smooth back reflector Al (ZnO), smooth back reflector Ag (ZnO), jl cluster of optimally-doped ZnO cell structure designs for rough back reflector Ag (ZnO), smooth back reflector Ag (SnO\(_2\)), and rough back reflector Ag (SnO)

Table 3 NSGA-II multi-objective optimization (minimization of micro-crystal silicon layer \(d_{\mu c\text{-}Si}\) and maximization of quantum efficiency \(Q_e\)) of the optical model for tandem-thin-film silicon solar cell with the “full parameterized” model for all 15 solar cell simulation variations
Fig. 4
figure 4

NSGA-II optimization of smooth back reflector Al plus optimally doped ZnO cell design. The points \(Q_e({\boldsymbol{\sigma }})^*\) is (0.6, 2210), \(d_{\mu c\text{-}Si}({\boldsymbol{\sigma }})^*\) is (0.56, 1190) and \(U({\boldsymbol{\sigma }})^*\) is (0.58, 1586.92)

Fig. 5
figure 5

NSGA-II optimization of smooth back reflector Ag plus optimally doped ZnO cell design. The points \(Q_e({\boldsymbol{\sigma }})^*\) is (0.59, 2210), \(d_{\mu c-Si}({\boldsymbol{\sigma }})^*\) is (0.56, 1190) and \(U({\boldsymbol{\sigma }})^*\) is (0.58, 1590.91)

Fig. 6
figure 6

NSGA-II optimization of rough back reflector Ag plus optimally doped ZnO cell design. The points \(Q_e({\boldsymbol{\sigma }})^*\) is (0.6, 2210), \(d_{\mu c\text{-}Si}({\boldsymbol{\sigma }})^*\) is (0.56, 1190) and \(U({\boldsymbol{\sigma }})^*\) is (0.59, 1587.99)

6.2 Stage 2: Multi-objective optimization using OptIA-II

Our OptIA-II algorithm fine-tuned the Pareto-front of NSGA-II in this stage. Figures 7, 8, and 9 show these fine-tuned Pareto-fronts. Here, OptIA-II Pareto-fronts are shown in red line and feasible candidate solutions in coloured “+” marked points. NSGA-II Pareto-front solutions are shown in black “+” marked points.

OptIA-II improved the Pareto-front line of all three select NSGA-II obtained solutions. Table 4 shows the parameter values \( {\boldsymbol{\sigma}} \) and objective values \(Q_e\) and \(d_{\mu c\text{-}Si} \) of the fine-tuned solutions.

The quantum efficiency, \(Q_e\) of smooth BR Al plus optimally doped ZnO (sAl-oZnO) design increased from \(Q_e = 0.5946\) to \(Q_e = 0.6006\), i.e., its quantum efficiency, \(Q_e\) improved by \(1.0091\%\). Also, the thickness \(d_{\mu c\text{-}Si}\) of the microcrystal silicon intrinsic layer decreased from 2210 to 2208.43. Similarly, the quantum efficiency, \(Q_e\) of smooth back reflector Ag plus optimally doped ZnO (sAg-oZnO) design increased from \(Q_e = 0.5988\) to \(Q_e =0.6028\), a \(0.6680\%\) increase in \(Q_e\). Its thickness \(d_{\mu c\text{-}Si}\) decreased from 2210 to 2208.24. For rough BR Ag plus optimally doped ZnO (rAg-oZnO) design, the quantum efficiency, \(Q_e\) increased from \(Q_e = 0.5990\) to \(Q_e = 0.6031\). A \(0.6845\%\) increased in quantum efficiency, \(Q_e\). Its thickness, \(d_{\mu c\text{-}Si}\) decreased from 2210 to 2209.67.

Notice that the energy production efficiency is directly proportional to increases in the quantum efficiency \(Q_e\) of a single photovoltaic solar cell. Therefore, a \(0.6845\%\) increased in quantum efficiency \(Q_e\) of a single photovoltaic solar cell is a significant proportional improvement on the single solar panel that has a few such photovoltaic solar cells.

Our results in Table 3 and Fig. 2 provide a detailed characterization of solar cell designs mentioned in Table 2. This is significant for the characterization of solar cells real-world applications.

For example, the applications such as household appliances and toys where a low-cost solar panel is required with relatively good quantum efficiency, we may use the least cost-intensive designs that have relatively good quantum efficiency. In our obtained solar cell characterization, the second most-effective design cluster shown in Fig. 2 pertaining to “normally doped SnO\(_2\) and Al as a BR design may be used.

This design is highly cost-effective since normal doping is a cost-effective method than the optimally doped method, and TCO material SnO\(_2\) is cheaper martial than ZnO. Moreover, Al as a BR is cheaper than Ag. The design “optimally doped ZnO with Al as a (smooth) back reflector” belonging to the most efficient cluster (see Fig. 2 and its improved quantum efficiency in Table 4) is still a cost-effective design than the most effective design that is “optimally doped ZnO with Ag as a (rough) BR.” This design may be used in application relatively higher sophistication than the toys and household appliances. Some sophisticated real-world applications such as satellites where highly efficient solar panels are required can use “optimally doped ZnO with Ag as a (rough) BR.”

Fig. 7
figure 7

Second stage OptIA-II optimization for Smooth back reflector Al, Optimally Doped ZnO. Pareto-front of OptIA-II optimization is indicated in red (colour figure online)

Fig. 8
figure 8

Second stage OptIA-II optimization for Rough back reflector Ag, Optimally Doped ZnO. Pareto-front of OptIA-II optimization is indicated in red (colour figure online)

Fig. 9
figure 9

Second stage OptIA-II optimization for Smooth back reflector Ag, Optimally Doped ZnO. Pareto-front of OptIA-II optimization is indicated in red (colour figure online)

Table 4 For each setting the points with the highest efficiency for the NSGA-II and OptIA-II optimizations are reported

7 Conclusions

A comprehensive framework was designed in this research for solar cell optimization. This framework studies 15 different solar cell structure designs. We performed simulation and optimization of cell structure interface roughness parameters to improve cells light-harvesting capacity. That is, to improve cells quantum efficiency computed using a full Maxwell simulation model.

We treated solar cell design optimization problem as a multi-objective optimization (MOO) problem and optimized cells quantum efficiency against cells microcrystalline silicon intrinsic layer thickness (cells fabrication cost). Our Pareto-optimality results obtained by applying non-dominated sorting algorithm-II (NSGA-II) produced a full characterization of the cell designs. From the analysis of the NSGA-II produced Pareto-fronts, we found that transparent conductive oxide (TCO) layer doping has a strong correlation with cells quantum efficiency. This means, in our experiments, a high concentration doping strategy (optimal doping with resistance less than 1 m\(\Omega \)\(\times \) cm) produced the most efficient cell design.

We also found that the cell structure design with a rough back reflector compared to a smooth back reflector provided a higher light-harvesting capacity. This was evident from the Pareto-front of cell designs for both zinc oxide (ZnO) and tin oxide (SnO\(_2\)) doping. Here, the rough back reflector provided a better trad-off between quantum efficiency and micro-crystal silicon layer thickness.

The use of silver (Ag) as a back reflector material was clearly better than the aluminium (Al). However, high concentration doping of ZnO with Al as back reflector material offered a slightly improved quantum efficiency (0.6006) with respect to the baseline quantum efficiency (0.6). We found that ZnO as a TCO layer is more efficient than SnO\(_2\).

In our two-stage MOO, the Pareto-fronts of three select best cell designs of NSGA-II based MOO stage were fine-tuned by our designed multi-objective optimization-immunological algorithm (OptIA-II). We observed that OptIA-II algorithm improved both costs associated with solar cell design. It maximized quantum efficiency and minimized micro-crystal silicon intrinsic layer thickness of all three select designs. The best stable solar cell design found was rough back reflector Ag plus optimally doped ZnO that produced an \(\approx 0.7\)% improved quantum efficiency (i.e., \(Q_e = 0.6031\)) with respect to the baseline quantum efficiency.