Analytical torque computation – aka pen-and-paper stuff. Fast, efficient, extremely enlightening – and unfortunately fairly complex, more often than not.
Torsional vibrations lead to oscillations in the electromagnetic torque, too. These may dampen the vibrations, but they may also do the exact opposite.