question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Tee Hiett edited

get the time provider waits for another provider at a specific activity?

md-waits-for-resident.fsmIn the attached model, I would like to get the time the first provider waits at activity 220_ReadsResults for the 2nd provider.

Thanks,
Tee

FlexSim HC 5.3.4
provider waitingwait at activity
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

Cliff King avatar image
0 Likes"
Cliff King answered Tee Hiett edited

I'm not sure there is a way to get this information directly, and it's going to be difficult to get in even an "indirect" way! Although the software does a good job of recording the total time a patient has to wait for locations and resources, it only categorizes the wait by a location area and resource group, and doesn't further categorize the wait times by activity. The software also does a good job of recording the amount of time one staff member waits for another, but it doesn't categorize this wait by specific activities associated with a given wait time.

One of the problems in your model is the fact that we do not know which of the two providers will be allocated first. Currently, your model settings allow the two staff requests to be dispatched in parallel as shown below.

If you change your model settings (File > Model Settings menu) to dispatch requests sequentially as shown below, then we will at least know that the first staff member must be allocated before a request will be sent to the second staff member.

Even so, we do not have a convenient trigger in the model to record the difference in time between when the first staff member is allocated/arrives and the second staff member is allocated/arrives. If you split activity 220 into three activities: 1) allocate and keep first provider with a 0 process time activity, 2) allocate and keep the next provider with a 0 process time activity, and 3) a final activity using both allocated providers with the actual process time, then you will at least have triggers you can use to start and stop timers recorded in a global table or something. Or maybe you will be able to decipher the wait time of the first provider by simply looking at the difference between the spawn and start times for the 2nd activity that tries to allocate the second provider. The "spawned" time is when an activity initially gets kicked off by its predecessors or whatever, and the actual "start" time is the time the activity was able to allocate its first required resource.


one.png (20.8 KiB)
two.png (19.7 KiB)
· 11
5 |100000

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