Go Back   Flexsim Community Forum > Flexsim Software > Q&A
FAQ Downloads Calendar Search Mark Forums Read vBExperience Register

Q&A Using Flexsim and building models

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-28-2008
Gavin Douglas Gavin Douglas is offline
Flexsim User
 
Join Date: Feb 2008
Posts: 50
Thanks: 18
Thanked 1 Time in 1 Post
Downloads: 0
Uploads: 0
Rep Power: 36
Gavin Douglas is on a distinguished road
Default On Exit (Lead Time)

I have a fairly large model with something like 200 unique flow items –each representing a part. Each unique part or flow item is used say 300 times in the model. When the parts are released from the source they are all released at the same time. For example, at time 0 we release 300 of Part1 etc…. I want to figure out the lead time for each part. So (on exit) I do something like:

Count++; //Global variable
If (count==1) ExitTime= time();


I need that counter because 300 or so of these things will be released simultaneously. Problem- I will need 2 global variables- one for exit into model and other for entry into sink- for each part. That’s like 400 variables to keep track of. Is there a way to do this for both in and out of the model without the use of global variables?

Thanks
__________________
Too Lazy to Work, Too Nervous to Steal

Last edited by Alex Christensen; 07-28-2008 at 08:25 AM.. Reason: put his question back for other forum members
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying the simulation time with the various date/time formats. Regan Blackett Tips and Tricks 5 10-27-2008 06:41 AM
Inter Arrival Time by Time of Day Mod Brandon Peterson Tips and Tricks 0 04-23-2008 09:13 AM


All times are GMT -6. The time now is 11:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Powered by NuWiki v1.3 RC1 Copyright ©2006-2007, NuHit, LLC
Copyright 1993-2010 Flexsim Software Products, Inc.