question

mark zhen avatar image
0 Likes"
mark zhen asked Ryan Clark commented

Out of library problem

1020.fsmI want to expand my model. He must be able to move the goods on the left to the first position on the right according to time and coordinates, and then three transport vehicles will transport the goods to q4

FlexSim 21.0.0
agvagvnetwork
1020.fsm (230.1 KiB)
· 5
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

Like I wrote in my original comment, a lot of the process logic can be reused for this. In the attached model I create tokens with the same Dst-values as the pallets in two process flow sources. Then I use the a copy of the "Decide Storage" activity to find the correct slot based on the those coordinates. The only difference to the original activity is that this one doesn't assign the slot to an item but instead writes it to a label on the token.

In the "Assign Item" activity I then check for items in that slot, which are not already marked as outbound (this means the "currentSlot" is different to the "assignedSlot"). If an item is found, the same block of travel and move activities as in the original flow is used to load the item and return to the center lane. Only the second move object activity is different - moving the item into the SonCar instead of the storage.

Then I reset the Dst-values to the original values (they get changed to actual 3d coordinates in the "Decide Storage"). Only DstX gets changed to 14, so the item will be moved to the right most slot. The same activities as in the original flow are used to transport the item there (only "PulledItem" is exchanged for "item" since that's the label name the item is assigned to here - in both the "Move Object" acitivity and the code of "Decide Storage").

In the "On Slot Entry" trigger of the storage on the right, I push the entering item to a list, when the entered slot is the right most one. In the "Retrieve Step 2" flow, tokens (each representing a task executer) pull these from the list again and then move them to queue4.

1020_fm.fsm


1020-fm.fsm (254.8 KiB)
· 6
5 |100000

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