[ns] calculate the blocking rate

2008-05-14 Thread jazia jaballah

Hello,
i'm working with wimax networks and i want to evaluate the performances of
wimax by dowing the following scenario:
my scenario is composed with one BS (base station) and a random number of
SS (subcriber station).
these are the steps that i want to do:
1.fixe the radius of the BS by 500m par example.
2.generate a random number of nodes who connect to this BS
3. calculate the blocking rate by the equation of Erlang
4. then i evaluate this rate and decide whenever  i decrease or i increase
the radius of my BS to ensure the QoS of my networks.
if there is any one have an idea about this, please let me know.
please help me!
thanks.


[ns] calculate the dropped packet

2008-05-09 Thread jazia jaballah

Hello,
i want to calculate the number of dropped packet of a simple TCP trafic.
how should i proceed?
thanks


[ns] generate CMPP traffic

2008-05-08 Thread jazia jaballah

Hello,

I have tried to generate CMPP traffic in NS by adding a class

CMPP_Traffic analogous to Poisson_Traffic .

I have made those additions:


 1.~ns/tcl/lib/ns-default.tcl : here i have given default values for all

the parameters


 2.~ns/tcl/lib/ns-source.tcl : here i have first declare my class as

Class Application/Traffic/CMPP


 3.~ns/packet.h : here i have made entry for my packet type PT_CMPP in teh

enum defined there . i have also made the entry name_[PT_CMPP]=cmpp


 4. ~ns/trace.h : here in the func. format() i have made entry for my

packet type in the if-condition in line 213.


 There is no problem when i compile ns with my file included in the

Makefile. But when i run a tcl script generating CMPP traffic then it

gives the following error :


 

_o84:unable to dispatch method attach-agent

while executing

$traffic attach-agent $udp0

(file cmpp.tcl line40)

---


 here cmpp.tcl is the name of my tcl script

traffic is the object Application/Traffic/CMPP

udp0 is the object Agent/UDP


 Can anybody suggest me what to do???


[ns] Random function

2008-04-28 Thread jazia jaballah

hi,
i want to generate a random number of mobile nodes, if there is a function
already integrated in ns2 please let me know?
thanks!


[ns] scenario for wimax

2008-04-28 Thread jazia jaballah

Hello,
I want to do the following scenario.i use  the  NIST  model for simulating
wimax networks.
the scenario consists of an evaluation of a wimax network :a three base
stations covering a certain region and a random number of subscribers
generated in random positions.
i want to define a fixed rate for three base stations for example 30Mbps and
offer the choice for mobile stations between  1Mbps and 2Mbps. i want to see
the change in parameters (throughput, budget link, bandwidth,...) for a
mobile station as it moves from one BTS to another.
i use xgraph for plotting.
is this scenario that I just described feasible under NS2 or not?
thank you