[ndnSIM] Mobility Model and Trace File

Ygor Amaral ygor.amaral at gmail.com
Wed Apr 28 09:58:15 PDT 2021


Hi IHK,

You need to read this document. Url:
https://www.nsnam.org/docs/release/3.33/models/html/mobility.html

Mobility models basically manage x, y, z cartesian points of each node.

When we want to work with vehicular nodes it is very common to use the SUMO
simulator (it is not the only tool, but the most common...) to generate the
tracking files for the ns-3. Url: https://www.eclipse.org/sumo/

The SUMO simulator has comprehensive documentation. My tip is not to use
the wizard tool (OSM Web Wizard). Make your vehicular traffic by defining
the variables manually, it becomes more realistic. Maybe use the wizard
only as a first step, then improve the modeling manually.

SUMO will export the variations of the x, y, z positions every second for
each vehicle (node). In SUMO you will find a tool to export to ns-2.

In ndnSIM/ns-3 there is another tool for you to import this trace from ns-2.

If you are going to do several simulations, don't forget to change the seed
of the random numbers (it applies to both SUMO and ndnSIM/ns-3 too).

Regards,
Ygor AMaral


On Wed, Apr 28, 2021 at 12:23 PM IHK Niad via ndnSIM <
ndnsim at lists.cs.ucla.edu> wrote:

> Dear all,
> I have installed ndnSIM, run a few example scenarios and getting used to
> the tool.
> I want to implement a highway scenario of four lanes with mobile nodes.
>
> 1) Which mobility model would suit this scenario?
> 2) How to generate trace files for analysing Interest satisfied?
>
> Any help would be highly appreciated.
>
> Regards,
> IHK
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210428/b3d23985/attachment.html>


More information about the ndnSIM mailing list