omnetpp.ini 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [General]
  2. #debug-on-errors = true
  3. #record-eventlog = true
  4. network = Scenario
  5. sim-time-limit = 60min
  6. cmdenv-express-mode = true
  7. *.hosts = 3
  8. **.constraintAreaMinX = 0m
  9. **.constraintAreaMinY = 0m
  10. **.constraintAreaMinZ = 0m
  11. **.constraintAreaMaxX = 600m
  12. **.constraintAreaMaxY = 400m
  13. **.constraintAreaMaxZ = 0m
  14. # mobility
  15. **.host*.mobilityType = "MassMobility"
  16. **.host*.mobility.initFromDisplayString = false
  17. **.host*.mobility.changeInterval = truncnormal(2s, 0.5s)
  18. **.host*.mobility.changeAngleBy = normal(0deg, 30deg)
  19. **.host*.mobility.speed = truncnormal(20mps, 8mps)
  20. **.host*.mobility.updateInterval = 100ms
  21. **.host*.ac_wlan.interfaces = "wlan0"
  22. # UDPBasicApp / UDPSink
  23. **.numUdpApps = 1
  24. **.udpApp[0].typename = "UDPBasicApp"
  25. **.udpApp[0].destAddresses = "host[0]"
  26. **.udpApp[0].localPort = 9001
  27. **.udpApp[0].destPort = 9001
  28. **.udpApp[0].messageLength = 100B
  29. **.udpApp[0].startTime = uniform(10s, 30s)
  30. **.udpApp[0].sendInterval = uniform(10s, 30s)
  31. # nic settings
  32. **.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
  33. **.wlan[*].bitrate = 2Mbps
  34. **.wlan[*].mgmt.frameCapacity = 10
  35. **.wlan[*].mac.address = "auto"
  36. **.wlan[*].mac.maxQueueSize = 14
  37. **.wlan[*].mac.rtsThresholdBytes = 3000B
  38. **.wlan[*].mac.retryLimit = 7
  39. **.wlan[*].mac.cwMinData = 7
  40. **.wlan[*].mac.cwMinBroadcast = 31
  41. **.wlan[*].radio.transmitter.power = 2mW
  42. **.wlan[*].radio.receiver.sensitivity = -85dBm
  43. **.wlan[*].radio.receiver.snirThreshold = 4dB
  44. **.udpapp.*.vector-recording = true
  45. **.vector-recording = true