Why is my Simscape Multibody model using the Reduced Order Flexible Solid block hangs or errors out?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 5 Août 2022
Réponse apportée : MathWorks Support Team
le 5 Août 2022
I am simulating a Simscape Multibody model where the Reduced Order Flexible Solid block is used in a closed kinematic loop along with the Spatial Contact force block.
When simulating the model using a variable-step solver, the simulation has a tendency to hang (take very small steps) when oscillations are damping out toward zero.
When simulating the model using a fixed-step solver like ode14x or ode1be, the simulation results are showing unexpected "jumps" or disturbances when the system should be close to a steady state. In some cases, the simulation can also error out with:
An error occurred while running the simulation and the simulation was terminated
Caused by: ['blockpath']: 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.
Réponse acceptée
MathWorks Support Team
le 5 Août 2022
This issue might be due to the perturbation level used by Simulink stiff solvers. When the states of the Reduced Order Flexible Solid block have a small amplitude, numerical noise can be introduced in the Jacobian computation, leading to such issues.
As a workaround, try executing attached file plimitDerivativePerturbations.p to limit the perturbation level used by stiff solvers. This file needs to be executed once per MATLAB session
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Simulation and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!