Optimizing the doping density of each layer is essential for achieving balanced charge transport, reduced recombination, and high efficiency in perovskite solar cells (PSCs). For the proposed cell structure, the optimal doping densities were determined to be 1×10 19 cm -3 for the hole transport material (HTM), V2O5, resulting in a power conversion efficiency (PCE) of 23.62%; 1×10 16 cm -3 for the absorber layer, CsSnI3, which achieved a maximum PCE of 25.90%; and 1×10 19 cm -3 for the electron transport material (ETM), WS2, achieving a PCE of 24.20%. These optimized doping densities ensure efficient charge extraction, minimal recombination losses, and enhanced overall device performance.