Deep learning method for efficient energy storage arbitrage