Sam Tran P.
2 4
V. METRICS
Energy consumption calculation
CreateReceive a data message CreateReceive a signal message
100 µJ 3 µJ
Send a data message d= 60m Send a signal message d=60m
820 µJ 26 µJ
Send a message d 60m 100 µJ + 0.1d2
Sensor board full operation 66 µJs
Radio board idlereceive mode 100 µJs
Table 1: Summary of energy consumption for the simulation
Sam Tran P.
2 5
V. METRICS
Accuracy calculation
Standard number of detected point
A sensor network with all nodes in the tracking mode i.e. the sensor board is in full operation mode is a useful base for comparison, because it
provides the best possible quality of tracking. So, we consider the total number of detected points in this case as 100, and call it the standard
number of detected point. It also means the number of detected points in DC is 100.
Accuracy calculation
The accuracy of each method is a percent ratio between the number of detected points of the method and the standard number of detected point.
Cost per detected point calculation
Cost per detected point is a ratio between the total energy dissipation and the total number of detected points of the method.
Time before first dead node calculation
The manager module periodically every 0.1s in the simulation network checks all nodes in the network to see if any node has run out the energy. If
it finds any, the simulation time at that time will be recorded as time before the first
dead node.
Sam Tran P.
2 6
VI. SIMULATION RESULTS
Simulation summary:
The simulation environment is built as an area of 640x540. The number of nodes in the network is 200, 250, 300, 350, 400, 450, 500,550, 600, 650,700, 750, 800, 850,
900, 950, and 1000 with 2J Joule of energy for each node. The sensing radius of each node is 30m and the communication radius is 60m.
- Randomly generate
nodes.
- Do collect ion position phase
for OCO.
- Generate text file results for
OCO, DC, and LEACH.
OMNeT++ Processing
program: - Generate text
files for OCO after do the
processing phase
C DC algorithm
simulation program Text
files OMNET++
OCO algorithm simulation
program Text files
OMNET++
LEACH algorithm
simulation program Text
files OMNET++
Evaluation programs
MATLAB
Figure 14: Summary of the simulation steps
Sam Tran P.
2 7
VI. SIMULATION RESULTS