question

Victor Alejandro HT avatar image
0 Likes"
Victor Alejandro HT asked Victor Alejandro HT commented

Wait for event special condition

Hi all,

In my model, an operator process a batch of 6 parts. Once the 6 parts have been processed, the operator unloads them one by one into a queue. What I need, is that once he has finished with one batch, he must continue with this pattern (process another batch of 6 parts) until he finishes processing 30 pieces. I made a PF logic and everything seems to work properly, but I cannot find the proper condition for the Wait for event step to avoid that the tokens pull from list before time.

What would be the best condition to accomplish this?

I attached the model, thanks for your help.

operador1-patin1-descarga-heel-radius2.fsm

FlexSim 18.2.0
process flowwait for event
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

·
Raja Sekaran avatar image
3 Likes"
Raja Sekaran answered Victor Alejandro HT commented

@Victor Alejandro HT

You can accomplish this condition by listening to the OnContent change event in the "Carga Carrusel" subflow activity. I have attached the model with changes. Hope this helps to proceed further.

Thanks

support-wait-for-event-1.fsm


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

Victor Alejandro HT avatar image Victor Alejandro HT commented ·

Thank you @Raja Sekaran this was very helpfull, I adjust my logic based on your suggestions and add another decide in order to avoid problems with the operator3 realease. The model is running without warnings but I can not destroy the final token as is shown in the picture:

The tokens keep accumulating in the create token step and in the sub flow "Op HR y carga Carrusel" never reaching the final sink. Thanks for your support. Here the model.

15671-support-wait-for-event-1.fsm

0 Likes 0 ·
Raja Sekaran avatar image Raja Sekaran Victor Alejandro HT commented ·

@Victor Alejandro HT

I have added the wait for event activity after Create Tokens activity that listening to OnEntry event of the "Release Op3" activity. This helps to avoid the token accumulation.

support-wait-for-event-2.fsm

Thanks

1 Like 1 ·
Victor Alejandro HT avatar image Victor Alejandro HT Raja Sekaran commented ·

Thank you very much @Raja Sekaran now is working the way I need.

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.