A study proposed an improved war strategy algorithm called the chaos genetic manifestation war strategy algorithm (CGM-WSO) to extract parameters of solar cell model. The CGM-WSO algorithm incorporates three improvement measures. First, it introduces the logistic–tent chaos map to enable random perturbation during initialization. Second, it utilizes the crossover and mutation operators of the genetic algorithm to enhance the algorithm’s ability to escape local optima. Finally, the Lambert W function is employed to obtain explicit analytic expressions of single and double diode models. The performance of the CGM-WSO algorithm was validated using several cell’s models, and the results demonstrated significantly improved accuracy, reliability, and convergence speed compared to other algorithms.