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
|
|||
|
|||
Item exiting Queue
Hi, again
This is my second post. I'm quite new to flexsim. Previously, I mention that i am simulating a supermarket store. To make payment for their groceries, customer have to queue up. When the queue is too long, the customer will leave the queue and come back another day. For my simulation, I want to make the 5% of item exiting the queue halfway through. what i have to do to make it happen? I appreciate your help. Thanks=D |
#2
|
||||
|
||||
Lilian,
I think there are different ways to solve this, based on what you want. You mention halfway, but is that halfway the waiting time or halfway the length of the queue. Halfway the length of the queue: From where you send the people to the queue you make the first output port to the queue and the 2nd to a accumulation conveyor with high speed. So if there is room in the queue they go in there otherwise they go on the conveyor. The conveyor is connected to the queue and to a sink. On the sendtoport of the conveyor you take a bernoulli distribution and send 95% to the queue and 5% to the sink. Halfway the time: This is more difficult because there is no fixed waiting time, but you could send a delayedmessage on entry to the queue itself and pass the item as the msgsendingobject. Give it a delay of say 5 minutes and when the message trigger fires you have to check if the item still exists and is in the queue. If so you determine with bernoulli if you leave the item in the queue of use moveobject to remove it. This solution requires programming. Hope this helps, Steven |
Thread | Thread Starter | Forum | Replies | Last Post |
Flow item in object in time 0 | KelvinHo | Q&A | 17 | 04-17-2012 09:12 AM |
Pulling from a Queue vs Sorting the Queue | Brandon Peterson | Tips and Tricks | 3 | 03-03-2010 01:27 AM |
different capacity for different flow item for a same TE | KelvinHo | Q&A | 10 | 08-28-2008 08:12 AM |
Changing flow item by time | KelvinHo | Q&A | 6 | 08-13-2008 07:58 AM |
Queue Sorting | Jeff Nordgren | Q&A | 12 | 05-22-2008 03:21 PM |