Text this: Simulation of the switched reluctance machine under single pulse mode operation