Numerical optimization and performance evaluation of ZnPC:PC70BM based dye-sensitized solar cell

The increase in global energy consumption and the related ecological problems have generated a constant demand for alternative energy sources superior to traditional ones. This is why unlimited photon-energy harnessing is important. A notable focus to address this concern is on advancing and producing cost-effective low-loss solar cells. For efficient light energy capture and conversion, we fabricated a ZnPC:PC70BM-based dye-sensitized solar cell (DSSC) and estimated its performance using a solar cell capacitance simulator (SCAPS-1D). We evaluated the output parameters of the ZnPC:PC70BM-based DSSC with different photoactive layer thicknesses, series and shunt resistances, and back-metal work function. Our analyses show that moderate thickness, minimum series resistance, high shunt resistance, and high metal-work function are favorable for better device performance due to low recombination losses, electrical losses, and better transport of charge carriers. In addition, in-depth research for clarifying the impact of factors, such as thickness variation, defect density, and doping density of charge transport layers, has been conducted. The best efficiency value found was 10.30% after tweaking the parameters. It also provides a realistic strategy for efficiently utilizing DSSC cells by altering features that are highly dependent on DSSC performance and output.

sion 3.3.07) 35 . Figure 1a displays the SCAPS program's step-by-step simulation approach. SCAPS's principal role is to solve one-dimensional semiconductor equations alongside Gummel-type iteration and Newton-Raphson differentiation methods to compute performance characteristics of designed solar cells effectively 38,39 . The necessary equations are: www.nature.com/scientificreports/ where ǫ is the dielectric constant, q is the charge on the electron, J n and J p are current density for electrons and holes respectively, G is the generation rate, is the electrostatic field, E F is the electric field, U is the rate of recombination, x is the thickness, p, and n are allowed concentration of holes and electrons, N D and N A are ionized concentration for donors and acceptors, and µ is the mobility of charge carriers. This research presents a heterojunction arrangement for DSSCs using ZnPC:PC70BM (Zinc-phthalocyanine: 6,6 -Phenyl-C71-butyric acid methyl ester) as the dye-sensitizing layer. The other layer of the device includes an HTL which is Poly(3,4-ethylene dioxythiophene)-poly(styrene sulfonate) (PEDOT:PSS), an ETL which is Poly(9,9 bis(3'-(N,N-dimethyl)-N-ethylammoinium-propyl-2,7-fluorene)-alt-2,7-(9,9-dioctylfluorene)) dibromide (PFN:Br), a transparent front electrode fluorine-doped tin oxide (FTO), and a back metal electrode gold (Au) as illustrated from Fig. 1b. The energy band diagram, so-called the highest occupied molecular orbital (HOMO)-the lowest unoccupied molecular orbital (LUMO) band diagram of the appropriate DSSC is visualized in Fig. 2a.
DSSCs have unique structural properties that set them apart from other types of photovoltaic cells. A simple photo-electrochemical cell like DSSC is a photoelectrode that combines a semiconductor material (such as TiO 2 in many cases) and sensitized dye molecules 40,41 . We adopted ZnPC as that material in our case. This electrode, along with a catalytic counter electrode, is deposited on a transparent conducting material. The electrolyte in a DSSC is a combination of organic and inorganic materials, including inorganic salts, a redox couple, an n-type semiconductor, and conducting polymers. The dye sensitization is used to capture light and generate  www.nature.com/scientificreports/ electron-hole pairs, while the electrolyte serves as a redox mediator to transfer electrons between the electrodes. This leads to rapid electron injection into the conduction band of the TiO 2 semiconductor material. The transparent conducting material then transports the electrons to the counter electrode through an outer circuit. Meanwhile, the dye is oxidized at its ground state, and the electrolyte regenerates it. The operational diagram of DSSC is illustrated in Fig. 2b. Overall, the unique combination of materials and processes in a DSSC allows for the efficient conversion of light into electrical energy. The presence of sensitizing dye molecules and an electrolyte enables the cell to generate and transport charge carriers effectively, while the nanomaterials used in the photoelectrode provide a large surface area for light absorption. However, alternative types of solar cells have been developed in recent years, which eliminate the need for dye sensitization and/or electrolyte. For example, some DSSC designs replace the liquid electrolyte with a solidstate electrolyte, which can improve stability and reduce leakage problems. In these cases, the cells may still be called DSSCs because they operate based on similar principles of light absorption and charge transfer, even if the specific components are different. The development of new and alternative materials for use as the active layer or sensitizer in DSSCs, such as metal-halide perovskites, has resulted in higher power conversion efficiencies and improved stability [42][43][44] . Additionally, innovative device architectures such as tandem and hybrid solar cells have shown great potential in improving DSSC performance. The ongoing progress in DSSC technology and research is expected to drive further advancements and broader adoption soon.
Parameters for device simulation. The whole list of the simulation parameters used to model the structure's layers were meticulously selected from the studies described in 17,20,21,[45][46][47][48][49][50][51][52][53] . Tables 1 and 2 provide material parameters for each layer used in this simulation. Other material properties are also suitably adjusted: the thermal velocity of electrons and holes are adjusted at 10 7 cm/s for instance. Device modeling was made more accessible by using absorption profiles for all layers in the simulation, which were acquired from several sources 48,50,[54][55][56] . To give a more realistic picture of the device, this design comprises two interface defect layers, marked by the letters IDL1 (PFN:Br/photo-harvesting layer) and IDL2 (photo-harvesting layer/PEDOT:PSS). The AM1.5G spectrum was used to model this cell at a temperature of 300 K. The incident lamp or sun power was set at 1000 W/m 2 . Additionally, all operating point settings and numerical factors were kept at their actual value. Scanning voltage has been set to a range of 0 V to 1 V. All simulations in this software are conducted with the above values.  The numerical analysis is performed on ZnPC:PC70BM-based DSSC, with an active layer thickness of 500 nm. The materials parameters for the absorber and other supporting layers are mentioned in Table 1. The series resistance (Rs) and shunt resistance (Rsh) values are set at 1 Ωcm 2 and 1000 Ωcm 2 . A low Rs and a high Rsh are desirable in a PV cell because they help to minimize power losses due to resistance and prevent localized hot spots and current leakage paths that can reduce cell efficiency and reliability. The current density-voltage (J-V) and the quantum efficiency (QE) curves are illustrated in Fig. 3. The open-circuit voltage (V oc ) refers to the measure of recombination and is calculated when zero current flows in a device, and its value was 0.85 V at 500 nm. While short-circuit current density (J sc ) is the maximum current drawn from the photovoltaic cell and it is measured when the voltage is zero. The J sc and other output parameters like PCE and FF obtained at 500 nm were 27.44 mA/cm 2 , 14.61% and 62.70%. Resistive losses in photoactive and charge-transporting layers are responsible for the modest inflection at the end of the J-V curve. This indicates the presence of a series resistance (Rs), which is shown by a negative value for the inverse slope of the current-voltage curve near voltage end. The QE graph of a solar cell is expected to have a rectangular or square shape, but this ideal shape can be reduced by various factors such as recombination, reflection losses, and surface passivation. The observed variability in the QE spectra, as seen in Fig. 3a, can be attributed to these losses. The QE can be determined by the charge carriers being transported and collected by the electrodes. In this particular case, front surface recombination, low diffusion length, and reflection losses result in a drop in QE from 400 to 550 nm. However, the QE rises again from 550 to 700 nm due to a significant increase in charge carrier production from light absorption, which improves www.nature.com/scientificreports/ the collection probability and QE of the device. The analysis shows that the mean QE obtained for a 500 nm thickness of the absorber layer is 70%. It is also important to note that the QE is a measure of the efficiency of the solar cell at converting photons into charge carriers (electrons and holes), while the Jsc is a measure of the maximum achievable current density. The two values are related but not identical, and it is possible for a cell to have a high Jsc but a lower QE if there are losses in charge collection or other factors that reduce the efficiency of the conversion process. Figure 3c depicts the band-alignment of the proposed device structure. Excitons are produced when sunlight strikes the photoactive material (ZnPC:PC70BM). Excitons are confined electron-hole pairs that must be separated to transport and extract charge carriers effectively. Two different materials with suitably matched band levels are utilized to isolate the excitons. These materials are referred to as donor and acceptor. At the heterojunction of these materials, excitons are commonly separated, allowing free electrons and holes to be transmitted by charge-carrying layers (i.e. PFN:Br and PEDOT:PSS). To maximize charge carrier extraction at the electrode, the HOMO level of HTMs should be greater than the valence band of the absorber layer for hole extraction. Figure 3b depicts the device's carrier production and recombination rates due to optical excitation. Since the light entered from ETL side, the generation and recombination rates of carriers in the cell are lowered from the ETL side to the HTL side in the photo-harvesting layer. The recombination rate is relatively high in the photoactive material due to many defects. Despite this, photo-generated carriers are abundant due to the absorber material's narrow bandgap and considerable thickness. That results in increased absorption and an improvement in the performance characteristics of a cell.
DSSCs are a promising cell technology for converting sunlight into electricity. One important parameter that affects the efficiency of DSSCs is the ideality factor, which is a measure of how closely the cell's behavior matches ideal photovoltaic behavior. In a DSSC, the ideality factor is related to the recombination of charge carriers in the cell. When a photon is absorbed by the dye in the cell, an electron is excited and moves into the conduction band of the semiconductor. The electron then travels through the semiconductor to the electrode, where it can be collected as current. However, some of the electrons may recombine with holes before they reach the electrode, which causes a reduction of the cell efficiency. Figure 3d represents dark J-V measurements for the determination of ideality factor.
The ideality factor can be determined experimentally by measuring the current-voltage characteristics of the DSSC and fitting the data to the equation 57,58 : where I is the current, I 0 is the saturation current, q is the elementary charge, V is the voltage, N is the ideality factor, k is the Boltzmann constant, and T is the temperature. The ideality factor can be obtained from the slope of the plot of Ln(I) vs V, and it quantifies how many charge carriers recombine during this procedure. In other words, the ideality factor quantifies the level of charge carrier recombination and, consequently, related to determining how efficiently a DSSC transforms sunlight into energy. In our intended design, the ideality factor was 1.32.
Influence of photoharvesting layer thickness on cell functionality. The photoactive layer of any PV cell is critical to the device's operation and output. This study increased the thickness of the harvesting layer from 100 to 1000 nm. Keeping all other variables constant allowed us to investigate how this variance affected the device results. The J-V characteristics and the effect of increasing thickness on the DSSC performance parameters are shown in Fig. 4. Figures 4a-e show that there is a relationship between the variety in device outcomes and the depth of the active material. The J-V curve is remarkably enhanced initially as the thickness of the photoactive material increases. This is attributed to the abundant formation of charge carriers. However, as the thickness continues to increase, the degree of improvement in the J-V curve begins to diminish. This is due to the increment in the recombination rate; such an increase is potentially surpassing the generation rate, leading to a decline in the carrier diffusion length.
The Jsc, Voc, and PCE values increase noticeably when the absorber layer thickness increases from 100 to 500 nm. The increase in the concentration of electron-hole pairs in the photoactive layer causes this. As the thickness of the photoactive layer increases from 500 to 1000 nm, it will take longer for the produced carrier to reach the appropriate electrodes, resulting in a higher low diffusion and low generation rate. Which causes the J sc and V oc to increase steadily. The largest J sc and V oc achieved is 34.64 mA/cm 2 and 0.86 V when the device's thickness is 1000 nm. The fill factor reduces from 64.56% to 61.58% as the thinness of an absorber material grows to 1000 nm. When the FF is high, the cell can supply all of the energy it produces to the electrical demand. That might be because the absorber material is relatively thick, which boosts the cell's series resistance and increases the rate at which the cell's internal power is depleted. Therefore, the appropriate thickness value is necessary to yield better outcomes, and the low thickness makes a cost-effective PV cell.
Influence of series and shunt resistance on cell functionality. Resistive losses, which often takes place by carrier recombination and current leakage, limit the performance of DSSCs. Shunt resistance and series resistance are responsible for these losses. The behavior of the J-V curve has impacted due to these parasitic losses. The term "internal resistance" (R i ) referred to the resistance present in PV cells and caused by the materials, electrodes, and interface barriers 59,60 . R i was predominantly driven by the electrical resistance associated with the contacts, and the electrical loss was present in both the active and supporting layers. The series resistance (Rs) has little impact on V oc but significantly impacts FF and PCE. Furthermore, it lowers J sc . Therefore, during www.nature.com/scientificreports/ real-cell production, it is essential to conduct structural optimization by studying the impact of series and shunt resistances on cell performance. Previous studies have shown that increasing R s causes a decrease in J sc but has no effect on V oc in a solar cell. The R sh is determined by device architecture, which includes charge recombination mechanisms (edge effects) such as active layer pinholes and recombination losses 60,61 . Consequently, low R sh causes a loss in photovoltage and may also have a slight effect on the collected photocurrent. In this investigation, we have varied the series and shunt resistance from 1 to 5 Ωcm 2 and 100-600 Ωcm 2 to observe the influence on device performance and output parameters. Under ideal illumination, the typical J-V characteristic of a photovoltaic cell may be characterized using the Shockley equation.
where J Ph denotes photocurrent density, J 0 denotes dark saturation current, T is room temperature, and e denotes charge on an electron. In ideal conditions, R s would be 0, and R sh would be limitless.
Figures 5a-e and 6a-e demonstrate the J-V aspects and the influence of Rs and Rsh on the DSSC performance parameters, respectively. The J-V curve shows that an increase in series resistance causes a drop in the J-V curve since it is measured from the slope of the J-V curve at the voltage end while Rsh's J-V curve has improved due to its quick rise. The slope of the J-V curve towards the current end is used to compute Rsh. Figure 5b-e show that when series resistance increases, PCE and FF decline considerably from 14.61 to 11.52% and 62.70-49.46%, respectively. Simultaneously, a slight change in Voc and Jsc values has been detected. The decline in the value of PCE may be ascribed to the impediment provided by series resistance to charge carrier transfer.
As a result, the carrier diffusion length shortens. These power losses add to parasitic (electrical) resistance losses. Consequently, the value of series resistance should be as low as feasible in order to obtain effective output from the cell. Figure 6b-e show that when shunt resistance increases, PCE, FF, and Voc increase dramatically from 11.42 to 14.06%, 57.88-66.09%, and 0.72-0.77 V, respectively. In contrast, a negligible influence on Jsc value has been seen. The improvement in DSSC performance parameters is due to an increase in shunt resistance value, which increases the generation rate via the reduction of recombination losses. It has come to the conclusion that the right and optimum value of Rs and Rsh is critical for increasing production.
Influence of active layer defect density on cell functionality. The quality and structure of the lightharvesting layer significantly influence the device's performance for any generation of solar cells. That is because the light-harvesting layer absorbs light in the form of photons. The poor film quality and characteristics increase the number of defect states and the rate of recombination, which reduces device performance. It is essential to the endeavor's success that the device has a low defect density (see Fig. 7).
In active materials, trap states increase as the defect concentration grows. Trap states are localized energy levels within the bandgap of the active layer material, where electrons or holes can get trapped. When an electron or hole gets trapped in a trap state, it cannot contribute to the generation of electricity. This leads to a reduction in the carrier lifetime and an increase in recombination, which reduces the efficiency of the solar cell. The effect of trap states on the performance of a solar cell depends on their concentration and energy level. High concentrations of trap states, as well as trap states with energy levels close to the band edges, can have a significant impact on the performance of the solar cell.   Fig. 7a represents the J-V curve at diverse values of defect concentration of a photoactive layer. With increasing N t , carrier lifetime reduces, resulting in a higher recombination rate, negatively influencing output performance. It has demonstrated that a low defect density value leads to improved cell productivity. In that case, fewer traps are present in the absorber layer, and the generation rate is relatively high. In contrast, excessive defect concentrations develop additional recombination centers and traps, degrading the device's overall performance. It is feasible to enhance the device's output by lowering the defect density below 10 15 cm -3 , which results in a higher current density. By altering the defect density from 10 12 to 10 15  Impact of carrier mobility of photoactive layer on cell functionality. One of the necessary factors in enhancing the productivity and outcomes of DSSCs is charge carrier mobility. The average mobility of charge carriers describes how easily charge carriers are moving from one place to another without trapping, described by a relation.  www.nature.com/scientificreports/ In this work, charge carrier mobility was altered from 5 × 10 -4 to 5 cm 2 /Vs to investigate the impact on device performance. It has been determined that the optimum power conversion occurs at carrier mobility of 5 cm 2 /Vs. The outcomes and J-V characteristics of DSSC at various charge carrier mobility values has shown in Fig. 8a-e. Short-circuit current density decreases as carrier mobility reduces due to dissociation probability, reducing efficiency and FF. When carrier mobility improves, J sc increases, potentially leading to high efficiency and high FF. While Voc rises as mobility advances to 5 × 10 -3 cm 2 /Vs, it subsequently falls as charge carrier transport improves due to less internal power depletion and a destabilized electric field in the depletion area.   www.nature.com/scientificreports/ is mainly determined by the thickness of the HTL and ETL. The HTL and ETL are responsible for collecting and transporting the holes and electrons generated by the absorption of light.

Influence of HTL and ETL
In determining the performance of DSSCs, the optimal selection of the charge transport layers is important. By carefully choosing the hole transport material (HTM) and electron transport material (ETM), one can enhance the efficiency of charge transmission and collection at the electrodes. In this particular investigation, PEDOT:PSS and PFN:Br were employed as the HTL and ETL due to their promising optical and electrical characteristics. To comprehend the impact of HTM thickness on output parameters, the thickness of PEDOT:PSS was varied from 50 to 100 nm. Notably, as the thickness of the HTM layer increased, there was a substantial improvement in the central output parameters (i.e., PCE, Voc, and Jsc). This enhancement can be attributed to the exceptional charge transport properties exhibited by the HTL, which facilitates more efficient charge transfer. Additionally, the increased thickness resulted in better interaction between the HTL and the absorber layer, further augmenting the performance of the DSSCs. The grave impact on the output parameters can be clearly recognized in Fig. 9a-d. However, it is worth noting that the increase in HTM thickness had an adverse effect on FF. As you can see, FF declines as the thickness of the HTM layer increases. This outcome suggests that while the charge transport properties were improved, there might have been an increase in charge recombination or resistance within the device, leading to a reduction in FF.
ETL thickness directly affects the distance that electrons must travel to reach the electrode. As the ETL thickness increases, the path length for electron transport also increases. This can result in increased carrier recombination losses, as carriers have a higher probability of recombination before reaching the electrode. The thickness of the ETL contributes to the overall series resistance of the solar cell. It hinders the charge carriers' flow through the ETL. This can result in higher resistive losses, reducing the effective current output of the solar cell. Therefore, an optimal ETL thickness is required in order to minimize the series resistance and maximize the power conversion efficiency. Therefore, an excessively thick ETL can hinder efficient charge extraction, leading to reduced photocurrent and overall device performance, as observed in Fig. 9e-h. The ETL thickness can affect the optical absorption characteristics of the solar cell. Thicker ETLs may absorb more incident light, thereby reducing the amount of light reaching the active layer for photoconversion. This can decrease the overall photocurrent generation, leading to lower device performance. In practice, the optimal HTL and ETL thickness depends on various factors, such as the specific materials used, device architecture, and fabrication techniques. It often requires empirical optimization and device engineering to determine the ideal thickness for a given solar cell configuration.

Influence of HTL and ETL layer defect density on cell functionality. The defect density of the HTL
and ETL in a solar cell has a notable impact on its performance. Defects in the HTL and ETL can arise from various sources, such as impurities, structural imperfections, or fabrication processes, and can significantly affect the charge transport and recombination processes within the device. Figure 10 illustrates the variation in the characteristics of DSSCs when the defect density of HTL (see Fig. 10a-d) and ETL (see Fig. 10e-h) is altered. The visual representation reveals that a lower trap density of www.nature.com/scientificreports/ HTL and ETL yields more favorable outcomes for cell performance. This is primarily due to the presence of fewer traps and a higher growth rate under such conditions. Consequently, both the Voc and Jsc experience an increase, leading to higher PCE and FF. Also, higher defect densities result in the generation of more capturing states, which exacerbates recombination processes within the device. As a result, the overall performance of the DSSCs is compromised. To achieve optimal results, it is recommended to maintain a defect density of 1 × 10 9 cm −3 for both the HTL and the ETL. This particular defect density value strikes a balance between minimizing traprelated losses and maximizing charge transport efficiency, thereby optimizing the performance of the DSSCs. The defect density of the charge transport layers significantly influences solar cell performance by affecting charge transport, recombination pathways, series resistance, and carrier selectivity. Minimizing defects and optimizing the quality of the HTL and ETL is crucial for achieving high-efficiency solar cells with improved charge extraction, reduced recombination losses, and enhanced overall device performance. To optimize DSSC performance, it is essential to minimize the defect density in the charge transport layers. Techniques such as careful material selection, improved fabrication processes, and defect passivation strategies can help reduce defect densities. Additionally, advanced characterization techniques can be employed to identify and quantify the nature and impact of defects in the HTL and ETL, aiding in the development of strategies to mitigate their adverse effects.
Influence of HTL and ETL layer doping density on cell functionality. The doping density of the HTL and ETL in a solar cell can have a significant influence on its performance. The HTL is typically a p-type semiconductor material responsible for transporting holes from the active layer to the electrode, while the ETL is an n-type semiconductor material that facilitates the movement of electrons from the light-absorbing layer (e.g., the active layer or absorber) to the electrode. The doping density of the HTL and ETL affects their electrical conductivity and energy level alignment with the adjacent layers.
In this study, the influence of HTM and ETM layer doping density on solar cell performance was investigated. We varied the doping concentration of the HTM layer from 1 × 10 16 to 1 × 10 20 cm −3 and observed its effect on the device's performance, as depicted in Fig. 11a-d. The results indicated that increasing the doping concentration of the HTM layer had a positive impact on the solar cell's output performance. Specifically, it was found that, as the doping concentration increases, the FF and PCE of the solar cell improve. However, there was an initial decrease in Jsc and Voc. This phenomenon can be attributed to a decrease in carrier lifetime and an increase in the recombination rate at the interface between the HTM layer and the absorber layer.
In addition, the ETM layer doping enhances the device's performance when its density is altered from 1 × 10 16 to 1 × 10 20 cm −3 . Doping the ETL helps to enhance charge carrier mobility, i.e., the ability of charge carriers to move through the material. Higher doping densities generally result in improved electron mobility, enabling faster and more efficient charge transport across the ETL. This, in turn, reduces carrier recombination losses and increases the overall current collection efficiency and performance of the DSSC, as illustrated in Fig. 11e-h. A slight decline in Jsc value could also be observed after increasing doping concentration. When the doping density of the ETL is raised, the density of available charge carriers (electrons) also increases. This higher concentration of carriers can enhance the likelihood of carrier recombination processes occurring within the ETL itself. The increased doping density can exacerbate carrier recombination rates, thus leading to a decline in Jsc. Furthermore, a higher doping density in the ETL can create a greater potential barrier for electron extraction www.nature.com/scientificreports/ at the interface between the ETL and the absorber layer. This barrier arises from the energy level alignment between the ETL and the absorber layer, which can be influenced by the doping density. If the potential barrier becomes too high, it can impede the efficient extraction of electrons from the absorber layer into the ETL, resulting in reduced Jsc. Hence, a well-adjusted balance between the doping density and other device parameters is necessary to optimize the solar cell's performance in terms of performance parameters. After careful analysis, we determined that an optimized doping density value for the HTM and ETM layers could be 1 × 10 18 cm −3 and 9 × 10 18 cm −3 , respectively. This particular doping concentration demonstrated several benefits. Firstly, it increased the cell conductivity, leading to a reduction in internal power depletion and series resistance. The decrease in series resistance subsequently contributed to improved PCE, FF, and Voc. These findings shed light on the significance of carefully selecting the doping density of the HTM and ETM layers to optimize the overall efficiency of solar cells.
Influence of varying back metal contact on device performance. The work function is the minimum amount of energy required to move an electron from a metal surface to vacuum. The purpose of the contacts is to start conduction in an external circuit. According to reports [62][63][64] , an increase in the work function's value can boost the efficiency of PV cells. This is explained by the fact that the majority carrier's barrier height decreases as the work function value increases, resulting in ohmic contact. As a result, an increment of the metal's work function value raises the open circuit voltage and energy conversion efficiency. In this research, simulations had conducted to narrow the search for an appropriate earth-abundant metal that may serve as the back contact in the suggested device configuration. Previous research has found that DSSCs rely on metallic connections for dye regeneration, which indicates that the device performance is likely to be favorable for silver (Ag) and gold (Au). These are two most used metals with work functions of 4.7 eV and 5.1 eV and have been considered as suitable materials for dye regeneration to overcome the restrictions associated with the use of liquid electrolytes and to avoid the use of expensive HTLs.
However, due to the high cost of these materials, their use in producing solar cells that are sold at affordable prices is limited. Despite this, we have investigated the viability of many alternative metallic materials as feasible and affordable solar cell device components during this research. Simulations have been run on copper, silver, iron, platinum-oxide, carbon-copper, and gold potential dye-regenerating metallic contacts. Figure 12a-e depict the effect of J-V characteristics and the influence of altering work function (metalcontact) values on the DSSC performance parameters. All of the performance parameters (PCE, FF, Jsc, and Voc) are being improved when the value of the work function grows due to effective charge carrier transport and collection at back-metal contact. The PCE increased dramatically from 11.75% to 14.61%. It can be concluded that devices with high metal work functions are necessary for better photovoltaic performance. Table 3 compares the numerical analysis of the DSSCs with experimental data. The PCE of the simulated device model is better than experimental data from available research [65][66][67][68][69][70][71] . The difference between the theoretical and empirical results may be the consequence of reflection losses, the involvement of series and shunt resistances, and the effect of operating temperature. We discovered that correct parameters and layer configuration optimization can improve efficiency. However, PCE values greater than 8% have been observed for some dyes www.nature.com/scientificreports/ (see Fig. 13). The use of ZnPC:PC70BM as an absorber material with efficient electron and hole transport materials (i.e., PFN:Br and PEDOT:PSS) has improved the optoelectronic properties and might replace traditional dyes, which are concerned with stability and volatility issues for next-generation DSSCs. Consequently, this research also provides theoretical guidance for the actual usage of DSSC by improving its characteristics for the next-generation DSSC.

Conclusions
This work has offered valuable insights into how the characteristics of DSSCs might be altered during the commercial manufacture of solar cells. The SCAPS-1D software package is utilized to optimize and design the desired DSSC structure of FTO/PFN:Br/ZnPC:PC70BM/PEDOT:PSS/Au. The cell's performance was maximized by making suitable modifications to thickness, series and shunt resistances, metal-contact work functions, carrier mobility, and trap density. The analysis shows that the material's photovoltaic properties have improved by reducing the defect density, adjusting the absorber layer thickness appropriately, and raising the charge carrier mobility. According to our findings, the best value for thickness is 500 nm, defect density is 1 × 10 12 cm −3 and carrier mobility is 5 cm 2 /Vs to achieve high productivity. By optimizing all the prime parameters, we could construct DSSC with a high efficiency of 14.61% and the simulated result suggests that the performance of DSSC devices will increase in the near future. Consequently, solar energy can potentially increase energy security, provided that the conditions of its production are correctly managed. Numerical simulation of solar cell designs provides companies with essential information while saving time and money. To support the theoretical work described in this research, an experimental approach to the performance of model DSSC solar cells is suggested.