Behavioral Model of Perovskite Solar Cells