Applicable VersionsNetSim AcademicNetSim StandardNetSim Pro


Applicable Releases
v13.1
v13.2
v13.3


NetSim supports a dedicated energy model for wireless devices in Networks such as WSN, IoT, MANETs, and VANETs. However, this is not available for wired devices such as routers.  However, this feature isn't extended to wired devices like routers. The following article outlines a method to estimate energy consumption for wired networks


Let us consider the inbuilt experiment on Route Table formation in RIP and OSPF that comprises 7 Routers, 2 Switches, and 2 Wired nodes as shown below:


Running the simulation with RIP protocol configured in the routers and packet trace enabled, we open the packet trace log from the results dashboard.



NetSim automatically formats the Packet Trace log file adding an auto-generated pivot table sheet and an empty custom pivot table sheet.


In the empty custom Pivot table sheet, the number of packets transmitted and received by each device in the network can be identified by following the steps below:

  1. Go to the Pivot Table(Custom) sheet.
  2. Add TRANSMITTER_ID field to Rows, PACKET _TYPE to columns and values. The resulting table provides the total Data and Control packets transmitted by each device in the network.

 

Here RECEIVER_ID can be added to Rows instead of TRANSMITTER_ID to get the total data and control packets received by each device. 


A new table can be manually generated with the Device Names, Data Packets Transmitted, Control Packets Transmitted, Data Packets Received, Control Packets Received, Total Energy Consumed for Transmission, and Total Energy Consumed for Reception. The device names and packet count for transmission and reception are obtained from the pivot tables. Further total energy consumption for transmission and reception can be computed as:


Total Transmission Energy Consumed = (Data Packets Transmitted * Energy consumed for transmitting one data packet) +  (Control Packets Transmitted * Energy consumed for transmitting one control packet)

 

Total Reception Energy Consumed = (Data Packets Received * Energy consumed for receiving one data packet) +  (Control Packets Received * Energy consumed for Receiving one control packet)   



The exact values for the Energy consumption for transmission/reception of data/control packets can be decided by the user.