Energy storage system integration