Solar-storage integration