The governing equations for the electromechanical system are:
Electrical subsystem:
\(v = Ri + L \frac{di}{dt} + K_e \dot{\theta}_1\)
Mechanical subsystem:
\(J_1 \ddot{\theta}_1 = K_e i - k(\theta_1 - \theta_2)\)
\(J_2 \ddot{\theta}_2 = k(\theta_1 - \theta_2) - c\dot{\theta}_2\)
\(\omega = \dot{\theta}_1\)