About model creation performance

About model creation performance

tsuji_ryusuke
Observer Observer
8 Views
2 Replies
Message 1 of 3

About model creation performance

tsuji_ryusuke
Observer
Observer

[ FlexSim 23.0.9 ]

Hi,

I think there are various ways to exchange data in FlexSIm.

Is there any performance difference between the following interaction methods in terms of performance?

1. Get information from global table or list

2. Obtain table information using SQL or functions like getRowByKey

3.Use user commands or write in custom code of processing flow


Please advise if there is an effective method for model creation or coding when only performance is considered.

0 Likes
Accepted solutions (1)
9 Views
2 Replies
Replies (2)
Message 2 of 3

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

The speed of accessing data will depend on how much of it you have and whether that data is a table of treenodes, bundle data or a map, and whether you have defined keys. Maps are probably the fastest and so you can use table data to generate those once for regular lookup - either on demand or when the model starts. Also - you can place map data in object labels which you can think of as another method of partitioning the data - extract the data relevant to that object and place it in its own label ready for speedy lookup.

In the case of lists you may be able to partition them to improve performance.

For speedy and fairly simple model creation you can use the INSERT INTO Objects() table query clause.


0 Likes
Message 3 of 3

tsuji_ryusuke
Observer
Observer

Thank you for the information.

I find this information very helpful.

0 Likes