question

Jake D avatar image
0 Likes"
Jake D asked Ben Wilson commented

Random Available Working Like Random

The Random Available Output Port is not moving to the next available rack and instead is acting identical to Random. See attached model. The queue retains boxes instead of passing on to the open rack slots after the short rack fills entirely. The same thing happens for Round Robin if Available. If I switch to First Available all the boxes find slots but the last rack does not get any. Is this a bug or am I doing something wrong?

Random Available Test.fsm

FlexSim 20.2.3
flexsim 20.2.3output ports
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Jake D, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept or comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

You're creating 4000 items, not the 8832 needed to fill all four racks. Under first available 4000 is not enough for rack 4 to receive any.

Under "random available port" some of the 8832 (1416) will choose port 1 after it has already filled but as you point out the rack is still classed as available even when full - so port availability can't be used in this case to do what is sensible.

Attached is a demo of the Storage.system assignment without using the racks as fixed resources that will send them to a random slot and considers the available space.

random-available-test_jl3.fsm



· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

The rack should behave like fixed resources. @Jake D, you have to set the maximum content to match with storage space of your racks. Then Send To Port can evaluate the maximum content of the racks. The parameter is on the flow tab of the racks.

And if you set the parameter accordingly to storage space, you will see a difference between, first available, random if available and round robin if available.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Joerg Vogel commented ·

This assumes that the items are all the same size and you can define the capacity of the racks as fixed numbers.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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