arXiv:2611.03030cs.GTNov 2026

Manuscript Offprint

arXiv:2611.03030

A Cooperative Game-Theoretic Framework for Real-Time Deviation Settlement in Local Energy Communities

Angel M. González-Rueda, Iago Núñez Lugilde, Jose L. Crespo-Vazquez, Tarek Alskaif

Angel M. González-Rueda, Iago Núñez Lugilde, Jose L. Crespo-Vazquez & Tarek Alskaif Senior Member, IEEE

Abstract—This paper proposes a cooperative game-theoretical framework for the financial settlement of real-time deviations in Community-Based Local Energy Markets (CB-LEMs). The real-time settlement process is modeled as a transferable-utility cooperative game, and the resulting Real-Time Local Energy Market (RTLEM) game is shown to be superadditive and balanced. We analyze two game-theoretical allocation mechanisms, the Shapley value and the nucleolus, and evaluate their efficiency, individual rationality, coalitional rationality, and temporal-aggregation properties. We subsequently compare these mechanisms with a settlement rule based on proportional imbalance responsibility. The three mechanisms are efficient and individually rational, but only the nucleolus is guaranteed to satisfy coalitional rationality for every RTLEM instance. The proposed framework is demonstrated using real-world data from a residential energy community in Amsterdam, showing the trade-offs among the three allocation mechanisms in terms of surplus distribution, coalitional stability, interpretability, and computational requirements.

Index terms– Cooperative game theory, local energy markets, financial settlement, Shapley value, nucleolus.

I. INTRODUCTION

Community-Based Local Energy Markets (CB-LEM) represent a promising model for supporting decentralized, renewable-based and user-centric energy systems [1]–[3]. In CB-LEMs, community members coordinate their Distributed Energy Resources (DERs) and electricity consumption, enabling the community to optimize its collective energy exchange and interact with the external electricity market at the Point of Common Coupling (PCC) through a representative entity. Indeed, the operational framework of these communities can inherently follow a two-stage market paradigm: a day-ahead (D-1) scheduling phase, where energy exchange commitments are established, and a real-time (RT) balancing phase, where physical injections and withdrawals inevitably deviate from the forecasted schedules due to the stochastic nature of renewable generation and electric demand [4].

Extensive research on LEM has focused on day-ahead (D-1) scheduling and market clearing, including the use of game-theoretic approaches for Peer-to-Peer (P2P) trading [5], the construction of consumer coalitions for cost savings [6], [7], and the design of incentive-compatible market operations [8]–[10]. Beyond day-ahead scheduling and market clearing, the allocation of costs and economic benefits among community members is essential for ensuring equitable participation and sustaining cooperation. Cooperative game-theoretic approaches have been investigated for allocating distribution network reinforcement costs among photovoltaic installations [11], distributing revenues from flexibility services among renewable energy community members [12], and designing online payoff allocation mechanisms for real-time energy markets [13]. The work in [14] proposed a dynamic net-metering mechanism for energy communities that guarantees individual and group rationality while aligning members' incentives with community welfare maximization. More related to imbalance settlement, the work in [15] investigated the cooperative allocation of imbalance costs and aggregation savings among electricity consumers managed by a common balance responsible party, comparing alternative allocation mechanisms under a two-price imbalance settlement scheme.

However, the ex-post financial settlement of real-time deviations between scheduled and realized energy exchanges within CB-LEMs, particularly the fair and coalitionally stable allocation of the resulting costs and benefits among community members, has received comparatively limited attention [16], [17]. Individual deviations may partially offset each other, reducing the community's net imbalance settlement costs and generating economic benefits through internal compensation. The fundamental challenge is therefore to distribute these benefits while accounting for members' contributions to collective deviation compensation and ensuring individual and coalitional rationality. Existing approaches include proportional settlement rules, such as the mechanism proposed in [18]. While such empirical mechanisms are intuitive and may ensure that individual community members are not worse off than settling independently (i.e., satisfying individual rationality), they treat the community as a homogeneous pool and do not fully capture the marginal contribution of each member to collective benefits. As this paper will demonstrate, such settlements can suffer from a structural vulnerability: they may lead to unstable cross-subsidies. Prosumers whose internal

Angel M. González-Rueda (Corresponding Author) is with MODESTYA Research Group, Centre for Mathematical Research and Technology of Galicia (CITMAga), Universidade de Santiago de Compostela, Spain (e-mail: angelmanuel.gonzalez.rueda@usc.es). Iago Núñez Lugilde is with CITMAga, and SiDOR Research Group, University of Vigo, Spain (e-mail: iago.nunez.lugilde@uvigo.gal). Jose L. Crespo-Vazquez is with University of Vigo, Spain (e-mail: jcrespo@uvigo.es). Tarek Alskaif is with the Information Technology Group, Wageningen University, The Netherlands (e-mail: tarek.alskaif@wur.nl).

This work is part of the R+D+I project grants PID2021-124030NB-C31, and PID2025-170122NB-C33 funded by MCIN/AEI/10.13039/501100011033/ and by "ERDF A way of making Europe"/EU. This research was also funded by Grupos de Referencia Competitiva ED431C-2021/24 from the Consellería de Cultura, Educación e Universidades, Xunta de Galicia.

deviations compensate each other may end up subsidizing the imbalance costs of other members with larger deviations. These allocations can violate core stability, creating economic incentives for some sub-coalitions to settle independently rather than remain within the community.

To ensure the long-term socio-economic sustainability of CB-LEMs, the deviation settlement mechanism must be robust against subgroup defection. To address this gap, this paper models the ex-post financial settlement process as a cooperative game, where the value of a coalition reflects its ability to internally balance real-time deviations. We analyze two well-established game-theoretical allocation rules, namely: the Shapley value and the nucleolus, and compare them with the proportional settlement rule proposed in [18], extending the latter to explicitly account for economic terms. By evaluating key axiomatic properties, our analysis reveals how these allocation mechanisms differ in their ability to ensure individual rationality, coalitional stability and equitable benefit sharing.

The main contributions of this work can be summarized as:

  • We formulate the ex-post financial settlement of real-time deviations in CB-LEMs as a cooperative game, addressing a gap in the literature where this ex-post settlement stage has received limited attention.

  • We establish key theoretical properties of the resulting cooperative game, ensuring that the settlement process is superadditive and balanced, guaranteeing the existence of coalitionally stable allocations. We further analyze the efficiency, individual rationality and coalitional rationality of the considered settlement rules.

  • We investigate three settlement mechanisms: the Shapley value, the nucleolus, and the proportional rule proposed in [18]. We demonstrate that the proportional rule and the Shapley value can violate core stability and lead to cross-subsidies, while the nucleolus provides a core-stable allocation for the formulated game.

  • We conduct an illustrative computational study to compare the settlement mechanisms in terms of economic benefit allocation and coalitional stability. We also discuss opportunities to reduce the computational burden of applying the Shapley value and nucleolus.

The remainder of this paper is organized as follows. Section II presents the CB-LEM framework and formulates the real-time deviation settlement problem. Section III describes the methodology where the cooperative game-theoretic formulation and the proportional rule are developed and the properties of the allocations are analyzed. Section IV presents the numerical evaluation study and discusses the comparative performance of the settlement mechanisms. Finally, Section V concludes the paper and outlines directions for future research.

References (22)