In order to increase the efficiency of the solar photovoltaic (PV) system, accurate electrical modeling of the system under different environmental conditions is necessary. The double-diode electrical model of solar PV is known to be more accurate than its single diode model counterpart since it takes into account the effect of recombination. However, because of its nonlinear characteristics, the parameters of the double-diode model (DDM) have to be identified using optimization algorithms. In this paper, the wind-driven optimization (WDO) algorithm is proposed as a potential new method for identifying the parameters of a 12-parameter DDM of the solar PV. The accuracy and flexibility of the proposed method are verified using three different sets of data: first, experimental data at the controlled environmental condition; second, data sheet values of different solar PV modules; and third, real-time experimental data at the uncontrolled environmental condition. Additionally, the performance of the WDO is compared with other well-known existing optimization techniques. The obtained results show that the WDO algorithm can provide optimized values with reduced mean absolute error in power and reduced root mean square error for different types of solar PV modules at different environmental conditions. We show that the WDO can be confidently recommended as a reliable optimization algorithm for parameter estimation of solar PV model.