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.

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.

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.

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.

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.

Step 4: From Use to Cost

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.

In short

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.
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.