The rulebook: legislation, codes, and RIIO

35 min 4 outcomes Quiz + regulatory mapping

By the end of this module you will be able to:

  • Map the regulatory hierarchy from Parliament through 5 Acts to Ofgem, through to 7 industry codes and licence obligations
  • Explain how RIIO price controls fund data and digitalisation, including the scoped £876.7M RIIO-3 baseline for transmission and gas networks
  • Describe the roles of BSC, REC, SEC, Grid Code, DCUSA, CUSC, and UNC
  • Place newer instruments such as the SSES programme and load control licensing in the regulatory hierarchy, and trace any new obligation back to its Act, licence, or code

7.1 Five Acts of Parliament

No organisation collects, processes or shares energy data voluntarily. Parliament wrote an Act, Ofgem wrote a , or an panel wrote an obligation. If you cannot trace a data requirement back to its legal basis, you cannot explain why it exists or propose how it should change. This module maps the regulatory architecture that governs energy data in Great Britain.

Primary legislation sets the boundaries of the entire system. Five Acts are particularly relevant to energy data. They do not prescribe technical details - that is the job of codes and licences - but they create the legal powers, duties, and institutions that everything else depends on.

Electricity Act 1989

The foundation stone. This Act privatised the electricity industry, created the generation, transmission, distribution, and supply licences, and established the regulator (originally OFFER, now Ofgem). Section 3A sets out Ofgem's principal objective: to protect the interests of existing and future consumers. Every data obligation Ofgem imposes must ultimately serve this objective. The Act also created the framework for industry codes by requiring licensees to comply with codes designated by the Secretary of State.

For data professionals, the critical provision is Section 11: Ofgem's power to modify licence conditions. This is how Ofgem can require licensees to collect new data, share existing data, or implement new data platforms - without going back to Parliament. Most data-related changes in the last decade have been implemented through licence condition modifications under Section 11, not through new legislation.

Gas Act 1986

The equivalent for gas. It created the gas transporter, shipper, and supplier licences and established the regulatory framework mirroring electricity. Gas data obligations flow from this Act through Ofgem licence conditions into the . The Act was amended significantly by the Gas Act 1995 to introduce competition in the domestic gas market.

Energy Act 2023

The most important recent legislation for energy data. The Energy Act 2023 received Royal Assent on 26 October 2023 and contains provisions that directly affect data governance. Part 5 creates the Future System Operator (now the National Energy System Operator, NESO) as an independent body with statutory duties covering both electricity and gas system operation. NESO has data-gathering powers that extend beyond traditional settlement data into network planning, flexibility, and whole-system analysis.

Part 3 of the Energy Act 2023 establishes the framework for hydrogen networks, which will eventually generate their own data flows. Part 8 modernises the code governance framework, giving Ofgem powers to reform or consolidate industry codes. This is significant for data because code fragmentation - the same data requirement appearing in different codes with slightly different definitions - is one of the biggest barriers to data interoperability.

Data (Use and Access) Act 2025 (DUA)

The DUA Act received Royal Assent on 19 June 2025. It is not energy-specific but has profound implications for energy data. Part 1 creates the Smart Data framework, which gives the Secretary of State power to require businesses to share customer data with authorised third parties through secure APIs. Energy is one of the sectors expected to be designated under this framework.

The DUA Act also added the concept of “recognised legitimate interests”, in force since 5 February 2026, as a lawful basis for processing personal data. The ICO describes it as one of the seven UK GDPR lawful bases and limits it to specified public-interest purposes. That distinction matters: it is not a general permission to use smart-meter data for every net-zero or network-planning purpose without a documented lawful basis, transparency and safeguards.

Data Protection Act 2018 (DPA)

The UK GDPR is retained EU legislation and is published separately. The DPA 2018 sits alongside it, supplementing it and applying it to areas the Regulation leaves to domestic law. Together they cover all personal data in the energy sector, including smart meter readings, customer records, and consumption profiles. Section 114 of the Act continues the office of the Information Commissioner as the supervisory authority. For energy data, the tension between the UK GDPR's data minimisation principle and the industry's need for granular settlement data is one of the most sensitive governance questions, as Module 9 explains.

