question

Rambabu avatar image
0 Likes"
Rambabu asked Jason Lightfoot commented

How to assign wait for event activity?

Hi all,

I am working on one model While making the process i was applied wait for event activity for the purpose but its not working. Actually my issue is when i made a process flow i have inserted wait foe event activity as well but its not working when the recipe processing then after the finish the process of one recipe then after another recipe needs to come at that time only i was used wait for event activity but its not working . i need only one recipe completes then only another one came but it doesn't happens once check and please solve and give me the solution.


Thanks in advance

Mixer Time Table.fsm


FlexSim 23.1.3
wait for eventmixer recipe
· 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 ·

Hi @Rambabu, was Jacob W2'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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jacob W2 avatar image
0 Likes"
Jacob W2 answered Jacob W2 commented

Hi @Rambabu,

When looking at your model I was also running into some issues with the wait for event. I then created a work around using an event triggered source and a push and pull from list. The event triggered source creates a token when FluidMixer1 starts releasing which then allows the token waiting for the mixer to fill to exit the zone and let a new token enter the zone. I am including the updated model that I am describing.

mixer-time-table_JW.fsm


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

Rambabu avatar image Rambabu commented ·

Hi @Jacob W2

Thank you for giving the answer its working as well but main problem is when I started the simulation. after the completion of my recipes tokens also create continuously creating a empty tokens please give the sorting the tokens creating problem.

Thank you

mixer-table-token-creation.png

0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ Rambabu commented ·

If the issue is with the tokens that are being pushed to the list, you can add a max wait time to the push to list activity. This means that if there are no tokens in the zone, that the token will then be sent to the sink. You will also need to attach the sink to the activity block.

max-wait.png

attach-sink.png

This will keep the model from creating a pile up of tokens.

0 Likes 0 ·
max-wait.png (40.2 KiB)
attach-sink.png (6.4 KiB)

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.