AI in renewable energy grid integration