Five Acts of Parliament set the legal frame for GB energy data

Each row ends at a specific power rather than a principle, so a GB energy data obligation traces back to one of these five Acts, and the two emphasised rows are where the licence and code machinery itself comes from.

Five Acts of Parliament create the legal hooks for every GB energy data obligation. Source: legislation.gov.uk; Ofgem section 11 register.

Five Acts of Parliament set the legal frame for GB energy data Five rows in a vertical stack, one per Act. Each row shows the year, the Act name, the key section that matters for data, and the specific power the Act grants for data obligations. Electricity Act 1989 and Energy Act 2023 are emphasised because they are the central data-power Acts: section 11 modifications and the NESO and code-reform provisions respectively. 1989 Electricity Act 1989 KEY SECTION §6 licences; §11 modifications POWER FOR DATA Licences, codes, Ofgem's modification power 1986 Gas Act 1986 KEY SECTION Pt 2 licences; UNC framework POWER FOR DATA Transporter, shipper and supplier licences 2023 Energy Act 2023 KEY SECTION Part 5 (NESO); Part 8 (code reform) POWER FOR DATA Creates NESO; data-gathering powers; code reform 2025 Data (Use and Access) Act KEY SECTION Part 1 Smart Data; Part 5 GDPR amendments POWER FOR DATA Smart Data API powers; legitimate interests 2018 Data Protection Act 2018 KEY SECTION Schedule 1; ICO supervision POWER FOR DATA Implements UK GDPR; ICO supervises personal data
Check your understanding

Which mechanism does Ofgem primarily use to impose new data obligations on energy licensees without requiring new primary legislation?

7.2 RIIO price controls and digitalisation

(Revenue = Incentives + Innovation + Outputs) is the framework Ofgem uses to set the allowed revenues for network companies. It replaced the previous RPI-X framework in 2013 and now governs how much DNOs, transmission operators, and gas networks can charge consumers. RIIO is critical for data because it determines how much money is available for network digitalisation, data platforms, and smart grid infrastructure.

RIIO funds the digitalisation that network companies must deliver

The revenue allowance is set before any platform exists and the DSAP sits between the two, so the only link between the money and the delivery is the re-opener at the end of the chain, where Ofgem adjusts digitalisation funding against what the plan promised.

RIIO funds the digitalisation network companies must deliver; the re-opener adjusts scoped funding. Source: Ofgem RIIO-3 Final Determinations; DSAP guidance.

RIIO funds the digitalisation that network companies must deliver Five cards in a horizontal chain. The first card lists RIIO output categories. The second sets the revenue allowance over a five-year totex envelope with uncertainty mechanisms. The third (emphasised) is the Digitalisation Strategy and Action Plan refresh that every network company must publish every two years. The fourth shows the actual data platforms delivered against the plan. The fifth is the Ofgem re-opener that tests delivery and applies penalty or reward. INPUT Outputs + innovation Performance, decarbonisation, service, innovation RIIO OUTPUTS STEP 2 Revenue allowance 5-year totex envelope plus uncertainty mechanisms (UMs) RIIO-3 FINAL STEP 3 DSAP commitments Digitalisation Strategy and Action Plan refresh every 2 years OFGEM DSAP STEP 4 Data platforms live DBP-compliant publication, LV monitoring, FMAR participation DBP GUIDANCE OUTPUT Re-opener Ofgem adjusts digitalisation funding mid-period RIIO-3 FINAL

How RIIO works

Ofgem sets a price control for each network company that specifies total allowed expenditure (totex), output requirements (what the company must deliver), and incentive mechanisms (rewards and penalties for over- or under-performance). The totex is recovered from consumers through network charges on their bills. The current electricity distribution price control is RIIO-ED2, running from April 2023 to March 2028. RIIO-ED3, covering 2028-2033, is in development.

RIIO-ED2 included specific outputs related to digitalisation. Each DNO was required to publish a Digitalisation Strategy and Action Plan (DSAP) and a Data Best Practice implementation plan. Ofgem assessed these plans and allocated funding accordingly. The total digitalisation allowance across all DNOs in RIIO-ED2 was approximately £400 million.

