Table Of Contents
Table Of Contents

Measuring Propagation Time


In this example we explore the channel propagation time statistics for wired and wireless transmission mediums.

INET version: 4.4

The Model

The packet propagation time is measured from the moment the beginning of a physical signal encoding the packet leaves the transmitter network interface up to the moment the beginning of the same physical signal arrives at the receiver network interface. This time usually equals with the same difference measured for the end of the physical signal. The exception would be when the receiver is moving relative to the transmitter with a relatively high speed compared to the propagation speed of the physical signal, but it is rarely the case in communication network simulation.

Here is the network:


Here is the configuration:

network = PropagationTimeMeasurementShowcase
description = "Measure packet propagation time on the channel"
sim-time-limit = 1s

# source application ~96Mbps throughput
*.source.numApps = 1
*[0].typename = "UdpSourceApp"
*[0].source.packetLength = 1200B
*[0].source.productionInterval = exponential(100us)
*[0].io.destAddress = "destination"
*[0].io.destPort = 1000

# destination application
*.destination.numApps = 1
*[0].typename = "UdpSinkApp"
*[0].io.localPort = 1000

# enable modular Ethernet model
*.*.ethernet.typename = "EthernetLayer"
*.*.eth[*].typename = "LayeredEthernetInterface"

# data rate of all network interfaces
*.*.eth[*].bitrate = 100Mbps


Here are the results:


Sources: omnetpp.ini, PropagationTimeMeasurementShowcase.ned


Use this page in the GitHub issue tracker for commenting on this showcase.