SMS dit: Electrical machine dynamics