RIIO-3 and scoped data and digitalisation funding

RIIO-3 runs from 1 April 2026 to 31 March 2031 for electricity transmission, gas distribution and gas transmission. Ofgem's final determinations set baseline data and digitalisation funding of £876.7 million across those sectors. That figure is not an ED3 electricity-distribution total, and it should not be mixed with DNO digitalisation allowances without stating the sector boundary. Electricity distribution remains under RIIO-ED2 until March 2028, with RIIO-ED3 still the next settlement for DNOs.

Ofgem's RIIO-3 overview says data and digitalisation are supported through a digitalisation licence condition, baseline funding and a Digitalisation Re-opener. The licence condition keeps DSAP and DBP compliance in the regulated business plan, while the re-opener gives Ofgem a controlled route to adjust funding during the price-control period. Ofgem also states that a DSI licence condition is not being progressed as part of the RIIO-3 final determinations and will be considered separately once DSI is operational.

Innovation funding

Alongside the main price control, RIIO includes ring-fenced innovation funding. The Strategic Innovation Fund (SIF) funds large-scale projects addressing net-zero challenges, many of which involve data and digitalisation. The Network Innovation Allowance (NIA) funds smaller projects at individual network company level. Both mechanisms have funded data-related projects including digital twins, predictive asset management, and data sharing platforms.

Digitalisation means improving the way we use data and digital technologies to generate value for consumers

Ofgem, RIIO-3 Final Determinations Overview Document, December 2025

Ofgem uses this definition to connect data quality, digital tools and consumer value. In RIIO-3 that connection is enforced through the digitalisation licence condition, DSAP and DBP guidance, baseline funding and the Digitalisation Re-opener.

7.3 The seven industry codes

Below the Acts and Ofgem sit the industry codes: detailed, legally binding documents that specify exactly how the energy market operates. Each code is maintained by a code administrator, governed by a panel of industry representatives, and subject to Ofgem approval for material changes. For data professionals, the codes are where the operational detail lives: what data must be collected, in what format, by whom, how quickly, and who can access it.

Seven codes carry GB energy data obligations

The BSC, REC, SEC, GC, DCUSA, CUSC and UNC each name their own administrator and their own data domain, and the footer records that they rarely cross-reference one another, so a change touching two domains has to be raised twice, once under each code.

Seven codes, four administrators, no cross-references. Source: Ofgem Code Registry; individual code administrator pages.

Seven codes carry GB energy data obligations A four-column grid showing seven industry codes. Each card carries a brand-red abbreviation band across its top (BSC, REC, SEC, GC, DCUSA, CUSC, UNC) with the full code name, administrator and data domain beneath it. BSC and SEC are emphasised because they carry the bulk of the regulated settlement and smart meter data flows. A footer band notes the silo rule that codes rarely cross-reference each other and that Energy Act 2023 Part 8 is modernising this. BSC Balancing and Settlement Code ADMIN Elexon DATA DOMAIN Settlement, imbalance REC Retail Energy Code ADMIN RECCo DATA DOMAIN Switching, consumer SEC Smart Energy Code ADMIN SECCo (DCC) DATA DOMAIN Smart meter messaging GC Grid Code ADMIN NESO DATA DOMAIN Transmission planning DCUSA Distribution Connection and Use of System ADMIN ElectraLink DATA DOMAIN DNO data exchange CUSC Connection and Use of System Code ADMIN NESO DATA DOMAIN Transmission commercial UNC Uniform Network Code ADMIN Xoserve / JO DATA DOMAIN Gas system operation SILO RULE · CODES RARELY CROSS-REFERENCE Energy Act 2023 Part 8 modernises this

1. Balancing and Settlement Code (BSC)

The governs electricity balancing and settlement. It is administered by Elexon and is the single most important code for electricity data. The BSC runs to thousands of pages and is divided into lettered sections. Key data-related sections include:

