Reducing harmonics caused by adjustable frequency drives