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 about choosing path??
Hi,all
I habe a question needed your help: I am building a model, in which there are three path (Pic attached). By default, those transporters would take the shortest path, but I would like the transporters to take a path, on which there are smallest number of cars. thanks! |
#2
|
||||
|
||||
Modeling this situation based on your second image is rather simple. You can just modify the Send To Port picklist option "Shortest Queue" to check the content() plus the number of transports in transit (getvarnum(obj,"nroftransportsin")).
Modeling this situation based on your first image is difficult because it is not easy to determine how many flowitems are along each path without keeping track of this information yourself. You would also need to customize the task sequence to travel to a particular node before traveling to the ultimate destination. Last edited by Phil BoBo; 11-19-2014 at 05:50 PM. |
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
Ilivid zheng (02-24-2011) |
#4
|
|||
|
|||
I built a model based on the first image.The code was writen on the NN14. I found a node("active travelers") ,i thought it's content is just the number of operators bettween two NetworkNodes.so i used it . if someone feel that it is wrong,please correct it.
anyone have a better idea? thanks. |
Thread | Thread Starter | Forum | Replies | Last Post |
Fly path problem | KelvinHo | Q&A | 2 | 09-02-2010 05:29 AM |
Choosing the lower queue | Flavio Brito | Q&A | 8 | 07-20-2010 01:31 PM |
License server path for v5 | David Chan | Installation | 1 | 05-24-2010 09:49 AM |
make transporters cycle a specific path | bsantens | Q&A | 4 | 10-21-2008 08:08 AM |
shortest path algorithm | Vinay Mehendiratta | Q&A | 5 | 01-25-2008 11:42 AM |