Research in Science and Society · Vol. 2 No. 11 (2026)
Published November 26, 2026

Dividing an Upward Load-Error Allowance Across Four Hours

Ronald Curtis, Deborah Oliver, Timothy W. Clark

Abstract

Planning for forecast errors across several late-day hours requires deciding in advance where to place a fixed allowance. We divided the same allowance across four late-day hours using an equal rule, sample average approximation, a fitted moment bound, and their equal-weight blend. The test used 141 days of reported Texas balancing-area demand and day-ahead forecasts. The equal rule had the lowest mean residual, at 1,140 MWh per day. Adaptive rules left a residual on one to three fewer days, and paired block intervals for mean differences included zero. In this record, changing the size of the allowance moved the loss much more than changing how it was split.

Keywords day-ahead demand forecasting, sample average approximation, moment ambiguity, resource allocation, rolling evaluation

1. Introduction

An electricity demand forecast describes a future load in each hour. A planner may separately assign an allowance for the part of the load that could lie above it. With finite headroom the planner faces an allocation question. Extra allowance in one hour comes at the expense of another even when the forecast values themselves stay fixed. The answer depends on the chance that the increment will actually be used, which can differ across hours and change as recent conditions change. A formula that responds strongly to last week's high errors could use the scarce capacity efficiently for a while and then place it in hours that no longer need it.

Scheduling studies distinguish this accounting question from the problem of making generation and reserves physically available under uncertainty. Morales et al. (2009) incorporate procurement costs and daily decisions when valuing reserves. Papavasiliou and Oren (2013) account for network constraints in stochastic commitment. Wang et al. (2008) model security and volatile generation in commitment decisions. These studies motivate an explicit distinction between a loss assigned to a historical demand error and a reserve service with technical and economic constraints. Here there is a single budget expressed as the sum of four power allowances. The use of public demand data means each method faces the same realized errors. It provides a way to isolate temporal placement without asking which resources could have supported the allowances.

Studies of day-ahead load forecasting compare the ability of methods to predict demand at hourly horizons, which motivates working at hourly resolution (Taylor et al., 2006). Probabilistic load forecasts can describe uncertainties hidden by a point prediction (Hong & Fan, 2016). A comparison of allocation rules takes a subsequent step from forecasting to selecting actions according to a loss. Gneiting (2011) shows why the loss attached to a decision matters when interpreting point-forecast performance. Likewise, the Global Energy Forecasting Competition described by Hong et al. (2016) evaluated distributional forecasts with criteria chosen for the prediction task. In this study the forecasts and actuals remain as reported. The outcome is how much of an observed upward error would remain above a separate allocation.

We ask whether a short rolling record can improve the allocation of a fixed late-day allowance relative to an almost even split. We also ask whether two different summaries of the same history lead to materially different decisions. Sample average approximation (SAA) assigns a probability mass to each historical vector. A moment rule uses the means and variances of the signed errors. A blend gives each objective half the weight. The three adaptive rules have identical budgets, hours, step sizes and opportunities to update. Jin et al. (2026) provide a formal approach for harmonizing empirical scenarios and distributional information. Our simpler blend addresses the same practical choice about what weight to give these two uses of observed data, in a four-coordinate problem where every allocation and every held-out score is observable. It has its own objective and there is no transfer of the theoretical guarantees of Jin et al. (2026) to the plug-in calculation.

2. Data and evaluation design

The input is the public July–December 2024 balance file for Form EIA-930 (U.S. Energy Information Administration, 2024). The agency describes demand as a balancing-authority quantity derived from metered net generation and net interchange, and forecast demand as the day-ahead value produced for each hour (U.S. Energy Information Administration, n.d.). We selected the ERCO reporting area and used the columns labelled Demand (MW) and Demand Forecast (MW). The raw demand column is retained as reported. The adjusted and imputed columns are unused. Each day contains the four local hours ending at 17, 18, 19 and 20. Dates come from the reporting field and are checked against the date on the local end-of-hour timestamp. Observations with duplicate day and hour keys are flagged, and a day is eligible only when all four reported demands and all four forecasts are finite and strictly positive. In this sample all 184 days from July 1 through December 31 were eligible.

