Solar Photovoltaic (SPV) panel manufacturers provide a datasheet, which contains key electrical specifications of the SPV module for the user's reference. However, these data alone prove inadequate in anticipating the performance of PV systems under fluctuating atmospheric conditions. The approach put forth in this paper ascertains five parameters of a PV module using information supplied by the manufacturer. This approach considers the impact of solar radiation and cell temperature. The paper outlines the process for determining the parameters of the five-parameter model and establishes a comparison between projected current-voltage curves and manufacturer-provided data. To extract the unknown parameters of a single diode model Adaptive Particle Swarm Optimization (APSO) techniques with barrier constraints was developed. The study investigates both multi-crystalline and mono-crystalline PV module technologies to validate the efficacy of the proposed method. Results demonstrate that the proposed technique, besides being straightforward, proves adept at accurately simulating the dependable performances of PV modules. Comparative analysis reveals that the proposed methods extract parameters with minimal modeling errors and high precision, regardless of temperature fluctuations, outperforming conventional PSO methods.