demand_vs_weather
Analyze the relationship between daily electricity demand and temperature by joining demand data with weather data from the nearest NOAA station for a specified region and date range. Reveals heating and cooling load patterns.
Instructions
Join daily average demand against daily temperature for a region, using the NOAA weather station nearest that region's main load zone. Reveals the demand-temperature relationship (heating and cooling load).
Args:
region: Balancing authority code.
start: Inclusive start date, 'YYYY-MM-DD'.
end: Inclusive end date, 'YYYY-MM-DD'.
Returns one row per day: average demand (MWh) and that day's max/min temp (C).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| region | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |