Problems with stacker output results

Problems with stacker output results

yang_h2
Not applicable
3 Views
3 Replies
Message 1 of 4

Problems with stacker output results

yang_h2
Not applicable

[ FlexSim 19.0.0 ]

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

25530-1.jpg

0 Likes
Accepted solutions (1)
4 Views
3 Replies
Replies (3)
Message 2 of 4

tanner_p
Not applicable

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
Message 3 of 4

yang_h2
Not applicable

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

Message 4 of 4

tanner_p
Not applicable
Accepted solution

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.

25620-stats-collector-update.png

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

stats-collector-update-not-change.fsm

0 Likes