AI tools for optimizing battery management systems in electric vehicles