Characterization of encapsulant and edge seal materials for flexible solar cell packaging