# DYNASTI--Dynamic Multiple RPL Instances for Multiple IoT Applications in Smart City
## 5 Performance Evaluation and Results
### Application Scenario  
For DYNASTI's evaluation, we considered a Neighborhood Area Networks (NAN) with Advanced Metering Infrastructure (AMI) as real IoT scenarios [9; 12; 21; 22] that use Smart Grid (SG) applications as well as enabling different types of applications. NAN enables power distribution with the ability of monitoring and controlling electricity delivery to each smart house; therefore, NAN assists the communication between Wide Area Network (WAN) and Home Area Network (HAN) in SG based mostly on the multi-hop communication [22]. Hence, a routing protocol is important in NANs with AMI. It is worth noting that our approach is not specific to AMI in SG, but it is mostly suitable to any context with multiple applications on the same topology with different QoS requirements. SGs are only an example of multiple applications scenario. Two scenarios of NAN with AMI are considered with two or three applications. This subsection describes information about each of the chosen applications and to which traffic class they belong.  
Two types of traffic patterns are considered: regular and sporadic. Regular applications are running throughout the network lifetime and some of their requirements may change to meet the demand of other applications on the network. Sporadic applications will be executed when any random event arises (at least once during the simulation).  
AMI is responsible for collection, analysis, and communication of energy consumption. It is capable of automatically and remotely measuring electricity usage, connecting and disconnecting a service, identifying and isolating interruptions, and monitoring voltage. The AMI modeling is based on the requirements of a smart grid NAN, which will contain the following applications: Application 1 (electricity monitoring), Application 2 (interruption identification), and Application 3 (voltage monitoring). The type of requirements and traffic pattern of these applications are: Application 1 is a regular and normal application, whereas Applications 2 and 3 are critical and sporadic applications.  
The different priorities, the traffic pattern application, and the type and value of the requirement of each application are factors that influence the definition of scheduling. The sending of Application 1 messages is more constant on the network. Applications 2 or 3 sporadically arise (or both simultaneously) on the network; Application 1 must readjust its configuration parameters to release some of the traffic and resources; it was taking up on the network to communicate applications with more stringent network requirements.  
Application 2 occurs sporadically on the network and also has a critical type requirement. It has more stringent requirements than Application 1 because it is responsible for triggering alerts if any interruption on the network is identified. Application 3 also occurs sporadically and is responsible for monitoring the variation in utility voltage (low or high voltage) because an equipment can be damaged. Therefore, Application 3 has more stringent requirements than the Applications 1 and 2.