Nirtec Studio Forum

General Category => Machines Simulator => Troubleshooting => Topic started by: Arie_Breston on November 27, 2024, 03:30:11 PM

Title: Workparts
Post by: Arie_Breston on November 27, 2024, 03:30:11 PM
Good day,

I have a problem where the simulator becomes slow or crashes when too many workparts are generated.

I have a machine that drops loose product, and I want to simulate that.
I have already lowered the graphic settings, but it doesn't make a difference.
My graphics card is only being used by 3%, and the more workparts there are, the lower the FPS gets (from 100 FPS down to 2 FPS).

(I use the apple als workpart)
Title: Re: Workparts
Post by: EasyPLC_Master on November 28, 2024, 02:48:53 PM
Please inform about your computer specs:

-> CPU model
-> Installed RAM
-> Windows OS version
-> Available space in the storage unir where is located Machines Simulator
-> Graphics card
-> Laptop or Desktop computer?

How many Workparts are in the scene when starts to slow?
You can change the apple assigned model to a lighter one.
 
Title: Re: Workparts
Post by: Arie_Breston on November 29, 2024, 08:54:18 AM
Please inform about your computer specs:

-> CPU model  -> 9-14900HX   2.20 GHz
-> Installed RAM  -> 32,0 GB
-> Windows OS version -> Win 11 pro (23H2)
-> Available space in the storage unir where is located Machines Simulator -> 800gb Free Space
-> Graphics card -> NVIDIA GeForce RTX 4060 laptop
-> Laptop or Desktop computer?  ->   Laptop
 
I think 200-300 workparts

(C:%5CUsers%5CArieH%5CPictures%5CScreenshots%5CSimulator%5CSchermafbeelding%202024-11-27%20153609.png)
(C:%5CUsers%5CArieH%5CPictures%5CScreenshots%5CSimulator%5CSchermafbeelding%202024-11-27%20153957.png)
(C:%5CUsers%5CArieH%5CPictures%5CScreenshots%5CSimulator%5CSchermafbeelding%202024-11-27%20154332.png)
(C:%5CUsers%5CArieH%5CPictures%5CScreenshots%5CSimulator%5CSchermafbeelding%202024-11-27%20154518.png)
Title: Re: Workparts
Post by: Arie_Breston on November 29, 2024, 08:59:38 AM
Here have i a example
Schermafbeelding 2024-11-27 153609.jpgSchermafbeelding 2024-11-27 153957.jpgSchermafbeelding 2024-11-27 154332.jpgSchermafbeelding 2024-11-27 154518.jpg   
Title: Re: Workparts
Post by: EasyPLC_Master on November 29, 2024, 10:16:34 AM
OK now I understand your problem.

The problem is in how you are running the simulation. It makes no sense to have so many WorkParts piled up doing nothing.
Each WorkPart has real-time physics: weight, friction, drag, dynamics, etc...
Having so many WPs slows down the system, no matter what PC configuration you have.
It makes no sense to store so many WPs, what you can do is a simulation of the pile with a model that scales up/to the sides.