The signed error for day t and hour h is e(t,h) = D(t,h) − F(t,h) in MW. Positive values mean more load than forecast. A negative error uses none of an allowance for that hour and cannot offset another hour's shortfall. We selected four adjacent hours to keep the daily decision interpretable and preserve the observed associations among errors. Across the evaluation period the pairwise Pearson correlations of signed errors ranged from 0.47 for the outer hours to 0.92 for 17:00 and 18:00. Accordingly, the four outcomes are evaluated together on their original dates. The retrospective source can incorporate forecast or demand updates. The study reproduces decisions from the dated fields in the archive. Exact historical release times would require timestamped forecast and demand vintages.

The 42 dates from July 1 through August 11 determine a single reference budget. The daily sum of the upward errors had an average of 1,453.26 MWh and a median of zero in this period. The mean, rounded up to the next 50-MW grid point in the sum of four allowances, defines a common budget of 1,500 MW across the four one-hour slots. Its energy equivalent is 1,500 MWh if every allocation were used throughout its slot. A typical realized draw is a separate quantity. The rules are tested daily from August 13 through December 31, yielding 141 common dates and leaving August 12 between calibration and first evaluation. A retrospective decision on day t uses error observations dated t − 2 or earlier. A 14-date lookback supplies its training sample. The lag applies to both the pilot budget and to the date cutoff used to fit the first set of loss curves. The study also runs 7- and 28-date windows on the same evaluation days. Calendar order and rolling origins allow for dependence and evolving error distributions when assessing models used in successive periods (Cerqueira et al., 2020; Tashman, 2000). Bergmeir et al. (2018) describe conditions that can support other validation schemes for autoregression. Our model repeatedly learns a policy from recent observations, for which forecast origins preserve the direction of information flow.

3. Allocation rules and uncertainty

Let r(h) be a nonnegative allowance in MW. Its values are multiples of 50 and the four allowances sum to the budget B. Daily loss in MWh is the sum of max[e(t,h) − r(h), 0] × 1 hour across the four slots. The equal policy divides the increments as evenly as possible and gives residual increments to the earliest hours. At the main budget this is (400, 400, 350, 350) MW, so the comparator starts with a small early-hour tilt. Stochastic programming more generally makes trade-offs directly on an objective under uncertain inputs (Birge & Louveaux, 2011; Shapiro et al., 2021). Classical discussions of SAA distinguish optimization error from uncertainty about performance on new observations (Kleywegt et al., 2002; Mak et al., 1999). Here both issues can be examined separately because the allocation is solved exactly on its grid and all rules can then be scored on the same fresh day.

For SAA the cost at each allowance is the training-sample mean of the positive part. Each 50-MW increment earns its recorded average coverage of that increment in the history at the corresponding hour. The fitted moment rule instead uses 0.5 × [m − r + √((m − r)² + s²)] in each slot. Here r is the allowance, m the rolling signed-error mean, and s the rolling standard deviation computed with divisor n. This formula is the worst expected positive part over real-valued marginals with the stated mean and variance on an unrestricted support. In particular, write the positive part as [(e − r) + |e − r|] / 2 and bound the expectation of the absolute value by its root second moment. The bound is attained with mass on the two points at distance √((m − r)² + s²) from r, with the weights set to match the rolling mean. A zero-variance variable uses its degenerate distribution. The distribution-free newsboy analysis of Gallego and Moon (1993) provides a related positive-part bound. Bertsimas and Popescu (2005) treat a wider class of sharp bounds determined by moments, while Delage and Ye (2010) account for uncertainty around the moments themselves. Because the present objectives add across hours and our ambiguity set specifies only separate marginal moments, the marginal bounds can be attained together under a product law. Realized outcomes remain joint within calendar day when scored.

