Matlab Simulink simulations throwing error
1 次查看(过去 30 天)
显示 更早的评论
Jaikrishnan Mahalekshmi Sahasranamam
2019-7-10
评论: Jaikrishnan Mahalekshmi Sahasranamam
2019-7-10
I am trying to run a simulation for the simulink model, but it is getting stopped just after I run it. Below is the error message
Derivative of state '1' in block 'DeltaSigma3order_TFSystem_CompStage2_T1/I2' at time 4.8464412658547207E-5
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)
Anyone know, why this error occurs? What is the solution?
0 个评论
采纳的回答
Walter Roberson
2019-7-10
When the simulation time shown is 0 then the problem is typically initial conditions to avoid an initial 0/0
When the simulation time is very small like eps or 1e-13 but non-zero then variable step size is typically involved and typically either initial conditions are at fault or the blocks are not wired right
If the simulation time is a bit larger and equal to the fixed step size then a fixed size solver is in use and initial conditions are at fault or the blocks are not wired right.
If the simulation time is a very small number of steps, no more than step time multiplied by number of derivatives, then initial conditions or blocks not wired right.
Otherwise, your system is unstable. Possibly different initial conditions would allow it to escape the unstable zone but more often your equations or parameters are wrong.
In your particular situation that simulation time does not appear fixed step or initial steps to me. I think your system is unstable, at least for those initial conditions.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!