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

3 次查看(过去 30 天)
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.

采纳的回答

Steve Miller
Steve Miller 2017-8-22
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 个评论
Cristina Aparicio
Cristina Aparicio 2017-8-25
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Bodies 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by