Title: Development of a Computer Algorithm for the Analysis of Variable-Frequency AC Drives