question

SAMUELPD avatar image
0 Likes"
SAMUELPD asked SAMUELPD commented

Wait to event (queue empty)

Hello

In this model, I need to download these items when queue4 is empty, I try with a (wait for the event), but I'm not sure if any of these events work for that, or some other way to do it.


I tried with diffrents but not work jet.

1744121590956.png
Thank you


Wait to event question .fsm

FlexSim 25.0.2
wait 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered SAMUELPD commented

The event you have selected (On Content Change) works for this. The "Value" should be 0 though if you want to wait for the queue to be empty. And you would need to the "Fire If Initial Value Meets Rule" option, so the token can continue if the queue is already empty when it arrives at the activity.

The placement of the activity in the screenshot makes me unsure how this should interact with the crane from your other question though.

stop-crane_2.fsm


stop-crane-2.fsm (54.2 KiB)
· 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.

SAMUELPD avatar image SAMUELPD commented ·

Thanks for the answeres @Felix Möhlmann

Abusually, yes the two questions are for the same modele. (that you help mein the last few days )

The questions is beacause in the model iam working on , when one of the rack inside the crane is finished (0 items) the transporter must move another rack (fill in), while the unloading time for the transporter the crane must be stop working.

1744200803924.png

Iam going to put the zones in the model as you explaned it to me

Thanks a lot.




0 Likes 0 ·
1744200803924.png (533.1 KiB)