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 02-23-2011
Ilivid zheng Ilivid zheng is offline
Flexsim User
 
Join Date: Dec 2010
Posts: 19
Downloads: 361
Uploads: 0
Thanks: 19
Thanked 0 Times in 0 Posts
Rep Power: 115
Ilivid zheng is on a distinguished road
Question 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!
Attached Thumbnails
Click image for larger version
Name:	路径1.jpg
Views:	166
Size:	15.6 KB
ID:	1283   Click image for larger version
Name:	路径2.jpg
Views:	154
Size:	16.9 KB
ID:	1284  
  #2  
Old 02-24-2011
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

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)
  #3  
Old 02-25-2011
Ilivid zheng Ilivid zheng is offline
Flexsim User
 
Join Date: Dec 2010
Posts: 19
Downloads: 361
Uploads: 0
Thanks: 19
Thanked 0 Times in 0 Posts
Rep Power: 115
Ilivid zheng is on a distinguished road
Default

Hi,Phil
thanks a lot for your reply and attachment.
  #4  
Old 02-25-2011
Ilivid zheng Ilivid zheng is offline
Flexsim User
 
Join Date: Dec 2010
Posts: 19
Downloads: 361
Uploads: 0
Thanks: 19
Thanked 0 Times in 0 Posts
Rep Power: 115
Ilivid zheng is on a distinguished road
Post

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.
Attached Files
File Type: zip Choosing_Path.zip (46.0 KB, 136 views)


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


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.