omnetpp.ini 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. [General]
  2. network = ObjectCacheTest
  3. sim-time-limit = 5s
  4. #debug-on-errors = true
  5. tkenv-plugin-path = ../../../etc/plugins
  6. num-rngs = 3
  7. **.mobility.rng-0 = 1
  8. **.wlan[*].mac.rng-0 = 2
  9. **.scalar-recording = false
  10. **.vector-recording = false
  11. **.displayIntersections = true
  12. **.constraintAreaMinX = 0m
  13. **.constraintAreaMinY = 0m
  14. **.constraintAreaMinZ = 0m
  15. **.constraintAreaMaxX = 2000m
  16. **.constraintAreaMaxY = 2000m
  17. **.constraintAreaMaxZ = 50m
  18. **.obstacleLossType = "DielectricObstacleLoss"
  19. **.spaceMinX = 0m
  20. **.spaceMinY = 0m
  21. **.spaceMinZ = 0m
  22. **.spaceMaxX = 2000m
  23. **.spaceMaxY = 2000m
  24. **.spaceMaxZ = 50m
  25. *.numHosts = 20
  26. **.config = xmldoc("obstacles.xml")
  27. # mobility
  28. **.host*.mobilityType = "MassMobility"
  29. **.host*.mobility.changeInterval = truncnormal(2s, 0.5s)
  30. **.host*.mobility.changeAngleBy = normal(0deg, 30deg)
  31. **.host*.mobility.speed = truncnormal(20mps, 8mps)
  32. **.host*.mobility.updateInterval = 100ms
  33. **.host[*].mobility.constraintAreaMinX = 0m
  34. **.host[*].mobility.constraintAreaMinY = 0m
  35. **.host[*].mobility.constraintAreaMinZ = 0m
  36. **.host[*].mobility.constraintAreaMaxX = 2000m
  37. **.host[*].mobility.constraintAreaMaxY = 2000m
  38. **.host[*].mobility.constraintAreaMaxZ = 50m
  39. **.host[*].mobility.initFromDisplayString = false
  40. # ping app (host[0] pinged by others)
  41. *.host[0].numPingApps = 0
  42. *.host[*].numPingApps = 2
  43. *.host[*].pingApp[*].destAddr = "host[0]"
  44. **.pingApp[0].startTime = uniform(1s,5s)
  45. **.pingApp[1].startTime = 5s+uniform(1s,5s)
  46. **.pingApp[*].printPing = true
  47. # nic settings
  48. **.wlan[*].bitrate = 2Mbps
  49. **.wlan[*].mgmt.frameCapacity = 10
  50. **.wlan[*].mac.address = "auto"
  51. **.wlan[*].mac.maxQueueSize = 14
  52. **.wlan[*].mac.rtsThresholdBytes = 3000B
  53. **.wlan[*].mac.retryLimit = 7
  54. **.wlan[*].mac.cwMinData = 7
  55. **.wlan[*].mac.cwMinBroadcast = 31
  56. **.wlan[*].radio.transmitter.power = 5mW
  57. **.wlan[*].radio.receiver.sensitivity = -85dBm
  58. **.wlan[*].radio.receiver.snirThreshold = 4dB
  59. [Config WithoutCache]
  60. description = "Without any object cache"
  61. [Config GridObjectCache]
  62. description = "Using a GridObjectCache"
  63. **.physicalEnvironment.objectCacheType = "GridObjectCache"
  64. **.objectCache.cellSizeX = 10m
  65. **.objectCache.cellSizeY = 10m
  66. **.objectCache.cellSizeZ = 10m
  67. [Config BVHObjectCache]
  68. description = "Using a BVHObjectCache"
  69. **.physicalEnvironment.objectCacheType = "BVHObjectCache"
  70. **.objectCache.leafCapacity = 4
  71. **.objectCache.axisOrder = "XY"