Numerical analysis of solar cell current-voltage characteristics