Non Finite Derivative for Integrator Block
2 views (last 30 days)
Show older comments
My model is receiving the following error:
I have deduced that the source of the error is coming from the following subsystem, but I cannot figure out what is causing the issue.
SMO SubSystem:
3 Comments
Fangjun Jiang
on 1 Sep 2020
"Subsystem" block is not shown. Attach the whole model and data if possible.
Answers (1)
Fangjun Jiang
on 1 Sep 2020
Most often this is caused by the ideal Derivative block. You have three in the model, two of them are in series.
- Comment out all three Derivative blocks, simulation runs. But of course, your model is not in its original intent anymore.
- Use three approximated derivattives (for example, transfer function s/(0.01*s+1) to replace the three ideal Derivative blocks, simulation runs. This is what you should do.
2 Comments
Fangjun Jiang
on 4 Sep 2020
In R2019b, the model runs without error after replacing the three Derivative blocks with s/(0.01s+1).
It won't be the same as the ideal Derivative block but having two ideal Derivative blocks connected in series is problematic.
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!