omnetpp.ini 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [General]
  2. network = ObstacleIntersectionTest
  3. #debug-on-errors = true
  4. tkenv-plugin-path = ../../../etc/plugins
  5. description = "Test intersection with obstacles"
  6. seed-set = 3
  7. *.numHosts = 2
  8. **.config = xmldoc("obstacles.xml")
  9. **.displayIntersections = true
  10. **.constraintAreaMinX = 0m
  11. **.constraintAreaMinY = 0m
  12. **.constraintAreaMinZ = 0m
  13. **.constraintAreaMaxX = 2000m
  14. **.constraintAreaMaxY = 1000m
  15. **.constraintAreaMaxZ = 100m
  16. **.obstacleLossType = "DielectricObstacleLoss"
  17. **.objectCacheType = ""
  18. # mobility
  19. **.host*.mobility.initFromDisplayString = false
  20. **.host*.mobilityType = "MassMobility"
  21. **.host*.mobility.changeInterval = truncnormal(2s, 0.5s)
  22. **.host*.mobility.changeAngleBy = normal(0deg, 30deg)
  23. **.host*.mobility.speed = truncnormal(20mps, 8mps)
  24. **.host*.mobility.updateInterval = 100ms
  25. # ping app (host[0] pinged by others)
  26. *.host[0].numPingApps = 0
  27. *.host[*].numPingApps = 2
  28. *.host[*].pingApp[*].destAddr = "host[0]"
  29. **.pingApp[0].startTime = uniform(1s,5s)
  30. **.pingApp[1].startTime = 5s+uniform(1s,5s)
  31. **.pingApp[*].printPing = true
  32. # nic settings
  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 = 5mW
  42. **.wlan[*].radio.receiver.sensitivity = -85dBm
  43. **.wlan[*].radio.receiver.snirThreshold = 4dB