MOVE User Manual

1. Installation Procedure
The following packages are required for the installation of MOVE

Linux Java SDK 1.4.2 or later - SUMO version: 0.9.8 - Xerces (XML-parser) version: 2.7 - FOX-Toolkit (GUI Toolkit) version: 1.4.35 - PROJ (Cartographic Projections Library): 4.5 – GDAL (Geospatial Data Abstraction Library): 1.3.2 NS2 version: 2.31 (all- in-one) -


1.1 Installing Xerces
Set Xerces C++ root path o export XERCESCROOT=/ho me/temp/ xerces -c-src_2_7_0 Build Xerces C++


cd src/xercesc ./runConfigure -plinu x -cgcc -xg ++ -min mem -nsocket -tnative -rpthread gmake make install

Build xercesc

Please refer for further information .

1.2 Installing FOX- Toolkit
./configure --with-opengl=yes --prefix=$HOM E make make install

1.3 Installing PROJ and GDAL
./configure --prefix=$HOM E make make install

1.4 Installing SUMO
Configure SUMO using the following commands
./configure --with-fo x=$HOM E --with-pro j-gdal=$HOM E --with-xerces=$HOM E --prefix=$HOM E make make install

If you have gcc version problem, please input the command:
CC=gcc34 CXXFLA GS=-fpermissive ./configure –with-fo x=$HOM E –with-proj-gdal=$HOM E – with-xerces=$H OM E –prefix=$HOM E To check if the installation has completed, run the following commands. You should be able to see the picture listed under here. cd /home/temp/sumo-0.9.8/src ./sumo-guisim

Please refer for further information. Note: Create a directory called temp under /home.

1.5 Installing NS2
After downloading ns-allinone-2.31.tar.gz, please run the following commands

root@localhost root]# tar -zxvf ns-allinone-2.31.tar.gz [root@localhost root]# cd ns-allinone-2.31 [root@localhost ns-allinone-2.31]# ./install
Now run the following commands to set the environment
export NS_ HOM E=’p wd’/ns -allinone-2.31 export PATH= $NS_HOM E /tcl8.4.14/unix: $NS_HOM E /bin: $NS_ HOM E /tk8.4.14/unix:$PATH

Manually Creating a Map Open the directory Move v 2. 1.6" To run it. Right click -> Click on Open $NS_HOM E /lib:$LD_ LIBRA RY_PATH export TCL_ LIBRARY=$NS_HOM E /tcl8. enter this command "java vanetsim" Note: If your trace is very large. you can input: Java –Xmx512m vanetsim 2. Please refer http://www. compile with "javac *.4. so you would not need to make these changes every time you log back in.isi.bash_profile file.export LD_ LIBRA RY_ PATH=$NS_HOM E /otcl-1.14/library You may edit the ~/. .html#allinone for further information .6 Building the Sources To build the sources.

java file. Create map (check if the configuration defined is without any ambiguity) Create Vehicle (Generation of vehicle to be simulated in the above map defined). It is as shown below: Click on the ‘Mobility Model’ to simulate the mobility of the vehicles in MOVE. To come up with a vehicular simulator program we need to define the following mandatory fields: Node (point from which a road originates) Edge (Road between two nodes) Configuration of the above two. Configuration (It is to co-relate the map defined and the routes file defined in Create vehicle option).Enter ‘java vanetsim’ to run the class file of the vanetsim. Visualization (It is used to simulate the map and the vehicle defined) .

. Each node has to be assigned a unique ID.Map Nodes Editor : It is used to define the nodes in the system. This option can be used when nodes can be thought of as junctions in a system. User also has the option to give traffic lights for a node. The X and Y co-ordinates of the system has to be defined for mapping the node in a real world environment.

xml .edg.nod.xml. The priority and the length of the edge can also be defined. The maximum speed of all the vehicles in the edge can be defined. Roads Editor: Each node defined must be connected throught a edge called as a Road. Hence a From node and To node has to be defined. No lanes are the number of lanes that exist in each edge. Save this file as <filename>. Fast lane or Express can be defined as per user need.Save this file as <filename>. The type of the road eg.

net.Configuration: This is used map the node file and the edge file.xml. The output file name should be <filename>. .

netc. The configuration file file: <file>.cfg must be ocated for the same.Save the configuration map as <filename>. The Create map does this facility. . Create Map: The system that is just configured must be cross checked for inconsistancies.cfg.netc. Click on the OK button to check for inconsistencies.

You can also open and edit an existing .xml (ex_FLOW.edg.xml file.flow. .Flow (optional): Flow provides the option to define the number of vehicles for each of the edges defined in the <filename>.flow.flow.xml).xml file. Save the file as <name>.

In the editor. .0(100%).TURN (Optional) (not implement in the example) Select “Turn” from MOVE main menu. This is when you to specify a turning ratio for each junction. You must also create flow definitions as previously explained for the vehicle movements. you must group percentages together so they sum up as 1.

we use junction turning ratios function.Create Vehicle Select “Create Vehicle” from MOVE main menu.g.xml file will be automatically generated. Select your previously created map file (e.xml). This will simply create a number of vehicles at the start of simulation.rou. <filename>.xml (<filename>. Specify your output file location and name it as <name>.net.rou. . For our example.xml). The rou. Set the beginning and end time of simulation. Finally click OK.

.cfg. If you want to create the trace file. you will need to specify the configurations of the simulation. do not forget to check the checkbox and specify your trace output name e.trace.xml and <filename>. Then save the file as <name>. Specify the <filename>.net. <filename>.move.rou.xml location and specify the beginning and end time of simulation.sumo.g. Select “Configuration” at the bottom on MOVE main menu.Simulation setup After the map and movement is complete.


sumo. Select the <filename>.Visualization: Select “Visualization” to see the actual movements on vehicle.cfg saved in the above Configuration option. .

Delay(ms) can be increased to make sure the vehicles being simulated are working as per design.For the example chosen the following is the simulated result. . This takes care of any congestion that might occur due to heavy traffic load simulated. One can notice there is a Signal that is designed in the center of the map.

xml and <name>. Please note. Here the tiger map is converted into a MOVE map. select the TIGER map file.cfg. The procedure involves selecting the “Convert TIGER” button under the Map Editor option. From the resulting window.xml. Automatically Creating a Map from a TIGER file First.xml files are generated in the destination folder. You also need to specify the <name> of the files that will be created in this step.nod.netc. <name>. <name>. the whole path needs to be specified.edg. Here. <name>.net.3. After clicking the OK button. a map is generated from a TIGER file. . we have specified <name>=sample.

select the Create Vehicle button under the Vehicle Movement Editor. select the <name>.xml file in the same destination folder. create a <name>.Next.xml file under Map File field. Under Set Output Fil e option. . Click on OK.

. choose the Configuration button under Simulation option.xml file has been created.Now. Next.rou. you will get the success notification that the <name>.

click on the Visualization button.cfg In the end. will will show the simulation in progress. Create a <name>. Tick the Set Output(Trace File) check box.xml file.rou. Click on File -> Save As : <name>. .Under the Map files field.trace file under the same destination file. This will open up the SUMO window. choose <name>. and under the Routes File field choose the <nanme>.

sumo. . click on File -> Open Simulation. This will load the map. The map and the zoomed version of the map are shown here. Then.In the SUMO window. Select the <name>. click on the green ‘Play’ button to start the simulation.cfg file created earlier.

Sign up to vote on this title
UsefulNot useful