question

Ale avatar image
0 Likes"
Ale asked Jacob Gillespie commented

Item not being pulled

my model is a bit big and I'm trying to incorporate a smaller sample into it but I cant figure out why the list is not pulling the item.

I believe the issue happens because on the load activity I was previously using token.MyBin as shows below :

now I'm using another list and trying to combine it with token.Pulled[token.index] as shows below:

Below is the part of my model were the item doesn't get pulled

FlexSim 17.2.2
list pull
hw6sj.png (100.3 KiB)
tuqxb.png (8.2 KiB)
avehp.png (14.4 KiB)
apu2-final-6.fsm (1.0 MiB)
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

·
Jacob Gillespie avatar image
2 Likes"
Jacob Gillespie answered Jacob Gillespie commented

@Ale, You are pushing tokens to the list. That means that token.Pulled[] contains tokens and not a Tote object like your MyBin label does.

Maybe you want to use the following?

token.Pulled[token.index].MyBin
· 6
5 |100000

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

Jacob Gillespie avatar image Jacob Gillespie ♦ commented ·

@Ale If nothing is pulled then you have to skip the Load and Unload activities.

See the attached model.

apu2-final-6-edit.fsm

1 Like 1 ·
Ale avatar image Ale Jacob Gillespie ♦ commented ·

@Jacob Gillespie when I implement the changes that you suggested it works but its doing exactly the same thing before I made the changes. What I want to do is that the operator grabs as many boxes available of a certain type from a queue and its not doing that, it just grabs one tote at a time.

0 Likes 0 ·
Jacob Gillespie avatar image Jacob Gillespie ♦ Ale commented ·

@Ale Here is the current state of your connectors coming from Decide.

The problem is that your Decide activity sends tokens to 1 if token.index < token.numofitmes.

To fix this you need to change the connectors to match the output of the decide, or change the decide so that it outputs to the correct connectors.

1 Like 1 ·
fix2.png (8.9 KiB)
Ale avatar image Ale commented ·

@Jacob Gillespie thanks for the reply. I used the query that you suggested but still not working.

0 Likes 0 ·
Jacob Gillespie avatar image Jacob Gillespie ♦ Ale commented ·

@Ale You are also missing a connector from Assign Labels to Load Batch Bin.

2 Likes 2 ·
Ale avatar image Ale Jacob Gillespie ♦ commented ·

@Jacob Gillespie thank you!. Ill fix some other stuff on the model and if it still doesn't work illask later.

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.