About that what you could do is as I said previously, input "number of rotor pole pair" and "number of stator pole pair" that could be different, then model only the commun divider of the two number * 2 stator poles count and maybe that number time * 2 + 1 or 3 for the rotor modelling to account...