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 > Tips and Tricks
Downloads

Tips and Tricks Share helpful modeling ideas

  #1  
Old 01-17-2012
Preethi Sivaramakrishnan Preethi Sivaramakrishnan is offline
Flexsim User
 
Join Date: Dec 2011
Location: Singapore
Posts: 13
Downloads: 12
Uploads: 0
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 102
Preethi Sivaramakrishnan is on a distinguished road
Default How to set dynamicaly closing node edge in a network node

Hello all,

My doubt is how do i dynamically close the node edge in a network node in ct?
For example, in a path, a network node permits 3 trucks and have to close the edge so that the 4 th truck takes the other shortest path.

your guidance would be appreciated.

Thanks
Preethi
  #2  
Old 01-20-2012
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

The commands you are looking for are closenodeedge(); and opennodeedge(); I think. But how to create communication of different Networknodes you will need a good idea.

Didn´t the solution with using traffic controls work? They normaly should be able to do what you want.
__________________
Hemmi
  #3  
Old 01-24-2012
Preethi Sivaramakrishnan Preethi Sivaramakrishnan is offline
Flexsim User
 
Join Date: Dec 2011
Location: Singapore
Posts: 13
Downloads: 12
Uploads: 0
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 102
Preethi Sivaramakrishnan is on a distinguished road
Default REgd: Issue in Queuing trucks

Hello Sebastian

Yes, Brito suggested me the traffic controller and it worked fine for the previous problem I had. But I tried to apply the same in this and could not get solved.
In other words i could explain the problem in detail like this.

Say there are 10 trucks, the first five go and queue in transfer point, the 11,12,13 queue in the middle area. Also the 14 and 15 overlaps the 13 th truck and queues at the same place.
Instead what should i do to make it queue in the next available path (middle area).
In the model, the NN246 is the node.

I have a idea for this. Is it possible to make the NN246 accept only 3 trucks for queuing and then make the node edge close, so that the 14 and 15 th truck will get queued in next network path(NN255).
It will not go through( NN284 and NN234) because it is opposite direction.
Then when 17 or 18 trucks arrive at NN246, it should check whether there are three trucks,if there are 2 or 1 truck it should permit the incoming truck else remain closed. (i.e, the maximum queuing capacity of the node is 3).


I am also attaching the model herewith
Thanks in advance
Preethi
Attached Files
File Type: fsm withgatequeue5a.fsm (322.3 KB, 176 views)
  #4  
Old 01-25-2012
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

I think it is possible. Just make a counter how many trucks are in area (maybe in a global table). And if your maximum number is reached, tell node to close the nodeedge. With another query when trucks leave area you can even open this edge. To find out what edge you have to close, This may help you:
http://www.flexsim.com/community/for...ead.php?t=1878

greetings
__________________
Hemmi
The Following User Says Thank You to Sebastian Hemmann For This Useful Post:
Preethi Sivaramakrishnan (01-26-2012)
  #5  
Old 03-02-2012
David Chan David Chan is offline
Flexsim Distributor
 
Join Date: Sep 2007
Posts: 326
Downloads: 74
Uploads: 0
Thanks: 217
Thanked 73 Times in 44 Posts
Rep Power: 218
David Chan has a spectacular aura aboutDavid Chan has a spectacular aura aboutDavid Chan has a spectacular aura about
Default

Sebastian

I tried to use the edge control. But once it is closed, the TE just cannot passed through the node to another path.

David
__________________
Advent2 Labs
David
  #6  
Old 03-05-2012
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

@ David:

This only should happen, if there is no useable travlepath available. Maybe you can share an example model?
__________________
Hemmi
The Following User Says Thank You to Sebastian Hemmann For This Useful Post:
David Chan (03-08-2012)
  #7  
Old 03-08-2012
David Chan David Chan is offline
Flexsim Distributor
 
Join Date: Sep 2007
Posts: 326
Downloads: 74
Uploads: 0
Thanks: 217
Thanked 73 Times in 44 Posts
Rep Power: 218
David Chan has a spectacular aura aboutDavid Chan has a spectacular aura aboutDavid Chan has a spectacular aura about
Default

Sebastian

Thanks, manage to control the direction of the TE using return at the OnArrival Trigger.

Thanks for Jason too!
http://www.flexsim.com/community/for...ead.php?t=2332

David
__________________
Advent2 Labs
David

Last edited by Kris Geisberger; 06-27-2013 at 01:18 PM. Reason: added link to the related post
  #8  
Old 06-27-2013
danielle paniccia danielle paniccia is offline
Flexsim User
 
Join Date: Jun 2013
Posts: 3
Downloads: 1
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
danielle paniccia is on a distinguished road
Default

I have a similar question. Currently I have seven network edges ending at one node, and then from that node, there are three more edges. I have operators walking down the initial seven edges and all meeting at the node. I have a traffic controller in this area, because I want only a certain number to be able to go down each of the three output edges. Except it doesn't work this way. What happens is all of the operators will end up taking the shortest of the three available routes, and if the one route is full, operators will just wait at the node until it isn't. I tried including logic to close one of the edges (and explicitly opened the other two), but the operators just stay at the node and don't ever move again. Can someone help me with what I'm doing wrong please!
  #9  
Old 06-27-2013
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default redirecting network traveler based on active travelers

Closing node edges will not influence the path that a traveler takes. There seem to be some older threads on the forum that say that, but it is not true. You can return the edge number (path) that you want the traveler to take next in the OnArrival trigger of a given Network Node. Attached example of the OnArrival method.

Be aware that you might need to do the same on a downstream node as the shortest distance from that point might direct the traveler back to you!

To give you some ideas, I have attached a v6 model that considers the number of active travelers on the immediate downstream paths when deciding how to redirect a given traveler.


Alternatively of course you can write a custom task sequence, likely involving callsubtask.

Last edited by Kris Geisberger; 06-28-2013 at 08:26 AM.
The Following 3 Users Say Thank You to Kris Geisberger For This Useful Post:
Jörg Vogel (06-28-2013)

Tags
dynamic, network node, node edge, onarrival, redirect, traveler


Thread Thread Starter Forum Replies Last Post
Network Node Error Ryan Haferbecker Q&A 2 11-24-2010 12:05 PM
Network node TreeView shafizad Q&A 5 08-25-2010 04:33 AM
How to color network node Nico Zahn Q&A 5 05-25-2010 07:04 AM
Network Node Question Gavin Douglas Q&A 1 10-16-2008 02:24 PM
Release from Network Node Gavin Douglas Q&A 2 06-12-2008 12:39 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.