夏季吃什么菜最好菜谱| 阴枣是什么| 哥哥的女儿叫什么| 派出所长是什么级别| 肠胃炎饮食要注意什么| 糖尿病人吃什么水果最好| 什么是润年| k是什么| edg是什么意思| 梦见打牌是什么意思| 结婚唱什么歌送给新人| 肾结石是由什么原因引起的| 吃什么除体内湿气最快| 吃什么可以拉肚子| 痛风吃什么食物好| 林子大了什么鸟都有| 膝盖痛吃什么药好| 菜鸟什么意思| 脉搏是什么| 红色的蛇是什么蛇| 女性为什么不适合喝茉莉花茶| trans什么意思| 一度房室传导阻滞是什么意思| 秦国是现在的什么地方| 救星是什么意思| 谷草谷丙高是什么原因| 两岁宝宝不开口说话是什么原因| 鹿晗的粉丝名叫什么| 98年的虎是什么命| 阳萎早谢吃什么药最好| 垢是什么意思| 吃什么能快速减肥| 舌根发硬是什么原因| 酒精过敏吃什么药| 嘴唇干燥是什么原因| 假唱是什么意思| 来例假吃什么好| 文字属于五行属什么| 胃火牙疼吃什么药好| 娃儿发烧用什么方法退烧快| 逍遥丸主治什么病| 人黑穿什么颜色的衣服好看| 辛辣是什么意思| m k是什么牌子| 十月底是什么星座| 破处是什么感觉| 白术是什么样子的图片| 智字五行属什么| 纤维增殖灶是什么意思| 胎儿胆囊偏小有什么影响| 小孩子长白头发是什么原因| 嘴唇上长痣代表什么| 线雕是什么| 频繁做梦是什么原因| 梦游是什么原因造成的| 华侨是什么| 光斑是什么意思| 为什么不建议做融合手术| 南瓜不能和什么一起吃| 属狗和什么属相不合| 细菌是什么| 心悸是什么感觉| 什么仇什么怨| 水痘长什么样子的图片| 白衬衫配什么裤子好看| 美人鱼是什么动物| 四川九寨沟什么时候去最好| 饺子什么馅儿最好吃| 生二胎需要什么手续| 病毒性肝炎有什么症状| 女生被插是什么感觉| 婴儿喝什么牌奶粉好| 菩提是什么东西| 检点是什么意思| 腺样体是什么意思| 颖五行属什么| 985和211有什么区别| 减肥挂什么科| 酒精和碘伏有什么区别| 晶莹的近义词是什么| 子宫内膜厚什么原因引起的| 碳水化合物是什么东西| 肠手术后吃什么恢复快| 鼻屎有臭味是什么原因| 来月经头疼是什么原因| 木梳子梳头有什么好处| 容易感冒的人缺什么| 过敏打什么针| 点到为止是什么意思| 迪丽热巴颜值什么水平| 路亚什么意思| 为什么高铁没有e座| 梦见跑步是什么意思| 碧潭飘雪是什么茶| 初三什么时候毕业| 肝火旺吃什么| 大意失荆州是什么意思| 车厘子与樱桃有什么区别| 肺有问题挂什么科| otc药是什么意思| 心绞痛吃什么药好| 猪肚和什么煲汤最好| 一月十一是什么星座| 充气娃娃什么感觉| 什么人需要做肠镜检查| 肾结石少吃什么食物| 正值当年什么意思| 孕妇吃什么水果好对胎儿好| 老炮儿是什么意思啊| 表哥的女儿叫什么| 月经2个月没来是什么原因| mt是什么单位| 羽毛球拍u是什么意思| 布谷鸟长什么样| 什么方法可以治打嗝| 胃酸吃什么药| 狗皮肤溃烂用什么药| 腋下发黑是什么原因| 茄子炒什么好吃又简单| 传说中的狮身人面像叫什么名字| 青石是什么石头| 梦见嫖娼是什么意思| 语文是什么意思| 房颤吃什么药效果最好| 压床是什么意思| 单人旁的字和什么有关| 东方是什么意思| 间接胆红素偏高什么意思| 加鸡腿什么意思| 什么是慢性萎缩性胃炎| 一什么金鱼| 喉咙有痰是什么原因| 颈肩综合症有什么症状| 黄色鞋子配什么颜色裤子| 女人血稠吃什么食物好| 腿凉是什么原因引起的| 婴儿坐高铁需要什么证件| 大便很粗是什么原因| 5月26号什么星座| 吃什么去除体内湿热| 断码是什么意思| 力争是什么意思| 男人占有欲强说明什么| 什么的假山| 五月二十一号是什么星座| 双肺局限性气肿是什么病| 去除扁平疣用什么药膏| 月子里可以吃什么水果| 一日三餐是什么生肖| 男人射精快吃什么药| 疝气嵌顿是什么意思| 股藓要用什么药膏效果最好| mlb中文叫什么| 肾病吃什么药最好| 滑肠是什么意思| phd是什么| 打激素有什么副作用| 甲醛是什么气味| 虾不能和什么东西一起吃| 荒芜是什么意思| 诅咒是什么意思| 麦冬是什么| 老年人脚肿吃什么药| 排便方式改变指什么| 上颌窦囊肿是什么意思| 威海有什么好玩的| 明星经纪人是干什么的| 炒什么菜适合拌面| 吃什么东西可以降压| 血脂稠吃什么药| 上午九点多是什么时辰| 近亲是什么意思| ber是什么意思| 指导员是什么级别| 众所周知是什么生肖| 无可奈何是什么生肖| 1月25日什么星座| tf口红什么牌子| 8月6号什么星座| 皮肤黄适合穿什么颜色的衣服| 澳大利亚说什么语| 皮肤发黄是什么原因| os什么意思| 跑步后头晕是什么原因| graves病是什么病| 对应是什么意思| atc是什么意思| 把碗打碎了有什么征兆| 郑中基为什么叫太子基| 夜尿多吃什么药效果好| 524是什么意思| 拉黄尿是什么原因| 柔情似水是什么意思| 宫颈机能不全是什么原因造成的| 现充什么意思| 晨咳是什么原因引起的| 吃黑米有什么好处和坏处| 示字旁与什么有关| hbalc是什么意思| 欠钱不还被起诉会有什么后果| AMI是什么病| 灰指甲用什么药好| 毕生是什么意思| 75年的兔是什么命| 芒果不可以跟什么一起吃| 兰花长什么样| 结界是什么意思| 徐州二院全名叫什么| 经常肚子疼拉肚子是什么原因| 中性粒细胞是指什么| 六安瓜片属于什么茶| 朝拜的意思是什么| 道和集团是干什么的| 1985是什么年| 送什么礼物好| 性格是什么意思| 绿鼻涕是什么原因| 鱼可以吃什么| 为什么子宫会下垂| 庖丁是什么意思| 牙龈发炎肿痛吃什么药| 嘴馋是什么意思| 大姨妈来了喝红糖水有什么功效| 属马五行属什么| 98年出生属什么| 浑身瘙痒是什么原因| 为什么拔罐肩膀最黑| 浪蹄子什么意思| 什么是大男子主义| Urea医学上是什么意思| 金钱骨是什么部位| 为什么晚上不能晾衣服| 失眠为什么开奥氮平片| 大便不成形什么原因| 怀孕生化了有什么症状| 晒伤用什么药膏| 还价是什么意思| bbs是什么意思| 山楂和什么泡水喝减肥效果最好| 胃暖气是什么症状| cba什么意思| 唐僧的真名叫什么| 羊胎素是什么| 中班小朋友应该学什么| 什么龙可以横行霸道| 皮肤糖化是什么意思| 冬天怕冷夏天怕热是什么体质| 什么叫两会| 土克什么| 箭在弦上是什么意思| 鸽子炖什么| b型o型生出来的孩子什么血型| 相公是什么意思| 麦粒肿吃什么药| 声声慢是什么意思| 子痫是什么意思| 紫癜是一种什么病| 照猫画虎什么意思| 吃什么能降血糖| 电动轮椅什么牌子质量好| 石榴花什么时候开花| 双重否定句是什么意思| 加拿大用什么货币| 9月份有什么节日| 百度Jump to content

