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
|
|||
|
|||
Network node variable: "activetravellers"
Hey all.
I may have misunderstood how the variable, "activetravellers" works. I thought it would indicate the number of TEs currently within the area of the network node in question. In stead it seems to increase by 1 every time a traveller passes through the network node. Is this the way it is supposed to work, or is there a bug here? The variable in question is located here: MODEL:/NN1>variables/activetravellers Attached model for demonstration. Best regards Christian |
#2
|
||||
|
||||
Hi Christian,
Its true that node value increases by 1 each time traveler passes through a network node.If you want to compute the no.of travellers traveling on edge you can try like this. You get the no.of travellers that are passed through current node and other node using command getnodenum(obj ).Obtain the difference between them that gives the no.of travellers that are in transit betwen the nodes For getting the traveler on other node use ownerobject( tonode( getnodenum( obj ) ) ) Last edited by sagar bolisetti; 09-30-2015 at 02:04 PM. |
The Following 2 Users Say Thank You to sagar bolisetti For This Useful Post: | ||
Jing Chen (10-01-2015) |
Thread | Thread Starter | Forum | Replies | Last Post |
How can you have a visual tool that has a mixture of "protected" and "no select"? | thill | Q&A | 1 | 03-13-2012 12:44 AM |
how to make a TE "Rotate while traveling" but not turn at ends of network | dalin cai | Q&A | 3 | 10-19-2011 06:24 PM |
"Invalid node remove command" at UNLOAD | Lydia Franck | Gripes and Goodies | 10 | 08-30-2011 02:57 AM |
Global variable named "i" | Bill Chan | Gripes and Goodies | 1 | 04-21-2009 06:40 AM |
Which variable stores "Properties -> General ->Flags -> Protected" information? | KelvinHo | Q&A | 1 | 03-06-2008 06:18 AM |