cleanest_hours
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; between limits the windows to given local hours (e.g. overnight). 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) | |
| between | No | Optional local hours the window must fall in, start-end, wrapping past midnight: e.g. "20-06" for an EV fleet parked overnight, "9-17" for working hours. | |
| duration | No | Window length in hours (default 4) |