{"id":44,"date":"2011-10-23T00:58:24","date_gmt":"2011-10-23T00:58:24","guid":{"rendered":"http:\/\/minkhollow.ca\/books\/?page_id=44"},"modified":"2014-07-21T19:08:19","modified_gmt":"2014-07-21T19:08:19","slug":"12-2","status":"publish","type":"page","link":"http:\/\/minkhollow.ca\/books\/?page_id=44","title":{"rendered":"12: Example 1: A Hospital Emergency Department (Single Server Queuing System II)"},"content":{"rendered":"<h1 id=\"Chapter_12\" >Chapter 12<\/h1>\n<p>Here&#8217;s were we will put color versions of the images, updates, and other extras.<\/p>\n<p>Here we will develop a different example of the same type of simulation as was developed in Chapter 8 and then look at several ways to modify it, such as adding customer priorities and preferences.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-535\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/wordle-ch-12-jun-24.png\" alt=\"wordle-ch-12-jun-24\" width=\"809\" height=\"446\" srcset=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/wordle-ch-12-jun-24.png 809w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/wordle-ch-12-jun-24-300x165.png 300w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/wordle-ch-12-jun-24-768x423.png 768w\" sizes=\"auto, (max-width: 809px) 100vw, 809px\" \/><\/p>\n<ol>\n<li>\n<div>Hospital Emergency Department (Another Queuing System)<\/div>\n<\/li>\n<li>\n<div>System Analysis<\/div>\n<ol>\n<li>\n<div>Reneging<\/div>\n<\/li>\n<li>\n<div>Triage \u2013 Two Priorities<\/div>\n<\/li>\n<li>\n<div>Tandem M\/M\/1 Queues<\/div>\n<\/li>\n<li>\n<div>Ambulance Entry \u2013 Jumping the Queue<\/div>\n<\/li>\n<\/ol>\n<\/li>\n<li>\n<div>System Synthesis<\/div>\n<\/li>\n<li>\n<div>Implementation<\/div>\n<ol>\n<li>\n<div>Implementation of Reneging<\/div>\n<\/li>\n<li>\n<div>Priority Queues<\/div>\n<\/li>\n<li>\n<div>Tandem Queues<\/div>\n<\/li>\n<li>\n<div>Ambulance Arrivals<\/div>\n<\/li>\n<li>\n<div>Completing the ED Simulation<\/div>\n<\/li>\n<\/ol>\n<\/li>\n<li>\n<div>Verification &amp; Validation<\/div>\n<ol>\n<li>\n<div>Splitting Interarrival Times<\/div>\n<\/li>\n<li>\n<div>Reneging<\/div>\n<\/li>\n<li>\n<div>Priority Queues<\/div>\n<\/li>\n<li>\n<div>Tandem Queues<\/div>\n<\/li>\n<\/ol>\n<\/li>\n<li>\n<div>Summary<\/div>\n<ol>\n<li>\n<div>Concepts<\/div>\n<\/li>\n<li>\n<div>Terminology<\/div>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h2 id=\"Images\" >Images<\/h2>\n<p>*Please note: all images are copyrighted, permission to use an image must be obtained from <a title=\"Wiley Copyright\" href=\"http:\/\/ca.wiley.com\/WileyCDA\/Section\/id-302345.html\" target=\"_blank\">Wiley<\/a> (and possibly also the original sources).<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_352\" aria-describedby=\"caption-attachment-352\" style=\"width: 155px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f001.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-352\" title=\"Figure 12-1: A hospital emergency department to be simulated. This design is based on one found in an existing hospital.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f001-155x300.png\" alt=\"\" width=\"155\" height=\"300\" \/><\/a><figcaption id=\"caption-attachment-352\" class=\"wp-caption-text\">Figure 12-1: A hospital emergency department to be simulated. This design is based on one found in an existing hospital.<\/figcaption><\/figure>\n<figure id=\"attachment_353\" aria-describedby=\"caption-attachment-353\" style=\"width: 274px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f002.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-353\" title=\"Figure 12-2: A single server queuing system with reneging.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f002-274x300.png\" alt=\"\" width=\"274\" height=\"300\" srcset=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f002-274x300.png 274w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f002.png 560w\" sizes=\"auto, (max-width: 274px) 100vw, 274px\" \/><\/a><figcaption id=\"caption-attachment-353\" class=\"wp-caption-text\">Figure 12-2: A single server queuing system with reneging.<\/figcaption><\/figure>\n<figure id=\"attachment_354\" aria-describedby=\"caption-attachment-354\" style=\"width: 274px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f003.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-354\" title=\"Figure 12-3: A two-priority queue. Priority 1 clients get served first. Only when the priority 1 queue is empty can a priority 2 job get access to the server.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f003-274x300.png\" alt=\"\" width=\"274\" height=\"300\" srcset=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f003-274x300.png 274w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f003.png 560w\" sizes=\"auto, (max-width: 274px) 100vw, 274px\" \/><\/a><figcaption id=\"caption-attachment-354\" class=\"wp-caption-text\">Figure 12-3: A two-priority queue. Priority 1 clients get served first. Only when the priority 1 queue is empty can a priority 2 job get access to the server.<\/figcaption><\/figure>\n<figure id=\"attachment_355\" aria-describedby=\"caption-attachment-355\" style=\"width: 274px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f004.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-355\" title=\"Figure 12-4: Tandem queues representing stages in processing in a real system.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f004-274x300.png\" alt=\"\" width=\"274\" height=\"300\" srcset=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f004-274x300.png 274w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f004.png 560w\" sizes=\"auto, (max-width: 274px) 100vw, 274px\" \/><\/a><figcaption id=\"caption-attachment-355\" class=\"wp-caption-text\">Figure 12-4: Tandem queues representing stages in processing in a real system.<\/figcaption><\/figure>\n<figure id=\"attachment_367\" aria-describedby=\"caption-attachment-367\" style=\"width: 252px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f005.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-367\" title=\"Figure 12-5: Adding ambulance entries.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f005-252x300.png\" alt=\"\" width=\"252\" height=\"300\" \/><\/a><figcaption id=\"caption-attachment-367\" class=\"wp-caption-text\">Figure 12-5: Adding ambulance entries.<\/figcaption><\/figure>\n<figure id=\"attachment_356\" aria-describedby=\"caption-attachment-356\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f006.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-356\" title=\"Figure 12-6: Arrivals to the ED for each hourly time period in a day. (used with permission from I. Georgievskiy, Z. Gieogievskaya, W. Pinney 2008).\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f006-300x156.png\" alt=\"\" width=\"300\" height=\"156\" srcset=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f006-300x156.png 300w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f006-768x399.png 768w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f006-1024x533.png 1024w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f006.png 1215w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-356\" class=\"wp-caption-text\">Figure 12-6: Arrivals to the ED for each hourly time period in a day. (used with permission from I. Georgievskiy, Z. Gieogievskaya, W. Pinney 2008).<\/figcaption><\/figure>\n<figure id=\"attachment_357\" aria-describedby=\"caption-attachment-357\" style=\"width: 274px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f007.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-357\" title=\"Figure 12-7: A graph of reneging probability VS mean time to renege for the single server queuing system of Chapter 7.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f007-274x300.png\" alt=\"\" width=\"274\" height=\"300\" srcset=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f007-274x300.png 274w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f007.png 560w\" sizes=\"auto, (max-width: 274px) 100vw, 274px\" \/><\/a><figcaption id=\"caption-attachment-357\" class=\"wp-caption-text\">Figure 12-7: A graph of reneging probability VS mean time to renege for the single server queuing system of Chapter 7.<\/figcaption><\/figure>\n<figure id=\"attachment_369\" aria-describedby=\"caption-attachment-369\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f008.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-369\" title=\"Figure 12-8: A single server queuing system with reneging implemented in ExtendSim. This is intended as a first draft of the triage portion of the ED simulation.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f008-300x170.png\" alt=\"\" width=\"300\" height=\"170\" \/><\/a><figcaption id=\"caption-attachment-369\" class=\"wp-caption-text\">Figure 12-8: A single server queuing system with reneging implemented in ExtendSim. This is intended as a first draft of the triage portion of the ED simulation.<\/figcaption><\/figure>\n<figure id=\"attachment_359\" aria-describedby=\"caption-attachment-359\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f009.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-359\" title=\"Figure 12-9: A two priority queuing system.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f009-300x164.png\" alt=\"\" width=\"300\" height=\"164\" srcset=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f009-300x164.png 300w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f009.png 614w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-359\" class=\"wp-caption-text\">Figure 12-9: A two priority queuing system.<\/figcaption><\/figure>\n<figure id=\"attachment_360\" aria-describedby=\"caption-attachment-360\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f010.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-360\" title=\"Figure 12-10: An ExtendSim implementation of a set of single server queuing systems in tandem. This represents the basic emergency department simulation.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f010-300x119.png\" alt=\"\" width=\"300\" height=\"119\" srcset=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f010-300x119.png 300w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f010-768x305.png 768w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f010.png 851w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-360\" class=\"wp-caption-text\">Figure 12-10: An ExtendSim implementation of a set of single server queuing systems in tandem. This represents the basic emergency department simulation.<\/figcaption><\/figure>\n<figure id=\"attachment_361\" aria-describedby=\"caption-attachment-361\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f011.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-361\" title=\"Figure 12-11: Ambulance arrivals added to the tandem queuing system of Figure 12-10\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f011-300x136.png\" alt=\"\" width=\"300\" height=\"136\" \/><\/a><figcaption id=\"caption-attachment-361\" class=\"wp-caption-text\">Figure 12-11: Ambulance arrivals added to the tandem queuing system of Figure 12-10<\/figcaption><\/figure>\n<figure id=\"attachment_363\" aria-describedby=\"caption-attachment-363\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f012.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-363\" title=\"Figure 12-12: The final ED simulation.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f012-300x180.png\" alt=\"\" width=\"300\" height=\"180\" srcset=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f012-300x180.png 300w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f012-768x461.png 768w, http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f012.png 808w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-363\" class=\"wp-caption-text\">Figure 12-12: The final ED simulation.<\/figcaption><\/figure>\n<figure id=\"attachment_364\" aria-describedby=\"caption-attachment-364\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f013.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-364\" title=\"Figure 12-13: ExtendSim simulation to verify the method for splitting the interarrival time into two components by fraction.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f013-300x217.png\" alt=\"\" width=\"300\" height=\"217\" \/><\/a><figcaption id=\"caption-attachment-364\" class=\"wp-caption-text\">Figure 12-13: ExtendSim simulation to verify the method for splitting the interarrival time into two components by fraction.<\/figcaption><\/figure>\n<figure id=\"attachment_365\" aria-describedby=\"caption-attachment-365\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f014.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-365\" title=\"Figure 12-14: An alternative two priority queuing system, suitable for collecting data.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f014-300x186.png\" alt=\"\" width=\"300\" height=\"186\" \/><\/a><figcaption id=\"caption-attachment-365\" class=\"wp-caption-text\">Figure 12-14: An alternative two priority queuing system, suitable for collecting data.<\/figcaption><\/figure>\n<figure id=\"attachment_366\" aria-describedby=\"caption-attachment-366\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f015.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-366\" title=\"Figure 12-15: A tandem queue arrangement designed to verify the implementation. It has been set up to measure average time that clients spend in the system.\" src=\"http:\/\/minkhollow.ca\/books\/wp-content\/uploads\/2011\/10\/ch12f015-300x222.png\" alt=\"\" width=\"300\" height=\"222\" \/><\/a><figcaption id=\"caption-attachment-366\" class=\"wp-caption-text\">Figure 12-15: A tandem queue arrangement designed to verify the implementation. It has been set up to measure average time that clients spend in the system.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Chapter 12 Here&#8217;s were we will put color versions of the images, updates, and other extras. Here we will develop a different example of the same type of simulation as was developed in Chapter 8 and then look at several ways to modify it, such as adding customer priorities and preferences. Hospital Emergency Department (Another [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":82,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","jetpack_post_was_ever_published":false,"footnotes":""},"class_list":{"0":"post-44","1":"page","2":"type-page","3":"status-publish","4":"has-post-thumbnail","6":"entry"},"jetpack_shortlink":"https:\/\/wp.me\/P4QGQz-I","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/minkhollow.ca\/books\/index.php?rest_route=\/wp\/v2\/pages\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/minkhollow.ca\/books\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/minkhollow.ca\/books\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/minkhollow.ca\/books\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/minkhollow.ca\/books\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44"}],"version-history":[{"count":11,"href":"http:\/\/minkhollow.ca\/books\/index.php?rest_route=\/wp\/v2\/pages\/44\/revisions"}],"predecessor-version":[{"id":536,"href":"http:\/\/minkhollow.ca\/books\/index.php?rest_route=\/wp\/v2\/pages\/44\/revisions\/536"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/minkhollow.ca\/books\/index.php?rest_route=\/wp\/v2\/media\/82"}],"wp:attachment":[{"href":"http:\/\/minkhollow.ca\/books\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}