This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at 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.

Go Back   FlexSim Community Forum > FlexSim Software > Q&A

Q&A Using Flexsim and building models

Old 02-28-2012
vasiliki grigorakaki vasiliki grigorakaki is offline
Flexsim User
Join Date: Apr 2011
Posts: 42
Downloads: 39
Uploads: 0
Thanks: 18
Thanked 0 Times in 0 Posts
Rep Power: 112
vasiliki grigorakaki is on a distinguished road
Default Total time in model for a flowtime

Is there a way to define the total time that a flowitem can remain in the system? A way to define the max time it should make from the source to the sink and define it from the beggining.
Old 02-28-2012
Hao Zhou's Avatar
Hao Zhou Hao Zhou is offline
Flexsim User
Join Date: Sep 2010
Location: Long Beach
Posts: 66
Downloads: 56
Uploads: 0
Thanks: 78
Thanked 43 Times in 25 Posts
Rep Power: 146
Hao Zhou will become famous soon enoughHao Zhou will become famous soon enough

Do you mean the lifetime of a flowitem? You can create a label for each item, and write code in the source to record the starttime, and write code in the sink to record endtime. Calculate lifetime by starttime and endtime, and record the lifetime in global table, etc.
The Following User Says Thank You to Hao Zhou For This Useful Post:
vasiliki grigorakaki (02-29-2012)
Old 02-29-2012
Dirk-Jan Dirk-Jan is offline
Talumis, Flexsim Distributor, The Netherlands
Join Date: Aug 2007
Location: Utrecht, Netherlands
Posts: 43
Downloads: 35
Uploads: 0
Thanks: 11
Thanked 22 Times in 16 Posts
Rep Power: 170
Dirk-Jan will become famous soon enough

Not to worry about writing lables: getcreationtime( item ) was designed to do that for you
The Following 2 Users Say Thank You to Dirk-Jan For This Useful Post:
vasiliki grigorakaki (03-16-2012)

Thread Thread Starter Forum Replies Last Post
Get model run time when a task is executed FlorianK Q&A 6 05-24-2011 12:30 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.