cleanest_hours
Find the contiguous N-hour window that minimizes carbon emissions to run flexible loads like EV charging at a US ZIP or balancing authority. Ranks hours using last 7 days of grid carbon data.
Instructions
Find the cleanest (lowest grid carbon) contiguous window of N hours in the day to run a flexible load (batch jobs, EV charging, pumping, HVAC pre-cooling) at a US ZIP code or balancing authority. Based on the hour-of-day pattern of the last 7 days (168 hours) of EIA-930 data, in local time. Returns the cleanest and dirtiest windows, % saved vs the daily average, and all hours ranked. A scheduling guide from recent history, not a forecast.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ba | No | Balancing authority code (e.g. CISO, ERCO, PJM, MISO, NYIS). Use this OR zip. | |
| zip | No | 5-digit US ZIP code (or use ba) | |
| duration | No | Window length in hours (default 4) |