The optimization of the motor is carried out using the freeware optimization software Dakota. The code has been connected to the LPTN simulation tool through Matlab scripts exploiting the ActiveX commands available in Motor-CAD. Dakota implements many optimization algorithms among which there are local...