question

Truc C avatar image
0 Likes"
Truc C asked Jeanette F commented

Set staytime in queue

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


FlexSim 22.1.4
queuestaytimewait time
1680860776309.png (172.2 KiB)
· 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.

Sri_vikas K avatar image Sri_vikas K commented ·

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 0 ·
2023-04-07.png (312.7 KiB)
Jeanette F avatar image Jeanette F ♦♦ commented ·

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

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot commented

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

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

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.

1 Like 1 ·

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.