Set staytime in queue

Set staytime in queue

truc_c
Not applicable
19 Views
4 Replies
Message 1 of 5

Set staytime in queue

truc_c
Not applicable

[ FlexSim 22.1.4 ]

Hi all,

I have a question really hope you can help.

I wanna set all the token stay at the queue8 15mins before going to the next process (queue2,3,4). But don't know how to set. Hope you guys can help me.

Thank you so much.

Wait before wash.fsm

1680860776309.png


0 Likes
Accepted solutions (1)
20 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

@Truc C, a queue is not made for this. This is a job of a processor. Then you let your items stay in a queue until a next object is available to receive an item.

If you still want to go the hard way. You hold all items on entry of a queue. Then you send a message with a delay of 15 minutes, which contains a reference to the involved item. You release the item through an output port or you let evaluate Send to Port function by releaseitem with port number 0 by on message event.

0 Likes
Message 3 of 5

sri_vikas_k
Not applicable

Hello @Truc C

In your model you are using pull activity in the input session of Queue8, but your list (ItemList1) is completely empty.

2023-04-07.png


0 Likes
Message 4 of 5

jason_lightfootVL7B4
Autodesk
Autodesk

As Jörg says staytime is an outcome/result not an input. Sometimes you want the equivalent of a rack dwell time on an object that is a bit more 'passive' for which you can do as Jörg suggests for a queue. My approach would be to return -1 from the send to port (to hold the item) and then release it through a specific port after the dwell time.

Message 5 of 5

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Truc C, was Joerg Vogel'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