Loads¶
Loads are the measurements you gather yourself. They record how much energy a meter consumed and generated in each 15-minute interval, and you upload them to RECreation. They are different from DSO measurements, which are validated data that the distribution system operator (E-Redes) sends for CPEs.
| Meter type | Simulation | Real operation |
|---|---|---|
| CPE (DSO meter) | ✅ Used to emulate what the DSO would send | ❌ Not used. DSO measurements are used instead |
| Internal (behind a CPE) | ✅ Used | ✅ Used |
Why internal meters always need Loads
The DSO cannot see internal meters, so they never receive DSO measurements. Their Loads are the only source of data for the individual resources behind a CPE, in both simulation and real operation.
What a Load Contains¶
A Load is one record per meter and 15-minute interval:
| Field | Description |
|---|---|
meter_id |
The meter the record belongs to (a CPE or an internal meter) |
datetime_timestamp |
Start of the 15-minute interval, in the Portuguese time zone. 2026-01-01T00:00:00Z covers [00:00, 00:15[ |
consumption |
Energy consumed in the interval (kWh, >= 0) |
generation |
Energy generated in the interval (kWh, >= 0) |
Uploading a record for a meter and timestamp that already exist replaces it. Uploads can be
JSON or CSV (see Upload Templates). A CSV file may give a single net
energy column (Energia, where positive is consumption and negative is generation) or separate
Consumo and Geracao columns. The CSV Hora column is the end of the interval, so
00:15 is stored as the interval starting at 00:00. The endpoints are in the
Loads API.
Loads are also used for the energy management modules, where the same data is stored separately as load forecasts: expected future consumption and generation instead of measurements.
How Loads Are Used¶
Resource measurements¶
Every resource is attached to one meter. The platform reads that meter's Loads
and computes the resource's net metered energy as consumption − generation. This is what the
Market and Settlement use to know what each resource did.
CPE measurements in simulation¶
In a real community the DSO tells the platform how much energy was allocated to each CPE. In a simulation there is no DSO, so RECreation emulates the allocation from the CPE Loads of each interval:
- Proportional and dynamic communities: if the community consumes at least as much as it
generates, each CPE is allocated
its consumption ÷ total consumption × total generationand there is no surplus. Otherwise, each CPE is allocated all of its consumption, and what is left of its generation after covering its share of the community's consumption is surplus. - Fixed communities: the allocation uses the fixed coefficients that you provided for each interval. See Allocation Coefficient Methods and Upload Fixed Coefficients.
The result is a set of values approximately equal to what the DSO would send in an ideal scenario. They are only meant for simulation and preview, not as final values.
Replacing CPEs with your own meters
In simulation you can use data from your own meters in place of CPEs, as long as it is consistent with the internal meters and across CPEs.
Real operation¶
In a real (PROD) community, CPE Loads are ignored by the Market and Settlement. For every CPE
the platform reads the DSO measurements. Internal meter Loads are still
read for the resources behind them. The Loads you upload for a CPE can still be kept for your
own reference and charts, but they have no effect on results.
Data Requirements¶
Market clearing and settlement fail when data is missing or inconsistent, so Loads must follow these rules:
- Every 15 minutes. One record per interval, at the start of the interval.
- No gaps. Every interval of every session must be present on every meter, CPE and
internal. The Market stops with an error that states how many rows it expected
(
sessions × CPEs) and how many it found. - Consistent hierarchy. The data of the internal meters must add up to the data of the CPE they sit behind.
Common inconsistency
Net consumption in one 15-minute interval:
| Meter | Reading |
|---|---|
| CPE A, measured | 10 kWh consumption |
| Internal meter A | 17 kWh consumption |
| Internal meter B | 5 kWh generation |
| Net consumption from the internal meters | 17 − 5 = 12 kWh |
The internal meters report more consumption (12 kWh) than the CPE measured (10 kWh) and have no internal generation to explain the difference, so the data is inconsistent.
Uploading Loads restarts sessions
Uploading Loads creates a session for each new timestamp and reopens the existing ones. It also deletes their transactions, offers, allocations and settlement results, so you need to run the Market and Settlement again. See Business Validity.
Loads vs DSO Measurements¶
| Loads | DSO measurements | |
|---|---|---|
| Source | You (self-gathered) | The DSO (E-Redes) |
| Applies to | CPE and internal meters | CPE and aggregator meters only |
| Values | consumption, generation |
Consumption, injection, surplus, imputed energy and more |
| Validated | No | Yes |
| Simulation | CPE and internal meters | CPEs, replacing CPE Loads when enabled |
| Real operation | Internal meters only | CPEs |