Theoretical study of electronic structure and optical properties of tin doped CuS counter electrode for dye-sensitized solar cells