Application of X-Ray Absorption Spectroscopy of Improved Energy Shortage and Conversion Devices