Hi Weigang,
You are right. You cant change the transmission range from the TCL file because it is set to a default value in the underwaterpropagation.cc. You will find the following command in the beginning of underwaterchannel.cc.
double UnderwaterChannel::distCST_ =1150.0;
It need not be 1150 in your version of Aqua-Sim, still the value given here is the transmission range used.
So, if you want to change the transmission range, change it in underwaterchannel.cc.
Please dont forget to compile it once you have modified the .cc file (make clean, make, make install).
Hope your problem is solved.
Regarding the noise parameters in underwaterpropagation.cc, this module just implements the Thorp's propagation model, noise does not come into picture in it.
Regards,
Jalaja M J
Research Scholar, NIT Calicut, India
************************ CAUTION - Disclaimer ***************************************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. RIT has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment.
Please do not print this email unless it is absolutely necessary. Lets' go GREEN.
Rajiv Gandhi Institute of Technology ******** End of Disclaimer **********************