




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Simulation Technology,John Shi Chaojian,Merchant Marine College Shanghai Maritime University,3. Modeling,PROBABILISTIC MODELSQueuing Theory,Queuing System Population, characterized by an arrival rate() and an arrival distribution. Queue, with finite or infinite size and the service discipline. Servi
2、ce facility, characterized by the number and configuration of servers, and by a service rate() and a distribution of service times.,Pop,Queue,Serv. F,PROBABILISTIC MODELSQueuing Theory,Standard Notation for Individual Queues A/B/m/n/p A: arrival process (e.g. M if it is Poisson, D if it is determini
3、stic and G if it is general). B: service time (e.g. M if it is exponential, D if it is deterministic and G if it is general). m: number of servers n: maximum number of jobs that can be stored in the queue. p: maximum number of jobs in the universe of the queue.,PROBABILISTIC MODELSQueuing Theory,The
4、 Poisson Process Consider a sequence of events S=(s1,s2,sn), and let t(si) denote when event si happens. The sequence is temporally ordered (i.e., 0t(s1)t(s2) t(sn). If S satisfies the following rules, R1. Prob(t(si)=t(sj)=0 ij. R2. The probability that an event occurs in the interval t,t+t) is give
5、n by t+O(t2) for some constant . It si said to be a Poisson Process,PROBABILISTIC MODELSQueuing Theory,Littles Law The average number of jobs EN in a queuing system is equal to the average arrival rate of the jobs into the system, E, multiplied by the average time spent in the system, ET. That is EN
6、=EET PASTA Theorem (Poisson Arrivals See Time Averages) If a queue under steady-state has jobs arriving according to Poisson process, the probability that an arriving job will find n jobs ahead of it in the system is the probability that there are n jobs in the system at any random moment.,PROBABILI
7、STIC MODELSQueuing Theory,Queuing Equations N= T Nq= Tq T=Tq+1/ N=expected number of units in the queuing system, including both waiting line and and service facility. =arrival rate in units per time T= expected time in the queuing system, including both waiting line and and service facility. Nq= ex
8、pected number of units in the waiting line Tq= expected time in the waiting line =service rate in units per time P(n)=probability that exactly n population units are in the queuing system, including both waiting line and and service facility.,PROBABILISTIC MODELSQueuing Theory,Single-Service Channel
9、 Exponential Service time,PROBABILISTIC MODELSQueuing Theory,Single-Service Channel Arbitrary Service time (Mean service time distribution 1/, and its variance, 2 must be known and /1),PROBABILISTIC MODELSQueuing Theory,Single-Service Channel Constant Service time (service time=1/, and its variance,
10、 2=0),PROBABILISTIC MODELSQueuing Theory,Example: Single Server Queuing System A customer who arrives and finds the server idel enters service immediately. A customer who arrives and finds the server busy joins the end of a single queue. Upon completing service for a customer, the server choose a cu
11、stomer from the queue (if any) in a FIFO manner. Suppose interarrival time and service time are independent and identically distributed(IID).,PROBABILISTIC MODELSQueuing Theory,Example: Arrival procedure,Example: Departure procedure,PROBABILISTIC MODELSQueuing Theory,PROBABILISTIC MODELSInventory Co
12、ntrol,Single Period Model-No Setup Cost Units are purchased at a cost of C dollars per item to be sold during a single period for S dollars per item. The salvage value of any leftover items at the end of the period is equal to M dollars per unit. The quantity purchased at the beginning of the period
13、 is Q items, and the number of units sold during the period is X, X represents demand for the items and is a random variable described by the distribution p(x),PROBABILISTIC MODELSInventory Control,Single Period Model-No Setup Cost Optimum order quantity is the largest Q for which,PROBABILISTIC MODE
14、LSInventory Control,Lost Size Reorder Point Model Reorder when reorder point reached. Safety stock can be added. SS determined by: 1) experiment, 2) statistics.,PROBABILISTIC MODELSInventory Control,Periodic Review Model Review interval is fixed and order quantity varies.,PROBABILISTIC MODELSInvento
15、ry Control,Example: Single Product Inventory System Times between demands 0.1 month Demand size 1,2,3,4 with probability 1/6,1/3,1/3,1/6 Order at beginning of each month. Z items cost=32+3*Z. if Z=0, cost=0. Arrival time 0.5 t0 1 month uniformly distributed. Use stationary policy (if Is, Z=S-I; else
16、 Z=0.) Holding cost 1/(itemmonth); backlog cost 5/(itemmonth).,PROBABILISTIC MODELSInventory Control,Example: Compare policies,19,Stochastic Processes,A stochastic process is a collection of random variables The index t is often interpreted as time. is called the state of the process at time t. The
17、set T is called the index set of the process. If T is countable, the stochastic process is said to be a discrete-time process. If T is an interval of the real line, the stochastic process is said to be a continuous-time process. The state space E is the set of all possible values that the random var
18、iables can assume.,20,Stochastic Processes,Examples: Winnings of a gambler at successive games of blackjack; T = 1, 2, ., 10, E = set of integers. Temperatures in Laurel, MD. on September 17, 2008; T = 12 a.m. Wed., 12 a.m. Thurs.), E = set of real numbers.,21,Markov Chains,A stochastic process is c
19、alled a Markov chain provided that for all states and all .,22,Markov Chains,We restrict ourselves to Markov chains such that the conditional probabilities are independent of n, and for which (which is equivalent to saying that E is finite or countable). Such a Markov chain is called homogeneous.,23
20、,Markov Chains,Since probabilities are non-negative, and the process must make a transition into some state at each time in T, then We can arrange the probabilities into a square matrix called the transition matrix.,24,Markov Matrix,Let P be a square matrix of entries defined for all Then P is a Markov matrix provided that Thus the transition matrix for a Markov chain is a Markov matrix.,25,Markov Matrix,Example: This Markov matrix corresponds to a
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 信息技术-AI行业深度报告系列(二):供电系统:HVDC与柴发环节AI浪潮下的双子星
- 营销创业实训室管理办法
- 蔡甸区文体场馆管理办法
- 街道办公共设施管理办法
- 西藏第十批驻村管理办法
- 衢州市犬粪管理暂行办法
- 西宁市文化课堂管理办法
- 规范社保公积金管理办法
- 设施马铃薯栽培管理办法
- 请休假管理办法(试行)
- 气道净化护理2025年护理团体标准解读
- 2024年上海城建职业学院招聘笔试真题
- 2025年山东省中考道德与法治试卷真题(含答案)
- (高清版)DB11∕T 2429-2025 补充耕地质量调查与评价技术规范
- 湖北省襄阳市2024-2025学年高一下学期7月期末统一调研测试地理试卷
- 机场行李安检安全培训心得体会
- 睾丸扭转超声诊断
- 建筑施工企业2025年半年业绩总结和下半年工作计划
- 2025年省考陕西(行测)考试试题(含答案)
- 昭通设备装卸方案(3篇)
- 2025至2030中国港口航道工程行业深度研究及发展前景投资评估分析
评论
0/150
提交评论