PMSM simulation

1.When open-loop , changing the motor parameters will make the torque or speed uncontrollable. How to design it?
2.How to control the closed-loop state and using Resolver in closed-loop.
Best & Regards.
INV_REF.PSIMSCH (56.3 KB)