simulink ode error message

조회 수: 2 (최근 30일)
mado
mado 2012년 10월 7일
답변: Sulaymon Eshkabilov 2019년 5월 5일
i am applying pwm on dc/dc converter I connected between simulink element and semipower element bu voltage controlled source ,and select ode45 with variable step but it gives bad response so i used ode fixed step but it gave this error message
" Derivative input 2 of 'chee_pv/boost converter1/powergui/EquivalentModel1/State-Space' at time 6.750000000000001 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)."

답변 (2개)

mado
mado 2012년 10월 7일
any help ?? errors came when i connect the controlled voltage source to last stage.

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2019년 5월 5일
Hi,
Maybe you can try to adjust the relative and absolute error tolerances via solver options or simset('reltol', value, 'abstol', value). It is a bit difficult to suggest any idea without seeing your model itself though.

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by