question

Steven Chen avatar image
1 Like"
Steven Chen asked Steven Chen commented

Statistical tool setting problem

Using flexsim statistical tools (statistical collector, milestone collector, calculation table) Statistics only need to update the mode mode "always" at the same time two or more settings, and the project often crashes. The project always closes a similar crash.

What is the cause?

FlexSim 19.1.1
statisticscalculation
image-5.png (59.1 KiB)
· 3
5 |100000

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

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·
0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ commented ·

I cannot tell the cause from the screenshot. Can you post a model?

0 Likes 0 ·
Steven Chen avatar image Steven Chen commented ·

I post a model. it is a simple model that reproduces my problems.

statistics.fsm

0 Likes 0 ·
statistics.fsm (21.4 KiB)

1 Answer

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Steven Chen commented

Hi Steven,

Thanks for reporting this bug. I will make sure it gets on the dev list right away. The bug occurs when you have a Calculated Table that queries another Calculated Table, and the first is set to Always. In your case, CalculatedTable2 is set to Always, and is querying CalculatedTable1. If a table view or dashboard that uses CalculatedTable2 is open when you reset the model, FlexSim crashes. For now, you will need to make sure that any Always Calculated Table that queries another Calculated Table does not have any open views when you reset the model. Note that some Chart Templates use a Calculated Table, and so a CalculatedTable that queries a template may have this problem. After time zero, you can open the dashboards and table views safely.

· 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.

Steven Chen avatar image Steven Chen commented ·

Thank you jordan johnson.

0 Likes 0 ·