Skip to main content

OptimizationPaybackScenario

Economics scenarios · Implementation: mlsysim/engine/scenario_definitions/economics.py.

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

An optimization costing implementation_cost that cuts a monthly_bill by reduction.

Notes

Equation: Monthly saving is bill*reduction; payback is implementation_cost/monthly_saving.

Assumptions: A sustained positive saving and constant monthly bill.

Excludes: Discount rates, deployment delay, maintenance cost, and performance-regression risk.

References

Derivation: A fractional reduction of a constant monthly bill saves bill*reduction each month. Dividing the one-time implementation cost by that monthly saving gives the undiscounted number of months needed to recover the cost.

Examples

>>> from mlsysim import Scenarios
>>> s = Scenarios.Int8InferencePayback
>>> s.payback.to("month").magnitude > 0
True

Attributes

Name Description
implementation_cost
monthly_bill
monthly_savings Monthly USD savings from applying the assumed fractional bill reduction.
payback Continuous months needed for accumulated savings to repay implementation cost.
reduction

implementation_cost

Type: Quantity.

Declared default: required.

monthly_bill

Type: Quantity.

Declared default: required.

reduction

Type: float.

Declared default: required.

monthly_savings

engine.scenario_types.OptimizationPaybackScenario.monthly_savings

Monthly USD savings from applying the assumed fractional bill reduction.

Equation: (monthly_bill * reduction).to('USD/month').

payback

engine.scenario_types.OptimizationPaybackScenario.payback

Continuous months needed for accumulated savings to repay implementation cost.

Equation: (implementation_cost / monthly_savings).to('month').

Back to top