omnetpp.ini 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. [Config DisplayingPropagationTransmissionsReceptions]
  2. network = MediumActivityDisplayingPropagationTransmissionsReceptionsShowcase
  3. description = "Displaying signal propagation, transmissions and receptions"
  4. # UDP settings
  5. *.host1.numUdpApps = 1
  6. *.host1.udpApp[0].typename = "UDPBasicApp"
  7. *.host1.udpApp[*].destAddresses = "host2"
  8. *.host1.udpApp[*].destPort = 1000
  9. *.host1.udpApp[*].messageLength = 1000byte
  10. *.host1.udpApp[*].sendInterval = 10s
  11. *.host2.numUdpApps = 1
  12. *.host2.udpApp[0].typename = "UDPSink"
  13. *.host2.udpApp[*].localPort = 1000
  14. # Visualizer settings
  15. *.visualizer.*.mediumVisualizer.displaySignals = true
  16. *.visualizer.*.mediumVisualizer.displayReceptions = true
  17. *.visualizer.*.mediumVisualizer.displayTransmissions = true
  18. *.visualizer.*.mediumVisualizer.displayCommunicationRanges = true
  19. *.visualizer.*.mediumVisualizer.displayInterferenceRanges = true
  20. # Misc settings
  21. *.host*.wlan[*].radio.transmitter.power = 10mW
  22. *.host*.forwarding = true
  23. *.host*.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
  24. [Config MultipleNodes]
  25. network = MediumActivityMultipleNodesShowcase
  26. description = "Multiple nodes"
  27. # Ping settings
  28. *.source.numPingApps = 1
  29. *.source.pingApp[0].destAddr = "destination"
  30. # visualizer parameters
  31. *.visualizer.*.mediumVisualizer.signalPropagationAnimationSpeed = 500/3e8 # signal should travel 500 meters in 1 second when playback speed is set to 1.0
  32. *.visualizer.*.mediumVisualizer.signalTransmissionAnimationSpeed = 50000/3e8
  33. *.visualizer.*.mediumVisualizer.displaySignals = true # enables displaying radio signals propagating through the radio medium
  34. *.visualizer.*.mediumVisualizer.displayTransmissions = true # enables display an image over transmitting nodes
  35. *.visualizer.*.mediumVisualizer.displayReceptions = true # enables display an image over receiving nodes
  36. # TODO: these animated icons should be the default for 3D?
  37. #*.visualizer.canvasVisualizer.mediumVisualizer.transmissionImage = "misc/transmission.png"
  38. #*.visualizer.canvasVisualizer.mediumVisualizer.receptionImage = "misc/reception.png"
  39. #*.visualizer.osgVisualizer.mediumVisualizer.transmissionImage = "misc/transmission_anim.gif"
  40. #*.visualizer.osgVisualizer.mediumVisualizer.receptionImage = "misc/reception_anim.gif"
  41. # Misc settings
  42. **.arpType = "GlobalARP"
  43. *.*.wlan[*].radio.transmitter.power = 10mW # reduces communication range to get a non-trivial path between source and destination
  44. **.configurator.config = xmldoc("configurator.xml")
  45. # TODO: KLUDGE: to make network configration not crash, remove eventually
  46. **.bitrate = 54Mbps
  47. [Config InterferingSignals]
  48. network = MediumActivityInterferingSignalsShowcase
  49. description = "Interfering signals"
  50. # Ping settings
  51. *.source1.numPingApps = 1
  52. *.source1.pingApp[*].destAddr = "destination"
  53. *.source1.pingApp[*].startTime = 0s
  54. *.source2.numPingApps = 1
  55. *.source2.pingApp[*].destAddr = "destination"
  56. *.source2.pingApp[*].startTime = 0s
  57. # Visualizer settings
  58. *.visualizer.*.mediumVisualizer.signalPropagationAnimationSpeed = 0.000001
  59. *.visualizer.*.mediumVisualizer.signalTransmissionAnimationSpeed = 0.0001
  60. *.visualizer.*.mediumVisualizer.displaySignals = true # enables displaying radio signals propagating through the radio medium
  61. *.visualizer.*.mediumVisualizer.displayTransmissions = true # enables display an image over transmitting nodes
  62. *.visualizer.*.mediumVisualizer.displayReceptions = true # enables display an image over receiving nodes
  63. *.visualizer.canvasVisualizer.mediumVisualizer.transmissionImage = "misc/transmission.png"
  64. *.visualizer.canvasVisualizer.mediumVisualizer.receptionImage = "misc/reception.png"
  65. *.visualizer.osgVisualizer.mediumVisualizer.transmissionImage = "misc/transmission_anim.gif"
  66. *.visualizer.osgVisualizer.mediumVisualizer.receptionImage = "misc/reception_anim.gif"
  67. *.visualizer.*.physicalEnvironmentVisualizer.displayObjects = true
  68. # Misc settings
  69. *.physicalEnvironment.config = xmldoc("environment.xml")
  70. *.radioMedium.obstacleLossType = "IdealObstacleLoss"
  71. **.configurator.config = xmldoc("configurator.xml")
  72. *.*.wlan[*].radio.transmitter.power = 5mW # reduces communication range to get a non-trivial path between source and destination
  73. **.arpType = "GlobalARP"
  74. # sometimes there are both the transmission and the reception indicator icons are present...is that normal ?
  75. # TODO: KLUDGE: to make network configration not crash, remove eventually
  76. **.bitrate = 54Mbps
  77. # These are temp configs, delete enventually:
  78. [Config Propagation4]
  79. network = PropagationD
  80. description = "Playground size is 0.0001x0.0001 lightseconds"
  81. # just trying
  82. *.visualizer.*.mediumVisualizer.displaySignals = true
  83. *.visualizer.canvasVisualizer.mediumVisualizer.signalRingSize = 100000m
  84. *.visualizer.canvasVisualizer.mediumVisualizer.signalWaveLength = 100000m
  85. *.visualizer.canvasVisualizer.mediumVisualizer.signalFadingFactor = 1
  86. *.visualizer.canvasVisualizer.mediumVisualizer.signalFadingDistance = 100000m
  87. #*.visualizer.*.mediumVisualizer.signalPropagationAnimationSpeed = 1/1000
  88. #*.visualizer.*.mediumVisualizer.signalPropagationAdditionalTime = 1s
  89. [Config Propagation5]
  90. network = PropagationE
  91. description = "Checking if the bubbles work on 10x10 km playground"
  92. # just trying
  93. *.visualizer.*.mediumVisualizer.displaySignals = true
  94. *.visualizer.canvasVisualizer.mediumVisualizer.signalRingSize = 100000m
  95. *.visualizer.canvasVisualizer.mediumVisualizer.signalWaveLength = 100000m
  96. *.visualizer.canvasVisualizer.mediumVisualizer.signalFadingFactor = 1
  97. *.visualizer.canvasVisualizer.mediumVisualizer.signalFadingDistance = 100000m
  98. #*.visualizer.*.mediumVisualizer.signalPropagationAnimationSpeed = 1/1000
  99. #*.visualizer.*.mediumVisualizer.signalPropagationAdditionalTime = 1s