The classical way of modeling a DC motor is as two differential equations, one for the mechanical and one for the electrical dynamics as shown in below:
MPLAB Mindi is only capable of simulating circuit elements, therefore the
mechanical equation is transformed into an equivalent circuit representation. This is achieved
by saying that
The model of the DC motor consists of three parts; Motor_Electrical, Motor_Mechanical and Motor_Load.