Characteristics of thin-film solar cells