# A Resource Oriented Route Selection Framework Using Contextual Information Based on Fuzzy Logic
## 5 Performance Evaluation and Results
### Performance Analysis  
Packet reception ratio: the number of packet received by the root node per unit time. We set the inter packet interval to two seconds and evaluate the packet reception ratio (PRR) with respect to different transmission success ratio (Tx) and receiving success ratio (Rx). For this, we only consider data packets. Congestion may occur on a parent node because of high and dynamic traffic flow from many sensing devices. Consequently, the data packets may drop due to queue limitation. The backlog situation leads to a smaller number of data packets being received at the root node and, hence, the packet reception ratio declines. Figure 10a shows the packet reception ratio of OF0, MRHOF, SCAOF, and COOF with respect to the Tx/Rx ratio. It can be seen that the packet reception ratio is high under high transmit success ratio and receive success ratio. The result shows that the packet reception ratio of all objective functions is gradually increasing with the increasing of the Tx/Rx ratio. However, COOF achieves the higher packet receiving ratio than others under high and dynamic traffic scenarios. Conversely, as compared to COOF, SCAOF, and MHROF, OF0 lost most of the packets in the buffer. It is expected because OF0 does not include the link quality metric in the path selection process. On the other hand, in COOF, along with link quality metric, queue utilization and energy metric are also taken into account, during path selection. As transmit and receive success ratio reflect the quality of the link in the network. Therefore, when Tx/Rx is low, the quality of the link is poor, and thus the re-transmission of the packet causes the packet loss problem, and hence a decrease in packet receiving rate. Additionally, we analyze the packet receiving ratio in terms of the varying packet arrival interval. For this, the varied time interval is offered. Figure 10b depicts the tendency of packet receiving ratio in the network, where it increases with the increased packet arrival interval. As compared to others, COOF achieves the higher packet receiving ratio in high and dynamic traffic scenarios. Furthermore, it maintains the minimum and maximum packet receiving ratio of 56.9% and 94.2%, while SCAOF maintains 54.2% and 80.2%, respectively. On the other hand, OF0 severely reduces packet receiving ratio when packet arrival interval decreases and it reaches a minimum of 39.6%. However, COOF is 14% and 22% better than SCAOF and MRHOF, respectively. Meantime, it is also resilient against the steady growth of data traffic. Therefore, at high traffic dynamicity, COOF achieves high packet receiving ratio by effectively using the network resources. \begin{table}
\begin{tabular}{c c} \hline \hline
**Parameter** & **Value** \\ \hline Packet format & IPv6 \\ Adaptation & 6 LoWPAN \\ Network scenario & 300 *300 m\({}^{2}\) \\ Transmission range & 50 m \\ Interference range & 70 m \\ Radio model & Unit Disk Graph Medium (UDGM) \\ Loss model & Distance loss \\ Max queue size & 16 packets \\ Queue type & FIFO \\ Channel check rate & 16 Hz \\ \multicolumn{2}{c}{Note type} & Tmote sky \\ Dead node & Energy less than 4\% of its initial energy \\ MAC Protocol & CSMA \\ Initial Energy & 5 Joule \\ \hline \hline \end{tabular}
\end{table} 
Table 3: Simulation experiment parameters. Packet loss ratio: it is the ratio of the total number of data packets lost due to the queue limitation to the total number of data packet sent. Figure 10(a) depicts the comparison of the packet loss ratio with respect to the Tx/Rx among different OFs. The result shows that the packet loss ratio decreases as the Tx/Rx ratio increases. However, as compared to other, COOF loses fewer packet due to the queue limitation. It is obvious, because COOF takes into account queue fluctuation index metric to properly handle the queue overflow issue on a node. At the low Tx/Rx ratio, 50%, the packet loss ratio of OF0, MRHOF, SCAOF, and COOF are about 89.4%, 79.6%, 71.2%, and 60.7%, respectively.