UML-HLA collaborative modeling method and its application in multi-train simulation system
SHANGGUAN Wei,LIU Peng-hui,CAI Bai-gen,SHAO Yong-zhe
2013-01-01
Journal of Traffic and Transportation Engineering
Abstract:Aimed at the distributed and interactive properties of complex real-time large system,through a comprehensive comparison of unified modeling language(UML)and high level architecture(HLA)features,a modeling and simulating method of train control system was proposed based on high level architecture with unified modeling language(UML-HLA).On the basis of traditional modeling method,an analysis model of multi-train simulation system was constructed from different perspectives by using UML-HLA modeling method.The model consisted of use case modeling,activity modeling,structural modeling,interactive modeling and state-based modeling,and the high level architecture resource library was constructed.Based on the analysis model,a multi-train simulation system structure was established,and a design model of multi-train simulation system was obtained finally.The functions and performances of multitrain simulation system were validated.Simulation result shows that the modeling method based on UML-HLA has strong interactivity and maneuverability.With the optimization of original thread management mechanism and timer control mechanism,the CPU occupancy of original system reduces from 50%to below 15% by using thread management method,the timer error in the system is below 0.02ms,and the simulation requirement of train control system is satisfied.1tab,10figs,16refs.