This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at 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.

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

Q&A Using Flexsim and building models

Old 04-15-2010
Alan Pope Alan Pope is offline
Flexsim User
Join Date: Apr 2010
Location: Warwick - UK
Posts: 4
Downloads: 0
Uploads: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
Alan Pope is on a distinguished road
Default 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!

Old 04-15-2010
Anthony Timmiss Anthony Timmiss is offline
Flexsim User
Join Date: Aug 2007
Location: Sunderland - UK
Posts: 78
Downloads: 41
Uploads: 0
Thanks: 65
Thanked 45 Times in 28 Posts
Rep Power: 187
Anthony Timmiss will become famous soon enoughAnthony Timmiss will become famous soon enough

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

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.