Hi, Faisal Aslam schrieb: > I am using cmu extension to simulate a wireless-sensor protocol. I > believe NS-2 only support unit disk transmission range model. However, > unit disk model is not realistic. 100% true. > I wish to have model that has following > (1) Each node selects its transmission range (say c) using uniform > distribution from say [a, b]. > Simply modify the antenna gain or transmission power before creating a node. > (2) Each node randomly selects few nodes near the border of circular > transmission range to be out of range. It is because in practice > transmission range is not exactly circular. > You will need to implement (maybe there is already an implementation) a directional antenna. Also using the Shadowing propagation model introduces some probabilistic effects.
To select particular nodes that are not "in range" you could implement a new propagation model that uses some kind of lookup table to determine the reception of a packet. Daniel. -- Dr.-Ing. Daniel Mahrenholz rt-solutions.de GmbH Oberländer Ufer 190a D-50968 Köln Web: www.rt-solutions.de rt-solutions.de networks you can trust.