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.

David Chan avatar image David Chan commented ·

Could you clarify if the patient has the appointment at station A, B and C at 9 am, 9.30 am and 10.30 am respectively?

David

0 Likes 0 ·
Lenny C avatar image Lenny C David Chan commented ·

Hi David, yes, patient 1 has appointment at station A, B and C at 9am, 930am and 1030am respectively. However, patient 1 could be late to station B and C due to delays in station A etc

0 Likes 0 ·

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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

@Lenny C, if you don't hear back from David with a version of his model for FlexSim 20.1, keep in mind that our Express version (no license) can open and view any model. The latest version is available for anyone to download from a FlexSim Account, and it can be installed alongside your 20.1 version.

You should be able to use Express 21.1 to open David's model and see what he has done. You can then follow his example in your own model (assuming he didn't use newer features that are unavailable in 20.1).

1 Like 1 ·
Lenny C avatar image Lenny C commented ·

Hi David, i am currently using Flexsim version 20.1.3 and hence is unable to open your file. Could you attach the 20.1.3 version? Thank you!

0 Likes 0 ·
David Chan avatar image David Chan Lenny C commented ·

@Lenny C Please try this. Instead of using Synchronization, I use Join for this case.

David

Patient with appointments at different station 2020.fsm

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.