I am getting error in results while using my simulink PMSM model
Show older comments
I have designed a PMSM simulink model but the results that obtained have some errors.
I have attached the file (.slx) file and a Iabc plot that I am getting.
Kindly looking forward for insights

Answers (1)
Sabin
on 13 Jun 2025
0 votes
The model runs in variable-step, but the maximum step size is not small enough to capture the AC quantities. By setting the Max step size parameter to something like 1e-5 will significantly improve the results.
Categories
Find more on Electrical Block Libraries in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!