Applicable Versions | NetSim Standard | NetSim Pro |
Applicable Releases | v13.3 |
The source codes for the NetSim Propagation Model libraries are proprietary and not publicly accessible. However, we have made the Thorp propagation source codes available and offered a customized workspace for accessing and editing the UWAN Thorp propagation codes.
Please follow the steps explained below:
Please follow the steps explained below:
1. Download the modified workspace using the following link:
2. Follow the instructions specified in the following link to download and set up the workspace in NetSim:
https://support.tetcos.com/en/support/solutions/articles/14000128666-downloading-and-setting-upnetsim-file-exchange-projects
https://support.tetcos.com/en/
3. Open-source codes by going to Your Work -> Source Codes -> Open Code.
4. In the Aloha Source code project in the file explorer, you will now find a Thorp.c file which contains the source codes associated with the Thorp model.
![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/14131547935/original/52Mcvevm0WQc79e6PhSXkm9aiH4ajGpHgQ.png?1699376559)
5. In the workspace it is assumed that in the GUI the user has set the Channel Characteristics to PATHLOSS_ONLY with the Path Loss Model set to Thorp and Spread Coefficient set to 2, in the Adhoc link properties.
![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/14131547927/original/NiMzkBMOwgnym56eWhJ9R6oNvUecpX1iDQ.png?1699376558)
![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/14131547934/original/hQ72gQplnpfXkRN902ULn_01R8MbDcrb5w.png?1699376559)
![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/14131547933/original/sEM2q2witvVQX939cFArCT1RjCr-kmKbpg.png?1699376559)
8. You can develop your own channel models and, in a similar manner, invoke your function for pathloss calculations in place of the Thorp pathloss function.
Useful Links:
1. UWAN Overview: https://www.tetcos.com/underwater_networks.html
2. UWAN Documentation: https://www.tetcos.com/downloads/v14/UWAN.pdf