GC Solar 23.85 GW GD Solar 54.78 GW
Opinion Article

Two directions, two accounts: how to separate consumption and injection in network cost allocation.

A study by TR Soluções reconstructs the calculation in four steps: energy balance, consumption, injection, network usage, and costs.

Two directions, two accounts: how to separate consumption and injection in network cost allocation.

Photo: Canva

This is the second article in a series of three. In Article 1, we saw that the official method of dividing network costs assumes a one-way flow, which no longer reflects the reality with distributed generation (DG).

Here we explain, in accessible language, how the TR Soluções study reconstructs the calculation in four steps: closing the energy balance, separating consumption and injection, discovering who uses which part of the network, and transforming that usage into cost. Article 3 will present the results.

In Part 1, we saw that the network is sized for peak hours, that its cost (Wire B) is divided by the CMC (Marginal Cost of Capacity), and that the official model assumes unidirectional flow. With 112 of the 228 load curves of the analyzed company representing prosumers, this assumption no longer holds true.

The six-phase method

The study uses the same ingredients as Aneel's methodology (typical curves, reference market, network topology, losses, and marginal expansion costs) and organizes them into six phases. This article covers phases 2 to 5; phase 6 is covered in Article 3.

Figure 1 – The six phases of the method; the highlighted phases are discussed in this article. Source: author's own elaboration. Illustrative diagram.

Step 1: Close the energy bill.

Before discussing cost, it's necessary to ensure that the curves describe a coherent system. Think about reconciling a condominium's accounts: what came into the fund needs to match what was spent. In the grid, the energy entering at each voltage level must be equal to the energy leaving, plus losses.

In the raw data from the company analyzed, this was not the case: the input energy totaled 52,5 TWh per year, while the consumption curves accounted for 47,8 TWh.

The difference, called the residual, is absorbed by an explicit and traceable adjustment rule, which preserves the billing data and the SCEE compensation. The adjustment focuses on the A4/BT curve, which increases from 11,13 to 23,73 TWh (+113%). The cause of this difference was not identified, and the report itself lists it among the limitations.

Figure 2 – Energy balance of the analyzed company: the residual and the adjustment in the A4/BT curve. Source: TR Soluções report, ESTRUTURA platform, Cemig Aneel data from 2023.

Step 2: Orthogonal decomposition

This is the core of the proposal. A prosumer's curve is a net profile: positive values ​​indicate consumption and negative values ​​indicate injection. The study separates it into two curves that never show values ​​at the same time: the Forward Flow (consumption) and the Reverse Flow (injection).

The net profile is the difference between the two. Since only one of them is different from zero at any given hour, the separation is said to be orthogonal: one does not compensate for the other.

Figure 3 – Decomposition of a liquid profile into Direct Flow and Reverse Flow. Source: author's own elaboration. Illustrative diagram.

Why does this matter? Because the grid doesn't charge for "balance." Think of a two-way avenue: the congestion going in the morning and the congestion returning at night don't cancel each other out. Similarly, the transformer is affected by midday injection and nighttime consumption, even if the prosumer's balance is zero. Separation also eliminates the divisions by zero that hampered the traditional model.

Figure 4 – Why the balance is misleading: two moments of pressure on the network are hidden behind a balance close to zero. Source: author's own elaboration. Illustrative diagram.

Step 3: Who uses what (β and π matrices)

With the two environments separated, it is necessary to determine which network serves which load. The study uses two complementary matrices, linked by Bayes' Theorem:

  • β: indicates what fraction of the energy from each Network Type is sent to each Load Type (“where the energy goes”).
  • π: reverses the path and indicates what portion of the demand for each load originates in each network ("where the demand comes from").
  • Figure 5 – The β and π matrices: two ways of interpreting the same relationship between networks and loads. Source: author's own elaboration. Illustrative diagram.

The results from the company analyzed clearly illustrate the difference between the environments. At peak consumption, at 20 PM, 96,10% of the low-voltage load is supplied by medium voltage, the classic hierarchical standard.

At peak injection, at 11:00 AM, only 20,19% of the surplus generated at low voltage rises to medium voltage; according to the model, the other 79,81% is consumed by neighbors at the same low-voltage level. The reverse flow is, therefore, a predominantly local phenomenon. This percentage results from the model's closure and was not measured.

Figure 6 – Where the energy goes during the two peak periods of the analyzed company. Source: TR Soluções report, ESTRUTURA platform, Cemig Aneel data from 2023.

Step 4: From Use to Cost

Figure 7 – The components of the Marginal Cost of Capacity. Source: author's own elaboration. Illustrative diagram.

The CMC (Marginal Cost of Capacity) for each load, at each hour, combines four elements: the load responsibility on each network (π), the marginal cost of expanding each voltage level, losses, and the question "is the network at peak hours now?", which the model answers by comparing the network load to a threshold close to its maximum. The calculation is done twice, generating the direct CMC for the load and the reverse CMC for generation.

Three consequences deserve highlighting:

  • Causality: Reverse CMC increases when the injection actually reverses the flow and exacerbates the need for expansion. There is no charge for upstream network costs at the injection point for injections that do not put pressure on the network.
  • Recognized relief: locally consumed generation reduces the responsibility of consumers in the Direct Stream, which benefits them all.
  • No curve discarding: the approach processed 100% of the available curves, including those with flow reversal.

A bonus: simulating the effect of batteries and electric vehicles.

Since matrices relate networks and loads, it is possible to apply load modulation (ΔY) and see how the marginal cost changes. For example, a battery that shifts consumption from late afternoon to midday reduces the nighttime peak.

This transforms the calculation, currently static and performed once per cycle, into a sensitivity indicator. The simulation is linear, serves as a regulatory and economic approximation, and does not replace a power flow study.

Figure 8 – Effect of load modulation (e.g., a battery) on the nighttime peak. Source: author's own elaboration. Illustrative diagram.

In short

Table 1 – Current model versus proposed method

In the next articleWe will see what these calculations reveal about the most expensive times for the grid, what price signals result from them, and how the values ​​compare to those of Aneel (Brazilian Electricity Regulatory Agency).

About this series. The three articles summarize the technical report. Cost allocation in the age of prosumers: separating price signals for load and generation. (TR Solutions, version 3.8, 2026), available at https://doi.org/10.5281/zenodo.23439480.

The opinions and information expressed are the sole responsibility of the author and do not necessarily represent the official position of the author. Canal Solar.

Paulo Steele
About the Author
Paulo Steele

Paulo Steele is a managing partner at TR Soluções. He holds an electrical engineering degree from the Federal University of Itajubá (master's degree, 1999; doctorate, 2008; and post-doctorate, 2010). He worked with tariff calculations at the Superintendencies of Regulation of Distribution Services and Economic Regulation of the Federal District. ANEEL. Head of TR Soluções since 2011, he transformed tariff calculation into Software as a Service (SaaS). Instructor in training and qualifications for tariff calculations, having also taught MBA courses in the Electrical Sector at FGV and Universidade de Fortaleza.

Comments

Comments are moderated before publication.

Comments should be respectful and contribute to a healthy debate. Offensive comments may be removed. The opinions expressed here are those of the authors and do not necessarily reflect the views of the author. Canal Solar.

Leave your comment