Energy-Preserving Methods and Torque Computation From Energy Balance in Electrical Machine Simulations | IEEE Journals & Magazine | IEEE Xplore