Process Flow Activity Statistics Chart is Empty (Healthcare)

Process Flow Activity Statistics Chart is Empty (Healthcare)

cphilpottX22K5
Enthusiast Enthusiast
7 Views
4 Replies
Message 1 of 5

Process Flow Activity Statistics Chart is Empty (Healthcare)

cphilpottX22K5
Enthusiast
Enthusiast

[ FlexSim 23.1.2 ]

This is the same for every model I try, so I'm just sharing the last version of the model I was given in the Healthcare Training session because it works and is built by-the-book. I'm looking to use this feature to track which activities are getting deadlocked in a much larger model than the one attached, it's easier to have some output than to try to locate visually.

---

So I put the Process Flow Activity Statistics Chart template into my dashboard, and select an activity early in the process, to see if I can watch the content over time and determine which activities are getting backed up.

The chart does change once I have an activity added to the group (the table shows headers) but I see no output on the chart/table, nor in the internal table that I can view by selecting "View table" under "Advanced".

In the attached screenshot, I have both of these charts set up to read the Process: Registration activity, but nothing comes through.

What do I need to do to make this work?

1698074079473.pngPhase_8-activity_statistics.fsm

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

moehlmann_fe
Observer
Observer
Accepted solution

The activity statistics only work with fixed Process Flow instances (assigned to fixed resources in the model). Even if it did, you would get the content per instance/patient, not the sum over all instances.

To get the current total content you have to adjust the Statistics Collector (install it through the properties or start from scratch) into what is essentially the collector behind the Content chart of the default environment.

phase-8-activity-statistics_1.fsm

The Statistics Collector listens to the entry and exit events of all activities in the group. It creates a persistant row for each one. Each row is assigned a label in the On Row Updating trigger whose value is either incremented or decremented depending on which event triggered. The value of that value is then written to the Current column.

Message 3 of 5

cphilpottX22K5
Enthusiast
Enthusiast

Ok yes that's pretty useful. Would love to see it as a chart over time if possible.

How would I make a statistics collector that creates a new row for each activity each time it is updated? I think that table would look something like this (etc)

1698162873465.png

I'm not great with the statistics collectors and I'm sure I don't know how to reference a value from the last row with the same value for Activity... but that's what I think I would need to do.

0 Likes
Message 4 of 5

moehlmann_fe
Observer
Observer

All you have to do for that is to:

- add a column that collects the current time

capture1.png- set the rows to be "finished" after the events

capture2.png- check the option to keep the row value and, importantly, row labels of finished rows.

capture3.png

The previous value is stored in the row label, which is unique per row value. So the next time the same row value (activity) appears, the "delta" label that is defined on the events tab is added to the label value (either +1 or -1) and the new value is written to the row.

phase-8-activity-statistics-1.fsm

Message 5 of 5

cphilpottX22K5
Enthusiast
Enthusiast

Oh that's easy. And works perfectly. Thanks!

0 Likes