Clear Filters
Clear Filters

I would like to know how to provide feedback on the scope's data during the simulation time.

5 views (last 30 days)
I am encountering an error while providing feedback on the scope's data. Even when I placed it within the workspace block for feedback, the same error persists. How can I provide feedback for a large amount of data from the scope?
error:
  • Solver was unable to reduce the step size without violating minimum step size of 1.07009E-25 for 1 consecutive times at time 3.01203E-11. Solver will continue simulation with the step size restricted to 1.07009E-25 and using an effective relative error tolerance of 0.00319113, which is greater than the specified relative error tolerance of 0.001. This usually may be caused by the high stiffness of the system. Please check the system or increase the solver Number of consecutive min steps violation parameter.
error:
  • ['STP_TEST/Cylinder 5/Revolute_J10_2', 'STP_TEST/Solver Configuration']: 'STP_TEST/Cylinder 5/Revolute_J10_2' kinematic constraints cannot be maintained. Check solver type and consistency tolerance in the Simscape Solver Configuration block. Check Simulink solver type and tolerances in Model Configuration Parameters. A kinematic singularity might be the source of this problem.

Answers (1)

Sam Chak
Sam Chak on 18 Jan 2024
The errors likely don't stem from the Scope but are more likely a result of the system being excessively stiff, or the states switching rapidly at an unrealistically high frequency, possibly due to some discontinuous function. For instance, the Sign block can occasionally lead to such issues. I suggest showing the entire model or providing the Simulink file.

Categories

Find more on Simulation and Analysis in Help Center and File Exchange

Tags

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!