早春二月百花开 京郊自驾踏青要有辆SUV

From Wikipedia, the free encyclopedia
(Redirected from Discrete event simulation)
百度 娜比这件蓝色格纹上衣来自权志龙姐姐自创的品牌WE11DONE,大幂幂、娜扎和佟丽娅等明星大咖可是不惧撞衫压力都要穿的哟~WE11DONE格纹印花上衣官网售价:约4050元Chanel大号手袋originalsYEEZYBOOST350V2经典鞋官网售价:1899元火遍2017秋冬的泰迪熊外套欧阳娜娜早已收入囊中,短款的设计搭配Balenciaga的编织袋与棒球帽,让这款外套显得更加随性~羊羔毛外套官网售价:约695元Balenciaga黑色Bazar大号手提包官网售价:11049元看了欧阳娜娜这么多街拍,凰尚发现,原来真·欧阳娜娜·时装博主的穿搭这么有路人缘是有原因的。

A discrete-event simulation (DES) models the operation of a system as a (discrete) sequence of events in time. Each event occurs at a particular instant in time and marks a change of state in the system.[1] Between consecutive events, no change in the system is assumed to occur; thus the simulation time can directly jump to the occurrence time of the next event, which is called next-event time progression.

In addition to next-event time progression, there is also an alternative approach, called incremental time progression, where time is broken up into small time slices and the system state is updated according to the set of events/activities happening in the time slice.[2] Because not every time slice has to be simulated, a next-event time simulation can typically run faster than a corresponding incremental time simulation.

