arXiv Science⌕ Search

arXiv · 2609.21802

Distributed Intraday Energy Management for 16.7-Hz Railway Power Systems---Part II: Software Realization

Abstract

This paper presents the executable Python implementation~\cite{noroozi2026bahnstromems} of the two-layer energy-management system developed mathematically in Part~I~\cite{norooziP1I}. If needed, the software first converts hourly railway operation data into a 15-minute timetable and calculates the amount of gross motoring and available regenerative powers in a 15-minute resolution using the timetable handling layer. Given the energy prices are available either cached or by sending request to ENTSO-E Transparency Platform through the price handling layer, the software constructs a deterministic hourly day-ahead plan with either in the so-called must-run converter commitment mode or in a sub-hourly feasibility certificate mode, where the latter demands more computational complexity. Given the inputs from the timetable, day-ahead planning layers and initial measurements of the intraday-resolutions network's physical quantities, the intraday handling layer executes a risk-neutral intraday scenario model predictive controller by area-wise quadratic programming and consensus ADMM. The retained S1 forecast layer combines a one-week seasonal-naive point forecast with causal residual-path resampling, while the current measured stage is identical in all scenarios. We specify the day-ahead and intraday data contracts, absolute-UTC coupling, local-QP assembly, warm starts, residual tests, solver-status interpretation, physically validated recovery paths, state and key-performance-index updates, and the railway-owned generation and pumping increment. The Python package version, dependency lock, frozen-plan manifests, deterministic fixtures, run logs, and hash manifests make the software configuration executable and auditable. The paper describes software behavior and numerical contracts; comparative performance and stress-test claims are reserved for Part~III~\cite{norooziP1III}.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Navid Noroozi. 2026-09-18. Distributed Intraday Energy Management for 16.7-Hz Railway Power Systems---Part II: Software Realization. https://arxiv.science/abs/2609.21802

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Stabilizing Rate of Stochastic Linear Systems with Multiplicative Noise

This paper develops a quantitative framework for analyzing the mean-square exponential stabilization of stochastic linear systems with multiplicative noise, focusing specifically on the optimal stabilizing rate, which characterizes the fastest exponential stabilization achievable under admissible control policies.The framework consists of two complementary developments. First, we extend the norm-based analysis from deterministic switched systems to the stochastic setting and establish computable upper and lower bounds for the optimal stabilizing rate. Second, by restricting attention to state-feedback policies, we introduce an optimal control formulation of the feedback-restricted optimal stabilizing rate problem and derive a Bellman-type equation. Since this Bellman-type equation is not directly tractable, we recast it as a nonlinear matrix eigenvalue problem whose valid solutions require strictly positive-definite matrices. To overcome the possible absence of such solutions, we introduce a regularization scheme and develop a Regularized Normalized Value Iteration (RNVI) algorithm, which in turn generates strictly positive-definite fixed points for a perturbed version of the original nonlinear matrix eigenvalue problem while producing feedback controllers. Evaluating these regularized solutions further yields certified lower and upper bounds for the feedback-restricted optimal stabilizing rate, providing a constructive procedure for estimating the fastest achievable mean-square decay rate. We also provide a sufficient condition for the certified gap to close and a necessary structural condition satisfied by each regular nonvanishing-gap fixed-point sequence. Numerical experiments further demonstrate the effectiveness of the proposed framework.

math.OC↗

An Adaptive Algorithm for Nonconvex Bilevel Optimization under the Uniform Polyak--Łojasiewicz Condition

Existing methods for nonconvex bilevel optimization (NBO) require prior knowledge of problem-specific parameters, such as Lipschitz moduli and the Polyak--Łojasiewicz (PŁ) constant, to configure stepsizes. This requirement severely limits the practical applicability as these parameters are often unknown or prohibitively expensive to estimate. To circumvent this limitation, we propose an adaptive first-order algorithm, named Adaptive Fully First-order Bilevel Approximation (AF${}^2$BA), for solving NBO problems under the uniform PŁ condition. The algorithm combines an outer backtracking mechanism based on inexact hyperobjective values with an adaptive auto-conditioned gradient method that converges linearly for the inner PŁ problems. We prove that AF${}^2$BA generates an $ε$-stationary point with a $\widetilde{\mathcal{O}}(\ellκ^4ε^{-2})$ first-order oracle complexity, which is near-optimal in its dependence on $ε$: up to logarithmic factors, it matches the first-order lower bounds for nonconvex smooth optimization and nonconvex--strongly-convex smooth bilevel optimization. Moreover, the condition-number dependence of this complexity also matches that of the well-tuned F${}^2$BA algorithm under the uniform PŁ condition, without requiring problem-specific constants in stepsize selection. Experiments demonstrate that AF${}^2$BA achieves comparable performance to existing well-tuned algorithms while exhibiting better robustness.

math.OC↗

Unlocked Backpropagation using Wave Scattering

Both the backpropagation algorithm in machine learning and the maximum principle in optimal control theory are posed as a two-point boundary problem, resulting in a ``forward-backward'' lock. We derive a reformulation of the maximum principle in optimal control as a hyperbolic initial value problem by introducing an additional ``optimization time'' dimension. We introduce counter-propagating wave variables with finite propagation speed and recast the optimization problem in terms of scattering relationships between them. This relaxation of the original problem can be interpreted as a physical system that equilibrates and changes its physical properties in order to minimize reflections. We discretize this continuum theory to derive a family of fully unlocked algorithms suitable for training neural networks. Different parameter dynamics, including gradient descent, can be derived by demanding dissipation and minimization of reflections at parameter ports. Explicit physical sub-dynamics (i.e., analytical world-model elements) or constraints can be naturally incorporated, as they themselves correspond to known optimization problems. Our formulation automatically supports parallel, feedback, and hierarchical combinations of specialized subsystems, as well as communication delays between subsystems. It also suggests that backpropagation and more general distributed optimization problems can plausibly be implemented by biology.

math.OC↗