Text this: First-Principles Study of Thermodynamic Properties in Thin-Film Photovoltaics