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
|
|||
|
|||
Blocked source
Does the blocked state of a source have any affects to the inter arrival time:
Example with an easy model: source=>processor=>sink the processor has a constant process time of 20min. The source has a normal distributed inter arrival time with mean = 20min and sd = 10min. If the source creates a flowitem 10min before the finish of the ongoing process, this flowitem is blocked (because no queue is buffering it). But if the random stream generator wants to create the next flowitem just 5 min after (possible because of the sd of the inter arrival time), it even cannot be created because there is already one created flowitem in the source which is blocked (in a kind of "source queue" with a maxcontent of one flowitem). What happens if the "source queue" releases the blocked flowitem after another 5min (recent process is finished, released flowitem starts new process)?
Congshi Wang Last edited by Congshi Wang; 11-01-2010 at 03:51 AM. |
#2
|
|||
|
|||
Yes, it's only STATE_GENERATING time that counts towards inter-arrival time. You can't alter this by changing the state, the time is sampled on reset and when the the flow-item exits.
The impact will be that you don't actually get an independent arrival distribution if the source is blocked, so you'll need another buffer to accept the items. |
The Following 2 Users Say Thank You to Jason Lightfoot For This Useful Post: | ||
shafizad (11-01-2010) |
#3
|
|||
|
|||
Thanks! I hope I've understood it correctly:
If a created flowitem is waiting in the "source-queue" (because the source is blocked), the inter arrival time to the next flowitem generation must be longer than the time to the finish of the ongoing process to ensure to have a non-blocked source. |
#4
|
|||
|
|||
No - I'd even speculate the opposite. To compensate for time in the blocked state, the inter-arrival time would need to be reduced to get back to the stated distribution.
The easiest way is to feed into a queue and then into your processor. |
The Following User Says Thank You to Jason Lightfoot For This Useful Post: | ||
Congshi Wang (11-02-2010) |
Thread | Thread Starter | Forum | Replies | Last Post |
Taskexecuter state "blocked"? | Tom David | Q&A | 4 | 03-09-2012 12:56 PM |
Interpreting Blocked % | David Chan | Q&A | 3 | 01-28-2010 04:23 AM |
Notify Upstream of Blocked Length ? | zhang xin | Q&A | 1 | 11-02-2009 06:52 AM |
block a source ? | juan alberto | Q&A | 4 | 07-13-2009 02:50 AM |
Photo-Eye Blocked or Not? | Peter Widas | Q&A | 11 | 04-08-2008 06:26 PM |