question

Mischa Spelt avatar image
0 Likes"
Mischa Spelt asked Jordan Johnson commented

Statistics Collector and kinetic tracked variable

Hi,

I found a bug in the 19.0 beta from Nov 9.

When I create a kinetic tracked variable and then use the "Pin" option to create a time vs value plot, the automatically created statistics collector listens to the On Change event, Change rule: Change. However, this never picks up a change in the variable when only the rate is changed. As a result, the chart remains empty.

Interestingly, when I create an Event Triggered Source in Process Flow and let it wait for the same event, it does create tokens.

Please see the attached demo model for an example.

Of course I can fix the stats collector but using the Update rule instead of Change, but I guess you'd like the "Pin" button to work out of the box for kinetic variables as well.

Demo model: trackedvariablestatscollector-example.fsm

FlexSim (other - please specify)
FlexSim (other)
statistics collectorkinetic tracked variablebugs betatracked variable vs time
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

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

That does seem like a bug. I will put it on the dev list.

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

Mischa Spelt avatar image Mischa Spelt commented ·

Hi Jordan. Sorry to bother you with this again, but I now have the opposite problem: setting the rate works, but now value changes are ignored. In fact it seems that neither the Update nor the Change event is firing in this case. 16314-trackedvariablestatscollector-example-value.fsm

0 Likes 0 ·
Joseph Gillespie avatar image Joseph Gillespie Mischa Spelt commented ·

@jordan.johnson

There are newer questions with this same problem going on. Has Mischa's problem been added to the dev list?

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

I will make sure that it did.

1 Like 1 ·