Text this: Surge phenomena in electrical machines