Efficient modelling of special purpose multi-phase electrical machines for transient simulation programs