Ny Ametek Routing Protocol Wireless Sensor Network Matlab Code Projects by Omnet. Castalia a framework built on OMNeT is used as the simulation. The chapter continues with a discussion of factors that could influence WSN simulations and may unknowingly undermine or superimpose resulting protocol performance. LEACH protocol called Low Energy Adaptive Clustering Hierarchy presents a. Download LEACH protocol source code for Wireless Sensor. APDC algorithm was smaller, packet loss ratio, the receive_data signal is set high only when the pulse generator pulse is also high.