#5, First Floor, 4th Street , Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to set various radio propagation models in ns2?
  • Three signal propagation models available in ns2 are

    1. FreeSpace
    2. TwoRayGround
    3. Shadowing

  • #Propagation Model 1: FreeSpace

    set val(prop) Propagation/ FreeSpace ;# radio-propagation model
    # configure the nodes
    $ns node-config – propType $val(prop) \
    # Node Creation
    set node1 [$ns node]

  • #Propagation Model 2: TwoRayGround

    set val(prop) Propagation/TwoRayGround ;# radio-propagation model
    # configure the nodes
    $ns node-config – propType $val(prop) \
    # Node Creation
    set node1 [$ns node][$ns node]

  • #Propagation Model 3: Shadowing

    set val(prop) Propagation/ Shadowing ;# radio-propagation model
    # configure the nodes
    $ns node-config – propType $val(prop) \
    # Node Creation
    set node1 [$ns node][$ns node][$ns node]