omnetpp.ini.ftl 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [General]
  2. network = ${targetTypeName}
  3. #record-eventlog = true
  4. #eventlog-message-detail-pattern = *:(not declaredOn(cMessage) and not declaredOn(cNamedObject) and not declaredOn(cObject))
  5. <#if parametric>
  6. *.numHosts = ${numOfHosts}
  7. <#assign host_0 = "host[0]">
  8. <#assign host_all = "host[*]">
  9. <#else>
  10. <#assign host_0 = "host0">
  11. <#assign host_all = "host*">
  12. </#if>
  13. num-rngs = 3
  14. **.mobility.rng-0 = 1
  15. **.wlan[*].mac.rng-0 = 2
  16. #debug-on-errors = true
  17. tkenv-plugin-path = ../../../etc/plugins
  18. **.channelNumber = 0
  19. # channel physical parameters
  20. *.channelControl.carrierFrequency = 2.4GHz
  21. *.channelControl.pMax = 2.0mW
  22. *.channelControl.sat = -110dBm
  23. *.channelControl.alpha = 2
  24. *.channelControl.numChannels = 1
  25. # mobility
  26. **.${host_all}.mobilityType = "MassMobility"
  27. **.mobility.constraintAreaMinZ = 0m
  28. **.mobility.constraintAreaMaxZ = 0m
  29. **.mobility.constraintAreaMinX = 0m
  30. **.mobility.constraintAreaMinY = 0m
  31. **.mobility.constraintAreaMaxX = 600m
  32. **.mobility.constraintAreaMaxY = 400m
  33. **.mobility.changeInterval = truncnormal(2s, 0.5s)
  34. **.mobility.changeAngleBy = normal(0deg, 30deg)
  35. **.mobility.speed = truncnormal(20mps, 8mps)
  36. **.mobility.updateInterval = 100ms
  37. # ping app (${host_0} pinged by others)
  38. *.${host_0}.pingApp[0].destAddr = ""
  39. *.${host_all}.numPingApps = 1
  40. *.${host_all}.pingApp[0].destAddr = "${host_0}"
  41. *.${host_all}.pingApp[0].startTime = uniform(1s,5s)
  42. *.${host_all}.pingApp[0].printPing = true
  43. # nic settings
  44. **.wlan[*].bitrate = 2Mbps
  45. **.wlan[*].mgmt.frameCapacity = 10
  46. **.wlan[*].mac.address = "auto"
  47. **.wlan[*].mac.maxQueueSize = 14
  48. **.wlan[*].mac.rtsThresholdBytes = 3000B
  49. **.wlan[*].mac.retryLimit = 7
  50. **.wlan[*].mac.cwMinData = 7
  51. **.wlan[*].mac.cwMinMulticast = 31
  52. **.wlan[*].radio.transmitterPower = 2mW
  53. **.wlan[*].radio.thermalNoise = -110dBm
  54. **.wlan[*].radio.sensitivity = -85dBm
  55. **.wlan[*].radio.pathLossAlpha = 2
  56. **.wlan[*].radio.snirThreshold = 4dB