ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 08-02-2012
Radhakrishnan R Radhakrishnan R is offline
Flexsim User
 
Join Date: Apr 2012
Location: Chennai, India
Posts: 10
Downloads: 34
Uploads: 0
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Power: 98
Radhakrishnan R is on a distinguished road
Smile 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  
Old 08-03-2012
Esther Bennett Esther Bennett is offline
Flexsim User
 
Join Date: Mar 2008
Posts: 115
Downloads: 27
Uploads: 0
Thanks: 103
Thanked 116 Times in 50 Posts
Rep Power: 271
Esther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to all
Default

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  
Old 08-03-2012
Radhakrishnan R Radhakrishnan R is offline
Flexsim User
 
Join Date: Apr 2012
Location: Chennai, India
Posts: 10
Downloads: 34
Uploads: 0
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Power: 98
Radhakrishnan R is on a distinguished road
Post 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
Attached Files
File Type: fsm combining same itemtypes in combiner.fsm (108.3 KB, 83 views)
  #4  
Old 08-03-2012
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

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  
Old 08-03-2012
Radhakrishnan R Radhakrishnan R is offline
Flexsim User
 
Join Date: Apr 2012
Location: Chennai, India
Posts: 10
Downloads: 34
Uploads: 0
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Power: 98
Radhakrishnan R is on a distinguished road
Post

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  
Old 08-03-2012
Esther Bennett Esther Bennett is offline
Flexsim User
 
Join Date: Mar 2008
Posts: 115
Downloads: 27
Uploads: 0
Thanks: 103
Thanked 116 Times in 50 Posts
Rep Power: 271
Esther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to all
Default

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


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.