  The increased market penetration of renewable energy sources and the rapid
development of electric battery storage technologies yield a potential for
reducing electricity price volatility while maintaining stability of the power
grid. This work presents an algorithmic approach to control battery levels and
forward positions to optimally manage power output fluctuations caused by
intermittent renewable energy generation. This paper will also explore the
effect of battery technology on the firm's optimal trading behaviour in the
electricity spot market.
