Hi UASLAB,
It is my understanding that you want to remove the warning your model is generating when run.
When the solver is unable to solve the equation within the specified step-size, it may issue a warning or error. To address this issue, one suggested solution is to increase the minimal number of consecutive steps taken by the model.
To implement this solution, please follow these steps:
- Open the Configuration Parameters dialog (Ctrl + E).
- Navigate to the Solver tab and locate the Solver Details section.
- Increase the value of 'Number of consecutive min steps'.
Additionally, you can try relaxing all the tolerances in your model by adjusting the Model Configuration Parameters.
For further information and detailed guidance, I recommend referring to the following documentation:
- Min step size – https://www.mathworks.com/help/simulink/gui/minstepsize.html
- Number of consecutive min steps - https://www.mathworks.com/help/simulink/gui/numberofconsecutiveminsteps.html
- Tolerances and Stopping Criteria - https://www.mathworks.com/help/optim/ug/tolerances-and-stopping-criteria.html
I hope this answer helps.