MATLAB: How to transfer electric torque to mechanical system via gear reducer

simmechanicssimpowersystemsSimscape ElectricalSimscape Multibodysimulink

I'm trying to simulate a horse head pump. I have combined mechanical part using SimMechanics and AC drive using SimPowerSystems, but i don't understand how to simulate gear reducer between AC Drive and Beam unit. I use Gain with gear ratio (100) to multiply electric torque on it and to divide incoming mechanical torque.
But what about rotation speed? Motor shaft rotate on high speed 1400 rpm, mechanism shaft rotate on 14 rpm. So, my mech system pumps too quick during simulation:

Best Answer

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