question

DaniCor avatar image
0 Likes"
DaniCor asked Mauricio Aranda answered

DIFFERENT FLOWITEMS CLASS PER QUEUE

Hi community

I want to create diferent flowitems class for every queue, for example at PROVEEDOR2 boxes;PROVEEDOR3 pallets, PROVEEDOR4 cylinders and so on. In my case at the beginning of the simulation a have to start directly with stock for every queue like the second pic. I look forward to you answer!


queues.png


start-of-simulation.png

FlexSim 24.0.0
material replenishmentinitial stockmaterial supply
queues.png (161.8 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.

DaniCor avatar image DaniCor commented ·

Hi!

I forgot to advice that I start with stock for each queue then I use two triggers, the problem is for deafault use the flowitem class of box for ll the queues and I want a different flowitem class for each queue

trigger-on-reset.png trigger-on-message.png

0 Likes 0 ·
Mauricio Aranda avatar image
0 Likes"
Mauricio Aranda answered

Hello!


I see you are creating the objects based on a message and according to the flowitem rank, this means that if your message is a "1", you will be creating a box, if it is a "2", you will be creating a Cylinder, and so on. I´ll insert an image of the FlowItem rank.

The fastest way to solve your problem would be by changing this number directrly where you send the message for the FlowItem number (rank) that you want.

FlowItem Rank:

FlowItem Rank.png


Hope this helps!


flowitem-rank.png (18.7 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.

Mauricio Aranda avatar image
0 Likes"
Mauricio Aranda answered

You can create flowtiems in different ways depending on your modeling logic.


If you are working on 3D:

One of the easiest ways to do this would be by having three separate sources, each with its own flowitem.


Working with Process Flow:

The library for Process Flow has a block called "create object" under the section "objects". With this block you can choose which fowitem you want to create and where you want to create it.


Considerations:

Remember that with Flexsim there are many different ways to do the same thing, so o recomend you use the one that best accommodates to your model.


I’ll insert an example of both.


Different FlowItems on different Queues.fsm


Hope this helps!


5 |100000

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