I am getting error in results while using my simulink PMSM model

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)

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

Products

Asked:

on 31 Jul 2021

Answered:

on 13 Jun 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!