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
|
|||
|
|||
Question regarding 2 "in-line" gate processes
I have 2 gate processes, one in front of the other. Truck 1 will go to processor 1, and a truck following truck 1 will goto processor 2 since processor 1 is in use. Processor 2 may finish before processor 1, but cannot release truck until processor 1 finishes and releases truck 1. From there the truck released from processor 2 will bypass processor 1. How do I model this? Thanks for any help .
|
#2
|
||||
|
||||
Attached is a model that shows one way that you could model this situation. It uses two GateProcesses in series within a visual tool so that you can then duplicate that visual tool easily or add it to a custom user library to drag more into other models.
The way the model works: The first GateProcess adds a label to the truck OnEntry that tells it at which GateProcess it should be processed. Then the ProcessTime function checks the label and returns a time period if it should be processed there or it returns 0 if it was/will be processed at the other station. There is also code on each GateProcess that sets its color based on what it is doing so that you can see that if the back process finishes before the front process, it waits until the front process is finished to release the truck. Hopefully it makes sense. Let me know if you have any questions about it. |
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
Jamie Santa Ana (08-17-2009) |
#4
|
|||
|
|||
Can we have two paralell gates(not in line)?
There is a long distance between this two gates. (I do not mean a gateprocess with maximum content > 1) I tried to put two berth planners in the model, but failed. thanks |
Thread | Thread Starter | Forum | Replies | Last Post |
The "Simple Question" Thread | Xavier Jackson | Q&A | 202 | 08-10-2009 09:44 AM |
simple question about "Separator" | Vic Li | Q&A | 5 | 01-14-2009 09:45 PM |
a question about the command "getitemtype" | Vic Li | Q&A | 2 | 10-04-2008 11:47 PM |
Is it possible one object comprised of the function of "combiner" and "separetor"? | Vic Li | Q&A | 1 | 08-19-2008 04:41 AM |
about "no select" and "show parameter window from side bar" | qin tian | Gripes and Goodies | 3 | 03-21-2008 08:10 AM |