To confirm, is the error you are getting?
Error using power_AsynchronousMachineParams_pr
Function 'power_AsynchronousMachineParams_pr' couldn't find a solution.
This is because the inputs you gave to the power_AsynchronousMachineParams function make the optimization problem it has to solve infeasible. Go back through your parameters and make sure that they make sense for the problem you are solving. For instance, you mentioned torque, did you mean to change the spec.Tn parameter?
