필터 지우기
필터 지우기

How do i solve the following simulation error??

조회 수: 14 (최근 30일)
Paranshu
Paranshu 2013년 10월 24일
댓글: MANNIKA GARG 2017년 2월 2일
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
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
Paranshu
Paranshu 2013년 11월 4일
Thanks for ur help zack..i was able to solve it.
MANNIKA GARG
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 CenterFile Exchange에서 Variable Initialization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by