Skip to main content

DevelopmentSweepScenario

Sustainability scenarios · Implementation: mlsysim/engine/scenario_definitions/sustainability.py.

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

A sweep of candidates runs, each costing relative_cost of the final run.

Notes

Equation: The result property composes mlsysim.solvers.DevelopmentSweepModel.solve with the stored fields and any derived properties described below.

Assumptions: Inputs use the units and validity ranges of mlsysim.solvers.DevelopmentSweepModel.solve. The named scenario supplies a fixed configuration rather than observations of a new run.

Excludes: Additional runtime effects or statistical guarantees beyond the cited solver contracts; no measurement is performed by this wrapper.

References

Derivation: The result property composes mlsysim.solvers.DevelopmentSweepModel.solve with the stored fields and any derived properties described below. Individual property contracts identify the exact accounting expression or reusable calculation. Registry entries supply the scenario inputs; this class does not turn them into measured outcomes.

Examples

Evaluate a named scenario using its declared inputs.

>>> from mlsysim import Scenarios
>>> scenario = Scenarios.CandidateSweep50
>>> round(float(scenario.result.final_run_equivalents), 4)
5.0

Attributes

Name Description
candidates
relative_cost
result Return the modeled DevelopmentSweep result from

candidates

Type: float.

Declared default: required.

relative_cost

Type: float.

Declared default: required.

result

engine.scenario_types.DevelopmentSweepScenario.result

Return the modeled DevelopmentSweep result from mlsysim.solvers.DevelopmentSweepModel.solve.

Equation: the scenario supplies its named fields to that solver. Returned quantity units, validity conditions, and omissions follow its calculation contract; this property adds no empirical calibration.

Back to top