Text this: Control of an inverter fed synchronous machine