renewable energy optimization with AI