A new CAD System For Evaluating the IGBT Losses in Motor Drives Applications