The blend minimizes the average of the SAA and moment curves for each hour. It gives smoothing from the moment envelope while preserving information about the observed distribution of increments. In both the blend and the moment rule, estimated moments enter as plug-in values. There is no fitted confidence region or finite-sample protection. Other data-driven robust methods treat sampling and calibration as part of the model (Bertsimas et al., 2018; Mohajerin Esfahani & Kuhn, 2018). Ambiguity in scenario probabilities presents a further modelling option (Ben-Tal et al., 2013), and distributionally robust convex optimization can permit richer descriptions of support or dependence (Wiesemann et al., 2014). The plug-in specification here permits a narrower and reproducible comparison. Each additional modelling assumption in a fuller formulation would give a different reference for evaluating the effect of a 14-day history.

Each fitted hourly cost is convex and nonincreasing. With four slots and a fixed number of units, repeatedly awarding the next unit to the slot with the largest remaining decrease gives a minimizing allocation. The solver breaks exact ties by earlier hour. The procedure is a case of separable marginal resource allocation (Federgruen & Groenevelt, 1986). For each date, budget and fitted policy, a separate dynamic program computes the minimum objective value on the same grid and verifies the greedy result. The script checks that every decision sums to the budget. The equal rule is useful as a comparator since it consumes the same budget without any rolling estimates.

The main comparison is the daily arithmetic mean of daily loss. We also report the sample median and empirical 90th percentile, and count days with any positive residual. Counts and means answer different questions. A small change can move a day from a small positive loss to none while the same rule reallocates away from a different day's larger errors. The paired difference in daily loss is formed before resampling, in the spirit of comparing forecasts through their realized loss sequences (Diebold & Mariano, 1995). The comparison concerns average loss over a short record, distinct from testing predictive ability conditional on successive information sets (Giacomini & White, 2006). Percentile intervals use 10,000 replicates of seven-day circular blocks applied to the paired daily differences. Fixed-length blocks preserve short-term dependence within resampled stretches of the series (Künsch, 1989; Politis & Romano, 1991). A 14-day block choice is calculated as a sensitivity. The stationary bootstrap in Politis and Romano (1994) uses random block lengths instead. The two fixed-length interval calculations are descriptive and rely on local dependence being reasonably represented by blocks. They do not adjust for simultaneous comparisons.

Information flow from past forecast errors to a fixed allowance, with mean hourly allocations and paired daily losses.

Figure 1. Study model and observed decisions. Panel a lays out the date cutoff, loss fit, shared budget and held-out score. Panel b averages each slot's allowance over the 141 main evaluation days. Panel c plots mean differences from the equal split with seven-day circular-block intervals. Positive differences indicate more uncovered upward forecast error.

4. Results

The 141 evaluation days had a mean of 1,772.22 MWh of upward error before an allowance was applied. Positive error appeared in at least one slot on 102 days. On 53 days the sum of the four positive errors exceeded the whole reference budget. Even a continuous allocation with advance knowledge of the realized errors would have residual loss on each of those dates. The mean of this continuous hindsight lower bound is 1,009.44 MWh per day. The equal split's mean loss lies 130.30 MWh above that bound. This difference includes the cost of choosing four allowances without foreknowledge and discretizing them. It is an upper bound on the mean gain a real-time evaluation could show from improving the hypothetical split at the same budget.

Rule Mean residual (MWh/day) Median (MWh/day) 90th percentile (MWh/day) Days with any residual Mean change vs. equal (MWh/day) Paired 95% block interval
Equal 1,139.74 130 4,160 78/141 Reference —
SAA 1,157.52 108 4,160 77/141 +17.77 −16.33 to +52.65
Blend 1,151.15 80 4,160 76/141 +11.40 −19.55 to +44.72
Moment 1,154.60 58 4,160 75/141 +14.85 −16.90 to +48.15

Table 1. Out-of-sample allocation performance with a 1,500-MW four-slot budget and a 14-date training window. The block interval is for the paired mean difference from the equal split. The reference also has two 400-MW slots and two 350-MW slots because capacity is awarded in 50-MW increments.

