Gives the maximum output torque as a function of the input speed.
When w<wMax the output is tauMax if tauMax*w<powMax, othersise it is posMax/w. But if w is larger than wMax tauMax is rapidly falling to zero (reaches zero when speed overcomes wMax by 10%).
Torques and powers are in SI units.
Varable state determines the component's state as follows:
state=0 below base speed;
state=1 before wMax;
state=2 slightly above wMax (torque rapidly brought to zero)
state=3 above wMax, torque brought to zero;
So:
state= 0 or 1 if tauMax or powMax is delivered;
state =2 or 3 if w>wMax