Skip to main content

LeaseBudgetScenario

Robotics scenarios · Implementation: mlsysim/engine/scenario_definitions/robotics/realtime.py.

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

site.machine’s chunk lease at speed: its stopping-budget cost and the lease rule’s bounds.

The lease defaults to the site’s; the renewal period and the chunk inference latency are the machine’s; renewal_jitter is the allowance for variation in the interval between successful renewals.

Notes

Equation: Result = mlsysim.solvers.LeaseBudgetModel.solve with the named scenario fields; no extra fitting or postprocessing is applied.

Assumptions: The supplied inputs use the units and validity regime documented by LeaseBudgetModel.solve; this class binds one reproducible configuration.

Excludes: Any behavior excluded by LeaseBudgetModel.solve, and measurement or calibration of the supplied inputs.

References

Implementation reference: mlsysim.solvers.LeaseBudgetModel.solve documents the composed equation and its sources.

Examples

The named registry scenario supplies the stated inputs; this is a modeled calculation, not a new measurement.

>>> from mlsysim import Scenarios
>>> scenario = Scenarios.WarehouseChunkLease
>>> round((scenario.result.lease).to('ms').magnitude, 6)
60.0

Attributes

Name Description
lease
renewal_jitter
result Return mlsysim.solvers.LeaseBudgetModel.solve for this scenario; output fields retain the units and feasibility semantics specified by that solver.
site
speed

site

Type: Any.

Declared default: required.

speed

Type: Quantity.

Declared default: required.

renewal_jitter

Type: Quantity.

Declared default: required.

lease

Type: Optional[Quantity].

Declared default: None.

result

engine.scenario_types.LeaseBudgetScenario.result

Return mlsysim.solvers.LeaseBudgetModel.solve for this scenario; output fields retain the units and feasibility semantics specified by that solver.

Equation: mlsysim.solvers.LeaseBudgetModel.solve (scenario fields).

Back to top