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 11-23-2008
Lilian_wulp Lilian_wulp is offline
Flexsim User
 
Join Date: Jan 2008
Posts: 4
Downloads: 19
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Lilian_wulp is on a distinguished road
Default 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  
Old 11-24-2008
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

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


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.