question

gilbert jerald avatar image
0 Likes"
gilbert jerald asked Steven Hamoen answered

My model runs slow ?

Hi

I am simulating a factory mode in a process flow, where I use user command to write common logic. The model seems to run slower when I using user command to control the different resource in a process flow by writing a common logic, but when I attempt to put the code in individual resource the model seems to run faster. is there any reason behind it.

The thing which I am expecting is how to run the model fast by using user command instead of writing it in individual resource.

Thank you

FlexSim 18.0.1
model slow down issue
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Steven Hamoen avatar image
1 Like"
Steven Hamoen answered

@gilbert jerald are you aware of the Flexscript code profile option in the debug menu? That way you can check if the code you are executing is indeed slower or faster

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.