Font Size: a A A

Research And Implementation Of The Simulation Engine Based On Multi-Thrading

Posted on:2014-02-14Degree:MasterType:Thesis
Country:ChinaCandidate:Y LinFull Text:PDF
GTID:2248330398970899Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Following the theoretical and experimental studies, Simulation has become the third means of understanding and transforming the objective world, which has been extensive research and development in various fields of social production and activity. Computer simulation is using the computer as an experiment platform;it has good controllability, repeatability, non-destructive, efficiency, economy, and is not restricted to the external conditions.The simulation process includes three basic activities,design the system model,execute model on the computer, and analyze the results.Simulation model has a different methods of execution based on the form of the description.Simulation engine provide a common operating environment for the execution of the simulation model,in order to simplify the development of the simulation program.Therefore, the simulation engine’s function including data management and distribution, event scheduling, simulation time advancing which unrelated to simulation applications.Current simulation engine research direction focused on distributed simulation and parallel discrete event simulation,obtained significant research achievement in their respective fields.However, the distributed or parallel simulation technology can not directly use for small and medium-sized simulation, which will significant increasing the complexity of the system.From an actual project, this paper proposes a simulation engine based on multi-threading.Its purpose is to simplify the construction of the simulation system in small and medium-sized, and enhance the efficiency of the simulation execution in stand-alone environment. The simulation engine absorbed some excellent idea from other simulation engine or environment, such as RTI interface design in HLA and idea about how to handle concurrent in parallel discrete event simulation. And it’s used object-oriented approach in the design and implementation process to improve reusability and extensibility of the simulation engine.In addition, combined with characteristics and application environment of the simulation engine, the multi-threading technology is used on the concurrent part to improve the efficiency of simulation execution.This paper described the main idea of the development process of simulation engine. First, study about the simulation and modeling technology for getting a clearly understanding about the relationship or interface between the simulation model and simulation engine.Then, on the basis of theoretical analysis, describes the design process of the simulation engine with an object-oriented design view. Finally, present the implementation of the simulation engine, and show an example of the simulation engine’s application in the combat planning and simulation project.
Keywords/Search Tags:simulation engine, multi-threading, discrete-eventsimulation, high level architecture
PDF Full Text Request
Related items