Download Chenxi Lei
Transcript
Figure 14: decelerating scenario Figure 13 and Figure 14 describe the exact leading vehicle’s behaviour in accelerating scenario and decelerating scenario given in Section 4.2 of the main report. In Figure 13, the leading vehicle accelerates with the acceleration 2m/s^2 from timestep=8000 to timestep=8250 and its speed accelerates from 20m/s to 25m/s while in Figure 14, the leading vehicle decelerate with the acceleration -9m/s^2 from timestep=8000 to timestep=8054 and with the acceleration -5m/s^2 at timestep=8055, so its speed decelerates from 20m/s to 15m/s. During other time, the acceleration of the leading vehicle is set to zero. So far, the traffic model has been built completely. 2.2 Implementing the Network model To install the network model supplied by UT/DACS, we modified the ―car.ned‖ file and substituted the application layer, network layer, Mac layer, and physical layer modules supplied by UT/DACS. The ―car.ned‖ file can be found under the folder: ―omnetpp-4.1/samples/miximsommer/examples/traci_launchd‖. The modules contained in the ―car.ned‖ file can be seen in Figure 15: Figure 15: car.ned Figure 16: nic 13