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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @DaniCor, was Felix Möhlmann'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

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.

DaniCor avatar image DaniCor commented ·

Thanks a lot! I get it

But some doubts my ALM ESENCIA doesn't appear in the model

How can I open the window that you showed me in the anwser

When i click the window tree denies the enter

Best regards

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann DaniCor commented ·

I accidently disabled the shape when turning off the content of the queues to make the 3d model less sluggish with large numbers of items. I'll attach a version where the queue is visible again.

If you can't open the tree you must be working with the Express Version.

You can also change the position of the nodes in code. Add any object to the model (or use an existing one). In the Reset trigger, use the following to move each ALM queue to the top of the tree.

Model.find("ALM VITAMINA").rank = 2;
Model.find("ALM BOLSA").rank = 2;
...

simulacion-revision-continuav1_2.fsm

0 Likes 0 ·