Skip to main content

BandwidthDelayScenario

Communication scenarios · Implementation: mlsysim/engine/scenario_definitions/communication.py.

Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.

Data a link carries during delay: line rate times delay (for example, a Go-Back-N resend window).

Notes

Equation: Use the dimensional products, ratios, or selection rules documented on the calculated properties below.

Assumptions: A link transmits continuously at the stated line rate during a fixed delay.

Excludes: Actual buffer occupancy, packet headers, and loss behavior are absent.

References

Derivation: the calculated properties below state their defining arithmetic and units. They are scenario accounting or input-selection rules, not independently measured relationships.

Examples

>>> from mlsysim import Scenarios
>>> case = Scenarios.GoBackNResendNdr
>>> str(case.product)
'250.0 KB'

Attributes

Name Description
delay
link_bandwidth
product Bytes transmitted at line rate during the stated delay. Equation: ``link_bandwidth *

delay

Type: Quantity.

Declared default: required.

product

engine.scenario_types.BandwidthDelayScenario.product

Bytes transmitted at line rate during the stated delay. Equation: link_bandwidth * delay. Units: decimal KB; this is a bandwidth-delay product, not a measured queue occupancy.

Back to top