AI - Driven Home Energy Management System for Profit and Grid Stability - Deep Reinforcement Learning and Predictive Models for Minimizing Peak Demand While Balancing Battery Degradation in a Dynamic Environment

dc.contributor.authorMichelin, Adam
dc.contributor.departmentChalmers tekniska högskola / Institutionen för elektrotekniksv
dc.contributor.departmentChalmers University of Technology / Department of Electrical Engineeringen
dc.contributor.examinerHammarström, Thomas
dc.contributor.supervisorHammarström, Thomas
dc.date.accessioned2025-10-28T07:39:07Z
dc.date.issued2025
dc.date.submitted
dc.description.abstractAbstract This thesis presents the development and implementation of an AI-driven home energy management system designed to optimize residential battery storage in response to Sweden’s new power-based electricity tariffs, which introduce capacity fees based on avarage monthly power peaks starting January 2027. The system integrates three components: (1) multi-modal forecasting models for electricity prices, solar production, and household demand. (2) a Recurrent Proximal Policy Optimization (RPPO) reinforcement learning agent for real-time battery control and (3) automated orchestration via Prefect with Home Assistant integration. The forecasting stack (XGBoost and temporal convolutional networks (TCN)) achieves competitive accuracy, and the RL agent, trained on a custom reward balancing cost, solar utilization, and safety, learns price arbitrage and solar aware charging strategies. Field deployment on a 22 kWh battery with a 20 kW dual-orientation PV array demonstrates integration with real hardware and shows preliminary economic benefits under simulated seasonal conditions. The agent maintains 100% safety compliance (zero charge/discharge violations during final deployment) while achieving high grid independence. Although additional computational time for full training convergence and hyperparameter tuning remains as future work, these preliminary results underscore the strong potential of AI-driven residential energy management for cost savings and grid support.
dc.identifier.coursecodeEENX20
dc.identifier.urihttp://hdl.handle.net/20.500.12380/310673
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectKeywords: AI, RL, Home Energy Management System, Software.
dc.titleAI - Driven Home Energy Management System for Profit and Grid Stability - Deep Reinforcement Learning and Predictive Models for Minimizing Peak Demand While Balancing Battery Degradation in a Dynamic Environment
dc.type.degreeExamensarbete på kandidatnivåsv
dc.type.degreeBachelor Thesisen
dc.type.uppsokM2
local.programmeElektroteknik 180 hp (högskoleingenjör)

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
AI__Driven_Home_Energy_Management_System_for_Profit_and_Grid_Stability - Adam Michelin.pdf
Storlek:
14.89 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: