question

Yang H2 avatar image
0 Likes"
Yang H2 asked tannerp edited

Problems with stacker output results

Why do I add the staytime tag value in all the stacker output values not equal to the OffsetTravelLoaded tag value.

FlexSim 19.0.0
staytimeoutputoffsettravelloadedstacker
1.jpg (17.7 KiB)
· 2
5 |100000

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

tannerp avatar image tannerp commented ·

There's not really enough information in this post to even understand what's happening in your model. Staytime and OffsetTravelLoaded are two different measurements for different types of objects. Maybe that's the reason?

In order to get any kind of help on this, you need to upload a model and explain what is going on.

0 Likes 0 ·
Yang H2 avatar image Yang H2 tannerp commented ·

Hello, I made a small example. The output after running for a period of time encountered the following problems: 1. The sum of the exported excel output of staytime vs time is not equal to the offsetTravelLoade tab. 2. Of the results I got, staytime output 726 results, but the throughput module in the dashboard recorded 729 results. 3. The average value I obtained using excel exported from the staytime tab is not equal to the average given directly in the dashboard. 4. The value obtained by dividing offsetTravelLoade by the throughput tab in the dashboard is equal to the average given directly in the dashboard.

1.jpgtest1.fsm

1 Like 1 ·
test1.fsm (62.4 KiB)
1.jpg (162.0 KiB)

1 Answer

·
tannerp avatar image
0 Likes"
tannerp answered tannerp edited

Thank you, @Yang H2, for the explanation. That makes the question much more clear.

As far as I can tell after some analysis of your model, I think that you need to adjust the Change Rule in the Statistics Collector (shown below) to be "Update" rather than "Change". The reason being is that there's a chance that two consecutive objects may have the exact same staytime. This is unlikely, but possible. To eliminate the possibility of this error in data collection, you should record the staytime on every update and not just in the case that the new value is different from the prior.

This worked for me. Hopefully it allows you to adjust your model accordingly and get the proper statistics.

stats-collector-update-not-change.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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