Model of constant torque, not dependent on angular velocity of flange.
Please note:
Positive torque accelerates in positive direction of rotation, but brakes in reverse direction of rotation.
Negative torque brakes in positive direction of rotation, but accelerates in reverse direction of rotation.