- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
System Simulation and VR Chap. 2 Simple examples Overview Example 1: one queue one server Example 2: one queue two servers Parameters, metrics, and measurements Conclusions Example 1 Perform a performance evaluation of a checkout counter in a store Objectives: Determine How long do customers have to wait? How many customers are in line? How much of the time is the cashier busy? Problem statement (cont’d) What are relevant parts? The person at the counter People waiting in line What are relevant parameters? How do customers arrive at the queue? How long does it take to serve a customer? How is the queue organized? Metrics = objectives in this example A simple model Map the real-world system parts to abstract representations A simple model - Algorithm How does such a checkout queue work? Server is idle (no customer present) If customer arrives, customer is serviced immediately, until completion Server is then busy until customer is completely served If no customer in queue, the server becomes idle Algorithm Server is busy If customer arrives, the customer joins the end of a queue When server becomes idle (a customer has been finished), server checks the queue If one or more customer wait in queue, the first customer leaves the queue and is now serviced Algorithm The state of the model changed due to two different kinds of events: Arrival of customers Customers finishing service and leaving the server Both kinds of events were processed/the state was manipulated according to the algorithm describing the model Input modeling Interarrival time distribution Input modeling Service time distribution Manual simulation Metrics Average waiting time for a customer =total time customers wait in queue/total numbers of customers The probability that a customer has to wait in the queue =number of customers who wait/total number of customers The fraction of idle time of the server =total idle time of server/total run time of simulation The average service time =total service
文档评论(0)