Both forms of DES contrast with continuous simulation in which the system state is changed continuously over time on the basis of a set of differential equations defining the rates of change for state variables.

In the past, these three types of simulation have also been referred to, respectively, as: event scheduling simulation, activity scanning simulation, and process interaction simulation. It can also be noted that there are similarities between the implementation of the event queue in event scheduling, and the scheduling queue used in operating systems.

Example

[edit]

A common exercise in learning how to build discrete-event simulations is to model a queueing system, such as customers arriving at a bank teller to be served by a clerk. In this example, the system objects are Customer and Teller, while the system events are Customer-Arrival, Service-Start and Service-End. Each of these events comes with its own dynamics defined by the following event routines:

  1. When a Customer-Arrival event occurs, the state variable queue-length is incremented by 1, and if the state variable teller-status has the value "available", a Service-Start follow-up event is scheduled to happen without any delay, such that the newly arrived customer will be served immediately.
  2. When a Service-Start event occurs, the state variable teller-status is set to "busy" and a Service-End follow-up event is scheduled with a delay (obtained from sampling a service-time random variable).
  3. When a Service-End event occurs, the state variable queue-length is decremented by 1 (representing the customer's departure). If the state variable queue-length is still greater than zero, a Service-Start follow-up event is scheduled to happen without any delay. Otherwise, the state variable teller-status is set to "available".

The random variables that need to be characterized to model this system stochastically are the interarrival-time for recurrent Customer-Arrival events and the service-time for the delays of Service-End events.

Components

[edit]

State

[edit]

A system state is a set of variables that captures the salient properties of the system to be studied. The state trajectory over time S(t) can be mathematically represented by a step function whose value can change whenever an event occurs.

Clock

[edit]

The simulation must keep track of the current simulation time, in whatever measurement units are suitable for the system being modeled. In discrete-event simulations, as opposed to continuous simulations, time 'hops' because events are instantaneous – the clock skips to the next event start time as the simulation proceeds.

Events list

[edit]

The simulation maintains at least one list of simulation events. This is sometimes called the pending event set because it lists events that are pending as a result of previously simulated event but have yet to be simulated themselves. An event is described by the time at which it occurs and a type, indicating the code that will be used to simulate that event. It is common for the event code to be parametrized, in which case, the event description also contains parameters to the event code.[citation needed] The event list is also referred to as the future event list (FEL) or future event set (FES).[3][4][5][6]

When events are instantaneous, activities that extend over time are modeled as sequences of events. Some simulation frameworks allow the time of an event to be specified as an interval, giving the start time and the end time of each event.[citation needed]

Single-threaded simulation engines based on instantaneous events have just one current event. In contrast, multi-threaded simulation engines and simulation engines supporting an interval-based event model may have multiple current events. In both cases, there are significant problems with synchronization between current events.[citation needed]

The pending event set is typically organized as a priority queue, sorted by event time.[7] That is, regardless of the order in which events are added to the event set, they are removed in strictly chronological order. Various priority queue implementations have been studied in the context of discrete event simulation;[8] alternatives studied have included splay trees, skip lists, calendar queues,[9] and ladder queues.[10][11] On massively-parallel machines, such as multi-core or many-core CPUs, the pending event set can be implemented by relying on non-blocking algorithms, in order to reduce the cost of synchronization among the concurrent threads.[12][13]

Typically, events are scheduled dynamically as the simulation proceeds. For example, in the bank example noted above, the event CUSTOMER-ARRIVAL at time t would, if the CUSTOMER_QUEUE was empty and TELLER was idle, include the creation of the subsequent event CUSTOMER-DEPARTURE to occur at time t+s, where s is a number generated from the SERVICE-TIME distribution.[citation needed]

Random-number generators

[edit]

The simulation needs to generate random variables of various kinds, depending on the system model. This is accomplished by one or more Pseudorandom number generators. The use of pseudo-random numbers as opposed to true random numbers is a benefit should a simulation need a rerun with exactly the same behavior.

One of the problems with the random number distributions used in discrete-event simulation is that the steady-state distributions of event times may not be known in advance. As a result, the initial set of events placed into the pending event set will not have arrival times representative of the steady-state distribution. This problem is typically solved by bootstrapping the simulation model. Only a limited effort is made to assign realistic times to the initial set of pending events. These events, however, schedule additional events, and with time, the distribution of event times approaches its steady state. This is called bootstrapping the simulation model. In gathering statistics from the running model, it is important to either disregard events that occur before the steady state is reached or to run the simulation for long enough that the bootstrapping behavior is overwhelmed by steady-state behavior. (This use of the term bootstrapping can be contrasted with its use in both statistics and computing).

Statistics

[edit]

The simulation typically keeps track of the system's statistics, which quantify the aspects of interest. In the bank example, it is of interest to track the mean waiting times. In a simulation model, performance metrics are not analytically derived from probability distributions, but rather as averages over replications, that is different runs of the model. Confidence intervals are usually constructed to help assess the quality of the output.

Ending condition

[edit]

Because events are bootstrapped, theoretically a discrete-event simulation could run forever. So the simulation designer must decide when the simulation will end. Typical choices are "at time t" or "after processing n number of events" or, more generally, "when statistical measure X reaches the value x".

Three-Phased Approach

[edit]

Pidd (1998) has proposed the three-phased approach to discrete event simulation. In this approach, the first phase is to jump to the next chronological event. The second phase is to execute all events that unconditionally occur at that time (these are called B-events). The third phase is to execute all events that conditionally occur at that time (these are called C-events). The three phase approach is a refinement of the event-based approach in which simultaneous events are ordered so as to make the most efficient use of computer resources. The three-phase approach is used by a number of commercial simulation software packages, but from the user's point of view, the specifics of the underlying simulation method are generally hidden.

Common uses

[edit]

Diagnosing process issues

[edit]

Simulation approaches are particularly well equipped to help users diagnose issues in complex environments. The theory of constraints illustrates the importance of understanding bottlenecks in a system. Identifying and removing bottlenecks allows improving processes and the overall system. For instance, in manufacturing enterprises bottlenecks may be created by excess inventory, overproduction, variability in processes and variability in routing or sequencing. By accurately documenting the system with the help of a simulation model it is possible to gain a bird’s eye view of the entire system.

A working model of a system allows management to understand performance drivers. A simulation can be built to include any number of performance indicators such as worker utilization, on-time delivery rate, scrap rate, cash cycles, and so on.

Hospital applications

[edit]

An operating theater is generally shared between several surgical disciplines. Through better understanding the nature of these procedures it may be possible to increase the patient throughput.[14] Example: If a heart surgery takes on average four hours, changing an operating room schedule from eight available hours to nine will not increase patient throughput. On the other hand, if a hernia procedure takes on average twenty minutes providing an extra hour may also not yield any increased throughput if the capacity and average time spent in the recovery room is not considered.

Lab test performance improvement ideas

[edit]

Many systems improvement ideas are built on sound principles, proven methodologies (Lean, Six Sigma, TQM, etc.) yet fail to improve the overall system. A simulation model allows the user to understand and test a performance improvement idea in the context of the overall system.

Evaluating capital investment decisions

[edit]

Simulation modeling is commonly used to model potential investments. Through modeling investments decision-makers can make informed decisions and evaluate potential alternatives.

Network simulators

[edit]

Discrete event simulation is used in computer network to simulate new protocols, different system architectures (distributed, hierarchical, centralised, P2P) before actual deployment. It is possible to define different evaluation metrics, such as service time, bandwidth, dropped packets, resource consumption, and so on.

See also

[edit]

System modeling approaches:

Computational techniques:

Software:

Disciplines:

References

[edit]
  1. ^ Stewart Robinson (2004). Simulation – The practice of model development and use. Wiley.
  2. ^ Matloff, Norm. "Introduction to Discrete-Event Simulation and the SimPy Language" (PDF). Retrieved 24 January 2013.
  3. ^ Park, Hyungwook; Fishwick, Paul A. (2010). "A GPU-Based Application Framework Supporting Fast Discrete-Event Simulation". Simulation. 86 (10): 613–628. doi:10.1177/0037549709340781. ISSN 0037-5497. S2CID 9731021.
  4. ^ Dannenberg, Roger. "An Introduction to Discrete-Event Simulation". Carnegie Mellon School of Computer Science. Retrieved 2025-08-06.
  5. ^ Güne?, Mesut. "Chapter 3: General Principles" (PDF). Freie Universit?t Berlin. Retrieved 2025-08-06.
  6. ^ Damerdji, Halim; Glynn, Peter W. (1998). "Limit Theory for Performance Modeling of Future Event Set Algorithms". Management Science. 44 (12): 1709–1722. doi:10.1287/mnsc.44.12.1709. ISSN 0025-1909. JSTOR 2634704.
  7. ^ Douglas W. Jones, ed. Implementations of Time, Proceedings of the 18th Winter Simulation Conference, 1986.
  8. ^ Douglas W. Jones, Empirical Comparison of Priority Queue and Event Set Implementations, Communications of the ACM, 29, April 1986, pages 300–311.
  9. ^ Kah Leong Tan and Li-Jin Thng, SNOOPy Calendar Queue, Proceedings of the 32nd Winter Simulation Conference, 2000
  10. ^ Dickman, Tom; Gupta, Sounak; Wilsey, Philip A. (2013). "Event pool structures for PDES on many-core Beowulf clusters". Proceedings of the 2013 ACM SIGSIM conference on Principles of advanced discrete simulation - SIGSIM-PADS '13. p. 103. doi:10.1145/2486092.2486106. ISBN 9781450319201. S2CID 17572839.
  11. ^ Furfaro, Angelo; Sacco, Ludovica (2018). "Adaptive Ladder Queue". Proceedings of the 2018 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation - SIGSIM-PADS '18. pp. 101–104. doi:10.1145/3200921.3200925. ISBN 9781450350921. S2CID 21699926.
  12. ^ Marotta, Romolo; Ianni, Mauro; Pellegrini, Alessandro; Quaglia, Francesco (2017). "A Conflict-Resilient Lock-Free Calendar Queue for Scalable Share-Everything PDES Platforms". Proceedings of the 2017 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation - SIGSIM-PADS '17. pp. 15–26. doi:10.1145/3064911.3064926. hdl:11573/974295. ISBN 9781450344890. S2CID 30460497.
  13. ^ Lindén, Jonatan; Jonsson, Bengt (2013). "A Skiplist-Based Concurrent Priority Queue with Minimal Memory Contention". Proceedings of the 2013 Conference on Principles of Distributed Systems - OPODIS 2013. pp. 206–220. doi:10.1007/978-3-319-03850-6_15. ISBN 9783319038490.
  14. ^ John J. Forbus; Daniel Berleant (2022). "Discrete-Event Simulation in Healthcare Settings: A Review". Modelling. 3 (4): 417–433. arXiv:2211.00061. doi:10.3390/modelling3040027.

Further reading

[edit]
  • Myron H. MacDougall (1987). Simulating Computer Systems: Techniques and Tools. MIT Press. ISBN 9780262132299.
  • William Delaney; Erminia Vaccari (1988). Dynamic Models and Discrete Event Simulation. Dekker INC.
  • Roger W. McHaney (1991). Computer Simulation: A Practical Perspective. Academic Press.
  • Michael Pidd (1998). Computer simulation in management science – fourth edition. Wiley.
  • A, Alan Pritsker, Jean J. O'Reilly (1999). Simulation with Visual SLAM and AweSim. Wiley.{{cite book}}: CS1 maint: multiple names: authors list (link)
  • Averill M. Law; W. David Kelton (2000). Simulation modeling and analysis – third edition. McGraw–Hill.
  • Bernard P. Zeigler; Herbert Praehofer; Tag Gon Kim (2000). Theory of modeling and simulation: Integrating discrete event and continuous complex dynamic systems – second edition. Academic Press.
  • Jerry Banks; John Carson; Barry Nelson; David Nicol (2005). Discrete-event system simulation – fourth edition. Pearson.
  • James J. Nutaro (2010). Building software for simulation: theory and algorithms, with applications in C++. Wiley.
大马猴是什么意思 凉皮是什么材料做的 锅巴吃多了有什么危害 cathy是什么意思 眼震电图能查什么病
锡字五行属什么 大便颗粒状是什么原因 梦见数钱是什么预兆 红棕色是什么颜色 议论纷纷是什么意思
薛字五行属什么 阳春三月指什么生肖 同房痛什么原因引起的 小清新是什么意思啊 古代宫刑是什么
降维打击是什么意思 早上流鼻血是什么原因 头孢长什么样 背厚是什么原因造成的 忧郁症挂什么科
净土是什么意思hcv8jop3ns2r.cn darker是什么意思cj623037.com 北极熊为什么不怕冷hcv8jop1ns4r.cn 9年是什么婚hcv8jop2ns4r.cn 吃氨糖有什么好处和坏处hcv9jop6ns2r.cn
屈膝是什么意思hcv8jop7ns9r.cn 本番是什么意思hcv8jop2ns9r.cn 喝酒手掌发红是什么原因hcv7jop6ns0r.cn 下巴痘痘反复长是什么原因hcv9jop3ns0r.cn 共建是什么意思hcv9jop3ns1r.cn
什么叫窦性心律不齐hcv8jop3ns9r.cn 龙舌兰是什么酒hcv9jop5ns2r.cn 测血糖挂什么科hcv9jop6ns0r.cn 脂肪是什么颜色hcv9jop2ns0r.cn 尿酸是什么意思hcv8jop1ns0r.cn
水黄是什么原因hcv8jop5ns4r.cn 让心归零是什么意思hcv8jop6ns0r.cn 过生日吃什么hcv9jop1ns8r.cn 什么药可以治早迣hcv9jop4ns0r.cn vup是什么意思hcv8jop7ns0r.cn
百度