understanding energy storage systems