Skip to content

Harness the power of deep reinforcement learning to optimize your Home Energy Management System (HEMS). Our tailored agent, trained on the CoSES ProHMo Modelica framework, efficiently controls a building's heat pump and thermal storage valve.

License

Notifications You must be signed in to change notification settings

ULudo/DRL-Building-Energy-Ctr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRL-Building-Energy-Ctr

This repository "Deep Reinforcement Learning Building Energy Control" hosts the source code for a recurrent reinforcement learning agent, specifically tailored for Home Energy Management Systems (HEMS). The agent is trained using a Gym environment based on the CoSES ProHMo Modelica framework. The primary focus of this agent is to efficiently control a building's heat pump and a three-way valve of a thermal storage. The objective is twofold: to adhere to predefined thermal constraints and to optimize the process with a focus on minimizing electricity costs.

Getting started

Install libraries:

pip install torch numpy pandas gymnasium pyfmi tensorflow

Start policy training:

python ./src/train_rsac.py

Acknowledgments

Citation

Link to the IEEE Xplore publication

If you use this code or find it helpful for your research, please consider citing our publication:

@INPROCEEDINGS{10202844,
  author={Ludolfinger, Ulrich and Zinsmeister, Daniel and Perić, Vedran S. and Hamacher, Thomas and Hauke, Sascha and Martens, Maren},
  booktitle={2023 IEEE Belgrade PowerTech}, 
  title={Recurrent Soft Actor Critic Reinforcement Learning for Demand Response Problems}, 
  year={2023},
  pages={1-6},
  doi={10.1109/PowerTech55446.2023.10202844}
}

About

Harness the power of deep reinforcement learning to optimize your Home Energy Management System (HEMS). Our tailored agent, trained on the CoSES ProHMo Modelica framework, efficiently controls a building's heat pump and thermal storage valve.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages