IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v385y2025ics0306261925002260.html
   My bibliography  Save this article

A modular Python framework for rapid development of advanced control algorithms for energy systems

Author

Listed:
  • Eser, Steffen
  • Storek, Thomas
  • Wüllhorst, Fabian
  • Dähling, Stefan
  • Gall, Jan
  • Stoffel, Phillip
  • Müller, Dirk

Abstract

Due to the advance in energy engineering and necessary adaptations due to climate change, building energy systems are becoming increasingly complex, necessitating the development of advanced control strategies. However, there is often a gap between control algorithms developed in research and their practical adoption. To bridge this gap, we present AgentLib – a modular Python framework to aid the development, testing and deployment of advanced control systems for energy applications. AgentLib allows researchers and engineers to gradually scale up controller complexity, supporting the full development lifecycle from simulation and testing to distributed real-time implementation. The framework and its plugins provide a set of extensible modules for common agent functions like optimization, simulation and communication. Control engineers can leverage familiar tools for mathematical optimization and machine learning in Python. AgentLib is agnostic to specific communication protocols, allowing flexible interfacing with diverse energy systems and external services. To demonstrate the framework’s capabilities, we present a case study on developing a distributed model predictive controller from concept to real-world experiment. We showcase how AgentLib enables a true parallel implementation of cooperative agents and supports gradual transition from development to deployment. By analyzing the system’s performance, we highlight the real-world impacts of communication overhead on distributed control. The framework’s capability to bridge the gap between theoretical research and practical applications marks a significant step forward in deploying sophisticated control strategies within the building energy management sector, and possibly other domains.

Suggested Citation

  • Eser, Steffen & Storek, Thomas & Wüllhorst, Fabian & Dähling, Stefan & Gall, Jan & Stoffel, Phillip & Müller, Dirk, 2025. "A modular Python framework for rapid development of advanced control algorithms for energy systems," Applied Energy, Elsevier, vol. 385(C).
  • Handle: RePEc:eee:appene:v:385:y:2025:i:c:s0306261925002260
    DOI: 10.1016/j.apenergy.2025.125496
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0306261925002260
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2025.125496?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    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:eee:appene:v:385:y:2025:i:c:s0306261925002260. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .

    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.