Battery storage for frequency control in RE systems