The equal split had the lowest observed mean loss at 1,139.74 MWh per day. SAA had the largest mean and directed an average of 460 MW to 17:00 and 429 MW to 18:00. It averaged about 302 MW at 19:00 and 308 MW at 20:00. The redistribution went with smaller mean uncovered errors during the first two slots than under the equal split, and larger mean errors during the last two. The blend sat closer to the equal profile in all four hours. The pure moment rule's mean allowances at 17:00 and 18:00 were 402 and 405 MW, and it placed about 365 MW at 20:00. The three adaptive rules each won on 28 days relative to the equal split. SAA, blend and moment had higher losses on 33, 30 and 31 days and tied on the remaining dates. Their average differences were small relative to the baseline total. Every seven-day block interval includes zero, and every 14-day block interval does as well. The observations support a difference in allocation shape more clearly than a repeatable ordering by mean loss.

Across this horizon the moment rule removed enough residuals to change the median and the count without reducing the mean. It had any residual on 75 days, three fewer than the equal split, and had the lowest median daily loss, at 58 MWh. The blend had loss on 76 dates and a median of 80 MWh. All four rules share the same empirical 90th percentile at the main budget. Identical quantile values coexist with different losses on many individual days. No single day-level event measure decides which of these four allocation profiles a planner ought to use. The objective gives a marginal value to covering each MWh, whereas the count considers a day with one residual MW and a day with thousands to be events of equal importance.

Prior dates Budget summed across slots (MW) Equal mean SAA mean Blend mean Moment mean
7 1,500 1,139.74 1,197.53 1,180.57 1,172.33
14 1,500 1,139.74 1,157.52 1,151.15 1,154.60
28 1,500 1,139.74 1,143.09 1,141.48 1,146.50
14 750 1,427.33 1,427.87 1,429.40 1,431.64
14 3,000 714.94 730.41 720.21 726.82

Table 2. Sensitivity of the mean residual, in MWh per evaluation day. All rows use the same 141 dates and score the four methods at the budget shown.

At 1,500 MW, the SAA excess mean loss relative to the equal split was 57.79 MWh with seven days of training and 3.34 MWh with 28 days. The blend narrowed from 40.83 to 1.74 MWh across those variants. The wider history gave more dates to estimate the empirical distribution and its moments, while imposing a longer period over which the history contributed equally. For the main specification, the blend averaged 1,483.59 MWh on the 49 August–September dates, below the equal split's 1,501.16 MWh. In October–December its mean increased relative to the equal rule, with 974.09 versus 947.25 MWh over 92 dates. This reversal is a descriptive subdivision of the main result. Several influences could produce it and the records do not identify a specific cause. Doubling the budget reduced the equal rule's mean residual by 424.81 MWh per day. Halving it raised the mean by 287.59 MWh. The daily loss responds mechanically to each increase in available allowance. The magnitudes show why learning how to split a fixed budget was the smaller lever in these particular records.

5. Discussion

The strong correlation among adjacent errors makes a broad increase in load relative to the forecast a plausible setting for simultaneous uncovered hours. In such a case the budget itself limits the amount that can be addressed. When a day has a localized error, moving allowance to a different slot can help substantially. The history-based methods must distinguish these possibilities using the estimated likelihood that an extra increment will be used in each hour. The mean profile in Figure 1 shows that SAA placed more headroom early than the comparator, where the moment curve spread it more broadly. The smaller amount of early-hour residual under SAA validated one aspect of that redistribution. The late-hour losses were large enough to offset the gain on average. This matters when reading an average allocation profile by itself. A rule can be responsive to recent error structure and still do relatively poorly under a different sequence of dates.

The result is conditional on a one-sided loss, a fixed budget and the 50-MW lattice. Grid size influences the degree of inequality possible in the comparator, and omitted reserve costs prevent these estimates from judging alternative budget sizes economically. The 42-date calibration window is short. Its zero median along with the positive mean demonstrates the sensitivity of a central budget estimate to the summary chosen. We keep that budget fixed to compare how the same total is shared. We did not re-estimate reserves as demand changed or learn the blend weight from held-out outcomes. Averaging the two loss curves supplies an interpretable intermediate rule, though the results do not establish a particular weighting as optimal. One observed area over six months also cannot separate weather-related regime shifts, changes in fundamental demand, forecasting procedures or revisions to the public data. The uncertainty intervals do not address selection of the late-day hours or the chosen historical domain.

