omnetpp.ini 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [General]
  2. network = ErrorRateExample
  3. #sim-time-limit = 1s
  4. tkenv-plugin-path = ../../../etc/plugins
  5. **.constraintAreaMinX = 0m
  6. **.constraintAreaMinY = 0m
  7. **.constraintAreaMinZ = 0m
  8. **.constraintAreaMaxX = 10000m
  9. **.constraintAreaMaxY = 10000m
  10. **.constraintAreaMaxZ = 2m
  11. #*.*Host.mobility.initialZ = 1.5m
  12. *.*Host.networkLayer.arpType = "GlobalARP"
  13. **.pathLossType = "TwoRayGroundReflection" #!!!
  14. *.physicalEnvironment.groundType = "FlatGround"
  15. #*.physicalEnvironment.ground.elevation = -1.5m # nodes should be raised instead
  16. # mobility
  17. **.mobilityType = "StationaryMobility"
  18. **.mobility.initFromDisplayString = false
  19. **.mobility.initialY = 500m
  20. **.mobility.initialZ = 1.5m
  21. *.sourceHost.mobility.initialX = 0m
  22. *.destinationHost.mobility.initialX = ${distance=10..550 step 2}m
  23. *.*Host*.wlan[*].opMode = "g(erp)" #!!!
  24. **.bitrate = ${bitrate=6,9,12,18,24,36,48,54}Mbps #!!!
  25. *.*Host*.wlan[*].mac.retryLimit = 0
  26. # UDP app
  27. *.sourceHost.numUdpApps = 1
  28. *.sourceHost.udpApp[0].typename = "UDPBasicApp"
  29. *.sourceHost.udpApp[0].destAddresses = "destinationHost"
  30. *.sourceHost.udpApp[0].startTime = 0s
  31. *.sourceHost.udpApp[0].packetName = "UDPData-"
  32. *.sourceHost.udpApp[0].destPort = 5000
  33. *.sourceHost.udpApp[0].messageLength = 56byte
  34. *.sourceHost.udpApp[0].stopTime = 0.1ms
  35. *.sourceHost.udpApp[0].sendInterval = 1s
  36. *.destinationHost.numUdpApps = 1
  37. *.destinationHost.udpApp[0].typename = "UDPSink"
  38. *.destinationHost.udpApp[0].localPort = 5000
  39. # radio
  40. *.*Host.wlan[*].radio.transmitter.power = 10mW #!!!
  41. #*.*Host.wlan[*].radio.receiver.snirThreshold = 0dB #!!!
  42. *.radioMedium.backgroundNoise.power = -86dBm #!!!