Modernization of an Optimization Algorithm Operated for Short-Term Load Forecasting in Quebec
Pierre Borie, Alain Marcotte, Fabian Bastin, Stéphane Dellacherie
Abstract
We report on the modernization of a nonlinear least-squares solver used in a short-term electricity load forecasting system operated by Hydro-Québec, the public utility of the province of Quebec, Canada. The solver, ENLSIP, is a Fortran library that has been in production use since 2003 to calibrate a nonlinear regression model whose parameters are re-estimated daily. Growing maintenance difficulties, compatibility issues, and the need to accommodate larger datasets and additional weather features motivated its conversion to the Julia programming language. We describe the conversion strategy, a Fortran-Julia interface that allows existing Fortran routines to be called from Julia without modification, and the two-stage validation process conducted to assess the reliability of the new implementation. On benchmark problems from the nonlinear programming literature, both versions converge to the same solutions and differ only in the number of iterations performed. On operational calibration instances derived from Hydro-Québec data, the forecast errors of the Julia implementation are equivalent to those of the production version. The Julia version is currently slower, but remains well within the time budget of the overnight calibration. Beyond these results, we share the incremental process adopted to safely replace a legacy system in a critical industrial environment.
Create a lesson
Related papers
Optimal Gauss-Newton Methods: Lower Complexity Bounds and Matching Algorithms for Nonlinear Systems
Shared title terminologymath.OCNikita Yudin, Alexander Gasnikov
A record-winning optimization algorithm for the Heilbronn triangle problem with AI assistance
Shared title terminologymath.OCNathan Sudermann-Merx, Tej Stead
Optimal inventory trading under exogenous random interventions
Shared title terminologymath.OCFrédéric Meunier, Rose Sossou Edou
FLEX-E: a structure-exploiting linear feasibility solver for embedded optimization
Shared title terminologymath.OCAndrea Ghezzi, Jonathan Frey, Anton Pozharskiy et al.
Optimal Boundary Control for Coupled PDE-SDE Systems in a Stochastic Framework
Shared title terminologymath.OCYun-Ithry Gamrani, Jean Auriol
Invariant Coordinate Subspaces and Reachability Obstructions in Multiobjective Swarm Optimization
Shared title terminologymath.OCRobert Vrabel