Skip to main content

LinkBuildoutScenario

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.

links_per_device links per accelerator of fleet, each with a price and a module power.

Notes

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

Assumptions: Every counted link receives the same unit cost and module-power value; links-per-device already handles any shared ownership convention.

Excludes: Switch chassis, cooling, installation, and network utilization 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.SpineOpticsTraining10K
>>> round(case.n_links, 4)
20000

Attributes

Name Description
cost_per_link
fleet
links_per_device
n_links Total link count across the fleet. Equation: links_per_device * | | [power_per_link](#mlsysim.engine.scenario_types.LinkBuildoutScenario.power_per_link) | | | [total_cost](#mlsysim.engine.scenario_types.LinkBuildoutScenario.total_cost) | Purchase cost of all counted link modules. Equation:n_links * cost_per_link. Units: | | [total_power](#mlsysim.engine.scenario_types.LinkBuildoutScenario.total_power) | Rated power of all counted link modules. Equation:n_links * power_per_link``. Units:

fleet

Type: Fleet.

Declared default: required.

total_cost

engine.scenario_types.LinkBuildoutScenario.total_cost

Purchase cost of all counted link modules. Equation: n_links * cost_per_link. Units: the input currency; switches and installation are excluded unless priced into each link.

total_power

engine.scenario_types.LinkBuildoutScenario.total_power

Rated power of all counted link modules. Equation: n_links * power_per_link. Units: kW; switching equipment power is excluded.

Back to top