605Modeling and Simulation of Vehicular Networks
As a result of the conversion, three output les are obtained all in form of OTcl script les. Note
that in NS-2, all information about the simulation scenario, for example, the topology and events,
should be written in OTcl programming language in the form of OTcl script les. One of the les is
a cong le describing the conguration of the simulation scenario. Another le is an activity le
specifying the start and stop times of the vehicle movements. The third le is a mobility le describ-
ing the actual movements of vehicles during the simulation time. The trafc simulation scenario
parameters should be read from the OTcl les for use in the main OTcl le controlling all the events
in t ...