%0 Journal Article %T Positioning System in Wireless Sensor Networks Using NS-2 %J Software Engineering %@ 2162-8408 %D 2012 %I %R 10.5923/j.se.20120204.01 %X The practical difficulties of setting up a wireless sensor network (WSN) and analysing its performance have made simulation essential for the study of WSNs. The ns-2 network simulator is one of the most widely used tools by researchers to investigate the characteristics of WSNs. ns-2 has the basic properties and capabilities to support simulations of different localisation techniques. There are only a limited number of generic and reusable modules for ns-2 that can be significantly customised to support specific research areas. Therefore, building a complete localisation system requires in-depth knowledge of the inner workings of ns-2 and selecting between a large number of implementation options. This paper presents an extension of ns-2 that will enable a user with a basic knowledge of ns-2 to simulate a localisation system within a wireless network and explains how to implement new localisation algorithms using the extended ns-2. The technical content of this paper would be beneficial to new ns-2 users regarding how a simulation project is built and structured. %K Simulator %K Localisation %K Ns-2 %K Sensor's Position %K WSN %U http://article.sapub.org/10.5923.j.se.20120204.01.html