Renewably

v1.12.1
uk.renewably/gb-electricity-prices-and-tariffs Checked 4 days ago Published 1 month ago

Cheapest and greenest times to use electricity in Great Britain, and which tariff suits a home.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_regions Regions

The 14 Agile regions (GSP groups), each with well-known places in it - to place a home by its town. The regions are the local electricity networks' areas, not counties, so some places surprise (Milton Keynes and Coventry are in the East Midlands, Croydon in South East England, York in North East England). The surest way: the first two digits of the 13-digit MPAN on the home's electricity bill (`mpan_prefix`).

list_tariffs Tariffs

The time-of-use and standard tariffs from Octopus, EDF and E.ON Next that the `tariff` parameter accepts – or, with `direction=export`, their export tariffs (for get_prices and `export`), each saying which homes can have it.

ParameterTypeDescription
directionstring`import` (default) or `export`.

get_prices Prices

Half-hourly prices for a region from midnight today, up to five days (`days`) - Renewably's own format, and the one to use unless your software was built for Octopus's API (then /unit-rates). On Agile (the default), Agile Outgoing, FreePhase Dynamic and Shape Shifters: Agile, each is published by the supplier or estimated by Renewably (flagged `estimate`), with how good the estimate has been for each day ahead (`estimate_accuracy`); other tariffs show only their supplier's published prices. An export tariff's are what it pays for export (and take no panels). Cached to the next half hour (five…

ParameterTypeDescription
region *stringAgile region: a letter A-P, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`).
daysintegerDays from today, 1-5 (default 2: today and tomorrow).
exportstringHow export is paid: `paired` (the tariff's own export tariff, default), `fixed` (with export_rate), `fit` (the Feed-in Tariff's deemed export: paid whatever is exported, so the sun used at home gives…
export_ratenumberA fixed export rate, p/kWh (0-100).
solar_facingstringThe way they face: S, SE, SW, E, W, NE, NW or N – or a bearing in degrees (south is 180). Default S.
solar_inverter_kwnumberThe inverter's limit, kW (0.5-50), if smaller than the panels.
solar_kwpnumberThe home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section.
solar_pitchnumberTheir angle from flat, degrees (0-90, default 35).
tariffstringA tariff's key from list_tariffs (default `agile`) – an import tariff, or an export tariff from list_tariffs?direction=export (eg `agile-outgoing`), for what it pays.

find_cheapest_window Cheapest window

The cheapest (or lowest-carbon) run of `duration_hours` starting from the next half hour and finishing by the next `finish_by` – when to set a washing machine or dishwasher's delay timer.

ParameterTypeDescription
region *stringAgile region: a letter A-P, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`).
duration_hoursnumberHow long it runs, 0.5-12 in half hours (default 3.5).
exportstringHow export is paid: `paired` (the tariff's own export tariff, default), `fixed` (with export_rate), `fit` (the Feed-in Tariff's deemed export: paid whatever is exported, so the sun used at home gives…
export_ratenumberA fixed export rate, p/kWh (0-100).
finish_bystringLocal time it must finish by, HH:MM (default 07:00) – the next one at least `duration_hours` away.
kwhnumberEnergy the run uses, kWh (0-20), for its cost – on the energy label, or kW times hours. Leave out for no cost.
optimisestring`cost` (default) or `carbon` (NESO's regional forecast, about two days ahead).
solar_facingstringThe way they face: S, SE, SW, E, W, NE, NW or N – or a bearing in degrees (south is 180). Default S.
solar_inverter_kwnumberThe inverter's limit, kW (0.5-50), if smaller than the panels.
solar_kwpnumberThe home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section.
solar_pitchnumberTheir angle from flat, degrees (0-90, default 35).
tariffstringA tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`.

plan_ev_charging EV charging plan

The cheapest or greenest half hours to charge an electric car by a ready-by time up to four days ahead.

ParameterTypeDescription
region *stringAgile region: a letter A-P, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`).
batterynumberUsable battery, kWh (5-200, default 60).
chargernumberCharging power, kW (1-22, default 7.4).
daystringReady-by day: today, tomorrow, in2 or in3 (default: the next time `time` comes round, at least four hours away).
efficiencyintegerCharging efficiency, % (60-100, default 90).
exportstringHow export is paid: `paired` (the tariff's own export tariff, default), `fixed` (with export_rate), `fit` (the Feed-in Tariff's deemed export: paid whatever is exported, so the sun used at home gives…
export_ratenumberA fixed export rate, p/kWh (0-100).
modestring`timer` (one unbroken block, default) or `smart` (any half hours).
mpknumberMiles per kWh, for the per-mile figures (1.5-6, default 3.3).
nowintegerCharge now, % (0-100, default 30).
optimisestring`cost` (default) or `carbon`.
solar_facingstringThe way they face: S, SE, SW, E, W, NE, NW or N – or a bearing in degrees (south is 180). Default S.
solar_inverter_kwnumberThe inverter's limit, kW (0.5-50), if smaller than the panels.
solar_kwpnumberThe home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section.
solar_pitchnumberTheir angle from flat, degrees (0-90, default 35).
targetintegerTarget charge, % (0-100, default 80).
tariffstringA tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`.
timestringReady-by local time, HH:MM (default 07:00).

get_heat_pump_times Heat pump times

For a typical weekday and weekend day at this time of year (on a fixed-window or flat tariff, today's rates): the cheapest time to reheat hot water (and the cheapest ready by 07:00), and the cost of each kWh of heat by hour – price divided by a generic air-source heat pump's efficiency at that hour's typical temperature.

ParameterTypeDescription
region *stringAgile region: a letter A-P, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`).
exportstringHow export is paid: `paired` (the tariff's own export tariff, default), `fixed` (with export_rate), `fit` (the Feed-in Tariff's deemed export: paid whatever is exported, so the sun used at home gives…
export_ratenumberA fixed export rate, p/kWh (0-100).
solar_facingstringThe way they face: S, SE, SW, E, W, NE, NW or N – or a bearing in degrees (south is 180). Default S.
solar_inverter_kwnumberThe inverter's limit, kW (0.5-50), if smaller than the panels.
solar_kwpnumberThe home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section.
solar_pitchnumberTheir angle from flat, degrees (0-90, default 35).
tariffstringA tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`.

get_home_battery_times Home battery charge times

For a typical weekday and weekend day at this time of year (on a fixed-window or flat tariff, today's rates): the cheapest charge slot to fill a home battery before the 16:00 peak, an optional afternoon top-up, and what it saves a home using `usage` kWh a year – the battery runs the house after its charge until it's empty, through a typical day's use. No export, and not counting the battery's wear; with `solar_kwp`, also how full to charge overnight for the next day's sun.

ParameterTypeDescription
region *stringAgile region: a letter A-P, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`).
batterynumberUsable battery, kWh (2-50, default 10).
battery_exportstringWhat the battery may export: `terms` (default) what the export tariff pays for – everything on Octopus's, only what the panels put in on the others; `all` what it charged from the grid too, on any e…
exportstringHow export is paid: `paired` (the tariff's own export tariff, default), `fixed` (with export_rate), `fit` (the Feed-in Tariff's deemed export: paid whatever is exported, so the sun used at home gives…
export_ratenumberA fixed export rate, p/kWh (0-100).
ratenumberGrid charge rate, kW (0.5-15, default 3).
solar_facingstringThe way they face: S, SE, SW, E, W, NE, NW or N – or a bearing in degrees (south is 180). Default S.
solar_inverter_kwnumberThe inverter's limit, kW (0.5-50), if smaller than the panels.
solar_kwpnumberThe home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section.
solar_pitchnumberTheir angle from flat, degrees (0-90, default 35).
tariffstringA tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`.
usagenumberThe home's electricity use, kWh a year (500-30000, default 2500 – an average home).

plan_home_battery Home battery plan

A home battery's plan from the half hour under way to the end of tomorrow, on the tariff's real prices (Agile's, and Agile Outgoing's, estimated beyond what Octopus has published), half hour by half hour: charge from the grid, hold, run the house (self-use), export, or send the sun to the grid – the cheapest way through, counting the battery's losses and wear. Exporting follows what the export tariff pays for – everything on Octopus's, only what the panels put in on the others – unless `battery_export=all` says the home is paid for what the battery charged from the grid too. A battery wi…

ParameterTypeDescription
region *stringAgile region: a letter A-P, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`).
batterynumberUsable battery, kWh (2-50, default 10).
battery_exportstringWhat the battery may export: `terms` (default) what the export terms pay for – on Octopus's export tariffs everything, on the others only what the panels put in; without panels everything, once `exp…
ceilingnumberNever charged above this, per cent (10-100, default 100; above `reserve`) – for an inverter set to stop short of full.
exportstringHow export is paid: `paired` (the tariff's own export tariff, default), `fixed` (with export_rate), `fit` (the Feed-in Tariff's deemed export: paid whatever is exported, so the sun used at home gives…
export_limitnumberThe home's export limit, kW (0-30, default 3.68: a G98 connection).
export_ratenumberA fixed export rate, p/kWh (0-100).
grid_chargingstring`1` (default) may charge from the grid; `0` only from the panels.
ratenumberCharge and discharge rate, kW (0.5-15, default 3).
reservenumberNever below this, per cent (0-90, default 0).
round_tripnumberRound-trip efficiency, per cent (60-100, default 90).
socnumberThe battery's charge now, per cent (0-100). Default: at its reserve.
solar_facingstringThe way they face: S, SE, SW, E, W, NE, NW or N – or a bearing in degrees (south is 180). Default S.
solar_inverter_kwnumberThe inverter's limit, kW (0.5-50), if smaller than the panels.
solar_kwpnumberThe home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section.
solar_pitchnumberTheir angle from flat, degrees (0-90, default 35).
tariffstringA tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`.
usagenumberThe home's electricity use, kWh a year (500-30000, default 2500).
wearnumberThe battery's wear for each kWh it gives back, pence (0-20, default 2).

plan_home Your home

A home's past year on every tariff in list_tariffs and at Ofgem's price cap – and what switching tariff, an electric car, a heat pump, solar panels or a battery would save, each added to everything before it (tariff, car, heating, solar, battery). Each of car, heating, solar and battery is something the home has (it explains the bill) or is considering. Totals are electricity, gas at the price cap and petrol or diesel – only what changes.

get_flexibility_events Flexibility events

When the grid operator, NESO, is asking homes in a region to use less electricity (often the evening peak) or more (often in Scotland, when there's more wind than the grid can carry south), through its Demand Flexibility Service: live events from now to the end of tomorrow, usually announced the same morning. Households can sometimes get paid for taking part – but only if they've signed up to a scheme with their energy supplier or another provider (eg Octopus's Saving Sessions), and that provider is taking part in the event; it tells them and says what it pays. These are NESO's requests to s…

ParameterTypeDescription
region *stringAgile region: a letter A-P, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`).