In the following simulink model solver configuration block is giving an error https://in.mathworks.com/matlabcentral/fileexchange/48747-smart-grid
1 次查看(过去 30 天)
显示 更早的评论
The smart grid simulink model gives error in the solver configuration block
The error displayed is as follows
Initial conditions solve failed to converge.
...Nonlinear solver: failed to converge, residual norm too large.
......Here is the set of components with unconverged equations:
Equation location is:
Equation location is:
Equation location is:
Equation location is:
Equation location is:
0 个评论
回答(1 个)
Joel Van Sickel
2020-8-18
Hello Jagrati,
unfortunately, it seems this particular model is not being updated by it's owner, and there is not much we can do about that. The main issues with this model are numerous. one, it does not have all of it's components defined, and it needs to be brought through an upgrade advisor. Additionally, the simscape based solar cells should be replaced with the specialized power systems solar panel block. Mixing and matching thes technologies is possible, but requires more in depth knowledge of solver settings than if you stick to a single technology. Since the majority of this model is specialized power systems, it is easiest to replace the solar array. The solvers hould be set to ode23tb as well, since ode45 will provide the wrong results.
Regards,
Joel
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!