Distributed energy storage system solution