How do i solve the following simulation error??
11 次查看(过去 30 天)
显示 更早的评论
When i run a physical model of half wave rectifier in simulink it shows the error for the solver block...
'Calculation for differential and algebraic state derivatives failed.'
How do i solve this??
采纳的回答
Zack Peters
2013-10-24
Hi Paranshu,
It is hard to say based on the information that is provided but it may be due to several reasons. Internally, the Simscape blocks have differential equations that represent each of them. If the equations were not strongly written in the case of a custom block then this error can appear sometimes. Additionally, the solver may be limited to being unable to solve these type of equations. Try reducing changing the solver to either ODE15s or ODE23t and reducing the Absolute/Relative tolerances in the configuration parameters to 1e-6.
Does this model use any custom Simscape components and does it error out immediately or somewhere midway through the simulation?
~Zack
4 个评论
MANNIKA GARG
2017-2-2
Hi Paranshu, How did you solve this. I am observing the same problem with my simulations. No custom block have been used.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Variable Initialization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!