question

hoooo avatar image
0 Likes"
hoooo asked hoooo commented

Calculate statistics collector values

1122.fsm

Hi!

I have a question.

By combining multiple processors and conveyors,

I am creating a model to aggregate production numbers. (using MTBF/MTTR)

Last time I asked a question about the statistics collector, @Felix Möhlmann solved it, but the problem has occurred again.

I would like to perform the following calculations from the statistics collector and graph values.

output /{ (MC5_process total time - breakdown time)*500}

※MC5_process total time = (First line of MC5_time) - (Last line of MC5_time)


I looked at other questions but couldn't figure it out.

Please tell me ,Thank you.


FlexSim 23.0.8
calculated tablestatistic collector
1122.fsm (66.7 KiB)
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered hoooo commented

You don't need to read any of those values from a Statistics Collector if you store the first and most recent exit times as labels on the processor as I suggested in your previous question.

1122_1.fsm

See "TimePerItem" performance measure.

I also showcase a different way to build the "output" Statistics Collector. To save a bit of performance it only updates whenever the values are actually read (for example when drawing a chart based on them).


1122-1.fsm (59.8 KiB)
· 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.

hoooo avatar image hoooo commented ·

@Felix Möhlmann

I finally understood the previous answer! thank you.

This is what I wanted to do.

That's excellent!

It was very helpful!

0 Likes 0 ·