Search arXiv⌕ Search

arXiv · 2610.14782

Decision-Focused Learning for Optimal Battery Scheduling Under Load and Photovoltaic Power Uncertainty in Microgrids

Abstract

The increasing penetration of renewable energy sources in microgrids demands accurate day-ahead forecasting to support optimal battery energy storage system (BESS) scheduling. Yet the conventional predict-then-optimize paradigm trains forecasters on statistical accuracy metrics that are agnostic to the asymmetric and time-varying cost impacts of forecast errors. This work proposes a decision-focused learning (DFL) framework that trains gated recurrent unit forecasters for both load demand and photovoltaic generation directly on the downstream operational cost of a two-stage energy management system, where day-ahead BESS commitments are fixed prior to real-time balancing. Gradients are backpropagated from the real-time operational cost through both optimization stages to the forecaster weights via implicit differentiation, enabling the forecasters to internalize the penalty structure of the scheduling problem. The framework is validated on the MG2Lab experimental microgrid testbed at Politecnico di Milano across two operational scenarios of increasing grid constraint and eight forecasting configurations comprising single-source and combined-forecaster settings. Results illustrate that the DFL-trained pipeline reduces operational cost by 3.78% under normal grid conditions and by 30.60% under grid-constrained conditions relative to the accuracy- optimized baseline, while nearly eliminating load shedding events. Notably, the DFL forecasters exhibit higher statistical errors than their accuracy-trained counterparts yet achieve consistently lower operational costs, confirming that forecast accuracy and decision quality do not share a monotonic relationship in constrained microgrid scheduling.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Marios Saleptsis, Antoine Lesage-Landry, Marco Mussetta, Sonia Leva. 2026-10-10. Decision-Focused Learning for Optimal Battery Scheduling Under Load and Photovoltaic Power Uncertainty in Microgrids. https://searcharxiv.org/abs/2610.14782

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 Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

State-space analysis of reliability in FitzHugh-Nagumo neurons and networks via contraction theory

A new contraction-theoretic state-space analysis methodology is developed to study the reliability of FitzHugh-Nagumo models. It is shown that the state space of a neuron model can be partitioned into two contraction regions separated by an expansion region where trajectory expansion may occur. The unforced resting equilibrium lies in a contraction region, and each full spike drives the state to the other contraction region and then back to the first. In-between, the state crosses the expansion region. Over any given interval, reliability is obtained as an average contraction property given by the balance of the contraction and expansion accumulated along the trajectories. An exact integral characterization of this balance and a simpler, sufficient dwell-time condition are derived. The framework is then extended to networks of FitzHugh-Nagumo systems with an arbitrary affine voltage-coupling topology. A network of $n$ neurons is shown to possess $2^n$ contraction regions, separated by an expansion region, and network reliability is again studied in terms of average contraction. A proof-of-concept excitatory-inhibitory network example is used to illustrate a connection between this contraction-based notion of reliability and regulation in neuronal networks. The network uses an internal model of a class of inputs to create a homeostatic regime where the network output is insensitive to the specific input within that class. Reliability is then seen as providing the asymptotic convergence properties necessary to make such a target regime attractive. Simulations of multi-stage cascade compositions of this elementary homeostatic motif illustrate how regulation can support oscillatory-signal propagation without phase-lag accumulation.

eess.SY↗

Communication-Aware Synthesis of Safety Controller for Networked Control Systems

Networked control systems (NCS) are widely used in safety-critical applications, but they are often analyzed under the assumption of ideal communication channels. This work focuses on the synthesis of safety controllers for discrete-time linear systems affected by unknown disturbances operating in imperfect communication channels. The proposed method guarantees safety by constructing ellipsoidal robust safety invariant (RSI) sets and verifying their invariance through linear matrix inequalities (LMI), which are formulated and solved as semi-definite programming (SDP). In particular, our framework simultaneously considers controller synthesis and communication errors without requiring explicit modeling of the communication channel. A case study on cruise control problem demonstrates that the proposed controller ensures safety in the presence of unexpected disturbances and multiple communication imperfections simultaneously.

eess.SY↗

Networked Admissibility-Preserving Control for Directed Safe Coordination

This paper addresses safe coordination of scalar agents with constrained input dynamics over fixed rooted digraphs. We propose a networked Admissibility-Preserving Control (APC) architecture for a common moving output corridor under heterogeneous asymmetric input bounds, wherein the Admissibility-Preserving Input Realization (APIR) generates the physical inputs. In logarithmic barrier coordinates, the closed-loop dynamics form an exact cascade of exponentially decaying realization errors and directed consensus dynamics. We derive direction-specific compatibility conditions that guarantee uniform corridor and input margins, bounded commands, unique complete solutions, and exponential consensus for compact initial sets. The closed-form expression for the agreement value quantifies the effect of the initial APIR mismatch. Under the corresponding compatibility conditions, partial pinning guarantees safe reference tracking whenever the root component contains at least one informed agent. Simulations illustrate the coordination guarantees.

eess.SY↗