Recurrent neural network-based control strategy for battery energy storage in generation systems with intermittent renewable energy sources