Fixed Step error.

6 ビュー (過去 30 日間)
Mina Andraws
Mina Andraws 2019 年 2 月 9 日
The Simulink model is running with varaible step and adabtive zero crossing.
I need to run the model in fixed step for various reasons.
But it always give me that error
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Derivative of state '1' in block 'mpc4v4_trial/Reactor /Core Kientics/Integrator' at time 1.75 is not finite. The simulation will be stopped. 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)
1. Use the unit delay block / memory block.
OR
2. integrating with zero initial condition in integrator block try 0.0000001 instead.
OR
3. Try reducing fixed step size or make it auto
but also no use.
Can any body help me through this.
  1 件のコメント
Yasasvi Harish Kumar
Yasasvi Harish Kumar 2019 年 2 月 14 日
Hey,
I believe that the model might have a division by a small number at that time period. What you can try doing is reduce the error tolerance and see if it helps.
Regards

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by