Learning prosumer behavior in energy communities: Integrating bilevel programming and online learning

Dynamic pricing through bilevel programming is widely used for demand response but often assumes perfect knowledge of prosumer behavior, which is unrealistic in practical applications. This paper presents a novel framework that integrates bilevel programming with online learning, specifically Thompson sampling, to overcome this limitation. The approach dynamically sets optimal prices while simultaneously learning prosumer behaviors through observed responses, eliminating the need for extensive pre-existing datasets. Applied to an energy community providing capacity limitation services to a distribution system operator, the framework allows the community manager to infer individual prosumer characteristics, including usage patterns for photovoltaic systems, electric vehicles, home batteries, and heat pumps. Numerical simulations with 25 prosumers, each represented by 10 potential signatures, demonstrate rapid learning with low regret, with most prosumer characteristics learned within five days and full convergence achieved in 100 days. • An algorithm integrating bilevel programming into the bandit framework is proposed. • Prosumer behavior in an energy community is learned by sending price signals and observing user responses. • The algorithm demonstrates rapid learning with low regret in a numerical case study.

Authors

Institutions

Publication Details

Journal
Applied Energy
Published
2025-05-06
DOI
https://doi.org/10.1016/j.apenergy.2025.125932
Primary Topic
Smart Grid Energy Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Learning prosumer behavior in energy communities: Integrating bilevel programming and online learning

Jalal Kazempour, Lesia Mitridati, Bennevis Crowley, Mahnoosh Alizadeh
Applied Energy
Smart Grid Energy Management
article

Learning prosumer behavior in energy communities: Integrating bilevel programming and online learning

Jalal Kazempour, Lesia Mitridati, Bennevis Crowley, Mahnoosh Alizadeh
article en

Abstract

Dynamic pricing through bilevel programming is widely used for demand response but often assumes perfect knowledge of prosumer behavior, which is unrealistic in practical applications. This paper presents a novel framework that integrates bilevel programming with online learning, specifically Thompson sampling, to overcome this limitation. The approach dynamically sets optimal prices while simultaneously learning prosumer behaviors through observed responses, eliminating the need for extensive pre-existing datasets. Applied to an energy community providing capacity limitation services to a distribution system operator, the framework allows the community manager to infer individual prosumer characteristics, including usage patterns for photovoltaic systems, electric vehicles, home batteries, and heat pumps. Numerical simulations with 25 prosumers, each represented by 10 potential signatures, demonstrate rapid learning with low regret, with most prosumer characteristics learned within five days and full convergence achieved in 100 days. • An algorithm integrating bilevel programming into the bandit framework is proposed. • Prosumer behavior in an energy community is learned by sending price signals and observing user responses. • The algorithm demonstrates rapid learning with low regret in a numerical case study.

Applied EnergyVol. 392
University of California, Santa Barbara (US), Technical University of Denmark (DK)
Openalex Percentile: Top 92%
Smart Grid Energy Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Learning prosumer behavior in energy communities: Integrating bilevel programming and online learning — Jalal Kazempour, Lesia Mitridati, et al. · Applied Energy (2025) | TGRS Research Map | TGRS