This is an ns-3 code including
- the implementation of battery-less capacitor-based IoT nodes
- the implementation of an Energy-Harvesting source taking as input traces provided by the user
- an updated version of the
lorawan
ns-3 module employed to obtain simulations of a LoRaWAN network with battery-less capacitor-based end devices.
In the current version, original contribution include:
- Capacitor Energy Source
- Variable Energy Harvester
- Integration of the new components in the existing
lorawan
module
To avoid compilation errors, in ns3/src/energy/model/energy-source.h
, the private variables should be moved to protected.
examples/energy-single-device-example
- M. Capuzzo, C. Delgado, J. Famaey, A. Zanella, "A ns-3 implementation of a battery-less nodefor energy-harvesting Internet of Things", WNS3 2021, June 23–24, 2021, Virtual Event, USA.
- ns-3 tutorial
- ns-3 manual
- The LoRaWAN specification can be requested at the LoRa Alliance website