omnetpp.ini 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. [General]
  2. tkenv-plugin-path = ../../../etc/plugins
  3. sim-time-limit = 10s
  4. *.numHosts = ${count=2,5,10,20,50,100,200,500}#,1000,2000,5000,10000}
  5. **.vector-recording = false
  6. **.addStaticRoutes = false
  7. *.host*.networkLayer.arpType = "GlobalARP"
  8. # mobility
  9. *.host[*].mobilityType = "StationaryMobility"
  10. *.host[*].mobility.constraintAreaMinX = 0m
  11. *.host[*].mobility.constraintAreaMinY = 0m
  12. *.host[*].mobility.constraintAreaMinZ = 0m
  13. *.host[*].mobility.constraintAreaMaxX = 100m
  14. *.host[*].mobility.constraintAreaMaxY = 100m
  15. *.host[*].mobility.constraintAreaMaxZ = 100m
  16. *.host[*].mobility.initFromDisplayString = false
  17. [Config PingBase]
  18. # ping app (host[0] pinged by others)
  19. *.host[0].numPingApps = 0
  20. *.host[*].numPingApps = 1
  21. *.host[*].pingApp[*].destAddr = "host[0]"
  22. *.host[*].pingApp[*].sendInterval = 1s
  23. *.host[*].pingApp[*].packetSize = 1KiB
  24. [Config UDPBase]
  25. *.host[*].numUdpApps = 1
  26. *.host[0].udpApp[0].typename = "UDPSink"
  27. *.host[0].udpApp[0].localPort = 5000
  28. *.host[*].udpApp[0].typename = "UDPBasicApp"
  29. *.host[*].udpApp[0].destAddresses = "host[0]"
  30. *.host[*].udpApp[0].destPort = 5000
  31. *.host[*].udpApp[0].messageLength = 1000B
  32. *.host[*].udpApp[0].sendInterval = exponential(10ms)
  33. *.host[*].udpApp[0].packetName = "UDPData"
  34. [Config IdealRadioMediumBase]
  35. description = "Ideal radio with CSMA/CA Mac"
  36. *.radioMediumType = "IdealRadioMedium"
  37. *.host[*].wlan[*].typename = "WirelessNic"
  38. *.host[*].wlan[*].radioType = "IdealRadio"
  39. *.host[*].wlan[*].mac.bitrate = 2Mbps
  40. *.host[*].wlan[*].radio.transmitter.bitrate = 2Mbps
  41. *.host[*].wlan[*].radio.transmitter.communicationRange = 200m
  42. *.host[*].wlan[*].radio.transmitter.interferenceRange = 0m
  43. *.host[*].wlan[*].radio.transmitter.detectionRange = 0m
  44. *.host[*].wlan[*].mac.headerLength = 10B
  45. *.host*.wlan[0].macType = "CsmaCaMac"
  46. *.host*.wlan[*].mac.ackTimeout = 102us
  47. [Config ScalarRadioMediumBase]
  48. description = "Scalar radio"
  49. *.radioMediumType = "APSKScalarRadioMedium"
  50. *.host[*].wlan[*].typename = "WirelessNic"
  51. *.host[*].wlan[*].radioType = "APSKScalarRadio"
  52. *.host[*].wlan[*].mac.bitrate = 2Mbps
  53. *.host[*].wlan[*].radio.transmitter.headerBitLength = 0b
  54. *.host[*].wlan[*].radio.transmitter.preambleDuration = 0
  55. *.host[*].wlan[*].radio.transmitter.power = 1W
  56. *.host[*].wlan[*].radio.transmitter.bitrate = 2Mbps
  57. *.host[*].wlan[*].radio.carrierFrequency = 2.4GHz
  58. *.host[*].wlan[*].radio.bandwidth = 2MHz
  59. *.host[*].wlan[*].radio.receiver.energyDetection = -85dBm
  60. *.host[*].wlan[*].radio.receiver.sensitivity = -85dBm
  61. *.host[*].wlan[*].radio.receiver.snirThreshold = 10dB
  62. *.radioMedium.backgroundNoise.power = -110dBm
  63. *.host[*].wlan[*].mac.headerLength = 10B
  64. *.host*.wlan[0].macType = "CsmaCaMac"
  65. #*.host*.wlan[*].mac.ackTimeout = 102us
  66. [Config Ieee80211Base]
  67. description = "802.11"
  68. *.radioMediumType = "Ieee80211ScalarRadioMedium"
  69. *.host[*].wlan[*].bitrate = 2Mbps
  70. *.host[*].wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
  71. [Config Ieee80211Ping]
  72. network = ScalingExampleNetwork
  73. extends = Ieee80211Base, PingBase
  74. [Config Ieee80211Udp]
  75. network = ScalingExampleNetwork
  76. extends = Ieee80211Base, UDPBase
  77. [Config ApskRadioPing]
  78. network = ScalingExampleNetwork
  79. extends = ScalarRadioMediumBase, PingBase
  80. [Config ApskRadioUdp]
  81. network = ScalingExampleNetwork
  82. extends = ScalarRadioMediumBase, UDPBase
  83. [Config IdealRadioPing]
  84. network = ScalingExampleNetwork
  85. extends = IdealRadioMediumBase, PingBase
  86. [Config IdealRadioUdp]
  87. network = ScalingExampleNetwork
  88. extends = IdealRadioMediumBase, UDPBase