## 7 Simulations and Results
### Threshold Selection  
In our scheme for energy efficiency, an energy threshold value that is, 16% has been set to limit access transmission of the unimportant and periodic network packets. In this section, we analyze different threshold values for the sake of selecting a threshold value with the improved results in NI, retransmissions, dead nodes, overall AEC, interest satisfaction ratio. and priority interests. We selected the values 4, 8, 12, 16, 20, 24, and 28 as threshold values to identify the best threshold value. The gap between the values is four so that we can analyze the results better. A smaller gap between threshold values would not permit significant analysis. We analyzed the threshold value with different threshold and a different number of consumer-producer pairs. The main idea to increase the number of  
\begin{table}
\begin{tabular}{l c} \hline \hline \multicolumn{1}{c}{**Simulation Parameters**} \\ \hline
**Parameters** & **Values** \\ \hline Simulation time (s) & 1000 s \\ Field size (m\({}^{2}\)) & 1000 \(\times\) 1000 \\ Number of nodes & 100 \\ Number of Consumer/Producer pairs & 1–5 \\ Communication range (m) & 100 m \\ Interest size (byte) & 70 \\ Data size (byte) & 120 \\ Initial energy (joule) & 50 J \\ Energy Model & Energy Model \\ Rx sensitivity & \(-86\) dbm \\ Tx Power & 18 dbm \\ Power Consumption (tx) & 1.74 W \\ Power Consumption (rx) & 0.9603 W \\ Power Consumption (idle) & 0.6699 W \\ Simulations run & 20 \\ Energy Threshold & 16\% \\ Data rate & 0.25 Mbps/250 Kbps \\ Technology & IEEE 802.15.4 \\ \hline \hline \end{tabular}
\end{table}
Table 2: Simulation parameters.  
consumer-producer pairs was to increase the traffic rate in the network and the flow of different types of traffic so that we could analyze the threshold results better.  
Figure 14a shows an analysis of the total NI in the network. As the threshold value increases, the value of the total NI decreases gradually. Due to the threshold value, we limit the interests with low priorities. So, the low-priority packets less than the threshold value could not pass through the network. The interest rate increased with the increase in consumer-producer pairs. The lowest value of the threshold value was 16%, but as the threshold value increased from 20 due to an increase in retransmission interest, the total NI also increased.  
Figure 14b shows an analysis of the AEC in the network. The average consumption of the nodes' energy was high with a low threshold because of the excessive transmission of low-priority packets. With a threshold value of 16%-20%, AEC was lowest. With increase in threshold value, an increase in AEC occurred because of packet retransmission. The NI packet was smaller, with a threshold value of 16%, which resulted in fewer retransmissions of the packet. These two factors resulted in fewer dead nodes, and the energy consumption was also limited to the threshold selection. After evaluating and analyzing different threshold values with different evaluation parameters, threshold value of 16% gives us better results in almost all the evaluation comparisons. Therefore, we selected the threshold value of 16 for our energy efficiency scheme.