question

Douwe Jd avatar image
0 Likes"
Douwe Jd asked Douwe Jd commented

how to load a truck at network node

Hi everyone,

I am trying to build a simulation of a warehouse where trucks arrive to pick up certain consignments. When trucks arrive, they park at a parking area and the driver has to go to the office to report himself and acquire a truck loader and a dock door. Later I want to play around with the order in which certain truck drivers can acquire these resources (so some trucks may have priority), so for now i have added a list from which the 'truck loads' or consignments have to be pulled before they can acquire a dockdoor or loader.

However, for now my issue is with loading the trucks at the dockdoor. I have tried for hours in multiple ways, using transporters, the combiner and operators, but could not figure it out. Can someone take a look and help me with this issue?



loadingtruck.fsm

FlexSim 22.1.2
loading onto the truck
loadingtruck.fsm (76.3 KiB)
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
0 Likes"
Steven Hamoen answered Douwe Jd commented

@Douwe Jd Attached you find the changed model. What I did was the following:

I created a group with the queues where your loads are stored called StagingLanes

Once you have selected a dockdoor you also have to get a particular truckloader and a staginglane. With the command "indexOf" you can get the number of an object in a group and if the groups are ordered correctly it will also get you the correct object in another group.

Where you create the products I added extra activities so that I know in which staginglane the products end up and only then I push the tokens on a list with the extra information of the load and the staginglane.

When the truck arrives at the dockdoor I pull all the tokens that belong to the correct staging lane and then use a subflow to load the items individually.

Then I also had to set some pointers correct in the last part and now it seems to work.

Let me know if it is unclear or if you have other questions.

TruckLoading_tal.fsm


· 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.

Douwe Jd avatar image Douwe Jd commented ·
Hi Steven, thanks again for your help! It is clear what you did and I can make some progress now. I will play around with it again for some time, yet I may need your help at a different stage again. Much appreciated!
0 Likes 0 ·