[ns] help, the tcl code about satellite

2006-10-02 Thread 林泰邑
help, can somebody help me to trace that where is wrong with my tcl code ? global ns set ns [new Simulator] # Note: Even though "Static" is normally reserved for static #topologies, the satellite code will trigger a recalculation #of the routing tables whenever the topolog

Re: [ns] how to use error model

2006-10-02 Thread ???
does any know how to simulation burst error model ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J.H. Wen Sent: Tuesday, October 03, 2006 11:06 AM To: ns-users@ISI.EDU Subject: [ns] how to use error model

[ns] how to use error model

2006-10-02 Thread J.H. Wen
hello everybody, i want to use error model in ns2 in queue/errmodel.h there are two state error model,Complex Two State Markov Model,Multi State Error Model are they work independently? what i need is multi state error model Could anyone tell me how to use that?

[ns] tracing errors in wireless scenario

2006-10-02 Thread Guillermo Biot
Hi, I'm running wireless 802.11 simulations in ns-allinone-2.29 and I'm having some problems tracing the errors. When I insert an error model in my tcl script I cannot see any dropped packet in the resulting trace file. I inserted an uniform error model with rate 0.2 (20% of the packets should hav

[ns] Multi-channels, multiple interfaces for ns2.29

2006-10-02 Thread Ho; Ho Lun
Hi all, I'm currently working on a project about OLSR with multiple channels wireless mesh network. I've seen some online tutorials on how to integrate multi-channel in ns2.26 and ns2.29 from W.H.Q and Wang Bo respectively, but still has no luck to make it works. I would like to know if there is

[ns] how to extract the priority and the size of the contention window of a flow

2006-10-02 Thread Bilel Romdhani
hi, there is someone who can help me : i want to display the priority and the size of contention window of every flow on the ad hoc network simulation by modifiying the mac-802_11.cc thanks ! -- B!LEL [EMAIL PROTECTED] (+33) 6 20 46 39 04

[ns] FW: how do i transfrom "Bit Error Rate" to "frame Error Rate"?

2006-10-02 Thread ???
_ From: Tai-Yi Lin [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 7:29 PM To: 'ns-users@isi.edu' Subject: [ns]how do i transfrom "Bit Error Rate" to "frame Error Rate"? Hi all, how can I transform "Bit error Rate" to "packet error rate"? >> Is there any formulas for

Re: [ns] how do i transfrom "Bit Error Rate" to "Packet Error Rate"?

2006-10-02 Thread Abdul Jabbar
If you plug the values in the formula PER=1-(1-0.001)^8000 = 0.9996658 The above result implies that 99.96% of you packets will have errors and if there are no additional error correction mechanisms, they will be dropped/lost. A BER of 10^-3 is too high and is not practical. For example, in most

[ns] FW: how do i transfrom "Bit Error Rate" to "Packet Error Rate"?

2006-10-02 Thread 林泰邑
-Original Message- From: 林泰邑 [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 6:39 PM To: 'Abdul Jabbar' Subject: RE: [ns] how do i transfrom "Bit Error Rate" to "Packet Error Rate"? for example : when I give ber=10^-3, packet size=1000bytes, what is PER? -Original

Re: [ns] how do i transfrom "Bit Error Rate" to "Packet Error Rate"?

2006-10-02 Thread Abdul Jabbar
As far as I know, the relationship between BER and PER , assuming that bit errors are independent and uniformly distributed is, PER=1-(1-BER)^N where N is the number of bits. However, the above formula is only approximate because in real life scenarios, the bit errors are not completely indepe

[ns] how do i transfrom "Bit Error Rate" to "Packet Error Rate"?

2006-10-02 Thread 林泰邑
Hi all, how can I transform “Bit error Rate” to “packet error rate”? Is there any formulas for this ? Can any body help me?

Re: [ns] cbr generator

2006-10-02 Thread Matthias Budde
Hi, as far as I understand, seed is the base value for the random number generator, i.e. when you chose a seed (other than 0) when you run the generation twice with the same parameters, the generation results will be the same on both runs. rate is the sending rate of the generated connections,

[ns] problems with "leave-group" in C++ level

2006-10-02 Thread jaime venzala
Hello, I met an error as follows when I ran make in terminal in one of my C++ files: Tcl::instance().evalf("[{%s} set node_] leave-group {%s} {%d}",name(),name(),groupaddr); Error: rccmp/rccmprecv.cc:351:error: `groupaddr´ no se declaro en este ambito. How can I indicate the group I wnat to le

[ns] how to extract the priority and the size of the contention window of a flow

2006-10-02 Thread Bilel Romdhani
hi all, i m trying to implement a new routing protocol on ns (ad hoc network) and i want to know if there is anyone who know the function or how to procedure to extract the priority and the size of the contention window of a flow. Thanks a lot. -- B!LEL [EMAIL PROTECTED] +33 (0)620463904