Trigger at Process Flow and 3d model

Trigger at Process Flow and 3d model

syu_said
Not applicable
85 Views
5 Replies
Message 1 of 6

Trigger at Process Flow and 3d model

syu_said
Not applicable

[ FlexSim 16.1.2 ]

1853-13903283-1447511751930812-6721361000967500914-n.jpgHow do I trigger my dispensing counter such that when there is a long queue at reception, a dispensing counter will change to a reception counter?

Accepted solutions (1)
86 Views
5 Replies
Replies (5)
Message 2 of 6

axel_kohonen
Not applicable
Accepted solution

Hi Mulan,

Can you check the reception queue length in the onEntry trigger of the reception queue and if it is above some threshold then you perform your code that changes the counter type? Or is the problem with how to change the type?

Hope this helps!

Axel

Message 3 of 6

shawn_kessler
Not applicable

You would also want to have your OnExit trigger do the same check to see if the shape needed to be changed back when the queue size is below the threshold.

Message 4 of 6

syu_said
Not applicable

Hello,

The counter on the left-hand side is the dispensing counter whereas the counter at the right-hand side is the reception counter. When the input in the Queue reaches 10 (to show a long queue), the dispensing counter would be transformed into a reception counter to help solve the influx at the queue. Is there a code to trigger this?

Thank you for your help!

0 Likes
Message 5 of 6

axel_kohonen
Not applicable

One option to make the change happen is to have one extra reception counter next to the three and have its input closed normally. When the queue gets too long then you open the input of the reception and close it for one dispensing counter. Then you might need to get the operator from the dispensing counter to the reception counter.

Axel

Message 6 of 6

syu_said
Not applicable

Yep, it works! Thank you for your help! (: