question

Maciej C4 avatar image
0 Likes"
Maciej C4 asked Maciej C4 commented

People module // How take the item by people?

Hello,

I would like to from my source from time to time appear one people and then he should go to one of the two queue (it should be completely random where exactly), take the item and go to the sink directly and disappear.

I used already blocks: Source -> Create Person -> Walk so my people are appearing and going to queue but I'm not sure what the next step to people take the item and go to the sink.


Thanks for every help!

Maciej

FlexSim 20.2.3
people moduletake item
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Maciej C4,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question. To share a model you will need to follow the instructions above.

Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Maciej C4 avatar image Maciej C4 commented ·

Hello,

Thanks for reply.

I would like to my people take the items from rack's and transfer it to sink and disappear :)

Please find the link with my model.

https://drive.google.com/file/d/1ankkAwi02vVMqa3KR2TsvEm6Eth_5U6z/view?usp=sharing


Thank you!

Maciej

0 Likes 0 ·
Jeanette F avatar image
0 Likes"
Jeanette F answered Jeanette F edited

Hello @Maciej C4,

After the walk I use the Find item activity to search for an item the is in the destination rack. That item is then moved to the person and the person walks to the sink.

1662866282765.png

Model Link


1662866282765.png (26.3 KiB)
· 3
5 |100000

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

Maciej C4 avatar image Maciej C4 commented ·

Hello,

Thanks, you really help me.

Unfortunately I realized that it doesn't work as I would like to

Let's assumed that we have 3 types of items (with different inter-arrival time) and every type should go to appropriate rack.

How can I implemented rules to people would choose random not empty rack?

I mean that for example when for a certain period of time third rack is empty people should choose between first and second rack.

Model: https://drive.google.com/file/d/1E_FRb7FZ7RVOpJ8T5KT0Tht8r15au2-w/view?usp=sharing

Thanks, really appreciate your help.

Maciej


0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Maciej C4 commented ·

You can use the "Use Max Wait Timer" option in the Find Item activity. It let's you specify that the token should be send to a different activity if no fitting item could be found within the given time.

1662964298379.png

The token can then be send to a second Find Item activity in which it looks for a random item.

1662964343631.png

PeopleModule_1.fsm.jpg

(Rightclick on the file attachment -> Save Link/Target As (might be called differently depending on the browser) -> Set "Save as type" to All Types -> Save with a name ends with .fsm)

0 Likes 0 ·
1662964298379.png (25.6 KiB)
1662964343631.png (34.6 KiB)
Jeanette F avatar image Jeanette F ♦♦ Maciej C4 commented ·

Hello @Maciej C4,

You could also change your process flow so that it looks for the item at random and then based on the item it pulls it assign the rack like the following

1662999205279.png

1662999224568.png

Model Link

0 Likes 0 ·
1662999205279.png (9.5 KiB)
Maciej C4 avatar image
0 Likes"
Maciej C4 answered Maciej C4 commented

Hello Jeanette and Felix.

Firstly, thank you for your help.

Jeanette probably that's excatly what I wanted to receive.

But last question - what excatly mean 'token.item.up' in Assign labels? What is this formula responsible for in a model?

· 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.

Jacob W2 avatar image Jacob W2 ♦ commented ·

@Maciej C4,

token.item.up is a bit of FlexScript that looks at the current item and then goes to the tree and finds the node that currently houses the item. For example if the item was in a queue called OutgoingParts, token.item.up would add a pointer to OutgoingParts.

0 Likes 0 ·
Maciej C4 avatar image Maciej C4 Jacob W2 ♦ commented ·
Thanks everyone for help!
0 Likes 0 ·