Open main menu

Wikibooks β

Simulation with AnyLogic/Discrete Event Simulation/Ophthalmology Department Model

< Simulation with AnyLogic‎ | Discrete Event Simulation

Ophthalmology Department ModelEdit

In this section of the tutorial we will build a model of a typical ophthalmology unit. Patients arrive to the department to undergo the ophthalmoscopy procedure. They are held in the waiting room and wait for ophthalmologists to come and make an examination. The procedure is held in the procedure room. When a doctor arrives, patient moves to empty procedure room escorted by the doctor. The procedure is performed using an ophthalmoscope. Ophthalmoscopes are stored in the storage room and are taken by doctors just before the procedure begins. Following the procedure, the doctor transports the ophthalmoscope back to the storage room and returns to the staffroom, and the patient leaves the ophthalmology department.

We will construct our model using network based modeling blocks. A group of the Enterprise Library objects with common prefix "Network" enable network- or layout-based modeling. Typically, they are used when the processes being modeled are going on in a certain physical space and include movement of entities and resources. Entities can move along paths of the network and use resources located in that network.

  1.   Step 1. Creating a new model
  2.   Step 2. Creating a model animation
  3.   Step 3. Animating patients and resources
  4.   Step 4. Defining the network and resources
  5.   Step 5. Creating a flowchart
  6.   Step 6. Configuring the simulation
  7.   Step 7. Running the model
  8.   Step 8. Occupying a procedure room
  9.   Step 9. Calling a doctor