Permanent Magnet Motor Generator