generation of solar cell