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

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

support5CRPZ
Advocate Advocate
96 Views
2 Replies
Message 1 of 3

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

support5CRPZ
Advocate
Advocate

[ FlexSim 21.2.3 ]

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?

email ID : support@flexsim.co.kr & support@simflex.co.kr
0 Likes
Accepted solutions (1)
97 Views
2 Replies
Replies (2)
Message 2 of 3

ryan_c10
Not applicable
Accepted solution

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!

0 Likes
Message 3 of 3

support5CRPZ
Advocate
Advocate

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.

email ID : support@flexsim.co.kr & support@simflex.co.kr
0 Likes