question

Nikhil Rane avatar image
0 Likes"
Nikhil Rane asked Jason Lightfoot commented

How to wait the task executer until queue is empty

I am building model for just time concept for assembly line, in which i am have to deliver loaded pallet at assembly station and pick up the empty pallet from station and unload that pallet to super market.

I want to wait task executer to wait until queue qty (at assembly line station) is zero.

I am using wait for event in process flow, but for some reason it is not working. will anyone help

I uploaded model (JIT Simulation 3 part)

FlexSim 22.2.0
task executer process flow
· 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.

Andrew O avatar image Andrew O commented ·

Hi @Nikhil Rane, was Kavika F'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

·
Kavika F avatar image
0 Likes"
Kavika F answered Jason Lightfoot commented

Hey @Nikhil Rane, your Task Executer (TE) wasn't moving because you had a "Wait for Event" activity right after the "Create TS" activity. That caused the TE to be frozen until that event happened (which it never fired). You could either change the trigger or remove that wait.

1660147567587.png


1660147579776.png (17.4 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.

Nikhil Rane avatar image Nikhil Rane commented ·
@Kavika F I f i remove wiat for event then task executer will continue to move.

i want him to wait until queue quantity of frame at linesite will come to 1

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Nikhil Rane commented ·
Why don't you use a Kanban system? When the queue gets to 1 then push the queue or part to a global list of needed replenishments. Then have your replenisher pull replenish jobs from the list. As it is the timing of events is preventing them being detected - using lists will bypass this issue.
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.