question

Eloïse Martin avatar image
2 Likes"
Eloïse Martin asked Adrian Haws edited

HC dashboard issue

Hi, I am using different tracks in my model, and I have exactly the same problem as mentioned in the comments to this question. I can't display any data in the overtime chart in the dashboard, but there aren't any error messages. I would like to find a way to display data in the widget. Thanks a lot, Eloïse.

FlexSim HC 5.0.12
global variablespatient trackflexsim hc 5.0.12overtime
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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Matthew Gillespie commented

Looking at @Christophe Compondu's model in this comment, I found a few issues:

1. The code in the Activity Finished Trigger is incomplete, only top visible portion of the code was copied from Cilff's model.

This code was copied:

But this code, visible by scrolling down, was not copied:

I would suggest using Ctrl-A to select everything before copying the code.

2. Some of the tracks have this Activity Finished Trigger code in the first activity of the track instead of the last activity of the track. Move this code to the last activity.

3.On the dashboard you need to uncheck the Scenario, Replication, and Time reporting column or else the Overtime and Total Hours won't be visible.

The dashboard chart displayed for me after fixing these issues.


showingcode.png (20.4 KiB)
scrolledcode.png (21.8 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.

Eloïse Martin avatar image Eloïse Martin commented ·

Hi @Matthew Gillespie, indeed it works with the clinic closing hours, but in fact I have different closing hours for each consultation (each track), so I duplicated the global variables like in the screen capture, but the widget doesn't display the results per consultation. I suppose that I have to modify the sample set, but I don't know how to filter by track... Thank you, Eloïse

totalmodel28.fsm

dashboard-issue.png

0 Likes 0 ·
dashboard-issue.png (185.9 KiB)
totalmodel28.fsm (5.8 MiB)
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Eloïse Martin commented ·

The dashboard displays at the very end of the run when I run your model, but there's only one patient that leaves during overtime.

0 Likes 0 ·