Вы находитесь на странице: 1из 1

Urban VANET scenarios covering real areas of downtown of Malaga (Spain).

The areas used to define these scenarios are presented in file: urban-VANET-
scenarios-Malaga.jpg

*********
* Files:
*********
+ flowmod-urban-malaga-SXX.tcl: It defines the network workflow generated among
the vehicles (CBR data flows). XX is the number of the mobile nodes in the
scenario. Always, the number of data flows is XX/2.
+ mobmod-urban-malaga-SXX.tcl: It defines the mobility model of the VANET
scenario, that is, the movement of the nodes through the roads. XX is the mobile
nodes in the scenario.
+ urban-VANET-scenarios-Malaga.jpg: Image of the real urban area taken into
account in the VANET scenarios definition.

*****************
* How to use it:
*****************
You can just add this two files in your ns-2 simulation script just it is done in
our example file.
In turn, $opt(cbr-rate) variable has to be added in the ns-2 script in order to
define the CBR data rate of the generated data flows in flowmod-urban-malaga-
SXX.tcl.

In our example file "urban-VANET-example.tcl", we have included these parameters as


input arguments. Therefore, if you want to execute our simulation script parameter
follow this structure:
ns urban-VANET-example.tcl <num_mobil_nodes=XX> <CBR_dat_rate> <mobmod-urban-
malaga-SXX.tcl> <flowmod-urban-malaga-SXX.tcl>
For example:
ns urban-VANET-example.tcl 15 100kbps mobmod-urban-malaga-S15.tcl flowmod-urban-
malaga-S15.tcl

If you need help, do not hesitate to contact me (jamal[at]lcc.uma.es)

Вам также может понравиться