I am really confused about how to create a model.
In a medical centre, a patient arrives on average once every 20 minutes exponentially. Patients first join a queue and wait there for registration. They then go to a registration desk staffed by a medical assistant, providing their name and insurance data. This process takes anytime from 30 seconds and 2 minutes. During the registration process, the medical assistant will assign patients to one of the two waiting rooms. Waiting room 1 is for urgent cases (30%), and room 2 is for normal cases (70%). Change the colour of urgent patients to RED, and normal patients to YELLOW. RED patients will be given higher priority to see the doctor. After registration, patients will be escorted by the same medical assistant to their designated waiting rooms, and sit there until the doctor is available. The doctor calls the patients on a FIFO order, but those in waiting room 1 (RED patients) will be called first. For normal patients (YELLOW), the consultation time with the doctor takes on average 15 minutes, with a standard deviation of 3 minutes. But for urgent patients (RED) it will take longer on average 30 minutes, with a standard deviation of 4 minutes. After the consultation, about half of the patients will need a prescription, and it will be done by the doctor in 2 minutes on average. Both prescription and non-prescription patients then go to the check-out desk to pay the fee and schedule the next appointment. This typically takes 45 to 60 seconds. The same medical assistant is staffing the check-in and the check-out desks. Patients then exit to one of the two queues (one for RED patients, one for YELLOW patients) to wait for their buses. Paint the two bus queues with the right colours. There is one bus for the RED patients going on a one-directional loop and take them to the outside world. Similarly a separate bus is on another one-directional loop will take the YELLOW patients to the outside world. Both buses have a capacity of 20 people, and they won’t start until there are 20 people onboard. Their speed, acceleration and deceleration are all constant of 120. Model this medical centre using FlexSim, and simulate the model for 5 replications of 8 hours. Save the model as ‘model1_1’
On average, what is the total time spent in the medical centre by a RED patient and a YELLOW patient?