- Reduce the maximum time step to see if a smaller time step helps the simulation converge.
- Consider adjusting component parameters such as ‘Open resistance’ or ‘Closed Conductance’ that make the model more realistic and less ideal.
- Switch your solver and increase your tolerances, for example if you are using 'Variable Step Auto', try 'ode23t' and if your consistency tolerances are 1e-5 try increasing to 1e-3 in solver configuration.
- Use the Solver Profiler to determine what the solver is doing just before you receive the error. In the step size tab, you should see a graph showing the step spike down as it approaches the time of the error occurring.
- You can refer this MATLAB answer post for more information.
Motor model failed to convege error
조회 수: 34 (최근 30일)
이전 댓글 표시
So, I have this Simulink EV model using the simscape library and am using the Motor & Drive (Syatem Level), but when i try to input power and torque over a certain treshold the model won't simulate and points to this failed to converge error.
An error occurred during simulation and the simulation was terminated
Caused by:
['EVmodel32024a/Solver Configuration']: Transient initialization at time 1.022823557191944, solving for consistent states and modes, failed to converge.
Nonlinear solver: failed to converge, residual norm too large.
Here is the set of components with unconverged equations:
'EVmodel32024a/Motor & Drive (System Level)'
Equation location is:
'ee.electromech.motor_and_drive_base'(no line number info)
Equation location is:
'ee.electromech.motor_and_drive_base'(no line number info)
Equation location is:
'ee.electromech.motor_and_drive_base'(no line number info)
Component:Simulink | Category:Block error
that's the error log.
At 150 kW and 360 n*M it works fine, but when I tries to input 300kW and 720 n*M it brokes.
Also couldn't make the intermittent over-torque option word.
댓글 수: 0
답변 (1개)
Divyanshu
2024년 12월 18일 6:43
I tried to simulate the model by changing the input to 300kW and 720 n*M but for me it is simulating successfully without any issues.
However, to troubleshoot the issue at your end you can try the following steps:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!