[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ns] Error Model in wireless simulation



Hello,

I digged thru the ns manual and the closest I found regarding adding
error model in a wireless simulation is chapter 17.2.6 (error models in
satellite networking).  I also dig thru NS homepage and their search
site, and I found similar question arising again and again, but no
definite answer/solution to it. There has been suggestions such as
adding:
	set em_ [new ErrorModel]
	$em_ unit pkt
	$em_ set rate_ 0.02
	$em_ ranvar [new RandomVariable/Uniform]
	$node_(0) interface-errormodel $em_

OR
	set em_ [new ErrorModel]
	$em_ unit pkt
	$em_ set rate_ 0.02
	$em_ ranvar [new RandomVariable/Uniform]
	$em_ drop-target[new Agent/Null]
	$ns_ lossmodel $em_ $node_(0) $node_(1)

But I get error messages for both. The first causes NS to return:
-----------------------------------------------------------------
    (_o15 cmd line 1)
    invoked from within
"_o15 cmd interface-errormodel _o58"
    invoked from within
"catch "$self cmd $args" ret"
    (procedure "_o15" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$node_(0) interface-errormodel $em_"
    (file "lostwirelesslink.tcl" line 147)


second case cause NS to return:
--------------------------------
    (_o58 cmd line 1)
    invoked from within
"_o58 cmd drop-target_o60"
    invoked from within
"catch "$self cmd $args" ret"
    (procedure "_o58" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$em_ drop-target[new Agent/Null]"
    (file "lostwirelesslink.tcl" line 148)


I'd appreciate very much if someone can point me to the right direction
or any scripts which may help me in adding error models in a wireless
link.

Thank you.

Susan 

-----Original Message-----
From: jahn-isi [mailto:[email protected]]
Sent: Sunday, September 16, 2001 11:27 AM
To: [email protected]
Cc: [email protected]
Subject: RE: [ns] Error Model


Please refer to the ns home page or the newly updated ns manual for
adding error models over wireless networks.

-jahn


-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of
Alberto Conforti
Sent: Saturday, September 15, 2001 3:33 PM
To: [email protected]
Subject: [ns] Error Model



how can i use the error model in a wireless simulation?

does the wireless channel introduce error?

in the ns manual it seem that i can i use the error model only for a
link 
how can i introduce it in a wireless link?

have you got some script that can help me?