xx October 20XX
The pipeline transforms the measurement campaign into 24-hour typical load curves, by class and consumption range, for weekday, Saturday and Sunday or holiday. The curves are output in the aggregation model layout, with the PS factor (Saturday relative to weekday) and the PD factor (Sunday relative to weekday), and adjusted to the annual energy of the population in BDGD.
The method has six stages: data reading and cleaning, remaining curves, representative curve for each point, grouping by shape, organization in the model layout and energy adjustment.
This document describes the method as applied to the DISTRIBUTION COMPANY RTP 20XX study, with the parameters actually used. The study results are in the results report.
Each day of each point is tested by the rules below. The day is eliminated by the first rule that applies to it, and each rule has its count recorded in the batch summary.
| Rule | Eliminates | Parameter |
|---|---|---|
| R1 | day with zero energy | |
| R2 | day with all 96 values equal and different from zero | |
| R3 | day with fewer than 10 non-zero points (of 96) | MIN_NON_ZERO = 10 |
| R4 | partial day at the series edge: first day with 3 hours or more of zeros at the start, or last day with 3 hours or more of zeros at the end | ZERO_EDGE_POINTS = 12 |
| R5 | identical curve in different tabs of the same file (all copies, including the original) | |
| R6 | copied series, comparing the entire batch (see below) |
R6 runs before processing, reads all files in the study and compares the tabs. It recognizes five situations: identical curve in another file (1 day is enough); same shape at another scale (3 or more days); nearly identical curve, with correlation of 0.9999 or higher (5 or more days); day repeated in the same tab (2 or more); and day identical to a day from another tab that had already fallen in R3 or R4, in which case R5 and the first comparison no longer saw the pair. A sixth verification, of suspicious header dates, only issues an alert. The marked pairs and days are in Results\R6_detection.
When the meter records energy per interval instead of power, the value comes out four times smaller. With the consumption range provided, the program decides, point by point, which hypothesis (no correction or multiplication by 4) leaves the average consumption closer to the range. The decisions are in scale_correction.csv.
Stage 2 saves the 15-minute curves that passed the rules, with day type and original mark. In Stage 3, the representative curve for each point and day type is the average of all remaining days of that type, with DU, DS and DD separate. The average is used because the circuit curve is the sum of the loads, and only the average is additive.
Only weekday curves enter, one per point, by shape: the 24 hourly averages divided by the peak. The algorithm is fuzzy c-means (fuzzification exponent m = 1.25, 20 initializations). For each number of groups k, from 2 to 8, the prediction strength of the groups is compared with that of data without groups, of the same mean and covariance (25 draws, 95th percentile).
The Stage 4 spreadsheet also brings PRODIST sampling (Module 2, items 46 and 47): average CV of the 96 points and sampling error with 95% confidence (z = 1.96), against the 20% limit per stratum, with finite population correction when population is known. The result is informative and applies to the weekday; PRODIST sets the error per stratum, not per day type.
Stage 4 is reorganized in the Aggregated Curves tab: Hour column with 24 hours and one Typical Consumer per column (one per group; one per point, in the census; the entire range, in the single curve). The hourly curve for a weekday, in MW, is the average of the four 15-minute intervals. Two final rows bring the factors:
Both factors are calculated at the 96 15-minute points. At the end of the batch, Stage 5 of all files are copied to Typical Curves, in Loads or Circuits.
In injection series (distributed generation), the hourly curve of Stage 5 is saved with a negative sign, because it is energy entering the grid. PS and PD remain positive. The option is in config.py (INJECTION_NEGATIVE_SIGN).
Applies only to loads. Stage 6 adjusts the curves from Stage 5 to the annual energy of the range in BDGD, without changing the shape. The calculation has three steps:
The adjustment factor (population energy divided by measured curve energy) shows how much the sample differs from the population. The program alerts when it falls outside the range of 0.5 to 2.0. The energy check compares, for each group (B1, B2, B3 and MT), the energy of the saved curves with that of BDGD, and the result is in Final_Check.txt.
In the population and energy of MT, Module 2 panel classifies the unit by demand (maximum measured). In low voltage, the consumption range in kWh per month is used.
Each group also receives a file of grouped loads (B1, B2, B3 = commercial, industrial and public power, and MT), with all columns from Stage 6 of its ranges side by side, plus the source map of each column.
This study uses measurements of units with micro and mini distributed generation from the study ..\DISTRIBUTION_COMPANY_MMGD_RTP_20XX, which is processed first. The option, activated in config.py (ADJUST_MMGD_STAGE6), alters Stage 6:
When the distribution company has MMGD measurements, the work has two commands, in this order: the MMGD study first and the main study second. Without MMGD measurements, Stage 6 runs as before.
Method limitations, for those using the curves:
| Parameter | Value |
|---|---|
| Pipeline version | 3.5 |
| Days of year 20XX (DU / DS / DD) | 252 / 52 / 61 |
| Points per day | 96 (15 minutes) |
| Fuzzification exponent (m) | 1.25 |
| FCM initializations | 20 |
| Grouping test draws | 25 |
| Smallest group accepted | 5% of points and 5 points |
| Minimum DU curves to test grouping | 30 |
| Maximum sampling error | 20% |
| MMGD option in Stage 6 | activated (with MMGD study) |
| Injection sign in Stage 5 | negative |
* Illustrative example prepared by TR Soluções. Distribution Company RTP 20XX is a fictitious company.