Section K, Classification and registration of metering systems. Defines how meters are registered, what data they must record, and the technical standards they must meet. Section S, Supplier Volume Allocation. Specifies how half-hourly meter data is collected, validated, and allocated to Grid Supply Points for settlement. Section T, Settlement Administration. Defines the settlement calculation, reconciliation runs, and imbalance pricing. Section Q, Performance Assurance. Sets out the framework for monitoring and enforcing data quality across all BSC parties. Section V, Reporting. Specifies what settlement data must be published and to whom.

The BSC is currently being modified extensively to support Market-Wide Half-Hourly Settlement (MHHS), which changes settlement from profile classes to actual half-hourly data for eligible meters. This is the largest single change in the BSC's history and affects virtually every data flow in electricity settlement.

2. Retail Energy Code (REC)

The was created in 2021 by merging the Master Registration Agreement (MRA) and the Supply Point Administration Agreement (SPAA). It governs retail market processes including change of supplier, meter point registration, and customer data management. The REC is administered by RECCo. For data, the REC is critical because it controls the Address Data Working Group output, the Green Deal registration data, and the Data Access Framework that determines who can access customer-related data.

3. Smart Energy Code (SEC)

The SEC governs the DCC and the smart metering infrastructure. It specifies the technical standards for smart meters (SMETS1 and SMETS2), the DCC's service levels, data security requirements, and the privacy framework for smart meter data. The SEC is administered by the Smart Energy Code Company (SECAS). Section H defines the DCC Service Requests that control how data flows between meters, the DCC, and market participants.

4. Grid Code

The Grid Code governs the connection and operation of the electricity transmission system. It is maintained by the National Energy System Operator (NESO). For data, the Grid Code specifies what operational data generators, interconnectors, and large demand customers must provide to NESO for system operation, including Physical Notifications, demand forecasts, and generation availability data.

5. DCUSA (Distribution Connection and Use of System Agreement)

governs the relationship between DNOs and users of the distribution network. It contains the Distribution Use of System (DUoS) charging methodology and specifies what data DNOs must provide to suppliers and what data suppliers must provide to DNOs. The metering data flows in DCUSA interface directly with the BSC settlement process.

6. CUSC (Connection and Use of System Code)

CUSC governs connection to and use of the transmission system. It contains the Transmission Network Use of System (TNUoS) charging methodology and specifies the data requirements for transmission connection agreements. CUSC data feeds into NESO's system planning and constraint management processes.

7. UNC (Uniform Network Code)

The UNC is the equivalent of the BSC for gas. It governs gas transportation, balancing, and settlement. The UNC is administered by the Joint Office of Gas Transporters. For data, the UNC specifies gas meter reading requirements, the volume correction process (converting cubic metres to kWh using calorific values), and the allocation and reconciliation framework for gas settlement. Xoserve operates the central data services under the UNC.

Data governance maturity model

Ofgem has proposed a five-level data governance maturity model for assessing how well organisations manage energy data:

Level 1, Initial. Data management is ad hoc with no formal processes. Data quality is inconsistent and unmeasured. Most small suppliers and some IDNOs sit here.

Level 2, Developing. Basic data management processes exist but are not consistently applied. Data quality is measured sporadically. Many mid-sized suppliers are at this level.

Level 3, Defined. Formal data management policies and processes are in place. Data quality is measured regularly. Most DNOs target this level under RIIO-ED2.

Level 4, Managed. Data management is integrated into business processes with quantitative performance targets. Data quality is actively managed and improved. Leading DNOs and Elexon aspire to this level.

Level 5, Optimising. Data management is continuously improved using analytics and automation. Data is treated as a strategic asset with clear value metrics. No GB energy organisation has credibly achieved this level yet.

Check your understanding

Which industry code governs the DCC and the smart metering infrastructure, including technical standards for SMETS meters and data security requirements?

7.4 The rulebook in motion

The rulebook is not static furniture. It gains a new instrument roughly every year, and each one arrives carrying fresh data obligations. The programme is the clearest current example: a new layer settling on top of the Acts, codes and licences already described.

