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 09-29-2015
Christian Norregaard Christian Norregaard is offline
Flexsim User
 
Join Date: Oct 2011
Posts: 59
Downloads: 13
Uploads: 0
Thanks: 33
Thanked 14 Times in 9 Posts
Rep Power: 115
Christian Norregaard will become famous soon enough
Default 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
Attached Files
File Type: fsm activetravellers.fsm (23.2 KB, 257 views)
  #2  
Old 09-30-2015
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default

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


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.