Simscape compiling takes forever

조회 수: 2 (최근 30일)
Nikolai Fast
Nikolai Fast 2020년 10월 8일
댓글: J Chen 2020년 10월 8일
I have modeled a production plant in Simscape/SimMechanics. Compiling takes about 30 Minutes. I am using native Autodesk-Inventor-Files (ipt) in all File-Solids. Is there any benefit in using stp instead? Is there anything else, I can do to decrease my compiling time?

답변 (1개)

J Chen
J Chen 2020년 10월 8일
My guess is that you have too many components. Each components has associated Differential Algebraic Equations (DAEs). The Simscape solver needs to sort through and manipulate them. It takes time. Try to reduce unnecessary solids and joints.
  댓글 수: 2
Nikolai Fast
Nikolai Fast 2020년 10월 8일
편집: Nikolai Fast 2020년 10월 8일
There are about 250 Components, most of them are coupled rigidly using rigid transform blocks. But these components are very complex. All in all they consume about 650 MB on my harddrive.
There are about 50 Joints in my Modell.
When my Modell is compiled Matlab consumes about 25 GB of Ram.
Commenting out 2/3 of the blocks decreases compiling time to about 2 Minutes.
I really dont want to reduce my components :(
J Chen
J Chen 2020년 10월 8일
I guess you can group many elements together as a single solid without using rigid joints. It's more work to do, of course, but the model still reflect the real system.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by