Integrator error in simulink

Hi When I run my simulink model I receive this error message:
"Derivative input 1 of 'xxx/Integrator' at time xxxx 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)"
I tried to use all the different solvers, but none of them seems to work. I also tried to use the rate-limiter block in front of the integration block. Doing so makes it possible to run the simulation, but the output is oscillating quite a lot though.
Anybody knows how to fix this??

回答 (1 件)

nl2605
nl2605 2014 年 4 月 17 日

0 投票

This link might be helpful. Also, hope you are giving the initial conditions carefully.

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2014 年 4 月 12 日

回答済み:

2014 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by