Classification of batteries for energy storage