omnetpp.ini 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. [General]
  2. #debug-on-errors = true
  3. #record-eventlog = true
  4. tkenv-plugin-path = ../../../etc/plugins
  5. sim-time-limit = 0.1s
  6. #cmdenv-log-prefix = "f %g [%l] "
  7. #cmdenv-log-level = info
  8. #debugger-attach-on-error = true
  9. **.vector-recording = false
  10. *.numHosts = 100
  11. num-rngs = 3
  12. **.mobility.rng-0 = 1
  13. **.wlan[*].mac.rng-0 = 2
  14. **.addStaticRoutes = false
  15. **.arp.globalARP = true
  16. # mobility
  17. *.host[*].mobilityType = "StationaryMobility"
  18. *.host[*].mobility.constraintAreaMinX = 0m
  19. *.host[*].mobility.constraintAreaMinY = 0m
  20. *.host[*].mobility.constraintAreaMinZ = 0m
  21. *.host[*].mobility.constraintAreaMaxX = 100m
  22. *.host[*].mobility.constraintAreaMaxY = 100m
  23. *.host[*].mobility.constraintAreaMaxZ = 100m
  24. *.host[*].mobility.initFromDisplayString = false
  25. # ping app (host[0] pinged by others)
  26. *.host[0].numPingApps = 0
  27. *.host[*].numPingApps = 1
  28. *.host[*].pingApp[*].destAddr = "host[0]"
  29. *.host[*].pingApp[*].sendInterval = uniform(5ms, 10ms)
  30. *.host[*].pingApp[*].packetSize = 1KiB
  31. *.host[*].pingApp[*].printPing = false
  32. [Config AbstractIdealMac]
  33. *.host[*].wlan[*].typename = "IdealWirelessNic"
  34. *.host[*].wlan[*].bitrate = 2Mbps
  35. *.host[*].wlan[*].mac.headerLength = 10B
  36. [Config IdealRadioMedium]
  37. network = TestRadioScaling
  38. extends = AbstractIdealMac
  39. description = "Ideal radio"
  40. *.radioMediumType = "IdealRadioMedium"
  41. *.host[*].wlan[*].radioType = "IdealRadio"
  42. *.host[*].wlan[*].radio.transmitter.bitrate = 2Mbps
  43. *.host[*].wlan[*].radio.transmitter.communicationRange = 100m
  44. *.host[*].wlan[*].radio.transmitter.interferenceRange = 0m
  45. *.host[*].wlan[*].radio.transmitter.detectionRange = 0m
  46. *.host[*].wlan[*].radio.receiver.ignoreInterference = true
  47. [Config ScalarRadioMedium]
  48. network = TestRadioScaling
  49. extends = AbstractIdealMac
  50. description = "Scalar radio"
  51. *.radioMediumType = "RadioMedium"
  52. *.radioMedium.mediumLimitCache.carrierFrequency = 2.4GHz
  53. *.radioMedium.mediumLimitCache.maxTransmissionPower = 1W
  54. *.radioMedium.mediumLimitCache.minInterferencePower = -110dBm
  55. *.radioMedium.mediumLimitCache.minReceptionPower = -85dBm
  56. *.radioMedium.propagationType = "ConstantSpeedPropagation"
  57. *.radioMedium.pathLossType = "FreeSpacePathLoss"
  58. *.radioMedium.analogModelType = "ScalarAnalogModel"
  59. *.radioMedium.backgroundNoiseType = "IsotropicScalarBackgroundNoise"
  60. *.radioMedium.backgroundNoise.power = -110dBm
  61. *.host[*].wlan[*].mac.fullDuplex = false
  62. *.host[*].wlan[*].radioType = "Radio"
  63. *.host[*].wlan[*].radio.transmitterType = "APSKScalarTransmitter"
  64. *.host[*].wlan[*].radio.transmitter.bitrate = 2Mbps
  65. *.host[*].wlan[*].radio.transmitter.headerBitLength = 100b
  66. *.host[*].wlan[*].radio.transmitter.power = 1W
  67. *.host[*].wlan[*].radio.transmitter.carrierFrequency = 2.4GHz
  68. *.host[*].wlan[*].radio.transmitter.bandwidth = 2MHz
  69. *.host[*].wlan[*].radio.transmitter.preambleDuration = 0
  70. *.host[*].wlan[*].radio.antennaType = "IsotropicAntenna"
  71. *.host[*].wlan[*].radio.receiverType = "APSKScalarReceiver"
  72. *.host[*].wlan[*].radio.receiver.energyDetection = -85dBm
  73. *.host[*].wlan[*].radio.receiver.sensitivity = -85dBm
  74. *.host[*].wlan[*].radio.receiver.snirThreshold = 10dB
  75. *.host[*].wlan[*].radio.receiver.carrierFrequency = 2.4GHz
  76. *.host[*].wlan[*].radio.receiver.bandwidth = 2MHz
  77. *.host[*].wlan[*].radio.receiver.modulation = "BPSK"
  78. [Config DimensionalRadioMedium]
  79. network = TestRadioScaling
  80. extends = AbstractIdealMac
  81. description = "Dimensional radio"
  82. *.radioMediumType = "APSKDimensionalRadioMedium"
  83. *.radioMedium.mediumLimitCache.carrierFrequency = 2.4GHz
  84. *.radioMedium.mediumLimitCache.maxTransmissionPower = 1W
  85. *.radioMedium.minInterferencePower = -110dBm
  86. *.radioMedium.minReceptionPower = -85dBm
  87. *.radioMedium.propagationType = "ConstantSpeedPropagation"
  88. *.radioMedium.analogModelType = "DimensionalAnalogModel"
  89. *.radioMedium.backgroundNoiseType = "IsotropicDimensionalBackgroundNoise"
  90. *.radioMedium.backgroundNoise.power = -110dBm
  91. *.host[*].wlan[*].mac.fullDuplex = false
  92. *.host[*].wlan[*].radioType = "Radio"
  93. *.host[*].wlan[*].radio.transmitterType = "APSKDimensionalTransmitter"
  94. *.host[*].wlan[*].radio.transmitter.bitrate = 2Mbps
  95. *.host[*].wlan[*].radio.transmitter.headerBitLength = 100b
  96. *.host[*].wlan[*].radio.transmitter.power = 1W
  97. *.host[*].wlan[*].radio.transmitter.carrierFrequency = 2.4GHz
  98. *.host[*].wlan[*].radio.transmitter.bandwidth = 2MHz
  99. *.host[*].wlan[*].radio.transmitter.preambleDuration = 0
  100. *.host[*].wlan[*].radio.antennaType = "IsotropicAntenna"
  101. *.host[*].wlan[*].radio.receiverType = "APSKDimensionalReceiver"
  102. *.host[*].wlan[*].radio.receiver.energyDetection = -85dBm
  103. *.host[*].wlan[*].radio.receiver.sensitivity = -85dBm
  104. *.host[*].wlan[*].radio.receiver.snirThreshold = 10dB
  105. *.host[*].wlan[*].radio.receiver.carrierFrequency = 2.4GHz
  106. *.host[*].wlan[*].radio.receiver.bandwidth = 2MHz
  107. *.host[*].wlan[*].radio.receiver.modulation = "BPSK"