Optimizing the doping density of the cell layers has a positive impact on enhancing output performance. A 1.04% increase in PCE was observed due to the optimization of doping densities in each layer. This improvement underscores the importance of careful doping engineering to balance carrier generation, transport, and recombination within the device.