Files
cs249r_book/mlsysim/docs/api/core.solver.SustainabilityModel.qmd
Vijay Janapa Reddi 611de228d9 fix(mlsysim): align docs with *Model naming convention
The solver.py refactoring renamed most solver classes from *Solver to
*Model (e.g. DistributedSolver → DistributedModel). The docs still
referenced the old names, causing the Quarto site build to fail with:
  ImportError: cannot import name 'DistributedSolver' from 'mlsysim'

- Fix executable code cells in tutorials/distributed.qmd
- Update non-executable code examples across 10 doc files
- Rename 19 API reference files from *Solver.qmd to *Model.qmd
- SensitivitySolver and SynthesisSolver retain their names (correct)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 08:39:11 -04:00

34 lines
1.1 KiB
Plaintext

# core.solver.SustainabilityModel { #mlsysim.core.solver.SustainabilityModel }
```python
core.solver.SustainabilityModel()
```
Calculates Datacenter-scale Sustainability metrics.
Handles Power Usage Effectiveness (PUE), Carbon Intensity,
and Water Usage Effectiveness (WUE) across different regional grids.
This solver models 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.core.solver.SustainabilityModel.solve) | Calculates energy, carbon, and water footprint for a fleet operation. |
### solve { #mlsysim.core.solver.SustainabilityModel.solve }
```python
core.solver.SustainabilityModel.solve(fleet, duration_days, datacenter=None)
```
Calculates energy, carbon, and water footprint for a fleet operation.