Analysis of each layer of solar cell