Set the number of pole pairs of the machine
self (Machine) – Machine object
p (int) – Pole pair number of the machine