this is the 2nd file you wished to see.
The uploaded file is the one that works, the output of the asynchronous simpowersystems motor is torque. i measure the speed at the pumps end, an feed it back to the motor.
the scenarios which are not working are.
run pump with speed, and feed back torque or feed back speed
run pump with torque, feed back torque.
thx for your help