Nonlinear theory of the switched reluctance motor for rapid computer-aided design | Synapse