I am learnig "Motor modeling with Simscape Electrical" from MATLAB/Simulink platform but when I got to Task 4 I could not continue because an error.

6 views (last 30 days)
Below are the error and screenshot of the model:
['MotorModelingwithSimscapeElectrical/Solver Configuration']: When trying to advance one time step, nonlinear solver failed to converge, residual norm too large.
Caused by:
Here is the set of components with unconverged equations:
'MotorModelingwithSimscapeElectrical/FEM-Parameterized PMSM'
Equation location is:
'ee.electromech.pmsm.fem_motor.fem_motor_base'(no line number info)
I believe I followed all the steps accordingly, kindly look into and let me know where I am wrong.
Thank you.

Answers (1)

Epsilon
Epsilon on 24 Jun 2025
Hi,
The error indicates that the solver failed to converge due to the increased fidelity of the converter. To improve numerical stability, Task 3 recommends placing a high-value resistor between the converter and ground.
However, as shown in the screenshot, the resistor was added in parallel to an existing connection, rendering it ineffective. Task 3 does not flag this issue, as it does not detect the short circuit. To fix the error, remove the shorted signal as demonstrated in the image below.
After removing the short, task 4 error will be resolved.
Hope it helps!
  1 Comment
Somefun
Somefun on 24 Jun 2025
Yes, it does. Thank you so much. However, after taking to the correction, I got a result very close to the signal requirement as shown below.
Thank you so much once again. I look forward to receiving you feedback.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!