Example patient type of illness age sex temperature

This preview shows page 42 - 54 out of 62 pages.

Example: Patient Type of illness, Age, Sex, Temperature, Blood Pressure
Image of page 42
Bilkent University - IE 324 Simulation COMPONENTS OF A SYSTEM Resources : what entities compete for Entity seizes a resource, uses it, releases it Think of a resource being assigned to an entity , rather than an entity “belonging to” a resource “A” resource can have several units of capacity which can be changed during the simulation Example: Health Center Doctors, Nurses X-Ray Equipment
Image of page 43
Bilkent University - IE 324 Simulation COMPONENTS OF A SYSTEM Variable : A piece of information that reflects some characteristic of the whole system, not of specific entities Entities can access, change some variables Example: Health Center Number of patients in the system, Number of idle doctors, Current time
Image of page 44
Bilkent University - IE 324 Simulation COMPONENTS OF A SYSTEM State : A collection of variables that contains all the information necessary to describe the system at any time Example: Health Center {Number of patients in the system, Status of doctors (busy or idle), Number of idle doctors, Status of Lab equipment, etc}
Image of page 45
Bilkent University - IE 324 Simulation COMPONENTS OF A SYSTEM Event : An instantaneous occurrence that changes the state of the system Example: Health Centre Arrival of a new patient, Completion of service (i.e., examination) Failure of medical equipment, etc.
Image of page 46
Bilkent University - IE 324 Simulation COMPONENTS OF A SYSTEM Activity : represents a time period of specified length. Example: Health Center Surgery, Checking temperature, X-Ray.
Image of page 47
Bilkent University - IE 324 Simulation DATA COLLECTION AND ANALYIS Data collection is an expensive process! The client often collects the data & submit it in electronic format Simulation analyst analyse the data Determine the random variables Determine the data requirements Analyse the data Fit distribution functions
Image of page 48
Bilkent University - IE 324 Simulation LOGICAL (or Flowchart model) Shows the logical relationships among the elements of the model Start Read data Check Generate data Set new event Calculate Stats Print Check Stop
Image of page 49
Bilkent University - IE 324 Simulation MODEL TRANSLATION Simulation model executes the logic contained in the flow- chart model Coding General Purpose Language Special Purpose Simulation Language/Software JAVA, C++, Visual BASIC Examples: SIMAN, ARENA, EXTEND Examples:
Image of page 50
Bilkent University - IE 324 Simulation Simulation model --- MODEL FILE --- BEGIN; CREATE,1:,EXPO(40):EX(40):MARK(1); QUEUE,1; SEIZE:DOCTOR; DELAY:EXPO(30); TALLY:1,INT(1); RELEASE:DOCTOR; COUNT:1:DISPOSE; END: ----EXPERIMENTAL FILE ----- BEGIN; PROJECT,HEALTH_CENTRE, IHSA SABUNCUOGLU,24/1/2000; DISCRETE,100,1,1; RESOURCES:1, DOCTORS; DSTATS:1,NQ(!),NUMBER_IN_QUEUE: 2,NR(1),DOCTOR UTILIZATION; TALLIES:1, TIME IN HEALTH_CENTRE; COUNTERS:1,No. OF PATIENTS SERVED; END:
Image of page 51
Bilkent University - IE 324 Simulation ARENA EXAMPLE
Image of page 52
Bilkent University - IE 324 Simulation JAVA EXAMPLE public static void main( String argv[]) { Initialization(); //Loop until first "TotalCustomers" have departed while (NumberofDepartures < TotalCustomers) { Event evt = FutureEventList[0]; //get imminent event removefromFEL(); //be rid of it Clock = evt.get_time(); //advance in time if (evt.get_type() == arrival) ProcessArrival(); else ProcessDeparture(); } ReportGeneration(); }
Image of page 53
Image of page 54

You've reached the end of your free preview.

Want to read all 62 pages?

  • Fall '19
  • Test, Computer simulation, Bilkent University

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors