History since 1997
How Elenz joins metered data, dispatch data and the real-time feed into one record back to August 1997.
Introduction
The history is the record behind every view older than the live week. It runs back to 1 August 1997, and holds generation by plant and fuel, grid demand, HVDC transfer and prices.
Elenz builds it month by month, so that one time axis can run from 1997 to today. Plants that have closed stay in the record, including New Plymouth, Ōtāhuhu A and B, Southdown, Te Awamutu and the Taranaki Combined Cycle.
Data sources
Elenz joins three layers of data into one record. Each period uses the most reliable data published so far.
- HistoryMetered historyAugust 1997 to the latest month the Electricity Authority (EA) has fully published. It holds half-hourly energy recorded by meters. Each month’s generation and demand data usually arrives 5 to 6 weeks after the month ends.
- RecentRecent dispatch dataThe end of the metered history to the newest daily dispatch file, usually 1 to 4 days old. This layer usually covers 5 to 10 weeks. Dispatch figures aren’t meter readings. For most plants they are the market system’s 5-minute targets, and for wind and solar they are a snapshot of output at the time. Elenz averages them to half-hours.
- LiveThe live weekThe last 7 days of 5-minute data from the real-time dispatch feed. The 24-hour, 3-day and 7-day views use this layer alone. Longer views use the history, then add live data only for the days not yet in a daily file.
When a month’s metered data is complete, it replaces that month’s dispatch figures. Dispatch data still fills in plants the meters don’t cover, such as batteries and new solar farms.
Each figure moves to better data on its own timetable, and this table sets that out.
| Figure | Metered or final | Recent weeks | Latest days and the 24-hour to 7-day views |
|---|---|---|---|
| Generation | Metered, once the month is complete | Daily dispatch files | Real-time dispatch feed |
| Grid demand | Metered, on the same timetable as generation | Daily dispatch files | Real-time dispatch feed |
| HVDC transfer | Metered, usually about 2 weeks after the month ends | A calculated estimate from island balances until the month is published | A calculated estimate from island balances |
| Prices | Final prices, usually the next day, marked interim for the first day or two | Final prices | Dispatch prices. The 24-hour to 7-day views keep showing them after a final price is published. |
| Embedded solar | A calculated estimate, from August 2013 | A calculated estimate, modelled in the same way | A calculated estimate, with the last hour carried forward |
| Other embedded generation | A calculated estimate from metered injection, from January 2009 | A calculated estimate, from reconciliation data where it has been published and otherwise a typical day | A calculated estimate, from a typical day |
Three consequences follow from this:
- The same half-hour can show a dispatch price in the 7-day view and a final price in the 30-day view.
- HVDC transfer moves to metered data earlier than generation. Its switch falls 2 to 6 weeks behind today, always at the start of a month.
- Before 10 September 2020 there are no daily dispatch files, so metered data stands alone.
Each dataset does the following job in the history.
- Metered generationElectricity Authority (EMI) History: metered. Each station’s half-hourly output, recorded by meters, for every month the EA has fully published.August 1997 onward. About 5 to 6 weeks after each month.
- Embedded generationElectricity Authority (EMI) History before 2009: metered. Stations on local networks before metered generation covers them, and gross output where metered generation is net of local load.October 1998 onward, with most points from April 1999. About 2 weeks after each month.
- Grid exportsElectricity Authority (EMI) History: metered. Energy leaving the national grid, one of the inputs to metered demand.October 1996 onward. About 2 weeks after each month.
- Grid importsElectricity Authority (EMI) History: metered. Energy entering the national grid from local networks, one of the inputs to metered demand.October 2000 onward. About 2 weeks after each month.
- Grid exports to TiwaiElectricity Authority (EMI) History: metered. The Tiwai Point smelter’s load, stored with each month and shown as part of demand.October 1996 onward. About 2 weeks after each month.
- HVDC flowsElectricity Authority (EMI) History: metered. Flows at both ends of the HVDC link, for every month the EA has published.October 1996 onward. About 2 weeks after each month.
- Final energy pricesElectricity Authority (EMI) All periods: final price. Every price in the history, which is what views of 30 days or longer show.1996 onward. Elenz uses August 1997 onward. Usually the next day.
- Reconciled injection and offtakeElectricity Authority (EMI) History from 2009: calculated estimate. Other embedded generation, made from metered injection on local networks. It also supplies Mill Creek wind farm’s first 16 months.January 2005 onward. Elenz uses January 2009 onward, apart from checks. About 3 to 4 weeks after each month. Each month is revised about 3, 7 and 14 months later.
- Installed distributed generationElectricity Authority (EMI) History from 2013: calculated estimate. Installed embedded solar at each grid exit point, which feeds the model of its output.August 2013 onward. Monthly.
- Satellite irradianceOpen-Meteo (Himawari, JMA/JAXA) History from 2016: calculated estimate. Sunshine for the embedded solar model.2016 onward. About 45 minutes behind real time.
- ERA5 reanalysisOpen-Meteo (Copernicus ERA5) History from 2013 to 2015: calculated estimate. Sunshine for the embedded solar model before the satellite archive starts.August 2013 to 2015, as used by Elenz. The dataset itself goes back decades. About 5 days behind.
- Dispatch prices and volumesElectricity Authority (EMI) Recent weeks: dispatch data. Half-hourly output and island load from the end of the metered history to the newest daily file. It also fills in plants the meters don’t cover, such as batteries and new solar farms.10 September 2020 onward. Usually 1 to 4 days late.
- Real-time dispatchElectricity Authority (EMI) Live week: dispatch data. Each generating unit’s output, island load and prices every 5 minutes for the last 7 days.About the last month. Usually 1 to 2 minutes after each interval starts.
- Network supply pointsElectricity Authority (EMI) Mapping. Gives the island of connection points that appear only in the metered history.Current and past connection points. Every few days.
- Electricity statisticsMinistry of Business, Innovation and Employment Check. Annual net generation, compared with the history’s yearly totals.The 1970s onward. Quarterly.
How it works
The history job runs every 6 hours. It adds each month as the Electricity Authority (EA) publishes it, and rebuilds every month when the plant register, the corrections or the metered plant table change.
A metered month
A metered month is built half-hour by half-hour from the EA’s monthly files. Each step below deals with one way the files need interpreting.
- Mapping
- Each code in metered generation (
Generation_MD) is mapped to a plant, fuel and island infacilities/metered_plants.csv, with date ranges and shares. Many connection points in these files are retired, so network supply points supplies their islands. Each build warns about any code it doesn’t recognise. - Stations on local networks
- Metered generation covers these stations only from January 2009. Before that, we read embedded generation (
Embedded_generation) under the old meter codes, such as RotokawaRKA0111, NgāwhāNGA0331and TararuaTWF0331andTWF0332. We include only stations that Elenz also shows later. - Net meters
- At some connection points on local networks, metered generation is net of local load. It reads only about 10% of Mangahao’s gross output, about 35% of Cobb’s and about 50% of Whareroa’s. Where the embedded generation meter reads more, we add the difference to that point’s plant.
- Shared meters
- Two meters each carry two plants, and we split them by their shares in the dispatch data. Deep Stream and Mahinerangi are split 30% and 70% from June 2011. Kawerau (Te Ahi O Maui) and Kawerau (TOPP2) are split 35% and 65% from December 2025.
- Repeated rows
- Pātea has three unit rows from June 2026, and each repeats the station total, so we use one.
- Doubled readings
- Trustpower’s embedded meters at Kaimai, Rotokawa, Tararua, Highbank, Paerau, Waipori and Teviot read double until July 2005. We halve a month’s reading if its peak is more than 1.4 times the plant’s nameplate capacity.
- Plants filled from dispatch data
- Some plants use their dispatch figures even in a metered month. Batteries always do, because dispatch nets their charging. So do solar farms not yet in the metered data, and any plant whose metered energy is under half its dispatch energy.
- Demand and HVDC transfer
- These come from the metered grid flows, as Demand and HVDC transfer explain.
- Embedded generation
- Embedded solar and other embedded generation are added as calculated estimates. Each page explains how its layer is made.
Where the sources hand over
Where both exist, the dispatch and metered figures agree closely. Over September 2020 to September 2026, national wind and hydro agree within 0.2%, and demand agrees within 1% in each island. National generation has a half-hourly correlation of 0.999 in every month.
A few plants differ, and we treat them in two ways.
- Ngāwhā and Teviot: the dispatch data has only part of Ngāwhā and none of Teviot. We fill in the rest of each as a calculated estimate, so neither steps at the handover. Other embedded generation explains how. This fill counts in the plant, its fuel and total generation. It doesn’t count in grid demand.
- Glenbrook: dispatch sees part of the plant, and its metered output runs about 1.47 times the dispatch figure. We show each as published, so Glenbrook can step down at the handover.
- Kawerau (Onepu): its meter is a whole site’s connection to the grid, and its metered output runs about 0.68 times the dispatch figure. We show each as published, so it can step up at the handover (see Kawerau (Onepu)).
Some river chains are dispatched as a block. One station’s dispatch figure on such a chain can differ from what it generated, while the chain’s total agrees with the meters.
Dispatch data also reaches slightly further at its extremes. A month’s highest half-hour of wind reads about 10 MW above the metered figure nationally, and hydro and demand read about 20 to 25 MW above. We correct for these differences before a dispatch figure counts towards a provisional record.
Half-hours and longer intervals
The 30-day view shows half-hours. The 1-year and All views show days, or weeks, months and years. Generation is shown as each interval’s energy, and demand, HVDC transfer and prices as its average.
Peak demand and peak generation come from each day’s highest half-hour. Energy figures add up the half-hours, so they are the same at any interval.
How to interpret it
A long line on the Tracker joins several kinds of data. National figures are consistent across the joins, but a few things change along the way.
A step in January 2009 is the start of other embedded generation, not a change in the power system. Keep that in mind when comparing a total or a renewable share across that month. A step in one plant’s line within the last 10 weeks or so may be the handover to dispatch data.
| Use | How far to trust it |
|---|---|
| National generation and demand since 2009 | Credible Metered for most of the total, with other embedded generation added as a calculated estimate. |
| Comparing totals across January 2009 | Indicative Totals step up by about 2% of generation that month. Compare hydro, wind or thermal generation instead, because other embedded generation sits outside those fuels. |
| One plant, metered history | Credible Metered, unless a meter is shared or the plant is shown whole. |
| One plant, recent weeks | Useful Dispatch data agrees closely for most plants. Glenbrook, Kawerau (Onepu) and stations on block-dispatched chains can differ. |
| Local-network plants before January 2009 | Not suitable Only stations that Elenz also shows later are in the history before that month. |
Accuracy and limitations
| Figure | Status | Typical accuracy |
|---|---|---|
| Generation by plant and fuel, metered history | Metered | As published by the EA, apart from the corrections under A metered month |
| Generation by plant and fuel, recent dispatch data | Dispatch | National wind and hydro within 0.2% of metered output, September 2020 to September 2026 |
| Grid demand, recent dispatch data | Dispatch | Within 1% of metered demand in each island, September 2020 to September 2026 |
| Prices, history | Final price | As published by the EA |
| HVDC transfer after the latest published month | Calculated estimate | Mean error of about 10 MW (see HVDC transfer) |
| Embedded solar | Calculated estimate | About ±9% on clear days and ±19% under cloud (see Embedded solar) |
| Other embedded generation, newest weeks | Calculated estimate | A month’s average out by about 9% (see Other embedded generation) |
| Total generation, from January 2009 | Calculated estimate | The sum of the figures above, so it carries their errors |
We compare the history’s annual totals with MBIE’s net generation, using the figures published on Figure.NZ. MBIE also counts industrial cogeneration and small plant that the EA’s metered data doesn’t see, as its sources and methods explain.
| Years | Elenz total below MBIE |
|---|---|
| 1998 | 7.6% |
| 1999–2008 | 1.7–3.2% |
| 2009–19 | 1.6–2.6% |
| 2020–24 | 1.0–1.6% |
The gap has no step at 2009: it is 2.3% in 2008 and 2.0% in 2009. Before other embedded generation was added, it widened from 2.3% to 3.9% between those years. In 1998, the embedded generation meters are still incomplete.
Emissions follow the national inventory from year to year (see Emissions intensity).
Today’s owners apply to the whole history. Renewable share and groupings explains what that means for the By owner view.
Historical coverage
Each row marks a change in the data or a known gap in it.
| Period | What changes or is missing |
|---|---|
| August 1997 | The history starts, with metered generation for grid-connected stations. |
| August 1997 to March 1999 | Embedded generation doesn’t yet have Rotokawa, Ngāwhā, Kaimai and Tararua, about 1–2% of generation. Geothermal generation in 1998 to 2000 is up to 15% below MBIE’s figure. |
| August 1997 to September 2008 | Metered generation numbers the days the clocks change by the clock, and leaves out one hour. We put each half-hour at its right time and fill the missing hour from the half-hour next to it. |
| December 1997 to December 2002 | 38 months of HVDC flows hold only each end’s sending side (see HVDC transfer). |
| To April 2002 | Highbank (25 MW) has no metered rows before October 2001, and its rows read next to nothing until April 2002. |
| To about 2003 | Grid imports are incomplete, so the stations’ own metered generation stands in (see Demand). |
| January 2009 | Metered generation starts covering stations on local networks. Other embedded generation starts, as a calculated estimate, about 2% of generation. |
| January 2013 to December 2019 | Metered generation has no row for Kawerau (Onepu) until January 2020, so grid imports at KAW0112 stand in. From January 2020 the two figures match to the half-hour. |
| August 2013 | Embedded solar starts, as a calculated estimate. |
| May 2014 to August 2015 | Mill Creek wind farm’s first 16 months aren’t in metered generation or embedded generation. They come from Meridian’s injection at Wilton in the reconciliation data. |
| September 2020 | Metered generation has no Huntly rows. We use the grid meter at HLY2201, split between the Rankines, unit 5 and unit 6 by clearing it through their offers. Tested on the week before, the split came within about 13 MW for the Rankines and 5 MW for unit 5. |
| 10 September 2020 | Daily dispatch files start, so recent dispatch data is possible from here. |
| October 2021 onward | Metered generation has no rows for Matahina, so dispatch figures stand in. |
| 1 November 2022 | Real-time pricing starts, which changes how final prices are set (see Wholesale prices). |
| November 2026 | Kawerau (Onepu) moved to geothermal from January 2013, and other embedded generation joined totals and shares from January 2009. Both changes moved published figures. |
References
- Electricity statisticsMinistry of Business, Innovation and Employment Publishes annual net generation, which we use to check the history’s yearly totals.
- Energy statistics: sources and methodsMinistry of Business, Innovation and Employment Explains how MBIE compiles those figures, and what it counts that the EA’s metered data doesn’t.
- Net electricity generation in New ZealandFigure.NZ, from MBIE’s energy statistics Lists MBIE’s annual net generation from 1974, the figures our check on the history’s totals uses.
- Electricity Industry Participation Code 2010, Part 1Electricity Authority, 15 May 2025 Defines a block dispatch group as generating stations on one continuous water course under an agreement with the system operator. We have found no public list that names the groups.
Code and evidence: ingest/history.py, ingest/metered.py, facilities/metered_plants.csv, site/src/lib/tracker/series.js, analysis/metered_check.py, analysis/README.md.
Spotted a problem with this page, or know a better source? Email us about it