SSES is the government programme, led by DESNZ, that sets the rules for consumer load control, the remote switching of domestic assets such as heat pumps, electric vehicle chargers and home batteries so that demand can be shifted to match supply. Uncoordinated or insecure control of millions of appliances is a system risk, so the programme defines common technical standards for (PAS 1878 and PAS 1879) alongside cyber security requirements. Meeting those standards generates its own data: device registration, demand-side response signals, and evidence of secure operation.

The programme is moving from policy into enforceable rules. The government published its response on the enduring governance for SSES, setting out how the regime will be run once it is live and who is accountable for the standards. Ofgem then consulted, from December 2025 to February 2026, on implementing a regime, which would bring organisations that remotely control domestic electrical load under a new licensable activity. That is the same mechanism seen throughout this module in action: a new obligation attached to a licence rather than written into fresh primary legislation.

At the same time, the direction of travel for the existing codes is consolidation. The Energy Act 2023 code governance powers give Ofgem the means to reform and merge industry codes so that the same data requirement is not defined seven slightly different ways. Load control licensing adds a new instrument; code reform aims to reduce the count of old ones. For a data professional, the lesson is that the current map is a snapshot. The skill is not memorising the seven codes and five Acts as they stand today, but knowing how to trace any new obligation back to the Act, licence or code that created it.

Check your understanding

The proposed load control licensing regime, which Ofgem consulted on from December 2025 to February 2026, would impose obligations on organisations that remotely control domestic electrical load. Which mechanism does it use?

Core distinctions

  • Five Acts of Parliament form the legal foundation for energy data: Electricity Act 1989 (licences and Ofgem powers), Gas Act 1986 (gas market framework), Energy Act 2023 (NESO creation and code reform), DUA Act 2025 (Smart Data framework and recognised legitimate interests), and DPA 2018 (UK GDPR and ICO).
  • RIIO price controls fund network digitalisation. RIIO-3 final determinations set £876.7M of baseline data and digitalisation funding across electricity transmission, gas distribution and gas transmission, while electricity distribution remains under RIIO-ED2 until RIIO-ED3 is set.
  • Seven industry codes contain the operational detail: BSC (electricity settlement), REC (retail processes), SEC (smart metering), Grid Code (transmission operation), DCUSA (distribution), CUSC (transmission connection), and UNC (gas). Each code defines specific data collection, validation, and sharing obligations.
  • The five-level data governance maturity model (Initial through Optimising) provides a framework for assessing organisational data management capability. Most GB energy organisations sit between Levels 2 and 3, with no organisation credibly at Level 5.
  • The rulebook is not fixed. It gains a new instrument roughly every year: the Smart Secure Electricity Systems programme and the proposed load control licensing regime (consulted on December 2025 to February 2026) are the newest layer, while Energy Act 2023 powers point towards consolidating the existing codes. Each new instrument arrives carrying its own data obligations.

Standards and sources cited in this module

  1. Electricity Act 1989, Section 11

    Power to modify licence conditions

    Legal basis for Ofgem's authority to impose data obligations on licensees through licence modifications. Referenced in Section 7.1.

  2. Ofgem, RIIO-3 Final Determinations (December 2025)

    Data and digitalisation

    Source for the RIIO-3 price-control period, the £876.7M scoped baseline data and digitalisation funding, DSAP and DBP compliance, the Digitalisation Re-opener, and the deferred DSI licence condition. Referenced in Section 7.2.

  3. Elexon, BSC Sections K, S, T, Q, V

    Metering, Supplier Volume Allocation, Settlement, Performance Assurance, Reporting

    Defines the electricity settlement data lifecycle in operational detail. Referenced in Section 7.3.

  4. Ofgem, Smart Secure Electricity Systems: implementing a load control licensing regime (consultation, December 2025)

    Load control licensing

    Source for the proposed load control licensing regime and its December 2025 to February 2026 consultation window. Referenced in Section 7.4.

  5. DESNZ, Smart Secure Electricity Systems programme: SSES enduring governance government response

    Enduring governance

    Source for the enduring governance arrangements for the SSES programme. Referenced in Section 7.4.

Module 12 of 31 · Energy System Data Applied