compare_sites
Compare and rank 2-25 candidate US sites (ZIP codes) for a facility, data center or EV/flexible load on grid carbon and electricity cost in one call. Per site: eGRID CO2e kg/kWh (location-based), Green-e residual mix (market-based), carbon-free %, state retail $/kWh for the sector, and the cleanest daily window from the hourly grid profile. With annual_kwh, also annual tCO2e and annual cost. Returns ranks by carbon, cost and combined.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zips | Yes | Candidate 5-digit US ZIP codes | |
| sector | No | Retail rate sector. Default COM (commercial); use IND for industrial/data-center loads. | |
| duration | No | Length of the cleanest daily window in hours (default 4) | |
| annual_kwh | No | Optional annual consumption in kWh (e.g. 87,600,000 for a 10 MW constant load) to get annual tCO2e and cost per site |