Dashboard not showing statistics

Dashboard not showing statistics

lenny_c1
Not applicable
63 Views
4 Replies
Message 1 of 5

Dashboard not showing statistics

lenny_c1
Not applicable

[ FlexSim 20.1.3 ]

Hi, im trying to track the staytime of a patient in various waiting areas in sub process flows by using Zones. Even though the zone has statistics, they are not displayed on the dashboard, as seen below. May I know how I can go about fixing this? Thank you!40292-1623124276182.png

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

chanykE2WUT
Explorer
Explorer

You might want to attach the model that has the problem. There could be a few instance over here. so it could be there is no data for this instance.

0 Likes
Message 3 of 5

lenny_c1
Not applicable

Hi @David Chan, please find the attached model with the above-mentioned problems. Thank you!

Small_Model.fsm

0 Likes
Message 4 of 5

JordanLJohnson
Autodesk
Autodesk
Accepted solution

Here is a little about what's going on. You have two subflows (Acute and Chronic), and it looks like you're trying to get stats on both of those. Unfortunately, stats collectors made by the pin buttons don't really work on activites in subflows. The pin buttons need to be updated, which is a current issue on the dev list.

The pin buttons work by creating a stats collector in your model, in the toolbox, and then creating a chart that draws the data in that stats collector. To fix your issue, you need to fix the stats collectors, so that they make a table, which will make the charts draw correctly.

Some of the stats collectors create tables that show the min, max and average of the staytime. To fix those stats collectors, double-click on them in the toolbox, and delete the Enumerate event. Use the sampler to sample the Zone and choose On Exit. Then, for the row value, use this code:

data.enumerate(data.activity, data.instance, data.group)

The event configuration should look like this:

1623774506998.png

Other stats collectors are supposed to draw a time plot of staytime vs time. It looks like there is a bug in those. However, the steps to fix them are pretty much them same. You'll need to delete the first event, and then re-sample the zone, and choose On Staytime Change, and set the new value's label name to Staytime. The configuration should look like this:

1623774824380.png

I tried this change on the first two stats collectors in the list and it worked. Note that the charts will be empty until the model generates some data, so you'll need to run until tokens move through those flows.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 5 of 5

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Lenny C, was Jordan Johnson's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes