IDEAS home Printed from https://ideas.repec.org/a/bla/srbeha/v43y2026i3p1188-1211.html

Trading Strategies on Local Electricity Markets Using Agent‐Based Modelling and Reinforcement Learning: Vectors to Expand Energy Communities

Author

Listed:
  • Adela Bâra
  • Simona‐Vasilica Oprea

Abstract

Energy communities (ECs) members have a high degree of heterogeneity. Agent‐based modelling (ABM) allows for the modelling of each entity as an agent with distinct characteristics and decision rules. This is particularly useful when the heterogeneity of agents affects outcomes. Market‐based models handle competition and supply–demand interactions and often rely on aggregate or average behaviours, which might overlook important nuances due to individual differences. In this paper, we combine ABM with reinforcement learning (RL) and market models to trade the surplus and demand at the local electricity markets (LEMs) level embedding PyMarket and Mesa packages. It explores integrating electric vehicles, heating and flexibility as vectors to expand ECs using an RL agent to optimally schedule these devices for efficient bidding. Two strategies are proposed: S1‐RL agent predicts only the bidding price and S2‐RL agent predicts both price and quantity. The RL agent in S2 optimizes load to increase demand during local generation intervals, utilizing local surplus more effectively. Financially, S2 outperforms S1, offering more flexibility and optimization in LEMs trading. In summer, the financial savings (FST) increase from 11.58% in S1 to 17.88% in S2, while, in winter, they increase from 4.21% to 5.38%. The efficiency of trading is better, and the traded quantity doubles in summer in S2 compared to S1.

Suggested Citation

  • Adela Bâra & Simona‐Vasilica Oprea, 2026. "Trading Strategies on Local Electricity Markets Using Agent‐Based Modelling and Reinforcement Learning: Vectors to Expand Energy Communities," Systems Research and Behavioral Science, Wiley Blackwell, vol. 43(3), pages 1188-1211, May.
  • Handle: RePEc:bla:srbeha:v:43:y:2026:i:3:p:1188-1211
    DOI: 10.1002/sres.70017
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/sres.70017
    Download Restriction: no

    File URL: https://libkey.io/10.1002/sres.70017?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bla:srbeha:v:43:y:2026:i:3:p:1188-1211. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Wiley Content Delivery (email available below). General contact details of provider: http://onlinelibrary.wiley.com/journal/10.1111/1092-7026 .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.