Please help me solve this error of derivative block not being finite at time = 0
Show older comments
Hi all, I am currently running a ball mill circuit using MATLAB however, I am given the following error when simulation is run:
An error occurred while running the simulation and the simulation was terminated
Caused by:
Derivative of state '1' in block 'Assign_CombinedMillandmix/Mix & Mill/Ball Mill/Oversize/Integrator3' at time 0.0 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).
To try and solve personally, I changed the solver method to variable, testing ODE23tb, ODE23t & ODE15s;
however, this did not solve the problem. Additionally attempted to change relative and absolute errors between the range 1e-4 to 1e-6. I am running circuit for 5000s with a min step size of 0.4 and max step size of 0.7.
My initial integral conditions are 0, however, this was required.
Help would be much appreciated. Will send model should you require additional info. Please attach possible email address and how you would go about changing to make work.
Ciao.
2 Comments
The_Savage92
on 10 Apr 2017
simachew yaecob
on 29 May 2019
hey all,i was doing projects on wind energy conversion and simulation was done in matlab simulink but this error message occurred "Derivative of state '1' in block 'arsema2fuzzywizrealwindspeed/mechanical system 1/Integrator1' at time 0.0 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)"
how can i fix?
Accepted Answer
More Answers (0)
Categories
Find more on General Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!