This paper introduces a novel optimization method called the Runge Kutta Optimizer (RUN) for extracting parameters from a double-diode model of solar cells and photovoltaic modules. The RUN algorithm aims to minimize the root mean squared error between measured and estimated data, achieving high precision and fast convergence compared to existing optimization techniques. The research demonstrates the application of RUN on different commercial PV cells, establishing its efficiency in the field of photovoltaic modeling.