




已阅读5页,还剩19页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
HLA - Time Management,陳昱豪,Outline,Basic Concepts of HLA Simulations Time Management 簡介 HLA 模擬時間原理,Basic Concepts of HLA Simulations,HLA 簡介 HLA 元件與服務 Federate的規則TM方面 Continuous vs. Discrete Simulations Simulation Time Steps Time steps & Pseudocode,HLA 簡介,HLA (High Level Architecture)是一個整合介面,用來結合各種不同的電腦模擬單位成為一個整體模擬環境。 HLA也可以擴充於原本的模擬架構。 三個重要名詞定義: Federation:由各個模擬單位所組合而成的模擬系統。 Federate:各個獨立的模擬單位。 Federation execution:federation的執行期間,HLA 元件與服務,Federation Rules Interface Specification Object Model Template (OMT) HLA定義六種型態的服務群組,Federate的規則TM方面,規則 10: 模擬時間管理(Time Management) Federates 必須能夠處理其所模擬的當地時間(local time),使得此時間可以與Federation內其他federate的時間相互協調進行資料的交換: 一個Federation的所有模擬系統(federates)必須能夠處理其所模擬的當地時間,彷彿它們是在使用同一個模擬時間系統內。 一個模擬系統的內部可以依其需要來管理模擬時間,只要它能與Federation內的其它模擬系統達到一致便可以。,Continuous vs. Discrete Simulations,Simulation Time Steps,Time steps & Pseudocode,Time Management 簡介,Time Management目的 Time Management 是用來協調Federates之間的Logical time Time Management的另一個觀點 Time Management設法適合滿足單一 Federation所使用的各種技術,Time Management目的,協調模擬時間來完成演習進行: 控制演習邏輯時間的進行以及協調邏輯時間與真實時間的關係。 將事件的發生依時間關係來傳遞。 支援演習模擬當中的事件因果關係。 支援federates之間不同的訊息排序方式與網路傳送需求。,Time Management 是用來協調Federates之間的Logical time,最基本問題是確保下面兩者情況之一的成立: 沒有一個federate會收到它的過去時間所發生的事件(保守的方式)。 當一個federate收到它的過去時間所發生的事件使得現在的狀態變成不正確,但是因為federate的推演已經超過該時間點使得它必須倒推回到(roll back) 該時間點 (樂觀的方式) 。,Time Management的另一個觀點,另一種方式就是完全忽略時間的管理(也就是DIS類型的“即時性”模擬系統所使用的方式) ,而將收到該事件的時間視為該事件的發生時間 - Federate時間是由它的host wall clock所產生。 此法不會保證事件的因果關係會被遵守。 如果網路傳輸延遲時間能保證限制於某定量時間內,此方法尚可被人類感官所接受。 HLA介面規格將Time management特徵化為由每一個federate來自行設定兩個布耳變數(Boolean switches): Time-regulating Time-constrained,Time Management設法適合滿足單一 Federation所使用的各種技術,HLA 模擬時間原理,Time in Distributed Simulations Simulations Supported by the HLA The Need for Time Management Time Stamps Logical Time Logical View of TM Services Time Management Mechanisms,Time in Distributed Simulations,Physical time Time in the physical system, that is, the system being modeled by the simulation Simulation time The simulators representation of physical time Wallclock time Time when the simulator is executed,Simulations Supported by the HLA,Scaled real-time simulations(Time-Step) Have a linear relation T=S*W where W is a duration in wallclock time, T the corresponding duration in simulation time, and S is a scale factor If S=1, we have a real-time simulation As-fast-as-possible simulations(Event-driven) When one attempts to complete the simulation as quickly as possible, so execution is not paced to have a direct relationship to wallclock time,The Need for Time Management,A simulator may incorrectly reproduce temporal aspects of the real world system being modeled Repeated executions of the simulation with the same initial state and external inputs might give entirely different results,Time Stamps,Temporal anomalies are eliminated by assigning a time stamp (in simulation time) to each event and ensuring that events are delivered to the federate in time-stamp order (TSO) The time management services ensure a federate will not receive an event in its past, i.e., an event with time stamp less than its current federate time,Logical Time,Federate time is the current simulation time of a federate Logical time is how federate time is called for federates that can send or receive TSO messages to distinguish these federates from those deriving federate time directly from wallclock time During the execution of a federation, different federates may have different logical time values,Logical View of TM Services,Time Management Mechanisms,Event-driven The federate processes events in time-stamp order Time-stepped Each time advance of the federate is in fixed time step Parallel discrete-event simulation Fede
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年中国可重复使用不锈钢水瓶行业市场全景分析及前景机遇研判报告
- 2025年中国可放水壶的运动腰带行业市场全景分析及前景机遇研判报告
- 2025年中国建筑工程质量检测行业市场全景分析及前景机遇研判报告
- 2025年硫化染料项目可行性分析报告
- 中国休闲食品O2O市场发展现状调研及投资趋势前景分析报告
- 2021-2026年中国驾驶室及车身总成市场全面调研及行业投资潜力预测报告
- 换药操作培训课件
- 2025年 延津县无线电技术学校招聘考试笔试试题附答案
- 2025年 栖霞市市级机关遴选考试笔试试题附答案
- 2025年 湖北中烟招聘考试笔试试题试题附答案
- 高效化学灭菌技术-洞察及研究
- 融媒体保密管理制度
- 2025至2030中国消防产业市场深度调研及发展前景及有效策略与实施路径评估报告
- 2025江苏扬州宝应县“乡村振兴青年人才”招聘67人笔试参考题库附答案详解
- 地质灾害危险性评估合同模板
- 公司廉政纪律管理制度
- 2025年高考全国二卷数学高考真题解析 含参考答案
- 保密知识竞赛试题及答案
- T/CQAGS 3201-2023重庆好粮油压榨菜籽油
- 2025新译林版英语八上单词默写单(先鸟版)
- 自建门面租房协议书
评论
0/150
提交评论