question

Michael D6 avatar image
0 Likes"
Michael D6 asked Matthew Gillespie answered

Setting Position from Gloobal Table

Global Table Location Assignment.fsmAttached is a simple example with a process logic that sends an AGV from one location to another randomly.

This would get very messy if scaled. Ideally I would like to have a single travel block where the X and Y position are pulled from a global table in a random or other fashion instead of needing a decide and 4 discrete travel blocks.

Any advice on how to optimize this process flow to pull positions from a global table?

FlexSim 21.2.3
global table
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

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

Instead of picking a random connector, you can generate a random row number and then look up the location on that row.

global-table-location-assignment_1.fsm


5 |100000

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