When combining electrical models in SimPowerSystems with mechanical models in SimMechanics, it's generally best to use the speed input on the electrical machine, which you measure using a sensor block on the SimMechanics side. You can then use the electromagnetic torque output of the electrical machine and apply this to the mechanical side with an actuator block, and use a gain block to scale the torque up/down and represent the gearing.
HTH,
Arnaud
Best Answer