question

Dominik K avatar image
1 Like"
Dominik K asked Dominik K commented

Combine several items through same port

Hey!

I want to combine a finished product from several items.
The finish product could either be produced by 1 MGC_S and 2 VCM_N or produced by 1 MGC_M and 2 VCM_N.
How can I tell the combiner to either take 1 MGC_S or 1 MGC_M?
I thought of putting the two Queues for MGC_S and MGC_M onto the same Input-Port on the combiner. Is this possible?
Attached, find my model.

Combiner_Ports.fsm

FlexSim 18.1.2
combinerflexsim 18.1.2portsport control
combiner-ports.fsm (28.5 KiB)
· 4
5 |100000

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

tannerp avatar image tannerp commented ·

@dominik.k,

Are you open to the idea of using Process Flow? It may be much easier. You can use a Global Table to reference the components needed for each combination of items.

0 Likes 0 ·
Dominik K avatar image Dominik K tannerp commented ·

I considered this, but I only have 1 week left before I have to hand in my thesis and I would love to find a way to make it within a 3D-Model... if that's possible.

0 Likes 0 ·
tannerp avatar image tannerp Dominik K commented ·

How does the combiner know whether it should take an MGC_S or MGC_M item? Does it alternate?

0 Likes 0 ·
Show more comments

1 Answer

tannerp avatar image
1 Like"
tannerp answered Dominik K commented

@dominik.k My thought is that you can add a buffer queue with a content of 1 that pulls "Round Robin" from the two other queues. This is simple, but effective.

If there are more objects involved, it might be better to use Process Flow. Process Flow can be implemented just for this logic while keeping everything else 3D. It's very compatible and easy to set up.

Let me know what you think of this.

combiner-ports_1.fsm


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

Dominik K avatar image Dominik K commented ·

Perfect, this works! Thanks!

0 Likes 0 ·