Simpack - Rail Modelling

Hi everyone, Can someone guide me how can I create a control mechanism for controlling torque applied to the wheelset of a train using the slip values?

Simpack ​​​​​​​