用大模型直接听懂用户指令,自动安排家电用电省电费
Agentic AI Home Energy Management System: A Large Language Model Framework for Residential Load Scheduling
- 大模型当调度员,从自然语言指令直接生成多设备用电计划
- Llama-3.3-70B在奥地利电价数据下达到最优成本,其他模型无法同时协调所有设备
- 系统开源,适合能源研究者和智能家居开发者复用与扩展
电力系统转型亟需提升居民需求响应能力,但家庭能源管理系统(HEMS)因用户交互门槛高而普及受限——需将日常偏好转化为技术参数。尽管大语言模型已用于能源系统中的代码生成与参数提取,尚无实现以LLM为自主协调者、从自然语言输入到多设备调度全流程管理的系统。本文提出一种代理型AI HEMS,利用大模型自主完成从自然语言请求到设备控制的全链路调度,无需示例示范即可实现最优调度。系统采用分层架构,由一个统筹者与三个专业代理组成,基于ReAct模式进行迭代推理,动态协调任务而不依赖预设流程,并集成Google Calendar实现上下文感知的截止时间提取。在三种开源模型上,基于奥地利实际日前电价数据评估显示性能差异显著:Llama-3.3-70B成功在所有场景下协调全部设备,匹配混合整数线性规划计算出的成本最优基准;其他模型虽能完美调度单个设备,却难以同步协调多个设备。渐进式提示工程实验表明,即使具备通用推理能力,缺乏明确引导时分析型查询处理仍不可靠。项目已开源完整系统,包含编排逻辑、代理提示、工具接口及网页界面,支持可复现性、拓展与未来研究。
原文摘要 · Abstract (English)
The electricity sector transition requires substantial increases in residential demand response capacity, yet Home Energy Management Systems (HEMS) adoption remains limited by user interaction barriers requiring translation of everyday preferences into technical parameters. While large language models have been applied to energy systems as code generators and parameter extractors, no existing implementation deploys LLMs as autonomous coordinators managing the complete workflow from natural language input to multi-appliance scheduling. This paper presents an agentic AI HEMS where LLMs autonomously coordinate multi-appliance scheduling from natural language requests to device control, achieving optimal scheduling without example demonstrations. A hierarchical architecture combining one orchestrator with three specialist agents uses the ReAct pattern for iterative reasoning, enabling dynamic coordination without hardcoded workflows while integrating Google Calendar for context-aware deadline extraction. Evaluation across three open-source models using real Austrian day-ahead electricity prices reveals substantial capability differences. Llama-3.3-70B successfully coordinates all appliances across all scenarios to match cost-optimal benchmarks computed via mixed-integer linear programming, while other models achieve perfect single-appliance performance but struggle to coordinate all appliances simultaneously. Progressive prompt engineering experiments demonstrate that analytical query handling without explicit guidance remains unreliable despite models' general reasoning capabilities. We open-source the complete system including orchestration logic, agent prompts, tools, and web interfaces to enable reproducibility, extension, and future research.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。