Text this: Electrical machine dynamics