question

David Seo avatar image
0 Likes"
David Seo asked David Seo commented

how to use 'hasSpace(item)' command in the rack

RackStorage-AssingSlots.fsm

I want to place the items into the rack considering the slot size and each slot can have four items phisically in the rack size dimension.2021-10-01-175407.jpg

2021-10-01-175303.jpg

I want to do it as two ways not using process flow. I want to do it with connection or 'List'.

How can I do that?

FlexSim 21.2.3
item placement
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

Ryan Clark avatar image
0 Likes"
Ryan Clark answered David Seo commented

Hi @David Seo,

I was able to modify your model to exhibit the behavior you wanted. As you suspected, using slot.hasSpace(item) is critical for doing this. I modified the slot assignment code on both racks to only assign a slot if it still had space. For some reason, the Pull Requirement seemed to have some sort of bug for the List rack, so I modified the SendToPort logic on the List Queue to only push an item to the list if there is space for it in the correct slot on the rack.

rackstorage-assingslots-rc-v2.fsm

I hope this helps! Let us know if you have further questions!


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

David Seo avatar image David Seo commented ·

Thank you @Ryan Clark . I have understood your way.

Your guide is a good way in the case of ONE rack to pull item.

But in the case of resource group to pull the required items, the filtering condition in the 'send to port' is possible?

2021-10-04-152651.jpg I will post it to another queation, after accepting this answer.

0 Likes 0 ·