question

Mateo Arellano avatar image
0 Likes"
Mateo Arellano asked Jason Lightfoot edited

Initial Stock

Hi everyone, i've been trying to create an initial stock amongst 4 racks that sets a total of 117 pallets with 20 box each along the 4 racks in a random order. I have been building it using PF, however, I am having trouble with my model as it seems to have trouble in the 'Find Slot'.

If anyone knows how to fix it I would very much appreciate it!


krishnak.fsm

FlexSim 22.2.2
base stock
krishnak.fsm (64.2 KiB)
· 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Jason Lightfoot edited

In the Find Slot activity, you are querying for slots whose "product" label matches the type of the pallet. But none of the slots have any value assigned to the "product" label, so not slot is found.

Also you might want to consider searching for empty slots instead of using the "hasSpace()" method. Since only the size of the pallet is taken into account, more than one might be placed in a slot otherwise.

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Or use a pallet whose size reflects the contents as seen here - or remove the option to stack in the Z direction.

1 Like 1 ·