A procedure of simulation and modelling solar cells and PV modules, working partially shadowed in Pspice environment, is presented. Simulation results have been contrasted with real measured data from a commercial PV module of 209Wp from Siliken. Some cases of study are presented as application examples of this simulation methodology, showing its potential on the design of bypass diodes configuration to include in a PV module and also on the study of PV generators working in partial shading conditions.