| Parallel discrete event simulation application often consists of multiple simulation objects, and different simulation objects often require to be developed by different domain experts respectively. Currently manual coding or event-graph-based development method is of low efficiency in developing event logics, and is difficult to be used to match parameters of events. What is more, the complexity of the interactions among objects leads to the heavy coordination work and the poor reusability. Port-interconnection-based event graph method can decompose the coupling simulation objects, realizing the distributed development and independent encapsulation of simulation objects, as well as the rapid assembling of applications. Therefore, research of port-interconnection development method for PDES objects is of theoretical and practical value to improve the development efficiency and reusability of the simulation objects.Focusing on the requirement of developing simulation objects rapidly, this paper, on the basis of analyzing event graph technology, undertakes a deep study on decoupling simulation objects, visualizing the development of event logics and the parameters match assistance. The main work and innovations include:1. Different simulation objects often require development from different domain expert respectively. Due to the complexity of the interactions among the simulation object, the traditional event graph method leads to tight coupling of simulation objects, as well as the poor reusability and the difficulty in coordinating the interface. Thus, this paper proposes an event-graph-and-port-interconnection-based visual development method for simulation objects, which introduces ports into the traditional event graph to encapsulate the simulation object. Through this method, the interaction among simulation objects can be achieved, and inter logics of simulation objects can be developed on event graph method. As a result, it helps to improve the simulation object independence and the development efficiency, and reuse simulation objects to assemble different simulation applications.2. Traditional development methods based on event graph are mostly at the event level, and the logic of events are usually developed by manual coding, resulting in low efficiency of the event development and the difficulty in upgrading and reusing models. To solve this problem, this paper puts forward a method to visualize the development of event logics based on model scheduling diagram and generate code automatically. This method provides an panel to enable users to assemble events based on models, and then generates event logic automatically according to the developed diagram. As a result, it can effectively reduce the development difficulty, and improve the reusability of the model and development efficiency of the event.3. Configuring the parameters of events is important to the visual development of simulation objects. As the source parameters are numerous and their types are various, choosing source to configure parameters of events by hand is of heavy workload and error prone. Aiming at this problem, this paper puts forward a parameter similarity-based auxiliary matching method. This method calculates the similarity of each candidate parameter and the target parameter from the data type and the parameter description, and then sorts the candidates according to the similarity to provide the users for easier selection. According to the test results, the method can effectively avoid much selection so as to improve the configuration efficiency of event scheduling parameters.Based on the above research results, a port-interconnection-based visual development tool for PDES objects is designed and completed. The test shows that the tools is intuitive and easy to use, and can provide effective method to develop simulation objects and events visually, meeting the requirements of distributed development, independent encapsulation, good reusability and upgrading prone of simulation objects. |