Get generation by fuel
get_generationAggregated generation (MW) per production type.
start/end default to UTC; start inclusive, end EXCLUSIVE.
For a full calendar month set end to the first day of the next
month. Pass tz="local" or an IANA name to interpret start/end as
wall-clock in that timezone.
GB/UK: ENTSO-E's GB generation ended 2021-06-15. For later windows in the
same ENTSO-E codes use get_series(endpoint="generation_per_type_elexon", zone="GB", …) (Elexon, from 2021); for NESO's mix with its estimate of
embedded wind use get_series(endpoint="generation_mix", zone="GB", …)
(2009→now, its own wind codes — list_psr_types(zone="GB") first). A
window past a series' end answers with series_ended, naming both.
If you're computing a generation-weighted price metric — capture
price, capture rate, value factor, merchant-PPA achieved price — use
get_derivation(slug="capture_price", …) instead. It runs server-side
over the full window and returns monthly rows; no row cap, no pagination.
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": {
"zone": "<zone>",
"start": "<start>",
"end": "<end>"
},
"name": "get_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | ||
| end | Yes | ||
| zone | Yes | ||
| start | Yes | ||
| psr_types | No | ||
| aggregation | No | raw |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||