## 5 Use Cases
### Assisted Parking
The creation, deployment and validation of the demonstrator is carried out following the end-to-end scenario flow shown in Figure 26, in which the proposed toolset capabilities are comprehensively applied to obtain the target WSN application, considering an iterative process for system refinement and implementation enhancement through simulation and testing procedures. Figure 25: Underlying structure of the smart parking user application. In the first phase is created the project entity which encompasses the application objectives and constraints to start the planning and development of the WSN. The input information required also includes the target area to be covered by the smart parking, as well as the surrounding buildings for a more realistic RF simulation of the application environment. For this, the 3D reconstruction engine is applied to automatically generate the building information. Moreover, the type of parameters to be measured is defined, considering the sensors for vehicle detection such as ultrasonic or infrared light intensity. The second phase comprises the creation and management of the network plan, upon which nodes equipped with sensor detectors will be located in the parking slots of the target area, also defining the gateway placement information. Based on this, simulations are triggered in order to improve node positioning and configuration settings, taking into account RF and network connectivity simulation as well as topology reduction. During the third phase, the network simulation synthesis and software synthesis are performed alongside the HiL simulation to collect information related to communication and measurement delay for car detection, in addition to sensing and radio coverage evaluation. Then, the application code is generated by synthesis in accordance with the outcomes of the aforementioned process, so that the corresponding node firmware can be produced. The field deployment, installation and configuration tasks represent the next phase which is supplied with the network models and functional components that compose the overall system implementation, based on the outcomes of the previous stages. The deployment model encompasses the placement and installation of 14 sensor nodes plus the inclusion of two more nodes for routing purposes as a result of the simulation optimization stage. Then, based on the location coordinates, network connectivity scheme and deployment methodology, the installation and configuration process is assisted by means of the CMT-HH, while the operational release is finally verified by the CMT web application, which registers and presents the output models of the in-field commissioning activities for further system optimization and feedback analysis. As a summary of the application implementation of the smart parking demonstrator based on the DPCM toolset, during the planning phase RF connectivity and topology-related services were extensively used and decisively contributed to the successful deployment carried out in later stages of the demonstrator-building process. Likewise, all deployed nodes were equipped with MW modules which simplified the setup activities by providing remote reconfiguration capabilities. Furthermore, the embedded MW support proved particularly useful in the adaption of nodes configuration and their behavior during deployment and maintenance phases. The Network Simulator also played an important role in inspecting the functional profile of the design, before allocating personnel and resources to in-field activities. The results of such simulations comprised communication and topology aspects and operative aspects of embedded software, and helped optimizing design decisions taken iteratively through design-and-simulate cycles. During the installation phase, CMT tools used the deployment models and artifacts produced to place nodes and configure them according to design specifications, as well as to analyze and verify the performance and operability of the whole network.