Single-diode model of the theoretical PV cell and equivalent circuit of a practical PV device including the series and parallel resistances.