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 |
#2
|
||||
|
||||
You need to write the label to a database (global table) when the flowitem leaves the model. Then you can do some analysis on the on the table using Flexsim chart. Are you a student or a Flexsim user?
|
The Following User Says Thank You to Bill Nordgren For This Useful Post: | ||
mariogib (03-12-2009) |
#3
|
|||
|
|||
Bill
thanks for the suggestion. I'm a university student. "You need to write the label to a database (global table) when the flowitem leaves the model." -> ok "Then you can do some analysis on the on the table using Flexsim chart." -> how can I do? export the data into Excel... |
#4
|
||||
|
||||
Hi,
use a recorder object. Choose for Type of Data: Table Data and then play with the different settings in the following paramaters. Jörg |
#5
|
||||
|
||||
Or indeed export into excel. Go to Tools -> Global Tables. Press the advanced button at the bottom and press the "export table data".
Then you create a csv file that directly be opened by Excel. Steven |
The Following User Says Thank You to Steven Hamoen For This Useful Post: | ||
mariogib (03-12-2009) |
#6
|
|||
|
|||
simulation time
the simulation time is in seconds I want to convert it into days.
I thought to proceed with the equivalence 1day = 86400 second. for example: int day = 86400; double timeindays= time()/86400; setlabelnum(item,"T1",timeindays); there are other ways of working? |
#7
|
||||
|
||||
Basically the time and distance are unitless in flexsim. So 1 simulation tick could also be a minute or even a day if that is the scale of your simulation.
But if your model is in seconds and you want to retrieve the time in days, yes you are right you have to divide by 86400. You could create a usercommand to do it for you and make your code better readable, but that doesn't change anything about the situation it self. To calculate the other way around there a number of functions like minutes(), hours() or days() Steven |
The Following User Says Thank You to Steven Hamoen For This Useful Post: | ||
mariogib (03-12-2009) |
#8
|
|||
|
|||
convert simulation time into days
To calculate the other way around there a number of functions like minutes(), hours() or days()
how can I set the function to convert seconds into days? I want that the simulation of the model is in days
|
#9
|
||||
|
||||
What do you mean by this? Do you want to run say 20 years and every tick of the simulation should be 1 day?
Or do you want that if you have results that they show at which day something happens? So make your self more clearer. Steven |
#10
|
|||
|
|||
I want to simulate for example for 100 days what happen every day in a distribution center, products arrive every day and come out every day too.
I hope to be more clear Mario |
#11
|
||||
|
||||
If you want to run your simulation for that amount of time you enter:
8640000 as your stoptime in the runcontrol and your model will run for 100 days. Steven |
Thread | Thread Starter | Forum | Replies | Last Post |
Export of statistic data from Experimenter | Matthias Hofmann | Q&A | 1 | 11-04-2008 09:05 AM |