question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Cliff King commented

How can I compute the distance a nurse travels by activity?

I can get the total distance each nurse travels each day and I would like to identify the distance traveled by nursing activities. For example, how far does a nurse walk escorting patients to beds? And, how far does a nurse walk getting medications for patients?

Thanks,

Tee

FlexSim HC 5.3.4
healthcaredistance traveled
· 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.

Tomas A avatar image Tomas A commented ·

Can anyone send me this example for the 19.0 version? i tried to open it but i can only see connections, nothing else!

0 Likes 0 ·
Cliff King avatar image Cliff King Tomas A commented ·

HC 5 models can not be migrated to 19.0

0 Likes 0 ·
Cliff King avatar image
0 Likes"
Cliff King answered Tee Hiett commented

Tee,

In the attached model, I show the standard Distance Traveled dashboard chart for Resources, and a User-Defined dashboard chart that displays three columns I defined in a custom Data Collector. The "Distance Traveled" pick list option for defining a column in a Data Collector that you referenced in your earlier comment only works for Resources (i.e. an individual staff member), so I needed to revise the pick list option to capture the total distance traveled for all active members of a user specified group.

Let me know if you have any questions or need something explained in the model.

walkingdistanceexamplemodel.fsm


· 7
5 |100000

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

Tee Hiett avatar image Tee Hiett commented ·

Thanks, Cliff,

Would you explain the Recording Event option Resource Becomes Available?

How can I put this new option into the Data Collectors?

Tee

0 Likes 0 ·
Cliff King avatar image Cliff King Tee Hiett commented ·

With that option, the Data Collector will record an entry for each of the three columns I've defined every time an resource (i.e. staff member) becomes available or in other words, finishes a task. This is a good time to record the distance traveled of staff because that is the same time their total distance traveled variable is updated with their most current travel task.

There is a note in the pick list option for the column values that indicates which recording events can be used for recording distance traveled. The "Resource Becomes Available" option may be an overkill and slow the model run down a bit. If all you want to know is the total distance traveled by the staff at the end of each replication run as part of an experiment, then use the "End of Experiment Replication" because it will not create as many recording events and therefore be much faster.

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett commented ·

Cliff,
when I run your model, I get values for the data collector which are approximately twice that of the Standard Chart.

???

Thanks,

Tee

0 Likes 0 ·
bmi6a.png (12.4 KiB)
Cliff King avatar image Cliff King Tee Hiett commented ·

The number next to the staff group name in the standard chart is reporting the average total walking distance for its members The numbers in the User-defined chart is summing up the walking distance for all members of the group and reporting the total.

p.s. 1350.57 + 1625.30 won't equal 2962.01 exactly because the walking distance of the staff using the data collector is not recorded until the staff finishes its current (i..e final) task, but the numbers will be close.

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett Cliff King commented ·

Cliff,

Thanks for the help. The command worked really helped us answer information we needed. Now is there an easy way to put the drop the command into a model and have the option appear in the pick list?

Tee

0 Likes 0 ·
Show more comments
Tee Hiett avatar image
0 Likes"
Tee Hiett answered Tee Hiett commented

I can get the time a nurse travels by activity by using milestones and converting the time to distance. Now I would like to get the total distance traveled by a group of nurses.

Shouldn’t this data collector would give me the distance traveled in meters by all of the Pod 1 nurses?

Thanks,

Tee


ogxve.png (32.2 KiB)
· 4
5 |100000

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

Cliff King avatar image Cliff King commented ·

That's a good idea. As for getting the distance traveled by a group of nurses, why not use the standard dashboard for that?

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett Cliff King commented ·

Cliff,

I am using the standard dashboard for Max, Min, and Avg. I also am trying to get the overall total distance and the total distance by Pod. Ideas, suggestions.

BTW, I cannot get the Data Collector to collect time on Pod1_RNs to work.

Tee

0 Likes 0 ·
Cliff King avatar image Cliff King Tee Hiett commented ·

The standard Distance Travel dashboard reports the total distance traveled for individual members of a primary group. The number reported for the group itself is the average total distance of its members. You aren't getting the "Aggregate Replication Value" Minimum, Maximum and Average mixed up with the min, max and average of the metric itself are you?

When I get some time today, I will put a sample model together for you to show how to go about getting the distance traveled of groups other than a primary group if you need it.

0 Likes 0 ·
Show more comments
Cliff King avatar image
0 Likes"
Cliff King answered Cliff King edited

There is not a standard report that can give you staff travel distance by activity, so you would need to figure out a way to capture that information on your own. There are three different approaches a modeler can take to capture their own data: 1) use the Data Collector tool, 2) define Custom Fields in the Output Raw Data Settings window or 3) use triggers to write data to either an external csv file, or an internal Global Table.

The particular metric you are interested in capturing (i.e. nurse travel distance categorized by nursing activity) would be somewhat challenging depending upon how your model has been designed. Will you always know the reason for a nurse traveling in your model? Does your model have a mix of Global Processes, Patient Tracks, and Item Processing tasks? You need to keep in mind that staff sometimes travel back to their home base when there is nothing for them to do, so which activity should that travel distance be assigned to. Maybe I'm over complicating things. It's possible you could get what you need by simply recording the nurse's total cumulative travel distance at the end of each activity step plus recording the activity that just finished?? Let me know a few more details and I'd be happy to help you get a report that will hopefully give you what you are looking for!

5 |100000

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