Text this: Electric machine theory for power engineers