question

amandaprado avatar image
0 Likes"
amandaprado asked Joerg Vogel answered

Wait for Event

Hello Everyone,

I would like to create logic that works as follows:

The AGV takes a certain material to 4 production lines. On each trip he takes 18 items. Each line processes this material at different times. I would like as soon as the items are running out AGV will take more material for this line.

What I had thought of, but it didn't work, was a WAIT FOR EVENT with the condition that whenever the input reaches 17, which would be the penultimate piece before running out of material, a token is released and the transport process starts again. That way it didn't work. Could anyone help me?



1723465693262.png

FlexSim 24.0.0
agvwait for eventtoken
1723465693262.png (53.5 KiB)
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

Îf you want to count then you do this by a batch. Create a token whenever an item enters an object. Batch them and then release a token for this batch.

It you want to get a token if a thresholds has been achieved, then the event is called On Change. There are several options how to trigger this event On Change.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.