Simulation of I–V characteristics of a PV module with shaded PV cells