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
|
|||
|
|||
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.
|
#2
|
||||
|
||||
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) |
#3
|
|||
|
|||
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 |