Application of chemical energy storage technology in power grid