best_hours
Identify the lowest-CO2 or cheapest hours in a Danish electricity window to schedule heat pumps, EV charging, or other flexible loads, with optional consecutive-hour blocks.
Instructions
Find the cleanest (lowest CO2) or cheapest hours in a window, e.g. when to run a heat pump or charge a car.
metric: 'co2' or 'price'. n_hours: how many hours to pick. consecutive=True returns the block of n back-to-back hours with the lowest mean instead of the n lowest single hours. highest=True flips it to the dirtiest / most expensive hours. Times are Danish local time.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"area": "<area>",
"metric": "<metric>",
"start": "<start>"
},
"name": "best_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| area | Yes | ||
| start | Yes | ||
| metric | Yes | ||
| highest | No | ||
| n_hours | No | ||
| currency | No | DKK | |
| co2_source | No | auto | |
| consecutive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||