Design of liquid cooling scheme for energy storage system