integrating with energy storage