Font Size: a A A

Research And Implementation Of Simulation Object Test Technology For Parallel Discrete Event Simulation

Posted on:2009-08-03Degree:MasterType:Thesis
Country:ChinaCandidate:W R ZhangFull Text:PDF
GTID:2178360278956781Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Parallel discrete event simulation (PDES) system generally contains a number of simulation objects in different fields. These simulation objects are usually developed by related field experts. Because of the possible relations of event scheduling among simulation objects, it's difficult to test the simulation objects independently and in time. Currently there is little research on simulation objects in PDES. And there are many differences in the interaction manner and data interaction format between simulation objects in PDES and federates in distributed interactive simulation. The existing federate testing technology can not meet the demand of simulation objects testing. Thus it's significant to research on the methodology of simulation object testing and explore the technique of simulation objects testing for increasing the effiency of simution system testing and development.According to the question that there is a lack of simulation objects test tools and it's difficult to test the simulation objects independently and in time, based on synthetically analysizing the characteristic of PDES, the thesis lucubrates the key technologies in simulation objects testing environment automatically generation. The main work and innovations are as following.Simulation object testing which is an important phase in PDES system development have a direct impact on the credibility of the simulation results. At present, there are two strategies for simulation objects testing. The first is to postpone simulation objects testing to system integration, which is difficult to detect and position question in time. The second is to complement simulation objects, which requires developer to write a lot of testing code. Consequently, the thesis presents the solution of automatically generating the replacements of the missing simulation objects. This solution can build the testing environment to assist conner to detect and position questions at the time reduce the workload of the code. It's the primary issues to determine the definition and scheduling information of event in simulation testing. And it doesn't have unified norms to describe the information in PDES. Based on the study of the characteristics of events, the thesis puts forward the technology of event information automatical extraction by scanning the simulation objects program code. The technology can effectively reduce the workload of the user to set parameters to test and improve the efficiency of generating testing environment.Event is the core of simulation objects in PDES, so event test becomes the focus of the simulation objects test. It is difficult to get the simulation objects that schedule the event in tested simulation objects at the time of testing simulation objects. So the thesis brings forward the technology of building scheduler to automatically generate the code of scheduling the event in tested simulation objects. The technology can effectively reduce the workload of user to write the event scheduling code.The tested simulation objects may schedule the events of external simulation objects in their event handling process. It is difficult to get these external simulation objects at the time of simution objects testing. So the thesis presents the technology of building the stand-in of the external simulation objects to respond the event scheduling of tested simulation objects. The technology can effectively reduce the workload of user to write the external simulation code.On the basis of above research, the thesis designs and implements the PDES simulation objects test tool SUPE_TST. The tool can automatically parse the event definition and scheduling information of the tested simulation objects, provide GUI to set the test parameters, rapidly generate simulation object test environment. Test shows that the tool is ease to use, and has complete functions, can help user detect and position faults in time and reduce the workload of writing test code, improve the effiency of test and development of simulation system.
Keywords/Search Tags:parallel discrete event simulation (PDES), event characteristic extraction, test environment generating, simulation object test
PDF Full Text Request
Related items