Acoustic noise calculation for high-speed permanent-magnet motors