question

Jose_antonio Ie avatar image
0 Likes"
Jose_antonio Ie asked Jose_antonio Ie commented

Rack storage

It is possible to use more than one storage assignment strategy for a rack?

I mean I have an initial stock at time 0 and the strategy for that is Random Bay, Level and Slot with Space then I want to fill the rack from a Queue but now I want the item placed at the First Slot with Space.

Thanks in advance for your suppport.

FlexSim 22.1.1
warehouse
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Jose_antonio Ie, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of 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 and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Jose_antonio Ie commented

You can directly edit the code of the assignment strategy to do almost anything, including choosing between two strategies depending on, in your case, the model time.

Click on the scroll icon to open the code editor.

1652872398077.png

Copy the relevant parts of the code to the clipboard (everything but the first three lines, where the parameters are defined)

1652872483569.png

Close the window again and choose the second assignment strategy. Then open the window again. The code will have changed to reflect the change.

Paste the other code in behind. Then enclose the two blocks with an if-condition based on the model time.

1652872789484.png

Lastly you can (but don't have to) remove the light grey text which is used to generate the pick option GUI for the assignment strategies. To do this click on the icon in the lower left corner.

1652872897101.png

This will remove all markup and add the description 'custom code' to the first line. You can edit this to something more descriptive which will then be displayed in the slot assignment field.

1652873015322.png


1652872398077.png (6.3 KiB)
1652872483569.png (42.1 KiB)
1652872789484.png (85.7 KiB)
1652872897101.png (2.9 KiB)
1652873015322.png (3.5 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.

Jose_antonio Ie avatar image Jose_antonio Ie commented ·

Thanks so much for your answer. It works fine.

0 Likes 0 ·