DOI: 10.3390/computers15080524 ISSN: 2073-431X

Reducing Peak Load Underprediction Through Risk-Aware Upper Quantile Forecasting: A University Laboratory Case Study

Marwa O. Al Enany, Mazen Hesham Elnahal, Amira M. Gaber

Underprediction of high electrical demand can be more operationally consequential than an equally sized overprediction, yet standard point forecasting models are optimized primarily for average error. This case study evaluates a multivariate quantile Transformer as a safety-oriented next observation forecasting layer for a university laboratory. A timestamp-level audit identified 33,374 native measurements collected from 22 April to 12 December 2024 at a median interval of approximately 10 min. The final leakage-free pipeline uses only real observations, performs the chronological split before sequence generation, fits all scalers on training data only, and rejects windows containing gaps greater than 30 min. Persistence, fixed-order SARIMA, LSTM, GRU, CNN–LSTM, and an MSE-trained Transformer were evaluated on the same 6595-sample test period. GRU achieved the best deterministic accuracy (MAE 0.017744 kW; RMSE 0.023278 kW), whereas the proposed τ = 0.90 Transformer intentionally traded point accuracy (MAE 0.033830 ± 0.001133 kW) for asymmetric risk control. Across five independent runs, it achieved a pinball loss of 0.004453 ± 0.000069 kW, empirical coverage of 87.95 ± 1.01%, and a peak underprediction rate of 26.64 ± 5.32%, compared with 72.94–100% for the conventional benchmark outputs. Additional τ = 0.75 and τ = 0.95 experiments demonstrate the expected accuracy–safety trade-off. MAPE is not used as a primary metric because near-zero loads make percentage errors unstable. The results support the proposed model as a complementary upper quantile forecasting layer for this small, dynamic facility; they do not establish general performance at feeder or system scale.

More from our Archive