If the object of interest were operational adequacy, a study would need temporal availability of the actual data, reserve products with their delivery constraints, unit commitment, transport limits and contemporaneous costs. The outcome measures a hypothetical residual relative to allowances attached to public forecasts. They remain useful for a more limited question. Within a fixed upper allowance, different small-sample summaries can move power allowances toward different hours and trade off the frequency and average size of observed residuals. The nearly even split held up as a mean-loss benchmark in this archive, particularly with short training histories. The joint daily vectors and separate counts show where the adaptive rules made a different kind of contribution. Both views matter when interpreting evidence about a decision rule that covers each hour separately.

Data and code availability

The public balance file and its field documentation appear in the references. The accompanying Python analysis script reads that file, validates the selected records, evaluates the policies, verifies the solvers, and regenerates the JSON summary, held-out daily-by-slot evaluation CSV and figure. The analysis uses electricity system aggregates.

References

  1. Ben-Tal, A., den Hertog, D., De Waegenaere, A., Melenberg, B., & Rennen, G. (2013). Robust solutions of optimization problems affected by uncertain probabilities. Management Science, 59(2), 341–357. https://doi.org/10.1287/mnsc.1120.1641
  2. Bergmeir, C., Hyndman, R. J., & Koo, B. (2018). A note on the validity of cross-validation for evaluating autoregressive time series prediction. Computational Statistics & Data Analysis, 120, 70–83. https://doi.org/10.1016/j.csda.2017.11.003
  3. Bertsimas, D., Gupta, V., & Kallus, N. (2018). Data-driven robust optimization. Mathematical Programming, 167(2), 235–292. https://doi.org/10.1007/s10107-017-1125-8
  4. Bertsimas, D., & Popescu, I. (2005). Optimal inequalities in probability theory: A convex optimization approach. SIAM Journal on Optimization, 15(3), 780–804. https://doi.org/10.1137/S1052623401399903
  5. Birge, J. R., & Louveaux, F. (2011). Introduction to stochastic programming (2nd ed.). Springer. https://doi.org/10.1007/978-1-4614-0237-4
  6. Cerqueira, V., Torgo, L., & Mozetič, I. (2020). Evaluating time series forecasting models: An empirical study on performance estimation methods. Machine Learning, 109(11), 1997–2028. https://doi.org/10.1007/s10994-020-05910-7
  7. Delage, E., & Ye, Y. (2010). Distributionally robust optimization under moment uncertainty with application to data-driven problems. Operations Research, 58(3), 595–612. https://doi.org/10.1287/opre.1090.0741
  8. Diebold, F. X., & Mariano, R. S. (1995). Comparing predictive accuracy. Journal of Business & Economic Statistics, 13(3), 253–263. https://doi.org/10.1080/07350015.1995.10524599
  9. Federgruen, A., & Groenevelt, H. (1986). The greedy procedure for resource allocation problems: Necessary and sufficient conditions for optimality. Operations Research, 34(6), 909–918. https://doi.org/10.1287/opre.34.6.909
  10. Gallego, G., & Moon, I. (1993). The distribution free newsboy problem: Review and extensions. Journal of the Operational Research Society, 44(8), 825–834. https://doi.org/10.1057/jors.1993.141
  11. Giacomini, R., & White, H. (2006). Tests of conditional predictive ability. Econometrica, 74(6), 1545–1578. https://doi.org/10.1111/j.1468-0262.2006.00718.x
  12. Gneiting, T. (2011). Making and evaluating point forecasts. Journal of the American Statistical Association, 106(494), 746–762. https://doi.org/10.1198/jasa.2011.r10138
  13. Hong, T., & Fan, S. (2016). Probabilistic electric load forecasting: A tutorial review. International Journal of Forecasting, 32(3), 914–938. https://doi.org/10.1016/j.ijforecast.2015.11.011
  14. Hong, T., Pinson, P., Fan, S., Zareipour, H., Troccoli, A., & Hyndman, R. J. (2016). Probabilistic energy forecasting: Global Energy Forecasting Competition 2014 and beyond. International Journal of Forecasting, 32(3), 896–913. https://doi.org/10.1016/j.ijforecast.2016.02.001
  15. Kleywegt, A. J., Shapiro, A., & Homem-de-Mello, T. (2002). The sample average approximation method for stochastic discrete optimization. SIAM Journal on Optimization, 12(2), 479–502. https://doi.org/10.1137/S1052623499363220
  16. Künsch, H. R. (1989). The jackknife and the bootstrap for general stationary observations. The Annals of Statistics, 17(3), 1217–1241. https://doi.org/10.1214/aos/1176347265
  17. Mak, W.-K., Morton, D. P., & Wood, R. K. (1999). Monte Carlo bounding techniques for determining solution quality in stochastic programs. Operations Research Letters, 24(1–2), 47–56. https://doi.org/10.1016/S0167-6377(98)00054-6
  18. Mohajerin Esfahani, P., & Kuhn, D. (2018). Data-driven distributionally robust optimization using the Wasserstein metric: Performance guarantees and tractable reformulations. Mathematical Programming, 171(1–2), 115–166. https://doi.org/10.1007/s10107-017-1172-1
  19. Morales, J. M., Conejo, A. J., & Pérez-Ruiz, J. (2009). Economic valuation of reserves in power systems with high penetration of wind power. IEEE Transactions on Power Systems, 24(2), 900–910. https://doi.org/10.1109/TPWRS.2009.2016598
  20. Papavasiliou, A., & Oren, S. S. (2013). Multiarea stochastic unit commitment for high wind penetration in a transmission constrained network. Operations Research, 61(3), 578–592. https://doi.org/10.1287/opre.2013.1174
  21. Politis, D. N., & Romano, J. P. (1991). A circular block-resampling procedure for stationary data [Technical report]. Stanford University. https://statistics.stanford.edu/technical-reports/circular-block-resampling-procedure-stationary-data
  22. Politis, D. N., & Romano, J. P. (1994). The stationary bootstrap. Journal of the American Statistical Association, 89(428), 1303–1313. https://doi.org/10.1080/01621459.1994.10476870
  23. Shapiro, A., Dentcheva, D., & Ruszczyński, A. (2021). Lectures on stochastic programming: Modeling and theory (3rd ed.). Society for Industrial and Applied Mathematics. https://doi.org/10.1137/1.9781611976595
  24. Tashman, L. J. (2000). Out-of-sample tests of forecasting accuracy: An analysis and review. International Journal of Forecasting, 16(4), 437–450. https://doi.org/10.1016/S0169-2070(00)00065-0
  25. Taylor, J. W., de Menezes, L. M., & McSharry, P. E. (2006). A comparison of univariate methods for forecasting electricity demand up to a day ahead. International Journal of Forecasting, 22(1), 1–16. https://doi.org/10.1016/j.ijforecast.2005.06.006
  26. U.S. Energy Information Administration. (2024). Form EIA-930 six-month balance file, July–December 2024 [Dataset]. https://www.eia.gov/electricity/gridmonitor/sixMonthFiles/EIA930_BALANCE_2024_Jul_Dec.csv
  27. U.S. Energy Information Administration. (n.d.). About the EIA-930 data. https://www.eia.gov/electricity/930-content/about.html
  28. Wang, J., Shahidehpour, M., & Li, Z. (2008). Security-constrained unit commitment with volatile wind power generation. IEEE Transactions on Power Systems, 23(3), 1319–1327. https://doi.org/10.1109/TPWRS.2008.926719
  29. Wiesemann, W., Kuhn, D., & Sim, M. (2014). Distributionally robust convex optimization. Operations Research, 62(6), 1358–1376. https://doi.org/10.1287/opre.2014.1314
  30. Jin, Z., Cheng, J., Long, D. Z., & Pan, K. (2026). Harmonizing sample average approximation and distributionally robust optimization. Omega, 144, 103584. https://doi.org/10.1016/j.omega.2026.103584