Applications of Thermodynamics to Solar Power Generation and Industrial Decarbonization