energy storage quality control