已阅读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年下半年虹口区曲阳路街道见习社区工作者公开招聘6人备考题库含答案详解(能力提升)
- 供货合同扣款协议
- 购买电动车协议合同
- 肺癌科普知识讲座
- 2026年北京中考英语听力口语高频516词
- 集材作业工班组评比测试考核试卷含答案
- 肝性脑病内科护理要点
- 人教版(2024)七年级上册生物期末复习全册必背知识点详细版
- 体育安全教育题库及答案
- 2026鄂尔多斯市融媒体中心招聘35名工作人员历年真题汇编带答案解析
- 2025泗泾镇公开招聘镇属企业、城运中心合同制人员8人历年真题汇编附答案解析
- 2026年1月福建省普通高中学业水平合格性考试政治仿真模拟卷02(春季高考适用)(原卷版及全解全析)
- 雨课堂学堂在线学堂云《爱性与健康》单元测试考核答案
- 创伤急救模拟教学中的重症创伤模拟教学优化
评论
0/150
提交评论