Brushless DC motor simplorer simulation