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
|
|||
|
|||
Further Pull Rules!
Following on from my previous question;
I have a situation where two combiners are pulling from a shared queue. One combiner pulls 18 items from the queue, whilst the other only pulls 2 items from the queue. The problem I'm currently experiencing is that when the queue is low, the items are pulled one at a time hence keep getting starved I'd like to make it so when Combiner 1 requires parts, it looks at the number in the queue and once the amount in the queue reaches 18, Combiner 1 calls "shotgun" on these, hence it is not starved; likewise, Combiner 2 can call "shotgun" on two parts when required. I think a random variable "k" could be setup, which is increased by one each time a part arrives, then each combiner looks at this variable and decreases it by 18 or 2 each time to call "shotgun"... I just don't know how you'd do this in Flexsim! Again, any help greatly appreciated! Regards |
#2
|
|||
|
|||
May be try something similar to the last query regarding pull rules. You could control the input to the combiners using the onEntry trigger of the queue? onEntry check to see if the queue has 18 of type 1 and open combiner 1, vice versa for combiner 2.
Using the onExit trigger of the combiners close their inputs to stop them pulling in any more parts until instructed by the queue again. |
Thread | Thread Starter | Forum | Replies | Last Post |
Pull rule | Alan Pope | Q&A | 4 | 04-15-2010 07:46 AM |
How to pull items from a queue? | Daglys Brizo | Q&A | 3 | 09-04-2009 08:17 AM |
Using Reevaluate Send To vs Pull | Brandon Peterson | Tips and Tricks | 4 | 11-19-2008 08:56 AM |
Pull items out of a rack | BenjaminBuecklein | Q&A | 1 | 09-22-2008 03:59 AM |
Pull Logic Dillema | William Proctor | Q&A | 2 | 09-14-2007 12:46 PM |