Font Size: a A A

Research On The Automatic Initialization Techniques For YH-SUPE-based Parallel Simulation System

Posted on:2016-10-04Degree:MasterType:Thesis
Country:ChinaCandidate:J B LiFull Text:PDF
GTID:2348330536467382Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
The development of simulation system initialization program is always based on the definite understanding to the simulation system initialization requirement(SSIR)and scenario data organization(SDO).However,there lack the unified and standardized descriptions for both SSIR and SDO,and it's hard to build the matching relation between the Variable to be initialized and scenario data.To develop the initialization program,the developer has to pay massive manual-understanding to SSIR and SDO and then code the initialization program manually,which is of heavy workload and low efficiency.Therefore,researching on the automatic initialization techniques for YH-SUPE-based parallel simulation system(YH-SUPE-PSS)is of theoretical and practical value to imp rove the development efficiency and reduce the invo lvement of manual-work.Based on the analyzing to the initialization essence of YH-SUPE-PSS,this paper undertakes a deep study on the automatic initialization framework,the automaticinitialization-related description rules and data matching rules,and the auto-generating method for the initialization program.The main work and innovations include:1)In current initialization program development,the developer first has to understand SSIR and SDO,build the matching relation between Variable and scenario data,and then code the corresponding initialization program manually.The manually initialization program development is error-prone and of heavy workload and low efficiency.This paper proposes a two-automation-phase-based automatic initialization framework.The first phase generates the initialization program according to the initialization requirement automatically,and the generated program then fulfill the automatic data matching and parsing according to the scenario data description rules.2)Well-formed SSIR description and SDO description are the basis for automatic initialization.However the current simulation system lacks standardized initialization requirement description and the current scenario data organization does not consider the requirement of automatic initialization.This paper proposes a XML-based SSIR description specification and a scenario data organization rule which can support the automatic data matching and parsing.The SSIR description specification group the system initialization requirement in each simulation object element and the scenario data description rule gives the basic rule for scenario to supporting the automatic initialization.3)As the initialization program has to parse the scenario to get initialization data and the changing of the scenario causes the modifying of initialization program,so that the initialization program is hard to be generated independent with scenario.This paper first proposes a hierarchical initialization program architecture(HIPA)with four layers.Bottom up,the scenario interfaces provided by the scenario maker operate the concrete scenario file;the matching module encapsulates the scenario interfaces and provides unified interfaces for the upper layers;the initialization function lib rary provides initialization functions according to Variable type;the system initialization function fulfill the system initialization with the services from the lower layer.Then the proposed auto-generating method for HIPA-based initialization program custom the upper two layers for the simulation system according to its initialization requirement description.The above method limit the influence of scenario changing under the lower two layers.It not only makes the auto-generation of initialization program possible,but also makes the system program more clear and concise.Based on the above research results,an automatic initialization program generator for YH-SUPE-PSS is implemented.The test shows that the initialization program can be generated automatically with the format initialization requirement description,and the generated program can match and parse data for Variable automatically when running.The automatic initialization greatly reduces the involvement of manual-work and improves the initialization program development efficiency.
Keywords/Search Tags:parallel discrete event simulation, automatic initialization, initialization requirement description, scenario data presentation, hierarchical initialization program architecture, initializer auto-generation
PDF Full Text Request
Related items