propagation.ned 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. package inet.showcases.visualizer.physicalmediumactivity;
  2. import inet.environment.common.PhysicalEnvironment;
  3. import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
  4. import inet.node.inet.AdhocHost;
  5. import inet.node.inet.WirelessHost;
  6. import inet.node.wireless.AccessPoint;
  7. import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
  8. import inet.visualizer.integrated.IntegratedVisualizer;
  9. network MediumActivityDisplayingPropagationTransmissionsReceptionsShowcase
  10. {
  11. @display("bgb=920,566");
  12. submodules:
  13. host2: WirelessHost {
  14. @display("p=645.645,270.27");
  15. }
  16. configurator: IPv4NetworkConfigurator {
  17. @display("p=853.545,46.2");
  18. }
  19. visualizer: IntegratedVisualizer {
  20. @display("p=853.545,123.585");
  21. }
  22. radioMedium: Ieee80211ScalarRadioMedium {
  23. @display("p=852.39,204.435");
  24. }
  25. host1: WirelessHost {
  26. @display("p=179,271");
  27. }
  28. }
  29. network MediumActivityMultipleNodesShowcase
  30. {
  31. parameters:
  32. @display("bgb=1000,500");
  33. submodules:
  34. visualizer: IntegratedVisualizer {
  35. parameters:
  36. @display("p=100,100");
  37. }
  38. configurator: IPv4NetworkConfigurator {
  39. parameters:
  40. @display("p=100,200");
  41. }
  42. radioMedium: Ieee80211ScalarRadioMedium {
  43. parameters:
  44. @display("p=100,300");
  45. }
  46. source: AdhocHost {
  47. parameters:
  48. @display("p=300,200");
  49. }
  50. relay: AdhocHost {
  51. parameters:
  52. @display("p=600,300");
  53. }
  54. destination: AdhocHost {
  55. parameters:
  56. @display("p=900,200");
  57. }
  58. }
  59. network MediumActivityInterferingSignalsShowcase
  60. {
  61. parameters:
  62. @display("bgb=1000,500");
  63. submodules:
  64. visualizer: IntegratedVisualizer {
  65. parameters:
  66. @display("p=100,100");
  67. }
  68. configurator: IPv4NetworkConfigurator {
  69. parameters:
  70. @display("p=100,200");
  71. }
  72. radioMedium: Ieee80211ScalarRadioMedium {
  73. parameters:
  74. @display("p=100,300");
  75. }
  76. source1: AdhocHost {
  77. parameters:
  78. @display("p=300,200");
  79. }
  80. destination: AdhocHost {
  81. parameters:
  82. @display("p=601.14496,387.79498");
  83. }
  84. source2: AdhocHost {
  85. parameters:
  86. @display("p=900,200");
  87. }
  88. physicalEnvironment: PhysicalEnvironment {
  89. @display("p=100.399994,387.79498");
  90. }
  91. }
  92. network PropagationD
  93. {
  94. @display("bgb=300000,300000");
  95. submodules:
  96. wirelessHost: WirelessHost {
  97. @display("p=118801.586,166802.22");
  98. }
  99. accessPoint: AccessPoint {
  100. @display("p=118801.39,166802.22");
  101. }
  102. configurator: IPv4NetworkConfigurator {
  103. @display("p=234003.11,38400.51");
  104. }
  105. visualizer: IntegratedVisualizer {
  106. @display("p=234603.12,75001");
  107. }
  108. radioMedium: Ieee80211ScalarRadioMedium {
  109. @display("p=229203.05,115801.54");
  110. }
  111. wirelessHost1: WirelessHost {
  112. @display("p=5400.072,6000.08");
  113. }
  114. }
  115. network PropagationE
  116. {
  117. @display("bgb=10000,10000");
  118. submodules:
  119. wirelessHost: WirelessHost {
  120. @display("p=5000.586,5668.22");
  121. }
  122. accessPoint: AccessPoint {
  123. @display("p=5001.39,5668.22");
  124. }
  125. configurator: IPv4NetworkConfigurator {
  126. @display("p=2000.11,3840.51");
  127. }
  128. visualizer: IntegratedVisualizer {
  129. @display("p=2000.12,7500");
  130. }
  131. radioMedium: Ieee80211ScalarRadioMedium {
  132. @display("p=229203.05,1158.54");
  133. }
  134. wirelessHost1: WirelessHost {
  135. @display("p=620.248,500.2");
  136. }
  137. }