Nano-sim: simulating EM-based nanonetworks in NS-3

Getting Nano-Sim

The code is availale here.

How to use it ?

Download and install the latest version of ns-3

hg clone

cd ns-3-dev

./waf configure


Copy and paste nanonetwork/  in ns-3-dev/src

cp /where-is-nanonetwork/nanonetwork /where-is-ns3-dev/src/

Build again ns-3 

./waf configure


Run a simple example:

cp src/nanonetworks/examples/* scratch

./waf --run scratch/health-care

In the example folder there are simple scripts that can be used to run simulations (, elaborate output traces (, and plot results (makegraphs.m). They would reproduce the work presented in our reference papers.

Reference papers

Please, cite them if you use the tool in your research. 


Giuseppe Piro, Luigi Alredo Grieco, Gennaro Boggia, and Pietro Camarda," Nano-Sim: simulating electromagnetic-based nanonetworks in the Network Simulator 3", in Proc. of Workshop on NS- 3 (held in conjunction with SIMUTools 2013), Cannes, France, Mar., 2013 .



Giuseppe Piro, Luigi Alfredo Grieco, Gennaro Boggia, and Pietro Camarda," Simulating Wireless Nano Sensor Networks in the NS-3 platform", in Proc. of Workshop on Performance Analysis and Enhancement of Wireless Networks (PAEWN-2013), Barcelona, Spain, Mar., 2013 .





Enjoy the Nano-Sim !

For any problems contact  This email address is being protected from spambots. You need JavaScript enabled to view it.  ,