The Object-Oriented Methodology of Traffic Microscope Simulation System for Generating Vehicles from OD Matrix

Traffic simulation is an important tool for modeling the operations of dynamic traffic systems and it can help analyze the causes and potential solutions of traffic problems such as congestion and traffic safety. Microscopic simulation system provides a detailed representation of the traffic process. This makes microscopic simulation system more suitable for evaluation of complicated traffic facilities and Intelligent Transportation Systems that often consists of complex traffic management, safety and information systems. Generally producing vehicles is the first step followed by the start of the simulation which is one of the most important components in microscopic simulation system. This paper analyzes models and demand of traffic microscope simulation for producing vehicles, and design the structure of the simulation system based on OD. After preparing the OD models and produce vehicles, the system applies the theory of GIS to generate traffic network, using Floyd-Warshall algorithm to build the route path library. Finally the paper implemented the distribution of headway by function-transfer method. The simulation system was programmed with the idea of Object-Oriented. This paper proposed an object-oriented method (OOM) for microscope traffic simulation system which focused on producing of vehicles. The paper presents in details the basics and advanced features of object-oriented programming (OOP) in the context of traffic flow. The sample C++ code is discussed in detail on the implementation of OOP features. The main contribution of this research work is the development of software objects for various components such as vehicle, network, path and distribution of headway. This software can be adopted for microscope traffic simulation programs, in general.