question

Ryusuke T avatar image
0 Likes"
Ryusuke T asked Ryusuke T edited

About model creation performance

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.

FlexSim 23.0.9
performance
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Ryusuke T edited

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.


· 1
5 |100000

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

Ryusuke T avatar image Ryusuke T commented ·

Thank you for the information.

I find this information very helpful.

0 Likes 0 ·