question

DaniCor avatar image
0 Likes"
DaniCor asked Jeanette F commented

Load of Truck When its Not Needed

Hi community!

I am strggling with the replenishment of each queue as you can see at the beggining of the simulation makes unloads of 4 trucks when the stock still doesn't reach their replenishment trigger(on exit) on the "ALM VITAMINA" and makes the load/unload of 1 unit when their batch is 8 units

load-of-vitamin.png


You can see that resource level is 7 units and the truck resources when the initial stock is 16 units

replenishment-level-of-vitamin.png

SIMULACIÓN REVISIÓN CONTINUAv1.fsm


Best regards!

FlexSim 24.0.0
triggersresourcequeue logic
· 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.

1 Answer

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

The timing currently works like this:

First, the "PROVEDOOR VITAMINA" queue (PV) creates its 16 items. As soon as the first one is created, it is send to the still empty "ALM VITAMINA" queue (AV). This starts a chain of further actions (task sequence generation and dispatching to the transporer, ...). Before this action chain finishes and AV becomes ready to receive the next item, it has generated its own starting stock of items and closed the input of the transporter in its On Entry trigger. So while more items are send to the queue, the transport tasks stay in the dispatcher and are not passed to the transporter who then only loads and moves the first item.

If you move the AV queue to be ahead of the PV queue in the model tree, its reset and message trigger will resolve first, so it will have already closed in the input of the transporter when the PV queue starts to generate items and all task sequences will stay in the dispatcher. (You can change a node's rank in the properties window on the right when it is selected.)

1704958578957.png

simulacion-revision-continuav1_1.fsm

(I've further reduced the amount of created items to do tests more quickly.)


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