question

Tee Hiett avatar image
1 Like"
Tee Hiett asked Tee Hiett commented

One more problem with Coovid-19 Model.

This is a slightly revised model that @jason.lightfoot helped me with last week and @Matthew Gillespie a week before that. That model can be see here.

I modified the sequence of Activities from "Release Seat" to "Walk to ExitSpot" in order to reduce the time from Marking a Seat as Used to pulling the records from the list. It seemed to me that this delay was preventing an accurate count of the seats in use.

The model seems to be working much better now but at approximately 9:40 6 AM, 11:45 AM and 2:40 p.m. a patient arrives and no seat is immediately available. An entire the row of seats becomes available shortly after that patient arrived but the patient does not "see" the seats until another entire row of seats become available becomes available. This is sufficient time for 10 or so patients to join the waiting line. Then all the waiting patients go to those 2 rows of seats. I do not know how to correct this.

Thanks

Waiting For Seats.jpg

Covid19 vaccinations auditorium_7.fsm


FlexSim 20.2.1
healthcareflexsim 20.2.1acquire object
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
0 Likes"
Matthew Gillespie answered Tee Hiett commented

After clearing the InUse label on the chairs in a row, you can call the reevaluateBackorders() method on the Locations list to let anyone currently waiting for a chair know that there's a new chair available.

List("Locations").reevaluateBackOrders();

covid19-vaccinations-auditorium-7_fixed.fsm


· 1
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 ·
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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