ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
combining same temtypes from two sources
Hi all,
I have two sources which is connected to a combiner. First source generate 10 parts (for example-part 1 to 10). second source generate only one part (example-part-5). i want the combiner to combine the same part, that is, part-5 from source-1 & source-2 and the balance parts from First source should not be combined in the combiner & it should go to the sink by passing through this combiner path. Please kindly help me out to slove this... Thanks in advance.. Regards, RK |
#2
|
|||
|
|||
Hello Radhakrishnan,
A combiner will take a part from the source that is connected to port 1 first. The first source you can connect to the combiner directly. If you add a queue between the second source and the combiner you can use a pull requirement on the combiner. If you add the following code to the pull requirement, I think it will do what you want: if( port == 1 ) return 1; else return getitemtype( item ) == getitemtype( first( current ) ); The other items in the queue you can send to the sink. Esther |
The Following User Says Thank You to Esther Bennett For This Useful Post: | ||
Radhakrishnan R (08-03-2012) |
#3
|
|||
|
|||
Combining same itemtypes in combiner
Hi Esther,
Thanks for your relpy. I tried the same, but its not working fine. Rather, it stops the model run. I have attached the model for your quick reference. Thanks in advance Regards, RK |
#4
|
||||
|
||||
Your model works fine. You should only set itemtype in source 2 to "1" and not "5".
Greetings Carsten P.S.: Your source tabs have some strange behavior, the content of your tables changes on click?! Maybe you should use new sources... Last edited by Carsten Seehafer; 08-03-2012 at 06:22 AM. Reason: strange model |
The Following User Says Thank You to Carsten Seehafer For This Useful Post: | ||
Radhakrishnan R (08-03-2012) |
#5
|
|||
|
|||
Hi Carsten,
thanks for your reply. I think i haven't explain my model issue clearly. My issue is, I want the combiner to pack only the part number-5 coming from source 1&2. Balance parts coming from source-1 should not be packed & it should be simply proceesed in combiner & send to sink. I think we can do this by close & open inputport-2 of combiner, where source-2 is attached to it. I have tried it, but its not working fine. Thanks Regards, RK |
#6
|
|||
|
|||
I took a quick look at your model and if I assume correct, you would want to create a pallet with a box.
Currently you are creating ten pallets and one box, shouldn't this be the other way around? If so, you should make sure that the boxes end up in the queue, the processor is connected to the first input port of the combiner and the second input port of the combiner is connected to the queue. In your model the remaining boxes would then stay in the queue, because there is no where for them to go. Esther |
The Following User Says Thank You to Esther Bennett For This Useful Post: | ||
Radhakrishnan R (08-10-2012) |
Thread | Thread Starter | Forum | Replies | Last Post |
Combining More than One item of the same type | hani2899 | Q&A | 2 | 11-21-2011 02:55 AM |