I try to drive 6 phase PMSM as generator. I am using field oriented control. I can do that succesfully with 6 phase pmsm with no phase shift. However when ı switch to 6 ph pmsm with phase shift block, system goes out of control. By the way to solve problem, I try different position phase shift for dq domain transformation.
Is there program bug or how can ı run simulation properly?