question

Gerardo LE avatar image
0 Likes"
Gerardo LE asked Gerardo LE commented

how to add a graph that only shows production at the end of each day

Model in Flexsim to simulate 30 days of 8 hours each, and get: A. Production at the end of each day B. Probability distribution of daily production. Proceso de perforados por horarios.fsm

FlexSim 20.1.1
flexsim 20.1.11
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

tannerp avatar image
1 Like"
tannerp answered Gerardo LE commented

@gerardo.le,

Using the existing Statistics Collector in your model, you can query the data in the table and save it to a Global Table. I wrote some Custom Code to do this. Then, using a token that circulates each day, I write a new row to the table for each day. This can be found in this version of your model: proceso-de-perforados-por-horarios_2.fsm

Alternatively, you can add a Statistics Collector with a Timer Event that listens to the sink every day and records its input and output stats at those times.

Here's a model with a new Statistics Collector as an alternative solution: proceso-de-perforados-por-horarios_3.fsm

For part B, I think you may be confusing your results with your inputs. A probability distribution is generally based on your real life data and is used to accurately simulate your processes. You can use curve-fitting software like "ExpertFit" to accomplish this for your data.

Please review these models and let me know if you have additional questions. Thanks!


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Gerardo LE avatar image Gerardo LE commented ·

@tanner.p
I appreciate it, greetings

0 Likes 0 ·