| Calculation of energy consumption |
|
Input: Data collected by i sensors. Output: Total consumption. Total time. 1. Read data from the sensors. 2. Calculate processing time (TProc) 2.1. Calculate Processing Consumption (CProc) 3. Calculate transmission time (TTX) 3.1. Calculate Transmission Consumption (CTX) 4. Calculate receive time (TRX) 4.1. Calculate reception consumption 5. Calculate the time in sleep mode (TSLEEP) 5.1. Calculate consumption in sleep mode (CSLEEP) 6. Total consumption of the node 7. Total consumption of N nodes 8. Total node time |