Files
cs249r_book/mlsysim/docs/api/engine.solver.SustainabilityModel.qmd
Vijay Janapa Reddi cb0ae4082f docs(mlsysim): regenerate quartodoc API stubs for the new module layout
Run quartodoc build against the refactored package (engine/ extracted from core/,
infra->infrastructure): regenerate the API reference so every stub points at the new
paths. Adds engine.*/infrastructure.* stubs, removes the 41 stale core.solver.* /
core.engine.* / core.scenarios.* / core.config.* / core.evaluation.* / infra*.qmd
orphans, and refreshes the package pages (core now primitives-only) + index.

Verified: all 47 documented symbols resolve in the new package; every index link
resolves; zero stale mlsysim.core.<engine-mod> / mlsysim.infra references anywhere in
docs/. (objects.json inventory is gitignored -- regenerated at build.)
2026-05-29 21:35:39 -04:00

40 lines
1.2 KiB
Plaintext

# engine.solver.SustainabilityModel { #mlsysim.engine.solver.SustainabilityModel }
```python
engine.solver.SustainabilityModel()
```
Calculates Datacenter-scale Sustainability metrics.
Handles Power Usage Effectiveness (PUE), Carbon Intensity,
and Water Usage Effectiveness (WUE) across different regional grids.
This model simulates the 'Infrastructure Tax' — the energy spent on
cooling and power delivery rather than on neural computation.
Literature Source:
1. Patterson et al. (2021), "Carbon Emissions and Large Neural Network
Training."
2. Belkhir & Elmeligi (2018), "Assessing ICT Global Emissions Footprint."
3. Wu et al. (2022), "Sustainable AI: Environmental Implications,
Challenges and Opportunities."
## Methods
| Name | Description |
| --- | --- |
| [solve](#mlsysim.engine.solver.SustainabilityModel.solve) | Calculates energy, carbon, and water footprint for a fleet operation. |
### solve { #mlsysim.engine.solver.SustainabilityModel.solve }
```python
engine.solver.SustainabilityModel.solve(
fleet,
duration_days,
datacenter=None,
mfu=1.0,
embodied_carbon_per_device=0.0,
)
```
Calculates energy, carbon, and water footprint for a fleet operation.