I'm having trouble modeling with Simscape Multibody
Show older comments

(With Open in New Tab, you can see a bigger picture)
I would like to make the system shown in Figure 1 and Figure 2 using Multibody.
Figure 3 is the complete block diagram and Figure 4 and Figure 5 show the interior of the red square and blue square, respectively, in Figure 3.
However, when I run this, the following error occurs.
-----------------------------------------------------------------------------------------------------------------------
An error occurred while running the simulation and the simulation was terminated
Caused by:
Simulink cannot solve the algebraic loop containing 'temp_2/Viscous' at time 0.00025 using the TrustRegion-based algorithm due to one of the following reasons: the model is ill-defined i.e., the system equations do not have a solution; or the nonlinear equation solver failed to converge due to numerical issues.
To rule out solver convergence as the cause of this error, either
a) switch to LineSearch-based algorithm using
set_param('temp_2','AlgebraicLoopSolver','LineSearch')
b) reducing the ode15s solver RelTol parameter so that the solver takes smaller time steps.
If the error persists in spite of the above changes, then the model is likely ill-defined and requires modification.
-----------------------------------------------------------------------------------------------------------------------
I have tried changing the step time of the solver, but I keep getting errors.
Could you help me find out what's wrong?
Accepted Answer
More Answers (0)
Categories
Find more on Assembly 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!