simscape multibody error The zero total mass is incompatible with the nonzero center of mass

7 vues (au cours des 30 derniers jours)
I have downloaded the stp file of the motor directly from the fabricant webpage https://www.actuonix.com/L16-Linear-Actuators-p/l16-p.htm I made the assembly in solidworks, and then export it to simscape multibody. And when I run it on Matlab Simulink, I get the following message with all the solids of the model:
The zero total mass is incompatible with the nonzero center of mass [2.11917e+91 0 0]. Resolve this issue in order to simulate the model.
I really don't know how to fix this, or why it is occurring.

Réponse acceptée

Steve Miller
Steve Miller le 22 Août 2017
If you could upload the model, I could probably tell you more. I suspect the density of the Solid is zero, and typically that happens when the material property of the parts has not been specified in the CAD system. You can set the Density parameter in the Simscape Multibody Solid block to see if that would solve the problem. If this solves problem, make sure you assign the material in SolidWorks. However, the location of CG seems like a much bigger problem, and that certainly looks like a problem created within SolidWorks.
I have tried bringing the parts into Simscape Multibody in three ways:
  1. Referencing the STEP files directly
  2. Via SolidWorks
  3. Via Onshape (had to select material manually here)
In all three cases, the parts were positioned and oriented properly, and had mass and inertia defined. Screenshot from SolidWorks and Onshape is below.
I hope this helps.
--Steve
  2 commentaires
Cristina Aparicio
Cristina Aparicio le 25 Août 2017
Thank you very much. I tried your suggestion and all the pieces now have the material defined in Solidworks, but still the same problem when exporting to Multibody. I attach the Solidworks file, and the xml generated.
chiou jay
chiou jay le 20 Mai 2020
I have encountered the same problem, do you figure it out?

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by