Saved in:
Bibliographic Details
Main Authors: Sommer, Alexander, Bazan, Peter, Babaeian, Behnam, Fellerer, Jonathan, Powell, Warren B., German, Reinhard
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.19340
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909704853127168
author Sommer, Alexander
Bazan, Peter
Babaeian, Behnam
Fellerer, Jonathan
Powell, Warren B.
German, Reinhard
author_facet Sommer, Alexander
Bazan, Peter
Babaeian, Behnam
Fellerer, Jonathan
Powell, Warren B.
German, Reinhard
contents Controlling energy systems usually involves manually designed policies for decision-making, which can be complex and time-consuming to develop. This process requires interdisciplinary collaboration among multiple domain experts, resulting in slow and inflexible adaptation to rapidly changing environments. Large Language Models (LLMs) offer a promising paradigm shift by integrating extensive contextual knowledge with the capability to generate structured, executable code. We present Agentic Policy Search (APS) -- a novel hierarchical optimization framework in which LLMs act as autonomous agents that propose complete control logics, translate them into executable code, and iteratively improve them through direct system feedback. We apply APS to a residential energy system with PV, battery, demand, and dynamic electricity prices. Within just seven simulated days, the method yields a net profit of up to 6.20 EUR compared to the no-battery reference scenario (-10.70 EUR), nearly matching the global optimum of a perfectly informed linear program. By combining LLM-driven policy search with the generation of human-interpretable control logic, APS effectively bridges adaptability and traceability in energy management -- while also offering a transferable framework for agentic optimization in other domains.
format Preprint
id arxiv_https___arxiv_org_abs_2501_19340
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Self-Improvement for Smarter Energy Systems using Agentic Policy Search
Sommer, Alexander
Bazan, Peter
Babaeian, Behnam
Fellerer, Jonathan
Powell, Warren B.
German, Reinhard
Systems and Control
Controlling energy systems usually involves manually designed policies for decision-making, which can be complex and time-consuming to develop. This process requires interdisciplinary collaboration among multiple domain experts, resulting in slow and inflexible adaptation to rapidly changing environments. Large Language Models (LLMs) offer a promising paradigm shift by integrating extensive contextual knowledge with the capability to generate structured, executable code. We present Agentic Policy Search (APS) -- a novel hierarchical optimization framework in which LLMs act as autonomous agents that propose complete control logics, translate them into executable code, and iteratively improve them through direct system feedback. We apply APS to a residential energy system with PV, battery, demand, and dynamic electricity prices. Within just seven simulated days, the method yields a net profit of up to 6.20 EUR compared to the no-battery reference scenario (-10.70 EUR), nearly matching the global optimum of a perfectly informed linear program. By combining LLM-driven policy search with the generation of human-interpretable control logic, APS effectively bridges adaptability and traceability in energy management -- while also offering a transferable framework for agentic optimization in other domains.
title Adaptive Self-Improvement for Smarter Energy Systems using Agentic Policy Search
topic Systems and Control
url https://arxiv.org/abs/2501.19340