Simulation of a solar cell considering single-diode equivalent circuit mode