Well if it has mass, then it has inertia, so that can be simulated by an inductance.
The inertial energy of a rotating shaft is similar to the energy stored by an inductor with current going through it.
The rotational energy is:
The inductive energy is:
Ages ago I simulated a DC motor by specifying the rotor's moment of inertia and using behavioural voltage sources and integration functions to represent torque, acceleration, angular velocity, back-emf.