Hi all, I tried to use error model in the ns2.XX/tcl/ex/sat-iridium.tcl on the receiving terminal.....I used the error model code as described in the ns manual like the following:
set em [new ErrorModel] $em unit byte $em set rate_ 1e-7 $em ranvar [new RandomVariable/Uniform] $n101 interface-errormodel $em When I checked the trace file, there's no event begin with "e" or "d" which indicate the error event..... In addition, there seems no different in term of the number of trace lines & packet id eventhough I increase the error rate....... I expected that there should be some differences in the trace file in term of the type of event occurred and also the number of transmit & received packets.... please help regarding this matter... Lukman