Application of search algorithms and machine learning on aircraft electrical drive systems: design, optimization and control