Abstract: | In the present dissertation, the integration of an energy model is carried out in a LoRaWAN simulation module, implemented in the networks simulation NS-3, thus allowing the energy consumption analysis of battery-operated devices in the network. For that purpose, a theoretical model of device consumption and of an energy source of the network end-devices has been designed and codified in C++, by using the NS-3 energy framework, according to a defined software design and architecture, and by following a validation process that verifies a series of established metrics. The dissertation includes the creation of simulated scenarios to use the designed energy model, emulating Line-of-sight environments, as well as urban environments, where a variable density of devices and different topologies has been considered, in which different data has been collected for further analysis. |