question

Samuelj47 avatar image
0 Likes"
Samuelj47 asked Felix Möhlmann commented

Create trucks with a specific number of pallets.

Hi, I'm new to flexsim and couldn't find any questions or simulations that would help me with the problem. Any help or advice is very helpful.

I have to create 10 trucks that arrive according to a monthly calendar, the trucks contain a specific number of pallets, which is different between each one of them. They arrive at a specific point where they are unloaded and then loaded by a transporter, and then leave the simulation.

Thanks for the help!

FlexSim 22.1.2
proces flowtrucks as a task executor
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
2 Likes"
Felix Möhlmann answered Felix Möhlmann commented

Similar to how patients are created in FlexSim's HC environment, you can use a Date Time Source in process flow to create a monthly schedule. The created tokens then spawn a truck and created a number of pallets inside of it.

Both the spawn location and the pallet qty can be determined by labels on the token that are set in the schedule.

truck_schedule.fsm


truck-schedule.fsm (286.0 KiB)
· 3
5 |100000

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

Samuelj47 avatar image Samuelj47 commented ·

Thank you very much Felix, it is exactly the information i was looking for!

0 Likes 0 ·
Samuelj47 avatar image Samuelj47 commented ·

Can more transporters be added to the model when unloading and loading the truck? I tried forming groups but only one is assigned in the sub-process.


0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Samuelj47 commented ·

The 'main' token represents one truck. So if that tokens acquires the transporter, each truck will only acquire one. To use multiple transporters, you could move the acquire/release activities into the load/unload subflows.

Note how the settings in the run sub flow activities changed to allow multiple tokens to run through the sub flow at once and have each one acquire its own transporter. ('Run Tokens One at a Time' deactivated and 'Parent Label Access' set to 'read', so they can still read the truck label to get the destination but write their own 'transport' label when acquiring a forklift)

truck-schedule_1.fsm

0 Likes 0 ·