Identification of the quality of solar cells