question

Gary Q avatar image
0 Likes"
Gary Q asked tannerp commented

Customized Rack Use

1.How can I make the level 1 of the rack always full, in a 5-level rack ??

FlexSim 18.2.2
rack
· 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.

Gary Q avatar image Gary Q commented ·

@Tanner Poulton if thanks, I have another question, can the operation be reversed?, that level 1 is always empty

0 Likes 0 ·
tannerp avatar image tannerp Gary Q commented ·

You would use the same code as Joshua gave you in his model, but you would break up the for() loop or add a condition that causes whatever is pushing items into the rack to skip level 1. Does that make sense? Here is a picture of a code block that will include 10/10 levels:

And here is a picture of a code block that will include 9/10 levels (excluding level 1):

Unfortunately, you might need to alter this past what I've done, but it's the gist of the idea.

0 Likes 0 ·

1 Answer

Joshua S avatar image
2 Likes"
Joshua S answered tannerp commented

This Rack example fills the rack from bottom to top and will always reevaluate where to put the next item coming in.bottom-filling-rack.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.

Gary Q avatar image Gary Q commented ·

@Joshua S thanks for the info, if thanks, I have another question, can the operation be reversed?, it starts to fill up from above

0 Likes 0 ·
tannerp avatar image tannerp Gary Q commented ·

The racks start with "level 1" at the bottom, which might be opposite of your modeling system. Since this is the case, you will simply have to reverse the logic in the loop.

Here is the change you need to make in the code for filling in a reverse pattern:

1 Like 1 ·