Proceedings of the Workshop on ns-3

Research Article

A Trace-based ns-3 Simulation Approach for Perpetuating Real-World Experiments

  • @INPROCEEDINGS{10.1145/3067665.3067681,
        author={Helder Fontes and Rui Campos and Manuel Ricardo},
        title={A Trace-based ns-3 Simulation Approach for Perpetuating Real-World Experiments},
        proceedings={Proceedings of the Workshop on ns-3},
        keywords={ns-3 Mobile Network Simulation Trace Based Simulations Repro-ducibility of Experimental Conditions Perpetuation of Real-World Mobile Testbeds Offine Experimentation Concurrent Testbed User Access},
  • Helder Fontes
    Rui Campos
    Manuel Ricardo
    Year: 2017
    A Trace-based ns-3 Simulation Approach for Perpetuating Real-World Experiments
    DOI: 10.1145/3067665.3067681
Helder Fontes1,*, Rui Campos1, Manuel Ricardo1
  • 1: INESC TEC and Faculdade de Engenharia, Universidade do Porto Porto, Portugal
*Contact email:


A common problem in mobile networking research and develop-ment is the cost related to deploying and running real-world mobile testbeds. Due to cost and operational constraints, these testbeds usually run for short time periods but generate very unique and relevant results that are hard to reproduce. We propose the use of ns-3 as a solution to successfully reproduce real-world mobile testbed experiments. ‚is is accomplished by feeding ns-3 with real testbed traces including node positions and radio link quality only. In order to validate our approach, the network throughput between a ÿxed Base Station and a Unmanned Aerial Vehicle (UAV) was measured in a real-world testbed. ‚e experimental results were compared to the network throughput achieved using the ns-3 trace-based simulation and a plain ns-3 simulation. ‚e obtained results show the high accuracy of the trace-based simulation, thus validating our approach.