question

Lenny C avatar image
0 Likes"
Lenny C asked David Chan commented

Patient with appointments at different stations

Hi,

May i know how i can go about building a model with the following logic?

Customers arrive based on appointment time at different stations. For example:

  • Customer 1 has an appointment at station A, B,C at 9AM, 930AM, 1030AM.
  • Customer 2 has an appointment at station B,C at 930AM, 1030AM.
  • However, customer 1 might be late for appointment at station B due to processing time or because customer 1 was late for Station A. As such, when customer 2 arrives at station B at 930AM, customer 2 will either be served immediately or wait for customer 1 to be served first.

Ultimately, I want to be able to key into 1 or several global tables the number of appointments in each station and let flexsim run the simulation to get the waiting time for each customer. The difficulty i am experiencing now is linking the same customer to their respective arrival source. Thank you!


FlexSim 20.1.3
flexsim 20.1.3appointment schedule
· 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.

1 Answer

David Chan avatar image
0 Likes"
David Chan answered David Chan commented

@Lenny C In order to do so, my suggestion is to use a Split activity in your patient flow. After splitting, one token is used to control the time (or the movement of the patient) based on the appointment time and another token is for the patient. Use Synchronize activity to sync the tokens from two flow.

Please see the enclosed model for detail.

David

Patient with appointments at different station.fsm


· 3
5 |100000

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