I am getting error in results while using my simulink PMSM model
4 views (last 30 days)
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

0 Comments
Answers (1)
Sabin
on 13 Jun 2025
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.
0 Comments
See Also
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!