Solar cell simulation using PSpice