omnetpp.ini 1.1 KB

12345678910111213141516171819202122232425262728
  1. [General]
  2. network = StatisticVisualizationExample
  3. description = Demonstrates how to display a statistic on network nodes
  4. tkenv-plugin-path = ../../../etc/plugins
  5. # mobility parameters
  6. *.source[*].mobilityType = "MassMobility"
  7. *.source[*].mobility.initFromDisplayString = false
  8. *.source[*].mobility.constraintAreaMinX = 0m
  9. *.source[*].mobility.constraintAreaMinY = 0m
  10. *.source[*].mobility.constraintAreaMinZ = 0m
  11. *.source[*].mobility.constraintAreaMaxX = 1000m
  12. *.source[*].mobility.constraintAreaMaxY = 1000m
  13. *.source[*].mobility.constraintAreaMaxZ = 0m
  14. *.source[*].mobility.speed = 5mps
  15. *.source[*].mobility.changeAngleBy = uniform(-45deg, 45deg)
  16. *.source[*].mobility.changeInterval = exponential(100s)
  17. # application parameters
  18. *.source[*].numPingApps = 1
  19. *.source[*].pingApp[0].destAddr = "destination"
  20. # visualizer parameters
  21. *.visualizer.*.statisticVisualizer.sourceFilter = "**.pingApp[*]"
  22. *.visualizer.*.statisticVisualizer.signalName = "rtt"
  23. *.visualizer.*.statisticVisualizer.unit = "ms"
  24. *.visualizer.*.statisticVisualizer.minValue = 0
  25. *.visualizer.*.statisticVisualizer.maxValue = 2E-3