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 03-08-2012
Shahin Gelareh Shahin Gelareh is offline
Postdoctoral Researcher
 
Join Date: Sep 2011
Location: Polytech'Lille, France
Posts: 100
Downloads: 93
Uploads: 0
Thanks: 46
Thanked 3 Times in 3 Posts
Rep Power: 112
Shahin Gelareh is on a distinguished road
Default Obtain total travel programmatically

Hi everybody,

I am trying to get access to the total travel distance traversed by a transporter and I know that it appears in the statistics. I assume that almost all what can be seen in statistics tab must be stored on the object somewhere at some node or label.
but in the statistics part of tree edit window of the transporter I do not find such item and I cannot find any command in the manual to get this value directly or indirectly.

This I need to make a post-simulation report in certain format for import in another software.

Any constructive comment is appreciated.
  #2  
Old 03-08-2012
ericdaoust ericdaoust is offline
Flexsim User
 
Join Date: Nov 2011
Location: Sudbury, Ontario, Canada
Posts: 13
Downloads: 6
Uploads: 0
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 103
ericdaoust is on a distinguished road
Default

Under the state_profile node there is travel_empty, travel_loaded, offset_travel_empty and offset_travel_loaded. I'm not sure if these values represent time or distance though.
  #3  
Old 03-08-2012
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

getvarnum(<traveler>,"totaltraveldist")
The Following 2 Users Say Thank You to Jason Lightfoot For This Useful Post:
Shahin Gelareh (03-09-2012)


Thread Thread Starter Forum Replies Last Post
Total time in model for a flowtime vasiliki grigorakaki Q&A 2 02-29-2012 08:33 AM
total metres juan alberto Q&A 1 01-31-2011 10:23 AM
Collect the total flow time of two itemtype and many replications Vic Li Q&A 5 11-04-2010 10:55 AM
How can i get the total time of process in the system wilmermoncada Q&A 3 11-29-2009 01:44 PM
total time boxes are in the model bsantens Q&A 1 04-05-2009 03:11 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.